config/i386/i386.md (fpremxf4): Rename to fpremxf4_i387.
[official-gcc.git] / libstdc++-v3 / configure
blob8454849501d816e7a7393dbf67a1199aa47f659b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-tls Use thread-local storage [default=yes]
891 --enable-symvers=STYLE enables symbol versioning of the shared library
892 [default=yes]
893 --enable-visibility enables visibility safe usage [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CPP C preprocessor
920 CXXCPP C++ preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:10:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 # Even if the default multilib is not a cross compilation,
1416 # it may be that some of the other multilibs are.
1417 if test $cross_compiling = no && test $multilib = yes \
1418 && test "x${with_multisubdir}" != x ; then
1419 cross_compiling=maybe
1422 ac_config_commands="$ac_config_commands default-1"
1425 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1427 # You will slowly go insane if you do not grok the following fact: when
1428 # building v3 as part of the compiler, the top-level /target/ becomes the
1429 # library's /host/. configure then causes --target to default to --host,
1430 # exactly like any other package using autoconf. Therefore, 'target' and
1431 # 'host' will always be the same. This makes sense both for native and
1432 # cross compilers, just think about it for a little while. :-)
1434 # Also, if v3 is being configured as part of a cross compiler, the top-level
1435 # configure script will pass the "real" host as $with_cross_host.
1437 # Do not delete or change the following two lines. For why, see
1438 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1439 ac_aux_dir=
1440 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1441 if test -f $ac_dir/install-sh; then
1442 ac_aux_dir=$ac_dir
1443 ac_install_sh="$ac_aux_dir/install-sh -c"
1444 break
1445 elif test -f $ac_dir/install.sh; then
1446 ac_aux_dir=$ac_dir
1447 ac_install_sh="$ac_aux_dir/install.sh -c"
1448 break
1449 elif test -f $ac_dir/shtool; then
1450 ac_aux_dir=$ac_dir
1451 ac_install_sh="$ac_aux_dir/shtool install -c"
1452 break
1454 done
1455 if test -z "$ac_aux_dir"; then
1456 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1457 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1458 { (exit 1); exit 1; }; }
1460 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1461 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1462 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1464 # Make sure we can run config.sub.
1465 $ac_config_sub sun4 >/dev/null 2>&1 ||
1466 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1467 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1468 { (exit 1); exit 1; }; }
1470 echo "$as_me:$LINENO: checking build system type" >&5
1471 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1472 if test "${ac_cv_build+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 else
1475 ac_cv_build_alias=$build_alias
1476 test -z "$ac_cv_build_alias" &&
1477 ac_cv_build_alias=`$ac_config_guess`
1478 test -z "$ac_cv_build_alias" &&
1479 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1480 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1481 { (exit 1); exit 1; }; }
1482 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1483 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1484 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1485 { (exit 1); exit 1; }; }
1488 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1489 echo "${ECHO_T}$ac_cv_build" >&6
1490 build=$ac_cv_build
1491 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1492 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1493 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496 echo "$as_me:$LINENO: checking host system type" >&5
1497 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1498 if test "${ac_cv_host+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 ac_cv_host_alias=$host_alias
1502 test -z "$ac_cv_host_alias" &&
1503 ac_cv_host_alias=$ac_cv_build_alias
1504 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1505 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1506 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1507 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1511 echo "${ECHO_T}$ac_cv_host" >&6
1512 host=$ac_cv_host
1513 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1514 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1515 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1518 echo "$as_me:$LINENO: checking target system type" >&5
1519 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1520 if test "${ac_cv_target+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 ac_cv_target_alias=$target_alias
1524 test "x$ac_cv_target_alias" = "x" &&
1525 ac_cv_target_alias=$ac_cv_host_alias
1526 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1527 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1528 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1529 { (exit 1); exit 1; }; }
1532 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1533 echo "${ECHO_T}$ac_cv_target" >&6
1534 target=$ac_cv_target
1535 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1536 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1537 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1540 # The aliases save the names the user supplied, while $host etc.
1541 # will get canonicalized.
1542 test -n "$target_alias" &&
1543 test "$program_prefix$program_suffix$program_transform_name" = \
1544 NONENONEs,x,x, &&
1545 program_prefix=${target_alias}-
1546 target_alias=${target_alias-$host_alias}
1548 # Handy for debugging:
1549 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1551 if test "$build" != "$host"; then
1552 # We are being configured with some form of cross compiler.
1553 GLIBCXX_IS_NATIVE=false
1554 case "$host","$target" in
1555 # Darwin crosses can use the host system's libraries and headers,
1556 # because of the fat library support. Of course, it must be the
1557 # same version of Darwin on both sides. Allow the user to
1558 # just say --target=foo-darwin without a version number to mean
1559 # "the version on this system".
1560 *-*-darwin*,*-*-darwin*)
1561 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1562 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1563 if test $hostos = $targetos -o $targetos = darwin ; then
1564 GLIBCXX_IS_NATIVE=true
1571 esac
1572 else
1573 GLIBCXX_IS_NATIVE=true
1576 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1577 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1578 # 1.x: minimum required version
1579 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1580 # of other PACKAGE_* variables will, however, and there's nothing
1581 # we can do about that; they come from AC_INIT).
1582 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1583 # file in the top srcdir, etc, etc), so stop complaining.
1584 # no-dependencies: turns off auto dependency generation (just for now)
1585 # -Wall: turns on all automake warnings...
1586 # -Wno-portability: ...except this one, since GNU make is now required.
1587 am__api_version="1.9"
1588 # Find a good install program. We prefer a C program (faster),
1589 # so one script is as good as another. But avoid the broken or
1590 # incompatible versions:
1591 # SysV /etc/install, /usr/sbin/install
1592 # SunOS /usr/etc/install
1593 # IRIX /sbin/install
1594 # AIX /bin/install
1595 # AmigaOS /C/install, which installs bootblocks on floppy discs
1596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1599 # OS/2's system install, which has a completely different semantic
1600 # ./install, which can be erroneously created by make from ./install.sh.
1601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1603 if test -z "$INSTALL"; then
1604 if test "${ac_cv_path_install+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 else
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 for as_dir in $PATH
1610 IFS=$as_save_IFS
1611 test -z "$as_dir" && as_dir=.
1612 # Account for people who put trailing slashes in PATH elements.
1613 case $as_dir/ in
1614 ./ | .// | /cC/* | \
1615 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1616 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1617 /usr/ucb/* ) ;;
1619 # OSF1 and SCO ODT 3.0 have their own names for install.
1620 # Don't use installbsd from OSF since it installs stuff as root
1621 # by default.
1622 for ac_prog in ginstall scoinst install; do
1623 for ac_exec_ext in '' $ac_executable_extensions; do
1624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1625 if test $ac_prog = install &&
1626 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1627 # AIX install. It has an incompatible calling convention.
1629 elif test $ac_prog = install &&
1630 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1631 # program-specific install script used by HP pwplus--don't use.
1633 else
1634 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1635 break 3
1638 done
1639 done
1641 esac
1642 done
1646 if test "${ac_cv_path_install+set}" = set; then
1647 INSTALL=$ac_cv_path_install
1648 else
1649 # As a last resort, use the slow shell script. We don't cache a
1650 # path for INSTALL within a source directory, because that will
1651 # break other packages using the cache if that directory is
1652 # removed, or if the path is relative.
1653 INSTALL=$ac_install_sh
1656 echo "$as_me:$LINENO: result: $INSTALL" >&5
1657 echo "${ECHO_T}$INSTALL" >&6
1659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1660 # It thinks the first close brace ends the variable substitution.
1661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1667 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1668 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1669 # Just in case
1670 sleep 1
1671 echo timestamp > conftest.file
1672 # Do `set' in a subshell so we don't clobber the current shell's
1673 # arguments. Must try -L first in case configure is actually a
1674 # symlink; some systems play weird games with the mod time of symlinks
1675 # (eg FreeBSD returns the mod time of the symlink's containing
1676 # directory).
1677 if (
1678 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1679 if test "$*" = "X"; then
1680 # -L didn't work.
1681 set X `ls -t $srcdir/configure conftest.file`
1683 rm -f conftest.file
1684 if test "$*" != "X $srcdir/configure conftest.file" \
1685 && test "$*" != "X conftest.file $srcdir/configure"; then
1687 # If neither matched, then we have a broken ls. This can happen
1688 # if, for instance, CONFIG_SHELL is bash and it inherits a
1689 # broken ls alias from the environment. This has actually
1690 # happened. Such a system could not be considered "sane".
1691 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1692 alias in your environment" >&5
1693 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1694 alias in your environment" >&2;}
1695 { (exit 1); exit 1; }; }
1698 test "$2" = conftest.file
1700 then
1701 # Ok.
1703 else
1704 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1705 Check your system clock" >&5
1706 echo "$as_me: error: newly created file is older than distributed files!
1707 Check your system clock" >&2;}
1708 { (exit 1); exit 1; }; }
1710 echo "$as_me:$LINENO: result: yes" >&5
1711 echo "${ECHO_T}yes" >&6
1712 test "$program_prefix" != NONE &&
1713 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1714 # Use a double $ so make ignores it.
1715 test "$program_suffix" != NONE &&
1716 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1717 # Double any \ or $. echo might interpret backslashes.
1718 # By default was `s,x,x', remove it if useless.
1719 cat <<\_ACEOF >conftest.sed
1720 s/[\\$]/&&/g;s/;s,x,x,$//
1721 _ACEOF
1722 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1723 rm conftest.sed
1725 # expand $ac_aux_dir to an absolute path
1726 am_aux_dir=`cd $ac_aux_dir && pwd`
1728 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1729 # Use eval to expand $SHELL
1730 if eval "$MISSING --run true"; then
1731 am_missing_run="$MISSING --run "
1732 else
1733 am_missing_run=
1734 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1735 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1738 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1739 # We used to keeping the `.' as first argument, in order to
1740 # allow $(mkdir_p) to be used without argument. As in
1741 # $(mkdir_p) $(somedir)
1742 # where $(somedir) is conditionally defined. However this is wrong
1743 # for two reasons:
1744 # 1. if the package is installed by a user who cannot write `.'
1745 # make install will fail,
1746 # 2. the above comment should most certainly read
1747 # $(mkdir_p) $(DESTDIR)$(somedir)
1748 # so it does not work when $(somedir) is undefined and
1749 # $(DESTDIR) is not.
1750 # To support the latter case, we have to write
1751 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1752 # so the `.' trick is pointless.
1753 mkdir_p='mkdir -p --'
1754 else
1755 # On NextStep and OpenStep, the `mkdir' command does not
1756 # recognize any option. It will interpret all options as
1757 # directories to create, and then abort because `.' already
1758 # exists.
1759 for d in ./-p ./--version;
1761 test -d $d && rmdir $d
1762 done
1763 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1764 if test -f "$ac_aux_dir/mkinstalldirs"; then
1765 mkdir_p='$(mkinstalldirs)'
1766 else
1767 mkdir_p='$(install_sh) -d'
1771 for ac_prog in gawk mawk nawk awk
1773 # Extract the first word of "$ac_prog", so it can be a program name with args.
1774 set dummy $ac_prog; ac_word=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_AWK+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780 if test -n "$AWK"; then
1781 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1782 else
1783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 for as_dir in $PATH
1786 IFS=$as_save_IFS
1787 test -z "$as_dir" && as_dir=.
1788 for ac_exec_ext in '' $ac_executable_extensions; do
1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790 ac_cv_prog_AWK="$ac_prog"
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792 break 2
1794 done
1795 done
1799 AWK=$ac_cv_prog_AWK
1800 if test -n "$AWK"; then
1801 echo "$as_me:$LINENO: result: $AWK" >&5
1802 echo "${ECHO_T}$AWK" >&6
1803 else
1804 echo "$as_me:$LINENO: result: no" >&5
1805 echo "${ECHO_T}no" >&6
1808 test -n "$AWK" && break
1809 done
1811 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1812 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1813 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1814 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 else
1817 cat >conftest.make <<\_ACEOF
1818 all:
1819 @echo 'ac_maketemp="$(MAKE)"'
1820 _ACEOF
1821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1822 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1823 if test -n "$ac_maketemp"; then
1824 eval ac_cv_prog_make_${ac_make}_set=yes
1825 else
1826 eval ac_cv_prog_make_${ac_make}_set=no
1828 rm -f conftest.make
1830 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1831 echo "$as_me:$LINENO: result: yes" >&5
1832 echo "${ECHO_T}yes" >&6
1833 SET_MAKE=
1834 else
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1837 SET_MAKE="MAKE=${MAKE-make}"
1840 rm -rf .tst 2>/dev/null
1841 mkdir .tst 2>/dev/null
1842 if test -d .tst; then
1843 am__leading_dot=.
1844 else
1845 am__leading_dot=_
1847 rmdir .tst 2>/dev/null
1849 # test to see if srcdir already configured
1850 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1851 test -f $srcdir/config.status; then
1852 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1853 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1854 { (exit 1); exit 1; }; }
1857 # test whether we have cygpath
1858 if test -z "$CYGPATH_W"; then
1859 if (cygpath --version) >/dev/null 2>/dev/null; then
1860 CYGPATH_W='cygpath -w'
1861 else
1862 CYGPATH_W=echo
1867 # Define the identity of the package.
1868 PACKAGE='libstdc++'
1869 VERSION='version-unused'
1872 # Some tools Automake needs.
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'. However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 else
1903 if test -n "$STRIP"; then
1904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 else
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1909 IFS=$as_save_IFS
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 break 2
1917 done
1918 done
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924 echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1926 else
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_STRIP"; then
1933 ac_ct_STRIP=$STRIP
1934 # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test -n "$ac_ct_STRIP"; then
1942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 else
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH
1947 IFS=$as_save_IFS
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_STRIP="strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 break 2
1955 done
1956 done
1958 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 else
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1970 STRIP=$ac_ct_STRIP
1971 else
1972 STRIP="$ac_cv_prog_STRIP"
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978 # We need awk for the "check" target. The system "awk" is bad on
1979 # some platforms.
1980 # Always define AMTAR for backward compatibility.
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1995 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1996 # up critical shell variables.
1998 ac_ext=c
1999 ac_cpp='$CPP $CPPFLAGS'
2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2004 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2005 # On Suns, sometimes $CPP names a directory.
2006 if test -n "$CPP" && test -d "$CPP"; then
2007 CPP=
2009 if test -z "$CPP"; then
2010 if test "${ac_cv_prog_CPP+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013 # Double quotes because CPP needs to be expanded
2014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2016 ac_preproc_ok=false
2017 for ac_c_preproc_warn_flag in '' yes
2019 # Use a header file that comes with gcc, so configuring glibc
2020 # with a fresh cross-compiler works.
2021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2022 # <limits.h> exists even on freestanding compilers.
2023 # On the NeXT, cc -E runs the code through the compiler's parser,
2024 # not just through cpp. "Syntax error" is here to catch this case.
2025 cat >conftest.$ac_ext <<_ACEOF
2026 /* confdefs.h. */
2027 _ACEOF
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2031 #ifdef __STDC__
2032 # include <limits.h>
2033 #else
2034 # include <assert.h>
2035 #endif
2036 Syntax error
2037 _ACEOF
2038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2040 ac_status=$?
2041 grep -v '^ *+' conftest.er1 >conftest.err
2042 rm -f conftest.er1
2043 cat conftest.err >&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); } >/dev/null; then
2046 if test -s conftest.err; then
2047 ac_cpp_err=$ac_c_preproc_warn_flag
2048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2049 else
2050 ac_cpp_err=
2052 else
2053 ac_cpp_err=yes
2055 if test -z "$ac_cpp_err"; then
2057 else
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2061 # Broken: fails on valid input.
2062 continue
2064 rm -f conftest.err conftest.$ac_ext
2066 # OK, works on sane cases. Now check whether non-existent headers
2067 # can be detected and how.
2068 cat >conftest.$ac_ext <<_ACEOF
2069 /* confdefs.h. */
2070 _ACEOF
2071 cat confdefs.h >>conftest.$ac_ext
2072 cat >>conftest.$ac_ext <<_ACEOF
2073 /* end confdefs.h. */
2074 #include <ac_nonexistent.h>
2075 _ACEOF
2076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2078 ac_status=$?
2079 grep -v '^ *+' conftest.er1 >conftest.err
2080 rm -f conftest.er1
2081 cat conftest.err >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } >/dev/null; then
2084 if test -s conftest.err; then
2085 ac_cpp_err=$ac_c_preproc_warn_flag
2086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2087 else
2088 ac_cpp_err=
2090 else
2091 ac_cpp_err=yes
2093 if test -z "$ac_cpp_err"; then
2094 # Broken: success on invalid input.
2095 continue
2096 else
2097 echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2100 # Passes both tests.
2101 ac_preproc_ok=:
2102 break
2104 rm -f conftest.err conftest.$ac_ext
2106 done
2107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2108 rm -f conftest.err conftest.$ac_ext
2109 if $ac_preproc_ok; then
2110 break
2113 done
2114 ac_cv_prog_CPP=$CPP
2117 CPP=$ac_cv_prog_CPP
2118 else
2119 ac_cv_prog_CPP=$CPP
2121 echo "$as_me:$LINENO: result: $CPP" >&5
2122 echo "${ECHO_T}$CPP" >&6
2123 ac_preproc_ok=false
2124 for ac_c_preproc_warn_flag in '' yes
2126 # Use a header file that comes with gcc, so configuring glibc
2127 # with a fresh cross-compiler works.
2128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2129 # <limits.h> exists even on freestanding compilers.
2130 # On the NeXT, cc -E runs the code through the compiler's parser,
2131 # not just through cpp. "Syntax error" is here to catch this case.
2132 cat >conftest.$ac_ext <<_ACEOF
2133 /* confdefs.h. */
2134 _ACEOF
2135 cat confdefs.h >>conftest.$ac_ext
2136 cat >>conftest.$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2138 #ifdef __STDC__
2139 # include <limits.h>
2140 #else
2141 # include <assert.h>
2142 #endif
2143 Syntax error
2144 _ACEOF
2145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2147 ac_status=$?
2148 grep -v '^ *+' conftest.er1 >conftest.err
2149 rm -f conftest.er1
2150 cat conftest.err >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } >/dev/null; then
2153 if test -s conftest.err; then
2154 ac_cpp_err=$ac_c_preproc_warn_flag
2155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2156 else
2157 ac_cpp_err=
2159 else
2160 ac_cpp_err=yes
2162 if test -z "$ac_cpp_err"; then
2164 else
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2168 # Broken: fails on valid input.
2169 continue
2171 rm -f conftest.err conftest.$ac_ext
2173 # OK, works on sane cases. Now check whether non-existent headers
2174 # can be detected and how.
2175 cat >conftest.$ac_ext <<_ACEOF
2176 /* confdefs.h. */
2177 _ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2181 #include <ac_nonexistent.h>
2182 _ACEOF
2183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2185 ac_status=$?
2186 grep -v '^ *+' conftest.er1 >conftest.err
2187 rm -f conftest.er1
2188 cat conftest.err >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); } >/dev/null; then
2191 if test -s conftest.err; then
2192 ac_cpp_err=$ac_c_preproc_warn_flag
2193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2194 else
2195 ac_cpp_err=
2197 else
2198 ac_cpp_err=yes
2200 if test -z "$ac_cpp_err"; then
2201 # Broken: success on invalid input.
2202 continue
2203 else
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2207 # Passes both tests.
2208 ac_preproc_ok=:
2209 break
2211 rm -f conftest.err conftest.$ac_ext
2213 done
2214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2215 rm -f conftest.err conftest.$ac_ext
2216 if $ac_preproc_ok; then
2218 else
2219 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2222 See \`config.log' for more details." >&2;}
2223 { (exit 1); exit 1; }; }
2226 ac_ext=c
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 echo "$as_me:$LINENO: checking for egrep" >&5
2234 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2235 if test "${ac_cv_prog_egrep+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2239 then ac_cv_prog_egrep='grep -E'
2240 else ac_cv_prog_egrep='egrep'
2243 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2244 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2245 EGREP=$ac_cv_prog_egrep
2249 # Keep these sync'd with the list in Makefile.am. The first provides an
2250 # expandable list at autoconf time; the second provides an expandable list
2251 # (i.e., shell variable) at configure time.
2253 SUBDIRS='include libmath libsupc++ src po testsuite'
2255 # These need to be absolute paths, yet at the same time need to
2256 # canonicalize only relative paths, because then amd will not unmount
2257 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2258 glibcxx_builddir=`${PWDCMD-pwd}`
2259 case $srcdir in
2260 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2261 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2262 esac
2263 toplevel_srcdir=${glibcxx_srcdir}/..
2268 # We use these options to decide which functions to include. They are
2269 # set from the top level.
2271 # Check whether --with-target-subdir or --without-target-subdir was given.
2272 if test "${with_target_subdir+set}" = set; then
2273 withval="$with_target_subdir"
2278 # Check whether --with-cross-host or --without-cross-host was given.
2279 if test "${with_cross_host+set}" = set; then
2280 withval="$with_cross_host"
2285 # Check whether --with-newlib or --without-newlib was given.
2286 if test "${with_newlib+set}" = set; then
2287 withval="$with_newlib"
2291 # We're almost certainly being configured before anything else which uses
2292 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2293 # we not cache the value of CXX that we "discover" here, because it's set
2294 # to something unique for us and libjava. Other target libraries need to
2295 # find CXX for themselves. We yank the rug out from under the normal AC_*
2296 # process by sneakily renaming the cache variable. This also lets us debug
2297 # the value of "our" CXX in postmortems.
2299 # We must also force CXX to /not/ be a precious variable, otherwise the
2300 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2301 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2302 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2303 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2305 # -fno-builtin must be present here so that a non-conflicting form of
2306 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2311 save_CXXFLAGS="$CXXFLAGS"
2312 CXXFLAGS="$CXXFLAGS -fno-builtin"
2313 ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_CC+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 else
2326 if test -n "$CC"; then
2327 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2332 IFS=$as_save_IFS
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 break 2
2340 done
2341 done
2345 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then
2347 echo "$as_me:$LINENO: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6
2349 else
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2355 if test -z "$ac_cv_prog_CC"; then
2356 ac_ct_CC=$CC
2357 # Extract the first word of "gcc", so it can be a program name with args.
2358 set dummy gcc; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else
2364 if test -n "$ac_ct_CC"; then
2365 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2366 else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $PATH
2370 IFS=$as_save_IFS
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_ac_ct_CC="gcc"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 break 2
2378 done
2379 done
2383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384 if test -n "$ac_ct_CC"; then
2385 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2386 echo "${ECHO_T}$ac_ct_CC" >&6
2387 else
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2392 CC=$ac_ct_CC
2393 else
2394 CC="$ac_cv_prog_CC"
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_CC+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 else
2406 if test -n "$CC"; then
2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2408 else
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 for as_dir in $PATH
2412 IFS=$as_save_IFS
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_CC="${ac_tool_prefix}cc"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 break 2
2420 done
2421 done
2425 CC=$ac_cv_prog_CC
2426 if test -n "$CC"; then
2427 echo "$as_me:$LINENO: result: $CC" >&5
2428 echo "${ECHO_T}$CC" >&6
2429 else
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2435 if test -z "$ac_cv_prog_CC"; then
2436 ac_ct_CC=$CC
2437 # Extract the first word of "cc", so it can be a program name with args.
2438 set dummy cc; ac_word=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 if test -n "$ac_ct_CC"; then
2445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2446 else
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH
2450 IFS=$as_save_IFS
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_CC="cc"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 break 2
2458 done
2459 done
2463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2464 if test -n "$ac_ct_CC"; then
2465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2466 echo "${ECHO_T}$ac_ct_CC" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2472 CC=$ac_ct_CC
2473 else
2474 CC="$ac_cv_prog_CC"
2478 if test -z "$CC"; then
2479 # Extract the first word of "cc", so it can be a program name with args.
2480 set dummy cc; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_CC+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test -n "$CC"; then
2487 ac_cv_prog_CC="$CC" # Let the user override the test.
2488 else
2489 ac_prog_rejected=no
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498 ac_prog_rejected=yes
2499 continue
2501 ac_cv_prog_CC="cc"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 break 2
2505 done
2506 done
2508 if test $ac_prog_rejected = yes; then
2509 # We found a bogon in the path, so make sure we never use it.
2510 set dummy $ac_cv_prog_CC
2511 shift
2512 if test $# != 0; then
2513 # We chose a different compiler from the bogus one.
2514 # However, it has the same basename, so the bogon will be chosen
2515 # first if we set CC to just the basename; use the full file name.
2516 shift
2517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2522 CC=$ac_cv_prog_CC
2523 if test -n "$CC"; then
2524 echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6
2526 else
2527 echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6
2532 if test -z "$CC"; then
2533 if test -n "$ac_tool_prefix"; then
2534 for ac_prog in cl
2536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2538 echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC="$CC" # Let the user override the test.
2545 else
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH
2549 IFS=$as_save_IFS
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 break 2
2557 done
2558 done
2562 CC=$ac_cv_prog_CC
2563 if test -n "$CC"; then
2564 echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6
2566 else
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2571 test -n "$CC" && break
2572 done
2574 if test -z "$CC"; then
2575 ac_ct_CC=$CC
2576 for ac_prog in cl
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy $ac_prog; ac_word=$2
2580 echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 else
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 else
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH
2591 IFS=$as_save_IFS
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC="$ac_prog"
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 2
2599 done
2600 done
2604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2605 if test -n "$ac_ct_CC"; then
2606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2607 echo "${ECHO_T}$ac_ct_CC" >&6
2608 else
2609 echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6
2613 test -n "$ac_ct_CC" && break
2614 done
2616 CC=$ac_ct_CC
2622 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }
2628 # Provide some information about the compiler.
2629 echo "$as_me:$LINENO:" \
2630 "checking for C compiler version" >&5
2631 ac_compiler=`set X $ac_compile; echo $2`
2632 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2633 (eval $ac_compiler --version </dev/null >&5) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }
2637 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2638 (eval $ac_compiler -v </dev/null >&5) 2>&5
2639 ac_status=$?
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }
2642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2643 (eval $ac_compiler -V </dev/null >&5) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }
2648 cat >conftest.$ac_ext <<_ACEOF
2649 /* confdefs.h. */
2650 _ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2656 main ()
2660 return 0;
2662 _ACEOF
2663 # FIXME: Cleanup?
2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665 (eval $ac_link) 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 gcc_no_link=no
2670 else
2671 gcc_no_link=yes
2674 if test x$gcc_no_link = xyes; then
2675 # Setting cross_compile will disable run tests; it will
2676 # also disable AC_CHECK_FILE but that's generally
2677 # correct if we can't link.
2678 cross_compiling=yes
2679 EXEEXT=
2680 else
2681 cat >conftest.$ac_ext <<_ACEOF
2682 /* confdefs.h. */
2683 _ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2689 main ()
2693 return 0;
2695 _ACEOF
2696 ac_clean_files_save=$ac_clean_files
2697 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2698 # Try to create an executable without -o first, disregard a.out.
2699 # It will help us diagnose broken compilers, and finding out an intuition
2700 # of exeext.
2701 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2702 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2703 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2704 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2705 (eval $ac_link_default) 2>&5
2706 ac_status=$?
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 # Find the output, starting from the most likely. This scheme is
2710 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2711 # resort.
2713 # Be careful to initialize this variable, since it used to be cached.
2714 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2715 ac_cv_exeext=
2716 # b.out is created by i960 compilers.
2717 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2719 test -f "$ac_file" || continue
2720 case $ac_file in
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2723 conftest.$ac_ext )
2724 # This is the source file.
2726 [ab].out )
2727 # We found the default executable, but exeext='' is most
2728 # certainly right.
2729 break;;
2730 *.* )
2731 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732 # FIXME: I believe we export ac_cv_exeext for Libtool,
2733 # but it would be cool to find out if it's true. Does anybody
2734 # maintain Libtool? --akim.
2735 export ac_cv_exeext
2736 break;;
2738 break;;
2739 esac
2740 done
2741 else
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: C compiler cannot create executables
2748 See \`config.log' for more details." >&2;}
2749 { (exit 77); exit 77; }; }
2752 ac_exeext=$ac_cv_exeext
2753 echo "$as_me:$LINENO: result: $ac_file" >&5
2754 echo "${ECHO_T}$ac_file" >&6
2756 # Check the compiler produces executables we can run. If not, either
2757 # the compiler is broken, or we cross compile.
2758 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2759 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2760 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2761 # If not cross compiling, check that we can run a simple program.
2762 if test "$cross_compiling" != yes; then
2763 if { ac_try='./$ac_file'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 cross_compiling=no
2770 else
2771 if test "$cross_compiling" = maybe; then
2772 cross_compiling=yes
2773 else
2774 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." >&5
2777 echo "$as_me: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2787 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2788 ac_clean_files=$ac_clean_files_save
2789 # Check the compiler produces executables we can run. If not, either
2790 # the compiler is broken, or we cross compile.
2791 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2792 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2793 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2794 echo "${ECHO_T}$cross_compiling" >&6
2796 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2797 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2799 (eval $ac_link) 2>&5
2800 ac_status=$?
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; then
2803 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
2806 # `rm'.
2807 for ac_file in conftest.exe conftest conftest.*; do
2808 test -f "$ac_file" || continue
2809 case $ac_file in
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2811 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812 export ac_cv_exeext
2813 break;;
2814 * ) break;;
2815 esac
2816 done
2817 else
2818 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2819 See \`config.log' for more details." >&5
2820 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2821 See \`config.log' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2825 rm -f conftest$ac_cv_exeext
2826 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2827 echo "${ECHO_T}$ac_cv_exeext" >&6
2829 rm -f conftest.$ac_ext
2830 EXEEXT=$ac_cv_exeext
2831 ac_exeext=$EXEEXT
2833 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2835 if test "${ac_cv_objext+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 else
2838 cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h. */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 main ()
2850 return 0;
2852 _ACEOF
2853 rm -f conftest.o conftest.obj
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>&5
2856 ac_status=$?
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; then
2859 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2860 case $ac_file in
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2862 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863 break;;
2864 esac
2865 done
2866 else
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2870 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2871 See \`config.log' for more details." >&5
2872 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2873 See \`config.log' for more details." >&2;}
2874 { (exit 1); exit 1; }; }
2877 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2879 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2880 echo "${ECHO_T}$ac_cv_objext" >&6
2881 OBJEXT=$ac_cv_objext
2882 ac_objext=$OBJEXT
2883 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2884 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2885 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888 cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h. */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2896 main ()
2898 #ifndef __GNUC__
2899 choke me
2900 #endif
2903 return 0;
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2909 ac_status=$?
2910 grep -v '^ *+' conftest.er1 >conftest.err
2911 rm -f conftest.er1
2912 cat conftest.err >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5
2925 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 ac_compiler_gnu=yes
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 ac_compiler_gnu=no
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2939 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2941 GCC=`test $ac_compiler_gnu = yes && echo yes`
2942 ac_test_CFLAGS=${CFLAGS+set}
2943 ac_save_CFLAGS=$CFLAGS
2944 CFLAGS="-g"
2945 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2947 if test "${ac_cv_prog_cc_g+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2949 else
2950 cat >conftest.$ac_ext <<_ACEOF
2951 /* confdefs.h. */
2952 _ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2958 main ()
2962 return 0;
2964 _ACEOF
2965 rm -f conftest.$ac_objext
2966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967 (eval $ac_compile) 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } &&
2974 { ac_try='test -z "$ac_c_werror_flag"
2975 || test ! -s conftest.err'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 (eval $ac_try) 2>&5
2978 ac_status=$?
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 (eval $ac_try) 2>&5
2984 ac_status=$?
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_cv_prog_cc_g=yes
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 ac_cv_prog_cc_g=no
2994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2996 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2998 if test "$ac_test_CFLAGS" = set; then
2999 CFLAGS=$ac_save_CFLAGS
3000 elif test $ac_cv_prog_cc_g = yes; then
3001 if test "$GCC" = yes; then
3002 CFLAGS="-g -O2"
3003 else
3004 CFLAGS="-g"
3006 else
3007 if test "$GCC" = yes; then
3008 CFLAGS="-O2"
3009 else
3010 CFLAGS=
3013 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3014 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3015 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018 ac_cv_prog_cc_stdc=no
3019 ac_save_CC=$CC
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3026 #include <stdarg.h>
3027 #include <stdio.h>
3028 #include <sys/types.h>
3029 #include <sys/stat.h>
3030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3031 struct buf { int x; };
3032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3033 static char *e (p, i)
3034 char **p;
3035 int i;
3037 return p[i];
3039 static char *f (char * (*g) (char **, int), char **p, ...)
3041 char *s;
3042 va_list v;
3043 va_start (v,p);
3044 s = g (p, va_arg (v,int));
3045 va_end (v);
3046 return s;
3049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3050 function prototypes and stuff, but not '\xHH' hex character constants.
3051 These don't provoke an error unfortunately, instead are silently treated
3052 as 'x'. The following induces an error, until -std1 is added to get
3053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3054 array size at least. It's necessary to write '\x00'==0 to get something
3055 that's true only with -std1. */
3056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3058 int test (int i, double x);
3059 struct s1 {int (*f) (int a);};
3060 struct s2 {int (*f) (double a);};
3061 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 int argc;
3063 char **argv;
3065 main ()
3067 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3069 return 0;
3071 _ACEOF
3072 # Don't try gcc -ansi; that turns off useful extensions and
3073 # breaks some systems' header files.
3074 # AIX -qlanglvl=ansi
3075 # Ultrix and OSF/1 -std1
3076 # HP-UX 10.20 and later -Ae
3077 # HP-UX older versions -Aa -D_HPUX_SOURCE
3078 # SVR4 -Xc -D__EXTENSIONS__
3079 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3081 CC="$ac_save_CC $ac_arg"
3082 rm -f conftest.$ac_objext
3083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084 (eval $ac_compile) 2>conftest.er1
3085 ac_status=$?
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } &&
3091 { ac_try='test -z "$ac_c_werror_flag"
3092 || test ! -s conftest.err'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 (eval $ac_try) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; } &&
3098 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 (eval $ac_try) 2>&5
3101 ac_status=$?
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_cv_prog_cc_stdc=$ac_arg
3105 break
3106 else
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f conftest.err conftest.$ac_objext
3112 done
3113 rm -f conftest.$ac_ext conftest.$ac_objext
3114 CC=$ac_save_CC
3118 case "x$ac_cv_prog_cc_stdc" in
3119 x|xno)
3120 echo "$as_me:$LINENO: result: none needed" >&5
3121 echo "${ECHO_T}none needed" >&6 ;;
3123 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125 CC="$CC $ac_cv_prog_cc_stdc" ;;
3126 esac
3128 # Some people use a C++ compiler to compile C. Since we use `exit',
3129 # in C++ we need to declare it. In case someone uses the same compiler
3130 # for both compiling C and C++ we need to have the C++ compiler decide
3131 # the declaration of exit, since it's the most demanding environment.
3132 cat >conftest.$ac_ext <<_ACEOF
3133 #ifndef __cplusplus
3134 choke me
3135 #endif
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag"
3147 || test ! -s conftest.err'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 (eval $ac_try) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; } &&
3153 { ac_try='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 (eval $ac_try) 2>&5
3156 ac_status=$?
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3159 for ac_declaration in \
3160 '' \
3161 'extern "C" void std::exit (int) throw (); using std::exit;' \
3162 'extern "C" void std::exit (int); using std::exit;' \
3163 'extern "C" void exit (int) throw ();' \
3164 'extern "C" void exit (int);' \
3165 'void exit (int);'
3167 cat >conftest.$ac_ext <<_ACEOF
3168 /* confdefs.h. */
3169 _ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3173 $ac_declaration
3174 #include <stdlib.h>
3176 main ()
3178 exit (42);
3180 return 0;
3182 _ACEOF
3183 rm -f conftest.$ac_objext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185 (eval $ac_compile) 2>conftest.er1
3186 ac_status=$?
3187 grep -v '^ *+' conftest.er1 >conftest.err
3188 rm -f conftest.er1
3189 cat conftest.err >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try='test -z "$ac_c_werror_flag"
3193 || test ! -s conftest.err'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 (eval $ac_try) 2>&5
3196 ac_status=$?
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; } &&
3199 { ac_try='test -s conftest.$ac_objext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201 (eval $ac_try) 2>&5
3202 ac_status=$?
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 continue
3212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3213 cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h. */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3219 $ac_declaration
3221 main ()
3223 exit (42);
3225 return 0;
3227 _ACEOF
3228 rm -f conftest.$ac_objext
3229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3230 (eval $ac_compile) 2>conftest.er1
3231 ac_status=$?
3232 grep -v '^ *+' conftest.er1 >conftest.err
3233 rm -f conftest.er1
3234 cat conftest.err >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } &&
3237 { ac_try='test -z "$ac_c_werror_flag"
3238 || test ! -s conftest.err'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240 (eval $ac_try) 2>&5
3241 ac_status=$?
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; } &&
3244 { ac_try='test -s conftest.$ac_objext'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 (eval $ac_try) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; }; then
3250 break
3251 else
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3257 done
3258 rm -f conftest*
3259 if test -n "$ac_declaration"; then
3260 echo '#ifdef __cplusplus' >>confdefs.h
3261 echo $ac_declaration >>confdefs.h
3262 echo '#endif' >>confdefs.h
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3271 ac_ext=c
3272 ac_cpp='$CPP $CPPFLAGS'
3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 ac_ext=cc
3278 ac_cpp='$CXXCPP $CPPFLAGS'
3279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292 if test -n "$CXX"; then
3293 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3298 IFS=$as_save_IFS
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 break 2
3306 done
3307 done
3311 CXX=$glibcxx_cv_prog_CXX
3312 if test -n "$CXX"; then
3313 echo "$as_me:$LINENO: result: $CXX" >&5
3314 echo "${ECHO_T}$CXX" >&6
3315 else
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3320 test -n "$CXX" && break
3321 done
3323 if test -z "$CXX"; then
3324 ac_ct_CXX=$CXX
3325 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3327 # Extract the first word of "$ac_prog", so it can be a program name with args.
3328 set dummy $ac_prog; ac_word=$2
3329 echo "$as_me:$LINENO: checking for $ac_word" >&5
3330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 else
3334 if test -n "$ac_ct_CXX"; then
3335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3336 else
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 for as_dir in $PATH
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_ac_ct_CXX="$ac_prog"
3345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3348 done
3349 done
3353 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3354 if test -n "$ac_ct_CXX"; then
3355 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3356 echo "${ECHO_T}$ac_ct_CXX" >&6
3357 else
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3362 test -n "$ac_ct_CXX" && break
3363 done
3364 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3366 CXX=$ac_ct_CXX
3370 # Provide some information about the compiler.
3371 echo "$as_me:$LINENO:" \
3372 "checking for C++ compiler version" >&5
3373 ac_compiler=`set X $ac_compile; echo $2`
3374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3375 (eval $ac_compiler --version </dev/null >&5) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }
3379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3380 (eval $ac_compiler -v </dev/null >&5) 2>&5
3381 ac_status=$?
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }
3384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3385 (eval $ac_compiler -V </dev/null >&5) 2>&5
3386 ac_status=$?
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }
3390 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3391 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3392 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395 cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h. */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3403 main ()
3405 #ifndef __GNUC__
3406 choke me
3407 #endif
3410 return 0;
3412 _ACEOF
3413 rm -f conftest.$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3416 ac_status=$?
3417 grep -v '^ *+' conftest.er1 >conftest.err
3418 rm -f conftest.er1
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try='test -z "$ac_cxx_werror_flag"
3423 || test ! -s conftest.err'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425 (eval $ac_try) 2>&5
3426 ac_status=$?
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; } &&
3429 { ac_try='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431 (eval $ac_try) 2>&5
3432 ac_status=$?
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 ac_compiler_gnu=yes
3436 else
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 ac_compiler_gnu=no
3442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3446 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3448 GXX=`test $ac_compiler_gnu = yes && echo yes`
3449 ac_test_CXXFLAGS=${CXXFLAGS+set}
3450 ac_save_CXXFLAGS=$CXXFLAGS
3451 CXXFLAGS="-g"
3452 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3454 if test "${ac_cv_prog_cxx_g+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 else
3457 cat >conftest.$ac_ext <<_ACEOF
3458 /* confdefs.h. */
3459 _ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3465 main ()
3469 return 0;
3471 _ACEOF
3472 rm -f conftest.$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3475 ac_status=$?
3476 grep -v '^ *+' conftest.er1 >conftest.err
3477 rm -f conftest.er1
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try='test -z "$ac_cxx_werror_flag"
3482 || test ! -s conftest.err'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 (eval $ac_try) 2>&5
3485 ac_status=$?
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; } &&
3488 { ac_try='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 (eval $ac_try) 2>&5
3491 ac_status=$?
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3494 ac_cv_prog_cxx_g=yes
3495 else
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 ac_cv_prog_cxx_g=no
3501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3503 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3504 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3505 if test "$ac_test_CXXFLAGS" = set; then
3506 CXXFLAGS=$ac_save_CXXFLAGS
3507 elif test $ac_cv_prog_cxx_g = yes; then
3508 if test "$GXX" = yes; then
3509 CXXFLAGS="-g -O2"
3510 else
3511 CXXFLAGS="-g"
3513 else
3514 if test "$GXX" = yes; then
3515 CXXFLAGS="-O2"
3516 else
3517 CXXFLAGS=
3520 for ac_declaration in \
3521 '' \
3522 'extern "C" void std::exit (int) throw (); using std::exit;' \
3523 'extern "C" void std::exit (int); using std::exit;' \
3524 'extern "C" void exit (int) throw ();' \
3525 'extern "C" void exit (int);' \
3526 'void exit (int);'
3528 cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h. */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 $ac_declaration
3535 #include <stdlib.h>
3537 main ()
3539 exit (42);
3541 return 0;
3543 _ACEOF
3544 rm -f conftest.$ac_objext
3545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546 (eval $ac_compile) 2>conftest.er1
3547 ac_status=$?
3548 grep -v '^ *+' conftest.er1 >conftest.err
3549 rm -f conftest.er1
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } &&
3553 { ac_try='test -z "$ac_cxx_werror_flag"
3554 || test ! -s conftest.err'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 (eval $ac_try) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; } &&
3560 { ac_try='test -s conftest.$ac_objext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 (eval $ac_try) 2>&5
3563 ac_status=$?
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3567 else
3568 echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3571 continue
3573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3574 cat >conftest.$ac_ext <<_ACEOF
3575 /* confdefs.h. */
3576 _ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3580 $ac_declaration
3582 main ()
3584 exit (42);
3586 return 0;
3588 _ACEOF
3589 rm -f conftest.$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>conftest.er1
3592 ac_status=$?
3593 grep -v '^ *+' conftest.er1 >conftest.err
3594 rm -f conftest.er1
3595 cat conftest.err >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try='test -z "$ac_cxx_werror_flag"
3599 || test ! -s conftest.err'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 (eval $ac_try) 2>&5
3602 ac_status=$?
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; } &&
3605 { ac_try='test -s conftest.$ac_objext'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 (eval $ac_try) 2>&5
3608 ac_status=$?
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 break
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 done
3619 rm -f conftest*
3620 if test -n "$ac_declaration"; then
3621 echo '#ifdef __cplusplus' >>confdefs.h
3622 echo $ac_declaration >>confdefs.h
3623 echo '#endif' >>confdefs.h
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 CXXFLAGS="$save_CXXFLAGS"
3637 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3638 # available). Uncomment the next line to force a particular method.
3639 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3640 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3641 LN_S=$as_ln_s
3642 if test "$LN_S" = "ln -s"; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3647 echo "${ECHO_T}no, using $LN_S" >&6
3650 #LN_S='cp -p'
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}as; ac_word=$2
3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657 if test "${ac_cv_prog_AS+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 else
3660 if test -n "$AS"; then
3661 ac_cv_prog_AS="$AS" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3666 IFS=$as_save_IFS
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_AS="${ac_tool_prefix}as"
3671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 break 2
3674 done
3675 done
3679 AS=$ac_cv_prog_AS
3680 if test -n "$AS"; then
3681 echo "$as_me:$LINENO: result: $AS" >&5
3682 echo "${ECHO_T}$AS" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3689 if test -z "$ac_cv_prog_AS"; then
3690 ac_ct_AS=$AS
3691 # Extract the first word of "as", so it can be a program name with args.
3692 set dummy as; ac_word=$2
3693 echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 else
3698 if test -n "$ac_ct_AS"; then
3699 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_ac_ct_AS="as"
3709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3712 done
3713 done
3717 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3718 if test -n "$ac_ct_AS"; then
3719 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3720 echo "${ECHO_T}$ac_ct_AS" >&6
3721 else
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3726 AS=$ac_ct_AS
3727 else
3728 AS="$ac_cv_prog_AS"
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}ar; ac_word=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_AR+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 else
3739 if test -n "$AR"; then
3740 ac_cv_prog_AR="$AR" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_AR="${ac_tool_prefix}ar"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3758 AR=$ac_cv_prog_AR
3759 if test -n "$AR"; then
3760 echo "$as_me:$LINENO: result: $AR" >&5
3761 echo "${ECHO_T}$AR" >&6
3762 else
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3768 if test -z "$ac_cv_prog_AR"; then
3769 ac_ct_AR=$AR
3770 # Extract the first word of "ar", so it can be a program name with args.
3771 set dummy ar; ac_word=$2
3772 echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 else
3777 if test -n "$ac_ct_AR"; then
3778 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3783 IFS=$as_save_IFS
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_ac_ct_AR="ar"
3788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3797 if test -n "$ac_ct_AR"; then
3798 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3799 echo "${ECHO_T}$ac_ct_AR" >&6
3800 else
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3805 AR=$ac_ct_AR
3806 else
3807 AR="$ac_cv_prog_AR"
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3813 echo "$as_me:$LINENO: checking for $ac_word" >&5
3814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815 if test "${ac_cv_prog_RANLIB+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 else
3818 if test -n "$RANLIB"; then
3819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3837 RANLIB=$ac_cv_prog_RANLIB
3838 if test -n "$RANLIB"; then
3839 echo "$as_me:$LINENO: result: $RANLIB" >&5
3840 echo "${ECHO_T}$RANLIB" >&6
3841 else
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3847 if test -z "$ac_cv_prog_RANLIB"; then
3848 ac_ct_RANLIB=$RANLIB
3849 # Extract the first word of "ranlib", so it can be a program name with args.
3850 set dummy ranlib; ac_word=$2
3851 echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 else
3856 if test -n "$ac_ct_RANLIB"; then
3857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3858 else
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_prog_ac_ct_RANLIB="ranlib"
3867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 break 2
3870 done
3871 done
3873 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3876 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3877 if test -n "$ac_ct_RANLIB"; then
3878 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3879 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 RANLIB=$ac_ct_RANLIB
3886 else
3887 RANLIB="$ac_cv_prog_RANLIB"
3891 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894 if test "${enable_maintainer_mode+set}" = set; then
3895 enableval="$enable_maintainer_mode"
3896 USE_MAINTAINER_MODE=$enableval
3897 else
3898 USE_MAINTAINER_MODE=no
3900 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3904 if test $USE_MAINTAINER_MODE = yes; then
3905 MAINTAINER_MODE_TRUE=
3906 MAINTAINER_MODE_FALSE='#'
3907 else
3908 MAINTAINER_MODE_TRUE='#'
3909 MAINTAINER_MODE_FALSE=
3912 MAINT=$MAINTAINER_MODE_TRUE
3916 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3917 # which are themselves conditionally expanded.
3918 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3919 ## other macros from doing the same. This should be automated.) -pme
3920 need_libmath=no
3922 # Check for uClibc since Linux platforms use different configuration
3923 # directories depending on the C library in use.
3924 cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h. */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3931 #include <stdio.h>
3932 #if __UCLIBC__
3933 _using_uclibc
3934 #endif
3936 _ACEOF
3937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3938 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3939 uclibc=yes
3940 else
3941 uclibc=no
3943 rm -f conftest*
3946 # Find platform-specific directories containing configuration info.
3947 # Also possibly modify flags used elsewhere, as needed by the platform.
3949 . $glibcxx_srcdir/configure.host
3950 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3951 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3952 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3953 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3958 # Check whether --enable-shared or --disable-shared was given.
3959 if test "${enable_shared+set}" = set; then
3960 enableval="$enable_shared"
3961 p=${PACKAGE-default}
3962 case $enableval in
3963 yes) enable_shared=yes ;;
3964 no) enable_shared=no ;;
3966 enable_shared=no
3967 # Look at the argument we got. We use all the common list separators.
3968 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3969 for pkg in $enableval; do
3970 if test "X$pkg" = "X$p"; then
3971 enable_shared=yes
3973 done
3974 IFS="$ac_save_ifs"
3976 esac
3977 else
3978 enable_shared=yes
3980 # Check whether --enable-static or --disable-static was given.
3981 if test "${enable_static+set}" = set; then
3982 enableval="$enable_static"
3983 p=${PACKAGE-default}
3984 case $enableval in
3985 yes) enable_static=yes ;;
3986 no) enable_static=no ;;
3988 enable_static=no
3989 # Look at the argument we got. We use all the common list separators.
3990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3991 for pkg in $enableval; do
3992 if test "X$pkg" = "X$p"; then
3993 enable_static=yes
3995 done
3996 IFS="$ac_save_ifs"
3998 esac
3999 else
4000 enable_static=yes
4002 # Check whether --enable-fast-install or --disable-fast-install was given.
4003 if test "${enable_fast_install+set}" = set; then
4004 enableval="$enable_fast_install"
4005 p=${PACKAGE-default}
4006 case $enableval in
4007 yes) enable_fast_install=yes ;;
4008 no) enable_fast_install=no ;;
4010 enable_fast_install=no
4011 # Look at the argument we got. We use all the common list separators.
4012 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4013 for pkg in $enableval; do
4014 if test "X$pkg" = "X$p"; then
4015 enable_fast_install=yes
4017 done
4018 IFS="$ac_save_ifs"
4020 esac
4021 else
4022 enable_fast_install=yes
4025 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4026 if test "${with_gnu_ld+set}" = set; then
4027 withval="$with_gnu_ld"
4028 test "$withval" = no || with_gnu_ld=yes
4029 else
4030 with_gnu_ld=no
4032 ac_prog=ld
4033 if test "$GCC" = yes; then
4034 # Check if gcc -print-prog-name=ld gives a path.
4035 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4036 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4037 case $host in
4038 *-*-mingw*)
4039 # gcc leaves a trailing carriage return which upsets mingw
4040 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4042 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4043 esac
4044 case $ac_prog in
4045 # Accept absolute paths.
4046 [\\/]* | [A-Za-z]:[\\/]*)
4047 re_direlt='/[^/][^/]*/\.\./'
4048 # Canonicalize the path of ld
4049 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4050 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4051 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4052 done
4053 test -z "$LD" && LD="$ac_prog"
4056 # If it fails, then pretend we aren't using GCC.
4057 ac_prog=ld
4060 # If it is relative, then search for the first ld in PATH.
4061 with_gnu_ld=unknown
4063 esac
4064 elif test "$with_gnu_ld" = yes; then
4065 echo "$as_me:$LINENO: checking for GNU ld" >&5
4066 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4067 else
4068 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4069 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4071 if test "${lt_cv_path_LD+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 else
4074 if test -z "$LD"; then
4075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4076 for ac_dir in $PATH; do
4077 test -z "$ac_dir" && ac_dir=.
4078 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4079 lt_cv_path_LD="$ac_dir/$ac_prog"
4080 # Check to see if the program is GNU ld. I'd rather use --version,
4081 # but apparently some GNU ld's only accept -v.
4082 # Break only if it was the GNU/non-GNU ld that we prefer.
4083 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4084 test "$with_gnu_ld" != no && break
4085 else
4086 test "$with_gnu_ld" != yes && break
4089 done
4090 IFS="$ac_save_ifs"
4091 else
4092 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4096 LD="$lt_cv_path_LD"
4097 if test -n "$LD"; then
4098 echo "$as_me:$LINENO: result: $LD" >&5
4099 echo "${ECHO_T}$LD" >&6
4100 else
4101 echo "$as_me:$LINENO: result: no" >&5
4102 echo "${ECHO_T}no" >&6
4104 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4105 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4106 { (exit 1); exit 1; }; }
4107 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4108 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4109 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 else
4112 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4113 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4114 lt_cv_prog_gnu_ld=yes
4115 else
4116 lt_cv_prog_gnu_ld=no
4119 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4120 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4121 with_gnu_ld=$lt_cv_prog_gnu_ld
4124 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4125 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4126 if test "${lt_cv_ld_reload_flag+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 lt_cv_ld_reload_flag='-r'
4131 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4132 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4133 reload_flag=$lt_cv_ld_reload_flag
4134 test -n "$reload_flag" && reload_flag=" $reload_flag"
4136 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4137 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4138 if test "${lt_cv_path_NM+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 else
4141 if test -n "$NM"; then
4142 # Let the user override the test.
4143 lt_cv_path_NM="$NM"
4144 else
4145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4146 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4147 test -z "$ac_dir" && ac_dir=.
4148 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4149 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4150 # Check to see if the nm accepts a BSD-compat flag.
4151 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4152 # nm: unknown option "B" ignored
4153 # Tru64's nm complains that /dev/null is an invalid object file
4154 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4155 lt_cv_path_NM="$tmp_nm -B"
4156 break
4157 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4158 lt_cv_path_NM="$tmp_nm -p"
4159 break
4160 else
4161 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4162 continue # so that we can try to find one that supports BSD flags
4165 done
4166 IFS="$ac_save_ifs"
4167 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4171 NM="$lt_cv_path_NM"
4172 echo "$as_me:$LINENO: result: $NM" >&5
4173 echo "${ECHO_T}$NM" >&6
4175 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4176 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4177 if test "${lt_cv_deplibs_check_method+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180 lt_cv_file_magic_cmd='$MAGIC_CMD'
4181 lt_cv_file_magic_test_file=
4182 lt_cv_deplibs_check_method='unknown'
4183 # Need to set the preceding variable on all platforms that support
4184 # interlibrary dependencies.
4185 # 'none' -- dependencies not supported.
4186 # `unknown' -- same as none, but documents that we really don't know.
4187 # 'pass_all' -- all dependencies passed with no checks.
4188 # 'test_compile' -- check by making test program.
4189 # 'file_magic [regex]' -- check by looking for files in library path
4190 # which responds to the $file_magic_cmd with a given egrep regex.
4191 # If you have `file' or equivalent on your system and you're not sure
4192 # whether `pass_all' will *always* work, you probably want this one.
4194 case $host_os in
4195 aix*)
4196 lt_cv_deplibs_check_method=pass_all
4199 beos*)
4200 lt_cv_deplibs_check_method=pass_all
4203 bsdi4*)
4204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4205 lt_cv_file_magic_cmd='/usr/bin/file -L'
4206 lt_cv_file_magic_test_file=/shlib/libc.so
4209 cygwin* | mingw* |pw32*)
4210 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4211 lt_cv_file_magic_cmd='$OBJDUMP -f'
4214 darwin* | rhapsody*)
4215 # this will be overwritten by pass_all, but leave it in just in case
4216 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4217 lt_cv_file_magic_cmd='/usr/bin/file -L'
4218 case "$host_os" in
4219 rhapsody* | darwin1.012)
4220 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4222 *) # Darwin 1.3 on
4223 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4225 esac
4226 lt_cv_deplibs_check_method=pass_all
4229 freebsd* | kfreebsd*-gnu)
4230 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4231 case $host_cpu in
4232 i*86 )
4233 # Not sure whether the presence of OpenBSD here was a mistake.
4234 # Let's accept both of them until this is cleared up.
4235 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4236 lt_cv_file_magic_cmd=/usr/bin/file
4237 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4239 esac
4240 else
4241 lt_cv_deplibs_check_method=pass_all
4245 gnu*)
4246 lt_cv_deplibs_check_method=pass_all
4249 hpux10.20*|hpux11*)
4250 case $host_cpu in
4251 hppa*)
4252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253 lt_cv_file_magic_cmd=/usr/bin/file
4254 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4256 ia64*)
4257 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4258 lt_cv_file_magic_cmd=/usr/bin/file
4259 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4261 esac
4264 irix5* | irix6*)
4265 case $host_os in
4266 irix5*)
4267 # this will be overridden with pass_all, but let us keep it just in case
4268 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4271 case $LD in
4272 *-32|*"-32 ") libmagic=32-bit;;
4273 *-n32|*"-n32 ") libmagic=N32;;
4274 *-64|*"-64 ") libmagic=64-bit;;
4275 *) libmagic=never-match;;
4276 esac
4277 # this will be overridden with pass_all, but let us keep it just in case
4278 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4280 esac
4281 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4282 lt_cv_deplibs_check_method=pass_all
4285 # This must be Linux ELF.
4286 linux-gnu*)
4287 lt_cv_deplibs_check_method=pass_all
4290 netbsd* | knetbsd*-gnu)
4291 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4292 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4293 else
4294 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4298 newsos6)
4299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300 lt_cv_file_magic_cmd=/usr/bin/file
4301 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4304 osf3* | osf4* | osf5*)
4305 # this will be overridden with pass_all, but let us keep it just in case
4306 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4307 lt_cv_file_magic_test_file=/shlib/libc.so
4308 lt_cv_deplibs_check_method=pass_all
4311 sco3.2v5*)
4312 lt_cv_deplibs_check_method=pass_all
4315 solaris*)
4316 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_file_magic_test_file=/lib/libc.so
4320 sysv5uw[78]* | sysv4*uw2*)
4321 lt_cv_deplibs_check_method=pass_all
4324 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4325 case $host_vendor in
4326 ncr)
4327 lt_cv_deplibs_check_method=pass_all
4329 motorola)
4330 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4331 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4333 esac
4335 esac
4338 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4339 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4340 file_magic_cmd=$lt_cv_file_magic_cmd
4341 deplibs_check_method=$lt_cv_deplibs_check_method
4346 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4348 # find the maximum length of command line arguments
4349 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4350 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4351 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 else
4355 teststring="ABCD"
4357 case $build_os in
4358 msdosdjgpp*)
4359 # On DJGPP, this test can blow up pretty badly due to problems in libc
4360 # (any single argument exceeding 2000 bytes causes a buffer overrun
4361 # during glob expansion). Even if it were fixed, the result of this
4362 # check would be larger than it should be.
4363 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4366 cygwin* | mingw*)
4367 # On Win9x/ME, this test blows up -- it succeeds, but takes
4368 # about 5 minutes as the teststring grows exponentially.
4369 # Worse, since 9x/ME are not pre-emptively multitasking,
4370 # you end up with a "frozen" computer, even though with patience
4371 # the test eventually succeeds (with a max line length of 256k).
4372 # Instead, let's just punt: use the minimum linelength reported by
4373 # all of the supported platforms: 8192 (on NT/2K/XP).
4374 lt_cv_sys_max_cmd_len=8192;
4377 amigaos*)
4378 # On AmigaOS with pdksh, this test takes hours, literally.
4379 # So we just punt and use a minimum line length of 8192.
4380 lt_cv_sys_max_cmd_len=8192;
4383 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4384 # This has been around since 386BSD, at least. Likely further.
4385 if test -x /sbin/sysctl; then
4386 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4387 elif test -x /usr/sbin/sysctl; then
4388 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4389 else
4390 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4392 # And add a safety zone
4393 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4394 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4396 esac
4400 if test -n "$lt_cv_sys_max_cmd_len" ; then
4401 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4402 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4403 else
4404 echo "$as_me:$LINENO: result: none" >&5
4405 echo "${ECHO_T}none" >&6
4409 # Only perform the check for file, if the check method requires it
4410 case $deplibs_check_method in
4411 file_magic*)
4412 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4413 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4414 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 case $MAGIC_CMD in
4420 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4422 ?:/*)
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4426 ac_save_MAGIC_CMD="$MAGIC_CMD"
4427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4428 ac_dummy="/usr/bin:$PATH"
4429 for ac_dir in $ac_dummy; do
4430 test -z "$ac_dir" && ac_dir=.
4431 if test -f $ac_dir/${ac_tool_prefix}file; then
4432 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4433 if test -n "$file_magic_test_file"; then
4434 case $deplibs_check_method in
4435 "file_magic "*)
4436 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4439 egrep "$file_magic_regex" > /dev/null; then
4441 else
4442 cat <<EOF 1>&2
4444 *** Warning: the command libtool uses to detect shared libraries,
4445 *** $file_magic_cmd, produces output that libtool cannot recognize.
4446 *** The result is that libtool may fail to recognize shared libraries
4447 *** as such. This will affect the creation of libtool libraries that
4448 *** depend on shared libraries, but programs linked with such libtool
4449 *** libraries will work regardless of this problem. Nevertheless, you
4450 *** may want to report the problem to your system manager and/or to
4451 *** bug-libtool@gnu.org
4454 fi ;;
4455 esac
4457 break
4459 done
4460 IFS="$ac_save_ifs"
4461 MAGIC_CMD="$ac_save_MAGIC_CMD"
4463 esac
4466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4467 if test -n "$MAGIC_CMD"; then
4468 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4469 echo "${ECHO_T}$MAGIC_CMD" >&6
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4475 if test -z "$lt_cv_path_MAGIC_CMD"; then
4476 if test -n "$ac_tool_prefix"; then
4477 echo "$as_me:$LINENO: checking for file" >&5
4478 echo $ECHO_N "checking for file... $ECHO_C" >&6
4479 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 else
4482 case $MAGIC_CMD in
4484 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4486 ?:/*)
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4490 ac_save_MAGIC_CMD="$MAGIC_CMD"
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4492 ac_dummy="/usr/bin:$PATH"
4493 for ac_dir in $ac_dummy; do
4494 test -z "$ac_dir" && ac_dir=.
4495 if test -f $ac_dir/file; then
4496 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4497 if test -n "$file_magic_test_file"; then
4498 case $deplibs_check_method in
4499 "file_magic "*)
4500 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503 egrep "$file_magic_regex" > /dev/null; then
4505 else
4506 cat <<EOF 1>&2
4508 *** Warning: the command libtool uses to detect shared libraries,
4509 *** $file_magic_cmd, produces output that libtool cannot recognize.
4510 *** The result is that libtool may fail to recognize shared libraries
4511 *** as such. This will affect the creation of libtool libraries that
4512 *** depend on shared libraries, but programs linked with such libtool
4513 *** libraries will work regardless of this problem. Nevertheless, you
4514 *** may want to report the problem to your system manager and/or to
4515 *** bug-libtool@gnu.org
4518 fi ;;
4519 esac
4521 break
4523 done
4524 IFS="$ac_save_ifs"
4525 MAGIC_CMD="$ac_save_MAGIC_CMD"
4527 esac
4530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531 if test -n "$MAGIC_CMD"; then
4532 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533 echo "${ECHO_T}$MAGIC_CMD" >&6
4534 else
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4539 else
4540 MAGIC_CMD=:
4546 esac
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_prog_RANLIB+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 else
4556 if test -n "$RANLIB"; then
4557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4575 RANLIB=$ac_cv_prog_RANLIB
4576 if test -n "$RANLIB"; then
4577 echo "$as_me:$LINENO: result: $RANLIB" >&5
4578 echo "${ECHO_T}$RANLIB" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586 ac_ct_RANLIB=$RANLIB
4587 # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594 if test -n "$ac_ct_RANLIB"; then
4595 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_RANLIB="ranlib"
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4611 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4617 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618 else
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4623 RANLIB=$ac_ct_RANLIB
4624 else
4625 RANLIB="$ac_cv_prog_RANLIB"
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}strip; ac_word=$2
4631 echo "$as_me:$LINENO: checking for $ac_word" >&5
4632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633 if test "${ac_cv_prog_STRIP+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else
4636 if test -n "$STRIP"; then
4637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 break 2
4650 done
4651 done
4655 STRIP=$ac_cv_prog_STRIP
4656 if test -n "$STRIP"; then
4657 echo "$as_me:$LINENO: result: $STRIP" >&5
4658 echo "${ECHO_T}$STRIP" >&6
4659 else
4660 echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6
4665 if test -z "$ac_cv_prog_STRIP"; then
4666 ac_ct_STRIP=$STRIP
4667 # Extract the first word of "strip", so it can be a program name with args.
4668 set dummy strip; ac_word=$2
4669 echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 if test -n "$ac_ct_STRIP"; then
4675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_STRIP="strip"
4685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4691 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4695 if test -n "$ac_ct_STRIP"; then
4696 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4697 echo "${ECHO_T}$ac_ct_STRIP" >&6
4698 else
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4703 STRIP=$ac_ct_STRIP
4704 else
4705 STRIP="$ac_cv_prog_STRIP"
4709 # Check for any special flags to pass to ltconfig.
4710 libtool_flags="--cache-file=$cache_file"
4711 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4712 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4713 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4714 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4715 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4718 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4719 if test "${enable_libtool_lock+set}" = set; then
4720 enableval="$enable_libtool_lock"
4723 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4724 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4727 # Check whether --with-pic or --without-pic was given.
4728 if test "${with_pic+set}" = set; then
4729 withval="$with_pic"
4730 pic_mode="$withval"
4731 else
4732 pic_mode=default
4734 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4735 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4737 # Some flags need to be propagated to the compiler or linker for good
4738 # libtool support.
4739 case $host in
4740 *-*-irix6*)
4741 # Find out which ABI we are using.
4742 echo '#line 4742 "configure"' > conftest.$ac_ext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4745 ac_status=$?
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; then
4748 if test "$lt_cv_prog_gnu_ld" = yes; then
4749 case `/usr/bin/file conftest.$ac_objext` in
4750 *32-bit*)
4751 LD="${LD-ld} -melf32bsmip"
4753 *N32*)
4754 LD="${LD-ld} -melf32bmipn32"
4756 *64-bit*)
4757 LD="${LD-ld} -melf64bmip"
4759 esac
4760 else
4761 case `/usr/bin/file conftest.$ac_objext` in
4762 *32-bit*)
4763 LD="${LD-ld} -32"
4765 *N32*)
4766 LD="${LD-ld} -n32"
4768 *64-bit*)
4769 LD="${LD-ld} -64"
4771 esac
4774 rm -rf conftest*
4777 ia64-*-hpux*)
4778 # Find out which ABI we are using.
4779 echo 'int i;' > conftest.$ac_ext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>&5
4782 ac_status=$?
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; then
4785 case "`/usr/bin/file conftest.o`" in
4786 *ELF-32*)
4787 HPUX_IA64_MODE="32"
4789 *ELF-64*)
4790 HPUX_IA64_MODE="64"
4792 esac
4794 rm -rf conftest*
4797 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4798 # Find out which ABI we are using.
4799 echo 'int i;' > conftest.$ac_ext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 (eval $ac_compile) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; then
4805 case "`/usr/bin/file conftest.o`" in
4806 *32-bit*)
4807 case $host in
4808 x86_64-*linux*)
4809 LD="${LD-ld} -m elf_i386"
4811 ppc64-*linux*|powerpc64-*linux*)
4812 LD="${LD-ld} -m elf32ppclinux"
4814 s390x-*linux*)
4815 LD="${LD-ld} -m elf_s390"
4817 sparc64-*linux*)
4818 LD="${LD-ld} -m elf32_sparc"
4820 esac
4822 *64-bit*)
4823 case $host in
4824 x86_64-*linux*)
4825 LD="${LD-ld} -m elf_x86_64"
4827 ppc*-*linux*|powerpc*-*linux*)
4828 LD="${LD-ld} -m elf64ppc"
4830 s390*-*linux*)
4831 LD="${LD-ld} -m elf64_s390"
4833 sparc*-*linux*)
4834 LD="${LD-ld} -m elf64_sparc"
4836 esac
4838 esac
4840 rm -rf conftest*
4843 *-*-sco3.2v5*)
4844 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4845 SAVE_CFLAGS="$CFLAGS"
4846 CFLAGS="$CFLAGS -belf"
4847 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4848 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4849 if test "${lt_cv_cc_needs_belf+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4854 ac_ext=c
4855 ac_cpp='$CPP $CPPFLAGS'
4856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860 if test x$gcc_no_link = xyes; then
4861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4863 { (exit 1); exit 1; }; }
4865 cat >conftest.$ac_ext <<_ACEOF
4866 /* confdefs.h. */
4867 _ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 rm -f conftest.$ac_objext conftest$ac_exeext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882 (eval $ac_link) 2>conftest.er1
4883 ac_status=$?
4884 grep -v '^ *+' conftest.er1 >conftest.err
4885 rm -f conftest.er1
4886 cat conftest.err >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 (eval $ac_try) 2>&5
4893 ac_status=$?
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try='test -s conftest$ac_exeext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 (eval $ac_try) 2>&5
4899 ac_status=$?
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 lt_cv_cc_needs_belf=yes
4903 else
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4907 lt_cv_cc_needs_belf=no
4909 rm -f conftest.err conftest.$ac_objext \
4910 conftest$ac_exeext conftest.$ac_ext
4911 ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4919 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4920 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4921 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4922 CFLAGS="$SAVE_CFLAGS"
4927 esac
4930 # Save cache, so that ltconfig can load it
4931 cat >confcache <<\_ACEOF
4932 # This file is a shell script that caches the results of configure
4933 # tests run on this system so they can be shared between configure
4934 # scripts and configure runs, see configure's option --config-cache.
4935 # It is not useful on other systems. If it contains results you don't
4936 # want to keep, you may remove or edit it.
4938 # config.status only pays attention to the cache file if you give it
4939 # the --recheck option to rerun configure.
4941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4943 # following values.
4945 _ACEOF
4947 # The following way of writing the cache mishandles newlines in values,
4948 # but we know of no workaround that is simple, portable, and efficient.
4949 # So, don't put newlines in cache variables' values.
4950 # Ultrix sh set writes to stderr and can't be redirected directly,
4951 # and sets the high bit in the cache file unless we assign to the vars.
4953 (set) 2>&1 |
4954 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4955 *ac_space=\ *)
4956 # `set' does not quote correctly, so add quotes (double-quote
4957 # substitution turns \\\\ into \\, and sed turns \\ into \).
4958 sed -n \
4959 "s/'/'\\\\''/g;
4960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4963 # `set' quotes correctly as required by POSIX, so do not add quotes.
4964 sed -n \
4965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4967 esac;
4969 sed '
4970 t clear
4971 : clear
4972 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4973 t end
4974 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975 : end' >>confcache
4976 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4977 if test -w $cache_file; then
4978 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4979 cat confcache >$cache_file
4980 else
4981 echo "not updating unwritable cache $cache_file"
4984 rm -f confcache
4986 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4987 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4988 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4989 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4990 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4991 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4992 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4993 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4994 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4995 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4996 echo "$as_me: error: libtool configure failed" >&2;}
4997 { (exit 1); exit 1; }; }
4999 # Reload cache, that may have been modified by ltconfig
5000 if test -r "$cache_file"; then
5001 # Some versions of bash will fail to source /dev/null (special
5002 # files actually), so we avoid doing that.
5003 if test -f "$cache_file"; then
5004 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5005 echo "$as_me: loading cache $cache_file" >&6;}
5006 case $cache_file in
5007 [\\/]* | ?:[\\/]* ) . $cache_file;;
5008 *) . ./$cache_file;;
5009 esac
5011 else
5012 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5013 echo "$as_me: creating cache $cache_file" >&6;}
5014 >$cache_file
5018 # This can be used to rebuild libtool when needed
5019 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5021 # Always use our own libtool.
5022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5024 # Redirect the config.log output again, so that the ltconfig log is not
5025 # clobbered by the next message.
5026 exec 5>>./config.log
5028 ac_ext=cc
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5034 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5035 if test -z "$CXXCPP"; then
5036 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 else
5039 # Double quotes because CXXCPP needs to be expanded
5040 for CXXCPP in "$CXX -E" "/lib/cpp"
5042 ac_preproc_ok=false
5043 for ac_cxx_preproc_warn_flag in '' yes
5045 # Use a header file that comes with gcc, so configuring glibc
5046 # with a fresh cross-compiler works.
5047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 # <limits.h> exists even on freestanding compilers.
5049 # On the NeXT, cc -E runs the code through the compiler's parser,
5050 # not just through cpp. "Syntax error" is here to catch this case.
5051 cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h. */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #ifdef __STDC__
5058 # include <limits.h>
5059 #else
5060 # include <assert.h>
5061 #endif
5062 Syntax error
5063 _ACEOF
5064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066 ac_status=$?
5067 grep -v '^ *+' conftest.er1 >conftest.err
5068 rm -f conftest.er1
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } >/dev/null; then
5072 if test -s conftest.err; then
5073 ac_cpp_err=$ac_cxx_preproc_warn_flag
5074 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5075 else
5076 ac_cpp_err=
5078 else
5079 ac_cpp_err=yes
5081 if test -z "$ac_cpp_err"; then
5083 else
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5087 # Broken: fails on valid input.
5088 continue
5090 rm -f conftest.err conftest.$ac_ext
5092 # OK, works on sane cases. Now check whether non-existent headers
5093 # can be detected and how.
5094 cat >conftest.$ac_ext <<_ACEOF
5095 /* confdefs.h. */
5096 _ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 #include <ac_nonexistent.h>
5101 _ACEOF
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104 ac_status=$?
5105 grep -v '^ *+' conftest.er1 >conftest.err
5106 rm -f conftest.er1
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null; then
5110 if test -s conftest.err; then
5111 ac_cpp_err=$ac_cxx_preproc_warn_flag
5112 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5113 else
5114 ac_cpp_err=
5116 else
5117 ac_cpp_err=yes
5119 if test -z "$ac_cpp_err"; then
5120 # Broken: success on invalid input.
5121 continue
5122 else
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 # Passes both tests.
5127 ac_preproc_ok=:
5128 break
5130 rm -f conftest.err conftest.$ac_ext
5132 done
5133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134 rm -f conftest.err conftest.$ac_ext
5135 if $ac_preproc_ok; then
5136 break
5139 done
5140 ac_cv_prog_CXXCPP=$CXXCPP
5143 CXXCPP=$ac_cv_prog_CXXCPP
5144 else
5145 ac_cv_prog_CXXCPP=$CXXCPP
5147 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5148 echo "${ECHO_T}$CXXCPP" >&6
5149 ac_preproc_ok=false
5150 for ac_cxx_preproc_warn_flag in '' yes
5152 # Use a header file that comes with gcc, so configuring glibc
5153 # with a fresh cross-compiler works.
5154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155 # <limits.h> exists even on freestanding compilers.
5156 # On the NeXT, cc -E runs the code through the compiler's parser,
5157 # not just through cpp. "Syntax error" is here to catch this case.
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5169 Syntax error
5170 _ACEOF
5171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } >/dev/null; then
5179 if test -s conftest.err; then
5180 ac_cpp_err=$ac_cxx_preproc_warn_flag
5181 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5182 else
5183 ac_cpp_err=
5185 else
5186 ac_cpp_err=yes
5188 if test -z "$ac_cpp_err"; then
5190 else
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5194 # Broken: fails on valid input.
5195 continue
5197 rm -f conftest.err conftest.$ac_ext
5199 # OK, works on sane cases. Now check whether non-existent headers
5200 # can be detected and how.
5201 cat >conftest.$ac_ext <<_ACEOF
5202 /* confdefs.h. */
5203 _ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5207 #include <ac_nonexistent.h>
5208 _ACEOF
5209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211 ac_status=$?
5212 grep -v '^ *+' conftest.er1 >conftest.err
5213 rm -f conftest.er1
5214 cat conftest.err >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } >/dev/null; then
5217 if test -s conftest.err; then
5218 ac_cpp_err=$ac_cxx_preproc_warn_flag
5219 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5220 else
5221 ac_cpp_err=
5223 else
5224 ac_cpp_err=yes
5226 if test -z "$ac_cpp_err"; then
5227 # Broken: success on invalid input.
5228 continue
5229 else
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5233 # Passes both tests.
5234 ac_preproc_ok=:
5235 break
5237 rm -f conftest.err conftest.$ac_ext
5239 done
5240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241 rm -f conftest.err conftest.$ac_ext
5242 if $ac_preproc_ok; then
5244 else
5245 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246 See \`config.log' for more details." >&5
5247 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5248 See \`config.log' for more details." >&2;}
5249 { (exit 1); exit 1; }; }
5252 ac_ext=c
5253 ac_cpp='$CPP $CPPFLAGS'
5254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5261 lt_save_CC="$CC"
5262 lt_save_CFLAGS="$CFLAGS"
5263 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5264 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5265 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5266 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5267 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5268 deplibs_check_method="$deplibs_check_method" \
5269 file_magic_cmd="$file_magic_cmd" \
5270 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5271 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5272 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5273 echo "$as_me: error: libtool tag configuration failed" >&2;}
5274 { (exit 1); exit 1; }; }
5275 CC="$lt_save_CC"
5276 CFLAGS="$lt_save_CFLAGS"
5278 # Redirect the config.log output again, so that the ltconfig log is not
5279 # clobbered by the next message.
5280 exec 5>>./config.log
5290 # Possibly disable most of the library.
5291 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5292 ## than just ignoring the results. Faster /and/ more correct, win win.
5294 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5295 if test "${enable_hosted_libstdcxx+set}" = set; then
5296 enableval="$enable_hosted_libstdcxx"
5298 else
5299 case "$host" in
5300 arm*-*-symbianelf*)
5301 enable_hosted_libstdcxx=no
5304 enable_hosted_libstdcxx=yes
5306 esac
5308 if test "$enable_hosted_libstdcxx" = no; then
5309 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5310 echo "$as_me: Only freestanding libraries will be built" >&6;}
5311 is_hosted=no
5312 hosted_define=0
5313 enable_abi_check=no
5314 enable_libstdcxx_pch=no
5315 else
5316 is_hosted=yes
5317 hosted_define=1
5321 cat >>confdefs.h <<_ACEOF
5322 #define _GLIBCXX_HOSTED $hosted_define
5323 _ACEOF
5327 # Check for compiler support that doesn't require linking.
5329 echo "$as_me:$LINENO: checking for exception model to use" >&5
5330 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5333 ac_ext=cc
5334 ac_cpp='$CXXCPP $CPPFLAGS'
5335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5339 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5340 if test "${enable_sjlj_exceptions+set}" = set; then
5341 enableval="$enable_sjlj_exceptions"
5343 case "$enableval" in
5344 yes|no|auto) ;;
5345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5346 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5347 { (exit 1); exit 1; }; } ;;
5348 esac
5350 else
5351 enable_sjlj_exceptions=auto
5355 if test $enable_sjlj_exceptions = auto; then
5356 # Botheration. Now we've got to detect the exception model. Link tests
5357 # against libgcc.a are problematic since we've not been given proper -L
5358 # bits for single-tree newlib and libgloss.
5360 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5361 cat > conftest.$ac_ext << EOF
5362 #line 5362 "configure"
5363 struct S { ~S(); };
5364 void bar();
5365 void foo()
5367 S s;
5368 bar();
5371 old_CXXFLAGS="$CXXFLAGS"
5372 CXXFLAGS=-S
5373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374 (eval $ac_compile) 2>&5
5375 ac_status=$?
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; then
5378 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5379 enable_sjlj_exceptions=yes
5380 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5381 enable_sjlj_exceptions=no
5382 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5383 enable_sjlj_exceptions=no
5386 CXXFLAGS="$old_CXXFLAGS"
5387 rm -f conftest*
5390 # This is a tad weird, for hysterical raisins. We have to map
5391 # enable/disable to two different models.
5392 case $enable_sjlj_exceptions in
5393 yes)
5395 cat >>confdefs.h <<\_ACEOF
5396 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5397 _ACEOF
5399 ac_exception_model_name=sjlj
5402 ac_exception_model_name="call frame"
5405 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5406 echo "$as_me: error: unable to detect exception model" >&2;}
5407 { (exit 1); exit 1; }; }
5409 esac
5410 ac_ext=c
5411 ac_cpp='$CPP $CPPFLAGS'
5412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5416 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5417 echo "${ECHO_T}$ac_exception_model_name" >&6
5420 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5421 if test "${enable_libstdcxx_pch+set}" = set; then
5422 enableval="$enable_libstdcxx_pch"
5424 case "$enableval" in
5425 yes|no) ;;
5426 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5427 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5428 { (exit 1); exit 1; }; } ;;
5429 esac
5431 else
5432 enable_libstdcxx_pch=$is_hosted
5435 if test $enable_libstdcxx_pch = yes; then
5436 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5437 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5438 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 ac_save_CXXFLAGS="$CXXFLAGS"
5442 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5445 ac_ext=cc
5446 ac_cpp='$CXXCPP $CPPFLAGS'
5447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5451 echo '#include <math.h>' > conftest.h
5452 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5453 -o conftest.h.gch 1>&5 2>&1 &&
5454 echo '#error "pch failed"' > conftest.h &&
5455 echo '#include "conftest.h"' > conftest.cc &&
5456 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5457 then
5458 glibcxx_cv_prog_CXX_pch=yes
5459 else
5460 glibcxx_cv_prog_CXX_pch=no
5462 rm -f conftest*
5463 CXXFLAGS=$ac_save_CXXFLAGS
5464 ac_ext=c
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5472 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5473 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5474 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5477 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5478 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5479 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5480 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5483 if test $enable_libstdcxx_pch = yes; then
5484 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5485 else
5486 glibcxx_PCHFLAGS=""
5491 # Enable all the variable C++ runtime options.
5493 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5494 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5495 # Check whether --enable-cstdio or --disable-cstdio was given.
5496 if test "${enable_cstdio+set}" = set; then
5497 enableval="$enable_cstdio"
5499 case "$enableval" in
5500 stdio) ;;
5501 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5502 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5503 { (exit 1); exit 1; }; } ;;
5504 esac
5506 else
5507 enable_cstdio=stdio
5511 # Now that libio has been removed, you can have any color you want as long
5512 # as it's black. This is one big no-op until other packages are added, but
5513 # showing the framework never hurts.
5514 case ${enable_cstdio} in
5515 stdio)
5516 CSTDIO_H=config/io/c_io_stdio.h
5517 BASIC_FILE_H=config/io/basic_file_stdio.h
5518 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5519 echo "$as_me:$LINENO: result: stdio" >&5
5520 echo "${ECHO_T}stdio" >&6
5522 esac
5528 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5529 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5530 if test "${ac_cv_header_stdc+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533 cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h. */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <stdlib.h>
5540 #include <stdarg.h>
5541 #include <string.h>
5542 #include <float.h>
5545 main ()
5549 return 0;
5551 _ACEOF
5552 rm -f conftest.$ac_objext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>conftest.er1
5555 ac_status=$?
5556 grep -v '^ *+' conftest.er1 >conftest.err
5557 rm -f conftest.er1
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try='test -z "$ac_c_werror_flag"
5562 || test ! -s conftest.err'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 (eval $ac_try) 2>&5
5565 ac_status=$?
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; } &&
5568 { ac_try='test -s conftest.$ac_objext'
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 (eval $ac_try) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then
5574 ac_cv_header_stdc=yes
5575 else
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5579 ac_cv_header_stdc=no
5581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5583 if test $ac_cv_header_stdc = yes; then
5584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5585 cat >conftest.$ac_ext <<_ACEOF
5586 /* confdefs.h. */
5587 _ACEOF
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5591 #include <string.h>
5593 _ACEOF
5594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5595 $EGREP "memchr" >/dev/null 2>&1; then
5597 else
5598 ac_cv_header_stdc=no
5600 rm -f conftest*
5604 if test $ac_cv_header_stdc = yes; then
5605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5606 cat >conftest.$ac_ext <<_ACEOF
5607 /* confdefs.h. */
5608 _ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5612 #include <stdlib.h>
5614 _ACEOF
5615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616 $EGREP "free" >/dev/null 2>&1; then
5618 else
5619 ac_cv_header_stdc=no
5621 rm -f conftest*
5625 if test $ac_cv_header_stdc = yes; then
5626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627 if test "$cross_compiling" = yes; then
5629 else
5630 cat >conftest.$ac_ext <<_ACEOF
5631 /* confdefs.h. */
5632 _ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5636 #include <ctype.h>
5637 #if ((' ' & 0x0FF) == 0x020)
5638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5640 #else
5641 # define ISLOWER(c) \
5642 (('a' <= (c) && (c) <= 'i') \
5643 || ('j' <= (c) && (c) <= 'r') \
5644 || ('s' <= (c) && (c) <= 'z'))
5645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5646 #endif
5648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5650 main ()
5652 int i;
5653 for (i = 0; i < 256; i++)
5654 if (XOR (islower (i), ISLOWER (i))
5655 || toupper (i) != TOUPPER (i))
5656 exit(2);
5657 exit (0);
5659 _ACEOF
5660 rm -f conftest$ac_exeext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662 (eval $ac_link) 2>&5
5663 ac_status=$?
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667 (eval $ac_try) 2>&5
5668 ac_status=$?
5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); }; }; then
5672 else
5673 echo "$as_me: program exited with status $ac_status" >&5
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5
5677 ( exit $ac_status )
5678 ac_cv_header_stdc=no
5680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5684 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5685 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5686 if test $ac_cv_header_stdc = yes; then
5688 cat >>confdefs.h <<\_ACEOF
5689 #define STDC_HEADERS 1
5690 _ACEOF
5694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5704 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5705 inttypes.h stdint.h unistd.h
5707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_header" >&5
5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713 cat >conftest.$ac_ext <<_ACEOF
5714 /* confdefs.h. */
5715 _ACEOF
5716 cat confdefs.h >>conftest.$ac_ext
5717 cat >>conftest.$ac_ext <<_ACEOF
5718 /* end confdefs.h. */
5719 $ac_includes_default
5721 #include <$ac_header>
5722 _ACEOF
5723 rm -f conftest.$ac_objext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725 (eval $ac_compile) 2>conftest.er1
5726 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } &&
5732 { ac_try='test -z "$ac_c_werror_flag"
5733 || test ! -s conftest.err'
5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 (eval $ac_try) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; } &&
5739 { ac_try='test -s conftest.$ac_objext'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 (eval $ac_try) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; }; then
5745 eval "$as_ac_Header=yes"
5746 else
5747 echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 eval "$as_ac_Header=no"
5752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5757 cat >>confdefs.h <<_ACEOF
5758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759 _ACEOF
5763 done
5767 echo "$as_me:$LINENO: checking for C locale to use" >&5
5768 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5769 # Check whether --enable-clocale or --disable-clocale was given.
5770 if test "${enable_clocale+set}" = set; then
5771 enableval="$enable_clocale"
5773 case "$enableval" in
5774 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5775 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5776 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5777 { (exit 1); exit 1; }; } ;;
5778 esac
5780 else
5781 enable_clocale=auto
5785 # If they didn't use this option switch, or if they specified --enable
5786 # with no specific model, we'll have to look for one. If they
5787 # specified --disable (???), do likewise.
5788 if test $enable_clocale = no || test $enable_clocale = yes; then
5789 enable_clocale=auto
5792 # Either a known package, or "auto"
5793 enable_clocale_flag=$enable_clocale
5795 # Probe for locale support if no specific model is specified.
5796 # Default to "generic".
5797 if test $enable_clocale_flag = auto; then
5798 case ${target_os} in
5799 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5800 cat >conftest.$ac_ext <<_ACEOF
5801 /* confdefs.h. */
5802 _ACEOF
5803 cat confdefs.h >>conftest.$ac_ext
5804 cat >>conftest.$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5807 #include <features.h>
5808 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5809 _GLIBCXX_ok
5810 #endif
5812 _ACEOF
5813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5814 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5815 enable_clocale_flag=gnu
5816 else
5817 enable_clocale_flag=generic
5819 rm -f conftest*
5822 # Test for bugs early in glibc-2.2.x series
5823 if test $enable_clocale_flag = gnu; then
5824 if test "$cross_compiling" = yes; then
5825 enable_clocale_flag=generic
5826 else
5827 cat >conftest.$ac_ext <<_ACEOF
5828 /* confdefs.h. */
5829 _ACEOF
5830 cat confdefs.h >>conftest.$ac_ext
5831 cat >>conftest.$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5834 #define _GNU_SOURCE 1
5835 #include <locale.h>
5836 #include <string.h>
5837 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5838 extern __typeof(newlocale) __newlocale;
5839 extern __typeof(duplocale) __duplocale;
5840 extern __typeof(strcoll_l) __strcoll_l;
5841 #endif
5842 int main()
5844 const char __one[] = "Äuglein Augmen";
5845 const char __two[] = "Äuglein";
5846 int i;
5847 int j;
5848 __locale_t loc;
5849 __locale_t loc_dup;
5850 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5851 loc_dup = __duplocale(loc);
5852 i = __strcoll_l(__one, __two, loc);
5853 j = __strcoll_l(__one, __two, loc_dup);
5854 return 0;
5857 _ACEOF
5858 rm -f conftest$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860 (eval $ac_link) 2>&5
5861 ac_status=$?
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865 (eval $ac_try) 2>&5
5866 ac_status=$?
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; }; then
5869 enable_clocale_flag=gnu
5870 else
5871 echo "$as_me: program exited with status $ac_status" >&5
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.$ac_ext >&5
5875 ( exit $ac_status )
5876 enable_clocale_flag=generic
5878 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5882 # ... at some point put __strxfrm_l tests in as well.
5884 darwin* | freebsd*)
5885 enable_clocale_flag=darwin
5888 enable_clocale_flag=generic
5890 esac
5893 # Deal with gettext issues. Default to not using it (=no) until we detect
5894 # support for it later. Let the user turn it off via --e/d, but let that
5895 # default to on for easier handling.
5896 USE_NLS=no
5897 # Check whether --enable-nls or --disable-nls was given.
5898 if test "${enable_nls+set}" = set; then
5899 enableval="$enable_nls"
5901 else
5902 enable_nls=yes
5905 # Set configure bits for specified locale package
5906 case ${enable_clocale_flag} in
5907 generic)
5908 echo "$as_me:$LINENO: result: generic" >&5
5909 echo "${ECHO_T}generic" >&6
5911 CLOCALE_H=config/locale/generic/c_locale.h
5912 CLOCALE_CC=config/locale/generic/c_locale.cc
5913 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5914 CCOLLATE_CC=config/locale/generic/collate_members.cc
5915 CCTYPE_CC=config/locale/generic/ctype_members.cc
5916 CMESSAGES_H=config/locale/generic/messages_members.h
5917 CMESSAGES_CC=config/locale/generic/messages_members.cc
5918 CMONEY_CC=config/locale/generic/monetary_members.cc
5919 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5920 CTIME_H=config/locale/generic/time_members.h
5921 CTIME_CC=config/locale/generic/time_members.cc
5922 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5924 darwin)
5925 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5926 echo "${ECHO_T}darwin or freebsd" >&6
5928 CLOCALE_H=config/locale/generic/c_locale.h
5929 CLOCALE_CC=config/locale/generic/c_locale.cc
5930 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5931 CCOLLATE_CC=config/locale/generic/collate_members.cc
5932 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5933 CMESSAGES_H=config/locale/generic/messages_members.h
5934 CMESSAGES_CC=config/locale/generic/messages_members.cc
5935 CMONEY_CC=config/locale/generic/monetary_members.cc
5936 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5937 CTIME_H=config/locale/generic/time_members.h
5938 CTIME_CC=config/locale/generic/time_members.cc
5939 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5942 gnu)
5943 echo "$as_me:$LINENO: result: gnu" >&5
5944 echo "${ECHO_T}gnu" >&6
5946 # Declare intention to use gettext, and add support for specific
5947 # languages.
5948 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5949 ALL_LINGUAS="de fr"
5951 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5952 # Extract the first word of "msgfmt", so it can be a program name with args.
5953 set dummy msgfmt; ac_word=$2
5954 echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5956 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959 if test -n "$check_msgfmt"; then
5960 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_check_msgfmt="yes"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5976 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5979 check_msgfmt=$ac_cv_prog_check_msgfmt
5980 if test -n "$check_msgfmt"; then
5981 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5982 echo "${ECHO_T}$check_msgfmt" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5988 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5989 USE_NLS=yes
5991 # Export the build objects.
5992 for ling in $ALL_LINGUAS; do \
5993 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5994 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5995 done
5999 CLOCALE_H=config/locale/gnu/c_locale.h
6000 CLOCALE_CC=config/locale/gnu/c_locale.cc
6001 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6002 CCOLLATE_CC=config/locale/gnu/collate_members.cc
6003 CCTYPE_CC=config/locale/gnu/ctype_members.cc
6004 CMESSAGES_H=config/locale/gnu/messages_members.h
6005 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6006 CMONEY_CC=config/locale/gnu/monetary_members.cc
6007 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6008 CTIME_H=config/locale/gnu/time_members.h
6009 CTIME_CC=config/locale/gnu/time_members.cc
6010 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6012 ieee_1003.1-2001)
6013 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6014 echo "${ECHO_T}IEEE 1003.1" >&6
6016 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6017 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6018 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6019 CCOLLATE_CC=config/locale/generic/collate_members.cc
6020 CCTYPE_CC=config/locale/generic/ctype_members.cc
6021 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6022 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6023 CMONEY_CC=config/locale/generic/monetary_members.cc
6024 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6025 CTIME_H=config/locale/generic/time_members.h
6026 CTIME_CC=config/locale/generic/time_members.cc
6027 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6029 esac
6031 # This is where the testsuite looks for locale catalogs, using the
6032 # -DLOCALEDIR define during testsuite compilation.
6033 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6036 # A standalone libintl (e.g., GNU libintl) may be in use.
6037 if test $USE_NLS = yes; then
6039 for ac_header in libintl.h
6041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6043 echo "$as_me:$LINENO: checking for $ac_header" >&5
6044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6050 else
6051 # Is the header compilable?
6052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6054 cat >conftest.$ac_ext <<_ACEOF
6055 /* confdefs.h. */
6056 _ACEOF
6057 cat confdefs.h >>conftest.$ac_ext
6058 cat >>conftest.$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6060 $ac_includes_default
6061 #include <$ac_header>
6062 _ACEOF
6063 rm -f conftest.$ac_objext
6064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6065 (eval $ac_compile) 2>conftest.er1
6066 ac_status=$?
6067 grep -v '^ *+' conftest.er1 >conftest.err
6068 rm -f conftest.er1
6069 cat conftest.err >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } &&
6072 { ac_try='test -z "$ac_c_werror_flag"
6073 || test ! -s conftest.err'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 (eval $ac_try) 2>&5
6076 ac_status=$?
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; } &&
6079 { ac_try='test -s conftest.$ac_objext'
6080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081 (eval $ac_try) 2>&5
6082 ac_status=$?
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }; }; then
6085 ac_header_compiler=yes
6086 else
6087 echo "$as_me: failed program was:" >&5
6088 sed 's/^/| /' conftest.$ac_ext >&5
6090 ac_header_compiler=no
6092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6094 echo "${ECHO_T}$ac_header_compiler" >&6
6096 # Is the header present?
6097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6099 cat >conftest.$ac_ext <<_ACEOF
6100 /* confdefs.h. */
6101 _ACEOF
6102 cat confdefs.h >>conftest.$ac_ext
6103 cat >>conftest.$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 #include <$ac_header>
6106 _ACEOF
6107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6109 ac_status=$?
6110 grep -v '^ *+' conftest.er1 >conftest.err
6111 rm -f conftest.er1
6112 cat conftest.err >&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } >/dev/null; then
6115 if test -s conftest.err; then
6116 ac_cpp_err=$ac_c_preproc_warn_flag
6117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6118 else
6119 ac_cpp_err=
6121 else
6122 ac_cpp_err=yes
6124 if test -z "$ac_cpp_err"; then
6125 ac_header_preproc=yes
6126 else
6127 echo "$as_me: failed program was:" >&5
6128 sed 's/^/| /' conftest.$ac_ext >&5
6130 ac_header_preproc=no
6132 rm -f conftest.err conftest.$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6134 echo "${ECHO_T}$ac_header_preproc" >&6
6136 # So? What about this header?
6137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6138 yes:no: )
6139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6143 ac_header_preproc=yes
6145 no:yes:* )
6146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6159 cat <<\_ASBOX
6160 ## ----------------------------------------- ##
6161 ## Report this to the package-unused lists. ##
6162 ## ----------------------------------------- ##
6163 _ASBOX
6165 sed "s/^/$as_me: WARNING: /" >&2
6167 esac
6168 echo "$as_me:$LINENO: checking for $ac_header" >&5
6169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 else
6173 eval "$as_ac_Header=\$ac_header_preproc"
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180 cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 _ACEOF
6184 else
6185 USE_NLS=no
6188 done
6190 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6191 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6192 if test "${ac_cv_search_gettext+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 else
6195 ac_func_search_save_LIBS=$LIBS
6196 ac_cv_search_gettext=no
6197 if test x$gcc_no_link = xyes; then
6198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6200 { (exit 1); exit 1; }; }
6202 cat >conftest.$ac_ext <<_ACEOF
6203 /* confdefs.h. */
6204 _ACEOF
6205 cat confdefs.h >>conftest.$ac_ext
6206 cat >>conftest.$ac_ext <<_ACEOF
6207 /* end confdefs.h. */
6209 /* Override any gcc2 internal prototype to avoid an error. */
6210 #ifdef __cplusplus
6211 extern "C"
6212 #endif
6213 /* We use char because int might match the return type of a gcc2
6214 builtin and then its argument prototype would still apply. */
6215 char gettext ();
6217 main ()
6219 gettext ();
6221 return 0;
6223 _ACEOF
6224 rm -f conftest.$ac_objext conftest$ac_exeext
6225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6226 (eval $ac_link) 2>conftest.er1
6227 ac_status=$?
6228 grep -v '^ *+' conftest.er1 >conftest.err
6229 rm -f conftest.er1
6230 cat conftest.err >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } &&
6233 { ac_try='test -z "$ac_c_werror_flag"
6234 || test ! -s conftest.err'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 (eval $ac_try) 2>&5
6237 ac_status=$?
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; } &&
6240 { ac_try='test -s conftest$ac_exeext'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 (eval $ac_try) 2>&5
6243 ac_status=$?
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; }; then
6246 ac_cv_search_gettext="none required"
6247 else
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6252 rm -f conftest.err conftest.$ac_objext \
6253 conftest$ac_exeext conftest.$ac_ext
6254 if test "$ac_cv_search_gettext" = no; then
6255 for ac_lib in intl; do
6256 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6257 if test x$gcc_no_link = xyes; then
6258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6260 { (exit 1); exit 1; }; }
6262 cat >conftest.$ac_ext <<_ACEOF
6263 /* confdefs.h. */
6264 _ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6269 /* Override any gcc2 internal prototype to avoid an error. */
6270 #ifdef __cplusplus
6271 extern "C"
6272 #endif
6273 /* We use char because int might match the return type of a gcc2
6274 builtin and then its argument prototype would still apply. */
6275 char gettext ();
6277 main ()
6279 gettext ();
6281 return 0;
6283 _ACEOF
6284 rm -f conftest.$ac_objext conftest$ac_exeext
6285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6286 (eval $ac_link) 2>conftest.er1
6287 ac_status=$?
6288 grep -v '^ *+' conftest.er1 >conftest.err
6289 rm -f conftest.er1
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } &&
6293 { ac_try='test -z "$ac_c_werror_flag"
6294 || test ! -s conftest.err'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 (eval $ac_try) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; } &&
6300 { ac_try='test -s conftest$ac_exeext'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 (eval $ac_try) 2>&5
6303 ac_status=$?
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; }; then
6306 ac_cv_search_gettext="-l$ac_lib"
6307 break
6308 else
6309 echo "$as_me: failed program was:" >&5
6310 sed 's/^/| /' conftest.$ac_ext >&5
6313 rm -f conftest.err conftest.$ac_objext \
6314 conftest$ac_exeext conftest.$ac_ext
6315 done
6317 LIBS=$ac_func_search_save_LIBS
6319 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6320 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6321 if test "$ac_cv_search_gettext" != no; then
6322 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6324 else
6325 USE_NLS=no
6329 if test $USE_NLS = yes; then
6331 cat >>confdefs.h <<\_ACEOF
6332 #define _GLIBCXX_USE_NLS 1
6333 _ACEOF
6352 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6353 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6354 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6355 if test "${enable_libstdcxx_allocator+set}" = set; then
6356 enableval="$enable_libstdcxx_allocator"
6358 case "$enableval" in
6359 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6360 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6361 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6362 { (exit 1); exit 1; }; } ;;
6363 esac
6365 else
6366 enable_libstdcxx_allocator=auto
6370 # If they didn't use this option switch, or if they specified --enable
6371 # with no specific model, we'll have to look for one. If they
6372 # specified --disable (???), do likewise.
6373 if test $enable_libstdcxx_allocator = no ||
6374 test $enable_libstdcxx_allocator = yes;
6375 then
6376 enable_libstdcxx_allocator=auto
6379 # Either a known package, or "auto". Auto implies the default choice
6380 # for a particular platform.
6381 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6383 # Probe for host-specific support if no specific model is specified.
6384 # Default to "new".
6385 if test $enable_libstdcxx_allocator_flag = auto; then
6386 case ${target_os} in
6387 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6388 enable_libstdcxx_allocator_flag=new
6391 enable_libstdcxx_allocator_flag=new
6393 esac
6395 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6396 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6399 # Set configure bits for specified locale package
6400 case ${enable_libstdcxx_allocator_flag} in
6401 bitmap)
6402 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6403 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6405 malloc)
6406 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6407 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6410 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6411 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6413 new)
6414 ALLOCATOR_H=config/allocator/new_allocator_base.h
6415 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6417 pool)
6418 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6419 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6421 esac
6427 # Check whether --enable-cheaders or --disable-cheaders was given.
6428 if test "${enable_cheaders+set}" = set; then
6429 enableval="$enable_cheaders"
6431 case "$enableval" in
6432 c|c_std) ;;
6433 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6434 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6435 { (exit 1); exit 1; }; } ;;
6436 esac
6438 else
6439 enable_cheaders=$c_model
6442 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6443 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6445 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6452 # Check whether --enable-long-long or --disable-long-long was given.
6453 if test "${enable_long_long+set}" = set; then
6454 enableval="$enable_long_long"
6456 case "$enableval" in
6457 yes|no) ;;
6458 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6459 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6460 { (exit 1); exit 1; }; } ;;
6461 esac
6463 else
6464 enable_long_long=yes
6467 if test $enable_long_long = yes; then
6469 cat >>confdefs.h <<\_ACEOF
6470 #define _GLIBCXX_USE_LONG_LONG 1
6471 _ACEOF
6474 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6475 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6476 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6477 echo "${ECHO_T}$enable_long_long" >&6
6481 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6482 if test "${enable_wchar_t+set}" = set; then
6483 enableval="$enable_wchar_t"
6485 case "$enableval" in
6486 yes|no) ;;
6487 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6488 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6489 { (exit 1); exit 1; }; } ;;
6490 esac
6492 else
6493 enable_wchar_t=yes
6497 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6499 for ac_header in wchar.h
6501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6503 echo "$as_me:$LINENO: checking for $ac_header" >&5
6504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6510 else
6511 # Is the header compilable?
6512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6514 cat >conftest.$ac_ext <<_ACEOF
6515 /* confdefs.h. */
6516 _ACEOF
6517 cat confdefs.h >>conftest.$ac_ext
6518 cat >>conftest.$ac_ext <<_ACEOF
6519 /* end confdefs.h. */
6520 $ac_includes_default
6521 #include <$ac_header>
6522 _ACEOF
6523 rm -f conftest.$ac_objext
6524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6525 (eval $ac_compile) 2>conftest.er1
6526 ac_status=$?
6527 grep -v '^ *+' conftest.er1 >conftest.err
6528 rm -f conftest.er1
6529 cat conftest.err >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } &&
6532 { ac_try='test -z "$ac_c_werror_flag"
6533 || test ! -s conftest.err'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 (eval $ac_try) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; } &&
6539 { ac_try='test -s conftest.$ac_objext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 (eval $ac_try) 2>&5
6542 ac_status=$?
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6545 ac_header_compiler=yes
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 ac_header_compiler=no
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6554 echo "${ECHO_T}$ac_header_compiler" >&6
6556 # Is the header present?
6557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6559 cat >conftest.$ac_ext <<_ACEOF
6560 /* confdefs.h. */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6565 #include <$ac_header>
6566 _ACEOF
6567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6569 ac_status=$?
6570 grep -v '^ *+' conftest.er1 >conftest.err
6571 rm -f conftest.er1
6572 cat conftest.err >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } >/dev/null; then
6575 if test -s conftest.err; then
6576 ac_cpp_err=$ac_c_preproc_warn_flag
6577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6578 else
6579 ac_cpp_err=
6581 else
6582 ac_cpp_err=yes
6584 if test -z "$ac_cpp_err"; then
6585 ac_header_preproc=yes
6586 else
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6590 ac_header_preproc=no
6592 rm -f conftest.err conftest.$ac_ext
6593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6594 echo "${ECHO_T}$ac_header_preproc" >&6
6596 # So? What about this header?
6597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6598 yes:no: )
6599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6603 ac_header_preproc=yes
6605 no:yes:* )
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6619 cat <<\_ASBOX
6620 ## ----------------------------------------- ##
6621 ## Report this to the package-unused lists. ##
6622 ## ----------------------------------------- ##
6623 _ASBOX
6625 sed "s/^/$as_me: WARNING: /" >&2
6627 esac
6628 echo "$as_me:$LINENO: checking for $ac_header" >&5
6629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6632 else
6633 eval "$as_ac_Header=\$ac_header_preproc"
6635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6640 cat >>confdefs.h <<_ACEOF
6641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6642 _ACEOF
6643 ac_has_wchar_h=yes
6644 else
6645 ac_has_wchar_h=no
6648 done
6650 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6651 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6652 cat >conftest.$ac_ext <<_ACEOF
6653 /* confdefs.h. */
6654 _ACEOF
6655 cat confdefs.h >>conftest.$ac_ext
6656 cat >>conftest.$ac_ext <<_ACEOF
6657 /* end confdefs.h. */
6658 #include <wchar.h>
6660 main ()
6662 mbstate_t teststate;
6664 return 0;
6666 _ACEOF
6667 rm -f conftest.$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669 (eval $ac_compile) 2>conftest.er1
6670 ac_status=$?
6671 grep -v '^ *+' conftest.er1 >conftest.err
6672 rm -f conftest.er1
6673 cat conftest.err >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try='test -z "$ac_c_werror_flag"
6677 || test ! -s conftest.err'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 (eval $ac_try) 2>&5
6680 ac_status=$?
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; } &&
6683 { ac_try='test -s conftest.$ac_objext'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 (eval $ac_try) 2>&5
6686 ac_status=$?
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; }; then
6689 have_mbstate_t=yes
6690 else
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6694 have_mbstate_t=no
6696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6697 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6698 echo "${ECHO_T}$have_mbstate_t" >&6
6699 if test x"$have_mbstate_t" = xyes; then
6701 cat >>confdefs.h <<\_ACEOF
6702 #define HAVE_MBSTATE_T 1
6703 _ACEOF
6707 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6708 # ac_has_wchar_h.
6710 for ac_header in wctype.h
6712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6714 echo "$as_me:$LINENO: checking for $ac_header" >&5
6715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6721 else
6722 # Is the header compilable?
6723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6725 cat >conftest.$ac_ext <<_ACEOF
6726 /* confdefs.h. */
6727 _ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 $ac_includes_default
6732 #include <$ac_header>
6733 _ACEOF
6734 rm -f conftest.$ac_objext
6735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6736 (eval $ac_compile) 2>conftest.er1
6737 ac_status=$?
6738 grep -v '^ *+' conftest.er1 >conftest.err
6739 rm -f conftest.er1
6740 cat conftest.err >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try='test -z "$ac_c_werror_flag"
6744 || test ! -s conftest.err'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 (eval $ac_try) 2>&5
6747 ac_status=$?
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; } &&
6750 { ac_try='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 (eval $ac_try) 2>&5
6753 ac_status=$?
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6756 ac_header_compiler=yes
6757 else
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6761 ac_header_compiler=no
6763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6765 echo "${ECHO_T}$ac_header_compiler" >&6
6767 # Is the header present?
6768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6770 cat >conftest.$ac_ext <<_ACEOF
6771 /* confdefs.h. */
6772 _ACEOF
6773 cat confdefs.h >>conftest.$ac_ext
6774 cat >>conftest.$ac_ext <<_ACEOF
6775 /* end confdefs.h. */
6776 #include <$ac_header>
6777 _ACEOF
6778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6780 ac_status=$?
6781 grep -v '^ *+' conftest.er1 >conftest.err
6782 rm -f conftest.er1
6783 cat conftest.err >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } >/dev/null; then
6786 if test -s conftest.err; then
6787 ac_cpp_err=$ac_c_preproc_warn_flag
6788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6789 else
6790 ac_cpp_err=
6792 else
6793 ac_cpp_err=yes
6795 if test -z "$ac_cpp_err"; then
6796 ac_header_preproc=yes
6797 else
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6801 ac_header_preproc=no
6803 rm -f conftest.err conftest.$ac_ext
6804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6805 echo "${ECHO_T}$ac_header_preproc" >&6
6807 # So? What about this header?
6808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6809 yes:no: )
6810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6814 ac_header_preproc=yes
6816 no:yes:* )
6817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6830 cat <<\_ASBOX
6831 ## ----------------------------------------- ##
6832 ## Report this to the package-unused lists. ##
6833 ## ----------------------------------------- ##
6834 _ASBOX
6836 sed "s/^/$as_me: WARNING: /" >&2
6838 esac
6839 echo "$as_me:$LINENO: checking for $ac_header" >&5
6840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 eval "$as_ac_Header=\$ac_header_preproc"
6846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6851 cat >>confdefs.h <<_ACEOF
6852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6853 _ACEOF
6854 ac_has_wctype_h=yes
6855 else
6856 ac_has_wctype_h=no
6859 done
6862 if test x"$enable_wchar_t" = x"yes"; then
6866 ac_ext=cc
6867 ac_cpp='$CXXCPP $CPPFLAGS'
6868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6873 if test x"$ac_has_wchar_h" = xyes &&
6874 test x"$ac_has_wctype_h" = xyes; then
6875 cat >conftest.$ac_ext <<_ACEOF
6876 /* confdefs.h. */
6877 _ACEOF
6878 cat confdefs.h >>conftest.$ac_ext
6879 cat >>conftest.$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6881 #include <wchar.h>
6882 #include <stddef.h>
6883 wint_t i;
6884 long l = WEOF;
6885 long j = WCHAR_MIN;
6886 long k = WCHAR_MAX;
6887 namespace test
6889 using ::btowc;
6890 using ::fgetwc;
6891 using ::fgetws;
6892 using ::fputwc;
6893 using ::fputws;
6894 using ::fwide;
6895 using ::fwprintf;
6896 using ::fwscanf;
6897 using ::getwc;
6898 using ::getwchar;
6899 using ::mbrlen;
6900 using ::mbrtowc;
6901 using ::mbsinit;
6902 using ::mbsrtowcs;
6903 using ::putwc;
6904 using ::putwchar;
6905 using ::swprintf;
6906 using ::swscanf;
6907 using ::ungetwc;
6908 using ::vfwprintf;
6909 using ::vswprintf;
6910 using ::vwprintf;
6911 using ::wcrtomb;
6912 using ::wcscat;
6913 using ::wcschr;
6914 using ::wcscmp;
6915 using ::wcscoll;
6916 using ::wcscpy;
6917 using ::wcscspn;
6918 using ::wcsftime;
6919 using ::wcslen;
6920 using ::wcsncat;
6921 using ::wcsncmp;
6922 using ::wcsncpy;
6923 using ::wcspbrk;
6924 using ::wcsrchr;
6925 using ::wcsrtombs;
6926 using ::wcsspn;
6927 using ::wcsstr;
6928 using ::wcstod;
6929 using ::wcstok;
6930 using ::wcstol;
6931 using ::wcstoul;
6932 using ::wcsxfrm;
6933 using ::wctob;
6934 using ::wmemchr;
6935 using ::wmemcmp;
6936 using ::wmemcpy;
6937 using ::wmemmove;
6938 using ::wmemset;
6939 using ::wprintf;
6940 using ::wscanf;
6944 main ()
6948 return 0;
6950 _ACEOF
6951 rm -f conftest.$ac_objext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953 (eval $ac_compile) 2>conftest.er1
6954 ac_status=$?
6955 grep -v '^ *+' conftest.er1 >conftest.err
6956 rm -f conftest.er1
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; } &&
6967 { ac_try='test -s conftest.$ac_objext'
6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 (eval $ac_try) 2>&5
6970 ac_status=$?
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); }; }; then
6974 else
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6978 enable_wchar_t=no
6980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6981 else
6982 enable_wchar_t=no
6985 ac_ext=c
6986 ac_cpp='$CPP $CPPFLAGS'
6987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6993 if test x"$enable_wchar_t" = x"yes"; then
6995 cat >>confdefs.h <<\_ACEOF
6996 #define _GLIBCXX_USE_WCHAR_T 1
6997 _ACEOF
7001 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7002 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7003 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7004 echo "${ECHO_T}$enable_wchar_t" >&6
7008 # Check whether --enable-c99 or --disable-c99 was given.
7009 if test "${enable_c99+set}" = set; then
7010 enableval="$enable_c99"
7012 case "$enableval" in
7013 yes|no) ;;
7014 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7015 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7016 { (exit 1); exit 1; }; } ;;
7017 esac
7019 else
7020 enable_c99=yes
7024 if test x"$enable_c99" = x"yes"; then
7028 ac_ext=cc
7029 ac_cpp='$CXXCPP $CPPFLAGS'
7030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7035 # Check for the existence of <math.h> functions used if C99 is enabled.
7036 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7037 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7038 if test "${ac_c99_math+set}" = set; then
7039 echo $ECHO_N "(cached) $ECHO_C" >&6
7040 else
7042 cat >conftest.$ac_ext <<_ACEOF
7043 /* confdefs.h. */
7044 _ACEOF
7045 cat confdefs.h >>conftest.$ac_ext
7046 cat >>conftest.$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7048 #include <math.h>
7050 main ()
7052 fpclassify(0.0);
7053 isfinite(0.0);
7054 isinf(0.0);
7055 isnan(0.0);
7056 isnormal(0.0);
7057 signbit(0.0);
7058 isgreater(0.0,0.0);
7059 isgreaterequal(0.0,0.0);
7060 isless(0.0,0.0);
7061 islessequal(0.0,0.0);
7062 islessgreater(0.0,0.0);
7063 islessgreater(0.0,0.0);
7064 isunordered(0.0,0.0);
7067 return 0;
7069 _ACEOF
7070 rm -f conftest.$ac_objext
7071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7072 (eval $ac_compile) 2>conftest.er1
7073 ac_status=$?
7074 grep -v '^ *+' conftest.er1 >conftest.err
7075 rm -f conftest.er1
7076 cat conftest.err >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } &&
7079 { ac_try='test -z "$ac_cxx_werror_flag"
7080 || test ! -s conftest.err'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 (eval $ac_try) 2>&5
7083 ac_status=$?
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; } &&
7086 { ac_try='test -s conftest.$ac_objext'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 (eval $ac_try) 2>&5
7089 ac_status=$?
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; }; then
7092 ac_c99_math=yes
7093 else
7094 echo "$as_me: failed program was:" >&5
7095 sed 's/^/| /' conftest.$ac_ext >&5
7097 ac_c99_math=no
7099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7103 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7104 echo "${ECHO_T}$ac_c99_math" >&6
7105 if test x"$ac_c99_math" = x"yes"; then
7107 cat >>confdefs.h <<\_ACEOF
7108 #define _GLIBCXX_USE_C99_MATH 1
7109 _ACEOF
7113 # Check for the existence of <complex.h> complex math functions.
7114 # This is necessary even though libstdc++ uses the builtin versions
7115 # of these functions, because if the builtin cannot be used, a reference
7116 # to the library function is emitted.
7118 for ac_header in complex.h
7120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7122 echo "$as_me:$LINENO: checking for $ac_header" >&5
7123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7129 else
7130 # Is the header compilable?
7131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7133 cat >conftest.$ac_ext <<_ACEOF
7134 /* confdefs.h. */
7135 _ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 $ac_includes_default
7140 #include <$ac_header>
7141 _ACEOF
7142 rm -f conftest.$ac_objext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7144 (eval $ac_compile) 2>conftest.er1
7145 ac_status=$?
7146 grep -v '^ *+' conftest.er1 >conftest.err
7147 rm -f conftest.er1
7148 cat conftest.err >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try='test -z "$ac_cxx_werror_flag"
7152 || test ! -s conftest.err'
7153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 (eval $ac_try) 2>&5
7155 ac_status=$?
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); }; } &&
7158 { ac_try='test -s conftest.$ac_objext'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 (eval $ac_try) 2>&5
7161 ac_status=$?
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; }; then
7164 ac_header_compiler=yes
7165 else
7166 echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7169 ac_header_compiler=no
7171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7173 echo "${ECHO_T}$ac_header_compiler" >&6
7175 # Is the header present?
7176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7178 cat >conftest.$ac_ext <<_ACEOF
7179 /* confdefs.h. */
7180 _ACEOF
7181 cat confdefs.h >>conftest.$ac_ext
7182 cat >>conftest.$ac_ext <<_ACEOF
7183 /* end confdefs.h. */
7184 #include <$ac_header>
7185 _ACEOF
7186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7188 ac_status=$?
7189 grep -v '^ *+' conftest.er1 >conftest.err
7190 rm -f conftest.er1
7191 cat conftest.err >&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } >/dev/null; then
7194 if test -s conftest.err; then
7195 ac_cpp_err=$ac_cxx_preproc_warn_flag
7196 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7197 else
7198 ac_cpp_err=
7200 else
7201 ac_cpp_err=yes
7203 if test -z "$ac_cpp_err"; then
7204 ac_header_preproc=yes
7205 else
7206 echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7209 ac_header_preproc=no
7211 rm -f conftest.err conftest.$ac_ext
7212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7213 echo "${ECHO_T}$ac_header_preproc" >&6
7215 # So? What about this header?
7216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7217 yes:no: )
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7222 ac_header_preproc=yes
7224 no:yes:* )
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7238 cat <<\_ASBOX
7239 ## ----------------------------------------- ##
7240 ## Report this to the package-unused lists. ##
7241 ## ----------------------------------------- ##
7242 _ASBOX
7244 sed "s/^/$as_me: WARNING: /" >&2
7246 esac
7247 echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 else
7252 eval "$as_ac_Header=\$ac_header_preproc"
7254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7259 cat >>confdefs.h <<_ACEOF
7260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7262 ac_has_complex_h=yes
7263 else
7264 ac_has_complex_h=no
7267 done
7269 ac_c99_complex=no;
7270 if test x"$ac_has_complex_h" = x"yes"; then
7271 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7272 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7273 cat >conftest.$ac_ext <<_ACEOF
7274 /* confdefs.h. */
7275 _ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h. */
7279 #include <complex.h>
7281 main ()
7283 typedef __complex__ float float_type; float_type tmpf;
7284 cabsf(tmpf);
7285 cargf(tmpf);
7286 ccosf(tmpf);
7287 ccoshf(tmpf);
7288 cexpf(tmpf);
7289 clogf(tmpf);
7290 csinf(tmpf);
7291 csinhf(tmpf);
7292 csqrtf(tmpf);
7293 ctanf(tmpf);
7294 ctanhf(tmpf);
7295 cpowf(tmpf, tmpf);
7296 typedef __complex__ double double_type; double_type tmpd;
7297 cabs(tmpd);
7298 carg(tmpd);
7299 ccos(tmpd);
7300 ccosh(tmpd);
7301 cexp(tmpd);
7302 clog(tmpd);
7303 csin(tmpd);
7304 csinh(tmpd);
7305 csqrt(tmpd);
7306 ctan(tmpd);
7307 ctanh(tmpd);
7308 cpow(tmpd, tmpd);
7309 typedef __complex__ long double ld_type; ld_type tmpld;
7310 cabsl(tmpld);
7311 cargl(tmpld);
7312 ccosl(tmpld);
7313 ccoshl(tmpld);
7314 cexpl(tmpld);
7315 clogl(tmpld);
7316 csinl(tmpld);
7317 csinhl(tmpld);
7318 csqrtl(tmpld);
7319 ctanl(tmpld);
7320 ctanhl(tmpld);
7321 cpowl(tmpld, tmpld);
7324 return 0;
7326 _ACEOF
7327 rm -f conftest.$ac_objext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329 (eval $ac_compile) 2>conftest.er1
7330 ac_status=$?
7331 grep -v '^ *+' conftest.er1 >conftest.err
7332 rm -f conftest.er1
7333 cat conftest.err >&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } &&
7336 { ac_try='test -z "$ac_cxx_werror_flag"
7337 || test ! -s conftest.err'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7339 (eval $ac_try) 2>&5
7340 ac_status=$?
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; } &&
7343 { ac_try='test -s conftest.$ac_objext'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7345 (eval $ac_try) 2>&5
7346 ac_status=$?
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 ac_c99_complex=yes
7350 else
7351 echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.$ac_ext >&5
7354 ac_c99_complex=no
7356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7358 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7359 echo "${ECHO_T}$ac_c99_complex" >&6
7360 if test x"$ac_c99_complex" = x"yes"; then
7362 cat >>confdefs.h <<\_ACEOF
7363 #define _GLIBCXX_USE_C99_COMPLEX 1
7364 _ACEOF
7368 # Check for the existence in <stdio.h> of vscanf, et. al.
7369 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7370 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7371 if test "${ac_c99_stdio+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else
7375 cat >conftest.$ac_ext <<_ACEOF
7376 /* confdefs.h. */
7377 _ACEOF
7378 cat confdefs.h >>conftest.$ac_ext
7379 cat >>conftest.$ac_ext <<_ACEOF
7380 /* end confdefs.h. */
7381 #include <stdio.h>
7382 #include <stdarg.h>
7383 void foo(char* fmt, ...)
7385 va_list args; va_start(args, fmt);
7386 vfscanf(stderr, "%i", args);
7387 vscanf("%i", args);
7388 vsnprintf(fmt, 0, "%i", args);
7389 vsscanf(fmt, "%i", args);
7392 main ()
7394 snprintf("12", 0, "%i");
7396 return 0;
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401 (eval $ac_compile) 2>conftest.er1
7402 ac_status=$?
7403 grep -v '^ *+' conftest.er1 >conftest.err
7404 rm -f conftest.er1
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_cxx_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 (eval $ac_try) 2>&5
7418 ac_status=$?
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7421 ac_c99_stdio=yes
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 ac_c99_stdio=no
7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7432 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7433 echo "${ECHO_T}$ac_c99_stdio" >&6
7435 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7436 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7437 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7438 if test "${ac_c99_stdlib+set}" = set; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 else
7442 cat >conftest.$ac_ext <<_ACEOF
7443 /* confdefs.h. */
7444 _ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7448 #include <stdlib.h>
7450 main ()
7452 char* tmp;
7453 strtof("gnu", &tmp);
7454 strtold("gnu", &tmp);
7455 strtoll("gnu", &tmp, 10);
7456 strtoull("gnu", &tmp, 10);
7457 llabs(10);
7458 lldiv(10,1);
7459 atoll("10");
7460 _Exit(0);
7461 lldiv_t mydivt;
7463 return 0;
7465 _ACEOF
7466 rm -f conftest.$ac_objext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468 (eval $ac_compile) 2>conftest.er1
7469 ac_status=$?
7470 grep -v '^ *+' conftest.er1 >conftest.err
7471 rm -f conftest.er1
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try='test -z "$ac_cxx_werror_flag"
7476 || test ! -s conftest.err'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478 (eval $ac_try) 2>&5
7479 ac_status=$?
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; } &&
7482 { ac_try='test -s conftest.$ac_objext'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484 (eval $ac_try) 2>&5
7485 ac_status=$?
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7488 ac_c99_stdlib=yes
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7493 ac_c99_stdlib=no
7495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7499 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7500 echo "${ECHO_T}$ac_c99_stdlib" >&6
7502 # Check for the existence in <wchar.h> of wcstold, etc.
7503 ac_c99_wchar=no;
7504 if test x"$ac_has_wchar_h" = xyes &&
7505 test x"$ac_has_wctype_h" = xyes; then
7506 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7507 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <wchar.h>
7515 namespace test
7517 using ::wcstold;
7518 using ::wcstoll;
7519 using ::wcstoull;
7523 main ()
7527 return 0;
7529 _ACEOF
7530 rm -f conftest.$ac_objext
7531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7532 (eval $ac_compile) 2>conftest.er1
7533 ac_status=$?
7534 grep -v '^ *+' conftest.er1 >conftest.err
7535 rm -f conftest.er1
7536 cat conftest.err >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } &&
7539 { ac_try='test -z "$ac_cxx_werror_flag"
7540 || test ! -s conftest.err'
7541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 (eval $ac_try) 2>&5
7543 ac_status=$?
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; } &&
7546 { ac_try='test -s conftest.$ac_objext'
7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548 (eval $ac_try) 2>&5
7549 ac_status=$?
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; }; then
7552 ac_c99_wchar=yes
7553 else
7554 echo "$as_me: failed program was:" >&5
7555 sed 's/^/| /' conftest.$ac_ext >&5
7557 ac_c99_wchar=no
7559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7561 # Checks for wide character functions that may not be present.
7562 # Injection of these is wrapped with guard macros.
7563 # NB: only put functions here, instead of immediately above, if
7564 # absolutely necessary.
7565 cat >conftest.$ac_ext <<_ACEOF
7566 /* confdefs.h. */
7567 _ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7571 #include <wchar.h>
7572 namespace test { using ::vfwscanf; }
7574 main ()
7578 return 0;
7580 _ACEOF
7581 rm -f conftest.$ac_objext
7582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7583 (eval $ac_compile) 2>conftest.er1
7584 ac_status=$?
7585 grep -v '^ *+' conftest.er1 >conftest.err
7586 rm -f conftest.er1
7587 cat conftest.err >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); } &&
7590 { ac_try='test -z "$ac_cxx_werror_flag"
7591 || test ! -s conftest.err'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 (eval $ac_try) 2>&5
7594 ac_status=$?
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; } &&
7597 { ac_try='test -s conftest.$ac_objext'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 (eval $ac_try) 2>&5
7600 ac_status=$?
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; }; then
7604 cat >>confdefs.h <<\_ACEOF
7605 #define HAVE_VFWSCANF 1
7606 _ACEOF
7608 else
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7615 cat >conftest.$ac_ext <<_ACEOF
7616 /* confdefs.h. */
7617 _ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7621 #include <wchar.h>
7622 namespace test { using ::vswscanf; }
7624 main ()
7628 return 0;
7630 _ACEOF
7631 rm -f conftest.$ac_objext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7633 (eval $ac_compile) 2>conftest.er1
7634 ac_status=$?
7635 grep -v '^ *+' conftest.er1 >conftest.err
7636 rm -f conftest.er1
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try='test -z "$ac_cxx_werror_flag"
7641 || test ! -s conftest.err'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; } &&
7647 { ac_try='test -s conftest.$ac_objext'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 (eval $ac_try) 2>&5
7650 ac_status=$?
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; }; then
7654 cat >>confdefs.h <<\_ACEOF
7655 #define HAVE_VSWSCANF 1
7656 _ACEOF
7658 else
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 cat >conftest.$ac_ext <<_ACEOF
7666 /* confdefs.h. */
7667 _ACEOF
7668 cat confdefs.h >>conftest.$ac_ext
7669 cat >>conftest.$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7671 #include <wchar.h>
7672 namespace test { using ::vwscanf; }
7674 main ()
7678 return 0;
7680 _ACEOF
7681 rm -f conftest.$ac_objext
7682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7683 (eval $ac_compile) 2>conftest.er1
7684 ac_status=$?
7685 grep -v '^ *+' conftest.er1 >conftest.err
7686 rm -f conftest.er1
7687 cat conftest.err >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); } &&
7690 { ac_try='test -z "$ac_cxx_werror_flag"
7691 || test ! -s conftest.err'
7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 (eval $ac_try) 2>&5
7694 ac_status=$?
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); }; } &&
7697 { ac_try='test -s conftest.$ac_objext'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 (eval $ac_try) 2>&5
7700 ac_status=$?
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; }; then
7704 cat >>confdefs.h <<\_ACEOF
7705 #define HAVE_VWSCANF 1
7706 _ACEOF
7708 else
7709 echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.$ac_ext >&5
7713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7715 cat >conftest.$ac_ext <<_ACEOF
7716 /* confdefs.h. */
7717 _ACEOF
7718 cat confdefs.h >>conftest.$ac_ext
7719 cat >>conftest.$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7721 #include <wchar.h>
7722 namespace test { using ::wcstof; }
7724 main ()
7728 return 0;
7730 _ACEOF
7731 rm -f conftest.$ac_objext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7733 (eval $ac_compile) 2>conftest.er1
7734 ac_status=$?
7735 grep -v '^ *+' conftest.er1 >conftest.err
7736 rm -f conftest.er1
7737 cat conftest.err >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try='test -z "$ac_cxx_werror_flag"
7741 || test ! -s conftest.err'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 (eval $ac_try) 2>&5
7744 ac_status=$?
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try='test -s conftest.$ac_objext'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 (eval $ac_try) 2>&5
7750 ac_status=$?
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7754 cat >>confdefs.h <<\_ACEOF
7755 #define HAVE_WCSTOF 1
7756 _ACEOF
7758 else
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7765 cat >conftest.$ac_ext <<_ACEOF
7766 /* confdefs.h. */
7767 _ACEOF
7768 cat confdefs.h >>conftest.$ac_ext
7769 cat >>conftest.$ac_ext <<_ACEOF
7770 /* end confdefs.h. */
7771 #include <wctype.h>
7773 main ()
7775 wint_t t; int i = iswblank(t);
7777 return 0;
7779 _ACEOF
7780 rm -f conftest.$ac_objext
7781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7782 (eval $ac_compile) 2>conftest.er1
7783 ac_status=$?
7784 grep -v '^ *+' conftest.er1 >conftest.err
7785 rm -f conftest.er1
7786 cat conftest.err >&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } &&
7789 { ac_try='test -z "$ac_cxx_werror_flag"
7790 || test ! -s conftest.err'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792 (eval $ac_try) 2>&5
7793 ac_status=$?
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; } &&
7796 { ac_try='test -s conftest.$ac_objext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798 (eval $ac_try) 2>&5
7799 ac_status=$?
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7803 cat >>confdefs.h <<\_ACEOF
7804 #define HAVE_ISWBLANK 1
7805 _ACEOF
7807 else
7808 echo "$as_me: failed program was:" >&5
7809 sed 's/^/| /' conftest.$ac_ext >&5
7812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7814 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7815 echo "${ECHO_T}$ac_c99_wchar" >&6
7818 # Option parsed, now set things appropriately.
7819 if test x"$ac_c99_math" = x"no" ||
7820 test x"$ac_c99_complex" = x"no" ||
7821 test x"$ac_c99_stdio" = x"no" ||
7822 test x"$ac_c99_stdlib" = x"no" ||
7823 test x"$ac_c99_wchar" = x"no"; then
7824 enable_c99=no;
7825 else
7827 cat >>confdefs.h <<\_ACEOF
7828 #define _GLIBCXX_USE_C99 1
7829 _ACEOF
7833 ac_ext=c
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7841 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7842 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7843 echo "$as_me:$LINENO: result: $enable_c99" >&5
7844 echo "${ECHO_T}$enable_c99" >&6
7847 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7848 if test "${enable_concept_checks+set}" = set; then
7849 enableval="$enable_concept_checks"
7851 case "$enableval" in
7852 yes|no) ;;
7853 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7854 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7855 { (exit 1); exit 1; }; } ;;
7856 esac
7858 else
7859 enable_concept_checks=no
7862 if test $enable_concept_checks = yes; then
7864 cat >>confdefs.h <<\_ACEOF
7865 #define _GLIBCXX_CONCEPT_CHECKS 1
7866 _ACEOF
7871 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7872 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7873 enableval="$enable_libstdcxx_debug_flags"
7874 case "x$enable_libstdcxx_debug_flags" in
7875 xno | x) enable_libstdcxx_debug_flags= ;;
7876 x-*) ;;
7877 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7878 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7879 { (exit 1); exit 1; }; } ;;
7880 esac
7881 else
7882 enable_libstdcxx_debug_flags="-g3 -O0"
7886 # Option parsed, now set things appropriately
7887 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7890 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7891 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7894 echo "$as_me:$LINENO: checking for additional debug build" >&5
7895 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7896 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7897 if test "${enable_libstdcxx_debug+set}" = set; then
7898 enableval="$enable_libstdcxx_debug"
7900 case "$enableval" in
7901 yes|no) ;;
7902 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7903 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7904 { (exit 1); exit 1; }; } ;;
7905 esac
7907 else
7908 enable_libstdcxx_debug=no
7911 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7912 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7915 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7916 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7917 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7918 if test "${enable_cxx_flags+set}" = set; then
7919 enableval="$enable_cxx_flags"
7920 case "x$enable_cxx_flags" in
7921 xno | x) enable_cxx_flags= ;;
7922 x-*) ;;
7923 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7924 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7925 { (exit 1); exit 1; }; } ;;
7926 esac
7927 else
7928 enable_cxx_flags=
7932 # Run through flags (either default or command-line) and set anything
7933 # extra (e.g., #defines) that must accompany particular g++ options.
7934 if test -n "$enable_cxx_flags"; then
7935 for f in $enable_cxx_flags; do
7936 case "$f" in
7937 -fhonor-std) ;;
7938 -*) ;;
7939 *) # and we're trying to pass /what/ exactly?
7940 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7941 echo "$as_me: error: compiler flags start with a -" >&2;}
7942 { (exit 1); exit 1; }; } ;;
7943 esac
7944 done
7947 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7948 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7949 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7953 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7954 if test "${enable_fully_dynamic_string+set}" = set; then
7955 enableval="$enable_fully_dynamic_string"
7957 case "$enableval" in
7958 yes|no) ;;
7959 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7960 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7961 { (exit 1); exit 1; }; } ;;
7962 esac
7964 else
7965 enable_fully_dynamic_string=no
7968 if test $enable_fully_dynamic_string = yes; then
7970 cat >>confdefs.h <<\_ACEOF
7971 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7972 _ACEOF
7977 # No surprises, no surprises...
7979 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7980 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7981 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7982 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7983 echo "${ECHO_T}$target_thread_file" >&6
7985 if test $target_thread_file != single; then
7987 cat >>confdefs.h <<\_ACEOF
7988 #define HAVE_GTHR_DEFAULT 1
7989 _ACEOF
7993 glibcxx_thread_h=gthr-$target_thread_file.h
7995 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7996 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7997 enable_thread=yes
7998 else
7999 enable_thread=no
8005 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8006 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8009 ac_ext=cc
8010 ac_cpp='$CXXCPP $CPPFLAGS'
8011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8016 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8017 cat > conftest.$ac_ext << EOF
8018 #line 8018 "configure"
8019 int main()
8021 // NB: _Atomic_word not necessarily int.
8022 typedef int atomic_type;
8023 atomic_type c1;
8024 atomic_type c2;
8025 const atomic_type c3(0);
8026 if (__sync_fetch_and_add(&c1, c2) == c3)
8028 // Do something.
8030 return 0;
8033 old_CXXFLAGS="$CXXFLAGS"
8034 CXXFLAGS=-S
8035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8036 (eval $ac_compile) 2>&5
8037 ac_status=$?
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; then
8040 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8041 enable_atomic_builtins=no
8042 else
8044 cat >>confdefs.h <<\_ACEOF
8045 #define _GLIBCXX_ATOMIC_BUILTINS 1
8046 _ACEOF
8048 enable_atomic_builtins=yes
8049 atomicity_dir=cpu/generic/atomicity_builtins
8052 CXXFLAGS="$old_CXXFLAGS"
8053 rm -f conftest*
8055 # Now, if still generic, set to mutex.
8056 if test $atomicity_dir = "cpu/generic" ; then
8057 atomicity_dir=cpu/generic/atomicity_mutex
8059 ac_ext=c
8060 ac_cpp='$CPP $CPPFLAGS'
8061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8065 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8066 echo "${ECHO_T}$enable_atomic_builtins" >&6
8068 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8069 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8070 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8071 if test $target_thread_file = single; then
8072 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8073 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8074 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8075 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8076 else
8077 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8078 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8079 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8080 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8085 # All these tests are for C++; save the language and the compiler flags.
8086 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8087 # found in GLIBCXX_CONFIGURE.
8090 ac_ext=cc
8091 ac_cpp='$CXXCPP $CPPFLAGS'
8092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8096 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8097 ac_save_CXXFLAGS="$CXXFLAGS"
8099 # Check for maintainer-mode bits.
8100 if test x"$USE_MAINTAINER_MODE" = xno; then
8101 WERROR=''
8102 else
8103 WERROR='-Werror'
8106 # Check for -ffunction-sections -fdata-sections
8107 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8108 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8109 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8110 cat >conftest.$ac_ext <<_ACEOF
8111 /* confdefs.h. */
8112 _ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8118 main ()
8120 int foo;
8122 return 0;
8124 _ACEOF
8125 rm -f conftest.$ac_objext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127 (eval $ac_compile) 2>conftest.er1
8128 ac_status=$?
8129 grep -v '^ *+' conftest.er1 >conftest.err
8130 rm -f conftest.er1
8131 cat conftest.err >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } &&
8134 { ac_try='test -z "$ac_cxx_werror_flag"
8135 || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137 (eval $ac_try) 2>&5
8138 ac_status=$?
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try='test -s conftest.$ac_objext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 (eval $ac_try) 2>&5
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 ac_fdsections=yes
8148 else
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 ac_fdsections=no
8154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8155 if test "$ac_test_CXXFLAGS" = set; then
8156 CXXFLAGS="$ac_save_CXXFLAGS"
8157 else
8158 # this is the suspicious part
8159 CXXFLAGS=''
8161 if test x"$ac_fdsections" = x"yes"; then
8162 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8164 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8165 echo "${ECHO_T}$ac_fdsections" >&6
8167 ac_ext=c
8168 ac_cpp='$CPP $CPPFLAGS'
8169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8177 if $GLIBCXX_IS_NATIVE; then
8179 # We can do more elaborate tests that assume a working linker.
8180 CANADIAN=no
8182 # Check for available headers.
8198 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8199 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8200 sys/types.h sys/ipc.h sys/sem.h
8202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8204 echo "$as_me:$LINENO: checking for $ac_header" >&5
8205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8211 else
8212 # Is the header compilable?
8213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8215 cat >conftest.$ac_ext <<_ACEOF
8216 /* confdefs.h. */
8217 _ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8221 $ac_includes_default
8222 #include <$ac_header>
8223 _ACEOF
8224 rm -f conftest.$ac_objext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8226 (eval $ac_compile) 2>conftest.er1
8227 ac_status=$?
8228 grep -v '^ *+' conftest.er1 >conftest.err
8229 rm -f conftest.er1
8230 cat conftest.err >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try='test -z "$ac_c_werror_flag"
8234 || test ! -s conftest.err'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 (eval $ac_try) 2>&5
8237 ac_status=$?
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try='test -s conftest.$ac_objext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 (eval $ac_try) 2>&5
8243 ac_status=$?
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_header_compiler=yes
8247 else
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.$ac_ext >&5
8251 ac_header_compiler=no
8253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8255 echo "${ECHO_T}$ac_header_compiler" >&6
8257 # Is the header present?
8258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h. */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8266 #include <$ac_header>
8267 _ACEOF
8268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8270 ac_status=$?
8271 grep -v '^ *+' conftest.er1 >conftest.err
8272 rm -f conftest.er1
8273 cat conftest.err >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } >/dev/null; then
8276 if test -s conftest.err; then
8277 ac_cpp_err=$ac_c_preproc_warn_flag
8278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8279 else
8280 ac_cpp_err=
8282 else
8283 ac_cpp_err=yes
8285 if test -z "$ac_cpp_err"; then
8286 ac_header_preproc=yes
8287 else
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8291 ac_header_preproc=no
8293 rm -f conftest.err conftest.$ac_ext
8294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8295 echo "${ECHO_T}$ac_header_preproc" >&6
8297 # So? What about this header?
8298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8299 yes:no: )
8300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8304 ac_header_preproc=yes
8306 no:yes:* )
8307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8311 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8313 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8314 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8317 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8320 cat <<\_ASBOX
8321 ## ----------------------------------------- ##
8322 ## Report this to the package-unused lists. ##
8323 ## ----------------------------------------- ##
8324 _ASBOX
8326 sed "s/^/$as_me: WARNING: /" >&2
8328 esac
8329 echo "$as_me:$LINENO: checking for $ac_header" >&5
8330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 else
8334 eval "$as_ac_Header=\$ac_header_preproc"
8336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8341 cat >>confdefs.h <<_ACEOF
8342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8343 _ACEOF
8347 done
8351 # If we're not using GNU ld, then there's no point in even trying these
8352 # tests. Check for that first. We should have already tested for gld
8353 # by now (in libtool), but require it now just to be safe...
8354 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8355 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8359 # The name set by libtool depends on the version of libtool. Shame on us
8360 # for depending on an impl detail, but c'est la vie. Older versions used
8361 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8362 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8363 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8364 # set (hence we're using an older libtool), then set it.
8365 if test x${with_gnu_ld+set} != xset; then
8366 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8367 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8368 with_gnu_ld=no
8369 else
8370 with_gnu_ld=$ac_cv_prog_gnu_ld
8374 # Start by getting the version number. I think the libtool test already
8375 # does some of this, but throws away the result.
8376 echo "$as_me:$LINENO: checking for ld version" >&5
8377 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8379 ldver=`$LD --version 2>/dev/null | head -1 | \
8380 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8382 glibcxx_gnu_ld_version=`echo $ldver | \
8383 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8384 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8385 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8387 # Set --gc-sections.
8388 glibcxx_gcsections_min_ld=21602
8389 if test x"$with_gnu_ld" = x"yes" &&
8390 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8392 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8393 # NB: This flag only works reliably after 2.16.1. Configure tests
8394 # for this are difficult, so hard wire a value that should work.
8396 # All these tests are for C++, but run with the "C" compiler driver.
8397 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8398 ac_test_CFLAGS="${CFLAGS+set}"
8399 ac_save_CFLAGS="$CFLAGS"
8400 CFLAGS='-x c++ -Wl,--gc-sections'
8402 # Check for -Wl,--gc-sections
8403 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8404 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8405 if test x$gcc_no_link = xyes; then
8406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8408 { (exit 1); exit 1; }; }
8410 cat >conftest.$ac_ext <<_ACEOF
8411 /* confdefs.h. */
8412 _ACEOF
8413 cat confdefs.h >>conftest.$ac_ext
8414 cat >>conftest.$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8416 int one(void) { return 1; }
8417 int two(void) { return 2; }
8420 main ()
8422 two();
8424 return 0;
8426 _ACEOF
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429 (eval $ac_link) 2>conftest.er1
8430 ac_status=$?
8431 grep -v '^ *+' conftest.er1 >conftest.err
8432 rm -f conftest.er1
8433 cat conftest.err >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } &&
8436 { ac_try='test -z "$ac_c_werror_flag"
8437 || test ! -s conftest.err'
8438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 (eval $ac_try) 2>&5
8440 ac_status=$?
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); }; } &&
8443 { ac_try='test -s conftest$ac_exeext'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445 (eval $ac_try) 2>&5
8446 ac_status=$?
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; }; then
8449 ac_gcsections=yes
8450 else
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8454 ac_gcsections=no
8456 rm -f conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 if test "$ac_gcsections" = "yes"; then
8459 rm -f conftest.c
8460 touch conftest.c
8461 if $CC -c conftest.c; then
8462 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8463 grep "Warning: gc-sections option ignored" > /dev/null; then
8464 ac_gcsections=no
8467 rm -f conftest.c conftest.o conftest
8469 if test "$ac_gcsections" = "yes"; then
8470 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8472 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8473 echo "${ECHO_T}$ac_gcsections" >&6
8475 if test "$ac_test_CFLAGS" = set; then
8476 CFLAGS="$ac_save_CFLAGS"
8477 else
8478 # this is the suspicious part
8479 CFLAGS=''
8483 # Set -z,relro.
8484 # Note this is only for shared objects.
8485 ac_ld_relro=no
8486 if test x"$with_gnu_ld" = x"yes"; then
8487 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8488 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8489 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8490 if test -n "$cxx_z_relo"; then
8491 OPT_LDFLAGS="-Wl,-z,relro"
8492 ac_ld_relro=yes
8494 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8495 echo "${ECHO_T}$ac_ld_relro" >&6
8498 # Set linker optimization flags.
8499 if test x"$with_gnu_ld" = x"yes"; then
8500 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8507 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8508 ac_save_CXXFLAGS="$CXXFLAGS"
8509 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8511 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8512 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8513 if test "${ac_cv_lib_m_sin+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6
8515 else
8516 ac_check_lib_save_LIBS=$LIBS
8517 LIBS="-lm $LIBS"
8518 if test x$gcc_no_link = xyes; then
8519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521 { (exit 1); exit 1; }; }
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h. */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8530 /* Override any gcc2 internal prototype to avoid an error. */
8531 #ifdef __cplusplus
8532 extern "C"
8533 #endif
8534 /* We use char because int might match the return type of a gcc2
8535 builtin and then its argument prototype would still apply. */
8536 char sin ();
8538 main ()
8540 sin ();
8542 return 0;
8544 _ACEOF
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8547 (eval $ac_link) 2>conftest.er1
8548 ac_status=$?
8549 grep -v '^ *+' conftest.er1 >conftest.err
8550 rm -f conftest.er1
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try='test -z "$ac_c_werror_flag"
8555 || test ! -s conftest.err'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 (eval $ac_try) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; } &&
8561 { ac_try='test -s conftest$ac_exeext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 (eval $ac_try) 2>&5
8564 ac_status=$?
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 ac_cv_lib_m_sin=yes
8568 else
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 ac_cv_lib_m_sin=no
8574 rm -f conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 LIBS=$ac_check_lib_save_LIBS
8578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8579 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8580 if test $ac_cv_lib_m_sin = yes; then
8581 libm="-lm"
8584 ac_save_LIBS="$LIBS"
8585 LIBS="$LIBS $libm"
8589 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8590 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8591 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8592 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8594 else
8598 ac_ext=cc
8599 ac_cpp='$CXXCPP $CPPFLAGS'
8600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8604 cat >conftest.$ac_ext <<_ACEOF
8605 /* confdefs.h. */
8606 _ACEOF
8607 cat confdefs.h >>conftest.$ac_ext
8608 cat >>conftest.$ac_ext <<_ACEOF
8609 /* end confdefs.h. */
8610 #include <math.h>
8611 #ifdef HAVE_IEEEFP_H
8612 #include <ieeefp.h>
8613 #endif
8616 main ()
8618 isinf(0);
8620 return 0;
8622 _ACEOF
8623 rm -f conftest.$ac_objext
8624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8625 (eval $ac_compile) 2>conftest.er1
8626 ac_status=$?
8627 grep -v '^ *+' conftest.er1 >conftest.err
8628 rm -f conftest.er1
8629 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } &&
8632 { ac_try='test -z "$ac_cxx_werror_flag"
8633 || test ! -s conftest.err'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 (eval $ac_try) 2>&5
8636 ac_status=$?
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try='test -s conftest.$ac_objext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 (eval $ac_try) 2>&5
8642 ac_status=$?
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 glibcxx_cv_func_isinf_use=yes
8646 else
8647 echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8650 glibcxx_cv_func_isinf_use=no
8652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8653 ac_ext=c
8654 ac_cpp='$CPP $CPPFLAGS'
8655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8664 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8666 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8668 for ac_func in isinf
8670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8671 echo "$as_me:$LINENO: checking for $ac_func" >&5
8672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8673 if eval "test \"\${$as_ac_var+set}\" = set"; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 else
8676 if test x$gcc_no_link = xyes; then
8677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8679 { (exit 1); exit 1; }; }
8681 cat >conftest.$ac_ext <<_ACEOF
8682 /* confdefs.h. */
8683 _ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8689 #define $ac_func innocuous_$ac_func
8691 /* System header to define __stub macros and hopefully few prototypes,
8692 which can conflict with char $ac_func (); below.
8693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8694 <limits.h> exists even on freestanding compilers. */
8696 #ifdef __STDC__
8697 # include <limits.h>
8698 #else
8699 # include <assert.h>
8700 #endif
8702 #undef $ac_func
8704 /* Override any gcc2 internal prototype to avoid an error. */
8705 #ifdef __cplusplus
8706 extern "C"
8708 #endif
8709 /* We use char because int might match the return type of a gcc2
8710 builtin and then its argument prototype would still apply. */
8711 char $ac_func ();
8712 /* The GNU C library defines this for functions which it implements
8713 to always fail with ENOSYS. Some functions are actually named
8714 something starting with __ and the normal name is an alias. */
8715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8716 choke me
8717 #else
8718 char (*f) () = $ac_func;
8719 #endif
8720 #ifdef __cplusplus
8722 #endif
8725 main ()
8727 return f != $ac_func;
8729 return 0;
8731 _ACEOF
8732 rm -f conftest.$ac_objext conftest$ac_exeext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8734 (eval $ac_link) 2>conftest.er1
8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try='test -z "$ac_c_werror_flag"
8742 || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 (eval $ac_try) 2>&5
8745 ac_status=$?
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try='test -s conftest$ac_exeext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 (eval $ac_try) 2>&5
8751 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 eval "$as_ac_var=yes"
8755 else
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8759 eval "$as_ac_var=no"
8761 rm -f conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8766 if test `eval echo '${'$as_ac_var'}'` = yes; then
8767 cat >>confdefs.h <<_ACEOF
8768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8769 _ACEOF
8772 done
8774 else
8776 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8777 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8778 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8779 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8780 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 else
8785 ac_ext=cc
8786 ac_cpp='$CXXCPP $CPPFLAGS'
8787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8791 cat >conftest.$ac_ext <<_ACEOF
8792 /* confdefs.h. */
8793 _ACEOF
8794 cat confdefs.h >>conftest.$ac_ext
8795 cat >>conftest.$ac_ext <<_ACEOF
8796 /* end confdefs.h. */
8797 #include <math.h>
8798 #ifdef HAVE_IEEEFP_H
8799 #include <ieeefp.h>
8800 #endif
8803 main ()
8805 _isinf(0);
8807 return 0;
8809 _ACEOF
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8813 ac_status=$?
8814 grep -v '^ *+' conftest.er1 >conftest.err
8815 rm -f conftest.er1
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_cxx_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 (eval $ac_try) 2>&5
8823 ac_status=$?
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 (eval $ac_try) 2>&5
8829 ac_status=$?
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 glibcxx_cv_func__isinf_use=yes
8833 else
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 glibcxx_cv_func__isinf_use=no
8839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840 ac_ext=c
8841 ac_cpp='$CPP $CPPFLAGS'
8842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8851 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8853 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8855 for ac_func in _isinf
8857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8858 echo "$as_me:$LINENO: checking for $ac_func" >&5
8859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8860 if eval "test \"\${$as_ac_var+set}\" = set"; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 else
8863 if test x$gcc_no_link = xyes; then
8864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8866 { (exit 1); exit 1; }; }
8868 cat >conftest.$ac_ext <<_ACEOF
8869 /* confdefs.h. */
8870 _ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8876 #define $ac_func innocuous_$ac_func
8878 /* System header to define __stub macros and hopefully few prototypes,
8879 which can conflict with char $ac_func (); below.
8880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8881 <limits.h> exists even on freestanding compilers. */
8883 #ifdef __STDC__
8884 # include <limits.h>
8885 #else
8886 # include <assert.h>
8887 #endif
8889 #undef $ac_func
8891 /* Override any gcc2 internal prototype to avoid an error. */
8892 #ifdef __cplusplus
8893 extern "C"
8895 #endif
8896 /* We use char because int might match the return type of a gcc2
8897 builtin and then its argument prototype would still apply. */
8898 char $ac_func ();
8899 /* The GNU C library defines this for functions which it implements
8900 to always fail with ENOSYS. Some functions are actually named
8901 something starting with __ and the normal name is an alias. */
8902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8903 choke me
8904 #else
8905 char (*f) () = $ac_func;
8906 #endif
8907 #ifdef __cplusplus
8909 #endif
8912 main ()
8914 return f != $ac_func;
8916 return 0;
8918 _ACEOF
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8921 (eval $ac_link) 2>conftest.er1
8922 ac_status=$?
8923 grep -v '^ *+' conftest.er1 >conftest.err
8924 rm -f conftest.er1
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } &&
8928 { ac_try='test -z "$ac_c_werror_flag"
8929 || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 (eval $ac_try) 2>&5
8932 ac_status=$?
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 (eval $ac_try) 2>&5
8938 ac_status=$?
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 eval "$as_ac_var=yes"
8942 else
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 eval "$as_ac_var=no"
8948 rm -f conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8953 if test `eval echo '${'$as_ac_var'}'` = yes; then
8954 cat >>confdefs.h <<_ACEOF
8955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8956 _ACEOF
8959 done
8969 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8970 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8971 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8972 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8978 ac_ext=cc
8979 ac_cpp='$CXXCPP $CPPFLAGS'
8980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8984 cat >conftest.$ac_ext <<_ACEOF
8985 /* confdefs.h. */
8986 _ACEOF
8987 cat confdefs.h >>conftest.$ac_ext
8988 cat >>conftest.$ac_ext <<_ACEOF
8989 /* end confdefs.h. */
8990 #include <math.h>
8991 #ifdef HAVE_IEEEFP_H
8992 #include <ieeefp.h>
8993 #endif
8996 main ()
8998 isnan(0);
9000 return 0;
9002 _ACEOF
9003 rm -f conftest.$ac_objext
9004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9005 (eval $ac_compile) 2>conftest.er1
9006 ac_status=$?
9007 grep -v '^ *+' conftest.er1 >conftest.err
9008 rm -f conftest.er1
9009 cat conftest.err >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } &&
9012 { ac_try='test -z "$ac_cxx_werror_flag"
9013 || test ! -s conftest.err'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 (eval $ac_try) 2>&5
9016 ac_status=$?
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; } &&
9019 { ac_try='test -s conftest.$ac_objext'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 (eval $ac_try) 2>&5
9022 ac_status=$?
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; }; then
9025 glibcxx_cv_func_isnan_use=yes
9026 else
9027 echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9030 glibcxx_cv_func_isnan_use=no
9032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9033 ac_ext=c
9034 ac_cpp='$CPP $CPPFLAGS'
9035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9044 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9046 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9048 for ac_func in isnan
9050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9051 echo "$as_me:$LINENO: checking for $ac_func" >&5
9052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9053 if eval "test \"\${$as_ac_var+set}\" = set"; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 else
9056 if test x$gcc_no_link = xyes; then
9057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9059 { (exit 1); exit 1; }; }
9061 cat >conftest.$ac_ext <<_ACEOF
9062 /* confdefs.h. */
9063 _ACEOF
9064 cat confdefs.h >>conftest.$ac_ext
9065 cat >>conftest.$ac_ext <<_ACEOF
9066 /* end confdefs.h. */
9067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9069 #define $ac_func innocuous_$ac_func
9071 /* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func (); below.
9073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9074 <limits.h> exists even on freestanding compilers. */
9076 #ifdef __STDC__
9077 # include <limits.h>
9078 #else
9079 # include <assert.h>
9080 #endif
9082 #undef $ac_func
9084 /* Override any gcc2 internal prototype to avoid an error. */
9085 #ifdef __cplusplus
9086 extern "C"
9088 #endif
9089 /* We use char because int might match the return type of a gcc2
9090 builtin and then its argument prototype would still apply. */
9091 char $ac_func ();
9092 /* The GNU C library defines this for functions which it implements
9093 to always fail with ENOSYS. Some functions are actually named
9094 something starting with __ and the normal name is an alias. */
9095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9096 choke me
9097 #else
9098 char (*f) () = $ac_func;
9099 #endif
9100 #ifdef __cplusplus
9102 #endif
9105 main ()
9107 return f != $ac_func;
9109 return 0;
9111 _ACEOF
9112 rm -f conftest.$ac_objext conftest$ac_exeext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9114 (eval $ac_link) 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag"
9122 || test ! -s conftest.err'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 (eval $ac_try) 2>&5
9125 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; } &&
9128 { ac_try='test -s conftest$ac_exeext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 (eval $ac_try) 2>&5
9131 ac_status=$?
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9134 eval "$as_ac_var=yes"
9135 else
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 eval "$as_ac_var=no"
9141 rm -f conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9146 if test `eval echo '${'$as_ac_var'}'` = yes; then
9147 cat >>confdefs.h <<_ACEOF
9148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9149 _ACEOF
9152 done
9154 else
9156 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9157 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9158 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9159 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 else
9165 ac_ext=cc
9166 ac_cpp='$CXXCPP $CPPFLAGS'
9167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9171 cat >conftest.$ac_ext <<_ACEOF
9172 /* confdefs.h. */
9173 _ACEOF
9174 cat confdefs.h >>conftest.$ac_ext
9175 cat >>conftest.$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9177 #include <math.h>
9178 #ifdef HAVE_IEEEFP_H
9179 #include <ieeefp.h>
9180 #endif
9183 main ()
9185 _isnan(0);
9187 return 0;
9189 _ACEOF
9190 rm -f conftest.$ac_objext
9191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9192 (eval $ac_compile) 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } &&
9199 { ac_try='test -z "$ac_cxx_werror_flag"
9200 || test ! -s conftest.err'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 (eval $ac_try) 2>&5
9203 ac_status=$?
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; } &&
9206 { ac_try='test -s conftest.$ac_objext'
9207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 (eval $ac_try) 2>&5
9209 ac_status=$?
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); }; }; then
9212 glibcxx_cv_func__isnan_use=yes
9213 else
9214 echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9217 glibcxx_cv_func__isnan_use=no
9219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9220 ac_ext=c
9221 ac_cpp='$CPP $CPPFLAGS'
9222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9231 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9235 for ac_func in _isnan
9237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9238 echo "$as_me:$LINENO: checking for $ac_func" >&5
9239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9240 if eval "test \"\${$as_ac_var+set}\" = set"; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 else
9243 if test x$gcc_no_link = xyes; then
9244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9246 { (exit 1); exit 1; }; }
9248 cat >conftest.$ac_ext <<_ACEOF
9249 /* confdefs.h. */
9250 _ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9256 #define $ac_func innocuous_$ac_func
9258 /* System header to define __stub macros and hopefully few prototypes,
9259 which can conflict with char $ac_func (); below.
9260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9261 <limits.h> exists even on freestanding compilers. */
9263 #ifdef __STDC__
9264 # include <limits.h>
9265 #else
9266 # include <assert.h>
9267 #endif
9269 #undef $ac_func
9271 /* Override any gcc2 internal prototype to avoid an error. */
9272 #ifdef __cplusplus
9273 extern "C"
9275 #endif
9276 /* We use char because int might match the return type of a gcc2
9277 builtin and then its argument prototype would still apply. */
9278 char $ac_func ();
9279 /* The GNU C library defines this for functions which it implements
9280 to always fail with ENOSYS. Some functions are actually named
9281 something starting with __ and the normal name is an alias. */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9283 choke me
9284 #else
9285 char (*f) () = $ac_func;
9286 #endif
9287 #ifdef __cplusplus
9289 #endif
9292 main ()
9294 return f != $ac_func;
9296 return 0;
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301 (eval $ac_link) 2>conftest.er1
9302 ac_status=$?
9303 grep -v '^ *+' conftest.er1 >conftest.err
9304 rm -f conftest.er1
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } &&
9308 { ac_try='test -z "$ac_c_werror_flag"
9309 || test ! -s conftest.err'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 (eval $ac_try) 2>&5
9312 ac_status=$?
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; } &&
9315 { ac_try='test -s conftest$ac_exeext'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 (eval $ac_try) 2>&5
9318 ac_status=$?
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; }; then
9321 eval "$as_ac_var=yes"
9322 else
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.$ac_ext >&5
9326 eval "$as_ac_var=no"
9328 rm -f conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9333 if test `eval echo '${'$as_ac_var'}'` = yes; then
9334 cat >>confdefs.h <<_ACEOF
9335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9336 _ACEOF
9339 done
9349 echo "$as_me:$LINENO: checking for finite declaration" >&5
9350 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9351 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9352 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9358 ac_ext=cc
9359 ac_cpp='$CXXCPP $CPPFLAGS'
9360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9364 cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h. */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9370 #include <math.h>
9371 #ifdef HAVE_IEEEFP_H
9372 #include <ieeefp.h>
9373 #endif
9376 main ()
9378 finite(0);
9380 return 0;
9382 _ACEOF
9383 rm -f conftest.$ac_objext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385 (eval $ac_compile) 2>conftest.er1
9386 ac_status=$?
9387 grep -v '^ *+' conftest.er1 >conftest.err
9388 rm -f conftest.er1
9389 cat conftest.err >&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try='test -z "$ac_cxx_werror_flag"
9393 || test ! -s conftest.err'
9394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 (eval $ac_try) 2>&5
9396 ac_status=$?
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; } &&
9399 { ac_try='test -s conftest.$ac_objext'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 (eval $ac_try) 2>&5
9402 ac_status=$?
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; }; then
9405 glibcxx_cv_func_finite_use=yes
9406 else
9407 echo "$as_me: failed program was:" >&5
9408 sed 's/^/| /' conftest.$ac_ext >&5
9410 glibcxx_cv_func_finite_use=no
9412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9413 ac_ext=c
9414 ac_cpp='$CPP $CPPFLAGS'
9415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9424 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9426 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9428 for ac_func in finite
9430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9431 echo "$as_me:$LINENO: checking for $ac_func" >&5
9432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9433 if eval "test \"\${$as_ac_var+set}\" = set"; then
9434 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 else
9436 if test x$gcc_no_link = xyes; then
9437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9439 { (exit 1); exit 1; }; }
9441 cat >conftest.$ac_ext <<_ACEOF
9442 /* confdefs.h. */
9443 _ACEOF
9444 cat confdefs.h >>conftest.$ac_ext
9445 cat >>conftest.$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9449 #define $ac_func innocuous_$ac_func
9451 /* System header to define __stub macros and hopefully few prototypes,
9452 which can conflict with char $ac_func (); below.
9453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9454 <limits.h> exists even on freestanding compilers. */
9456 #ifdef __STDC__
9457 # include <limits.h>
9458 #else
9459 # include <assert.h>
9460 #endif
9462 #undef $ac_func
9464 /* Override any gcc2 internal prototype to avoid an error. */
9465 #ifdef __cplusplus
9466 extern "C"
9468 #endif
9469 /* We use char because int might match the return type of a gcc2
9470 builtin and then its argument prototype would still apply. */
9471 char $ac_func ();
9472 /* The GNU C library defines this for functions which it implements
9473 to always fail with ENOSYS. Some functions are actually named
9474 something starting with __ and the normal name is an alias. */
9475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9476 choke me
9477 #else
9478 char (*f) () = $ac_func;
9479 #endif
9480 #ifdef __cplusplus
9482 #endif
9485 main ()
9487 return f != $ac_func;
9489 return 0;
9491 _ACEOF
9492 rm -f conftest.$ac_objext conftest$ac_exeext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9494 (eval $ac_link) 2>conftest.er1
9495 ac_status=$?
9496 grep -v '^ *+' conftest.er1 >conftest.err
9497 rm -f conftest.er1
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try='test -z "$ac_c_werror_flag"
9502 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5
9505 ac_status=$?
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try='test -s conftest$ac_exeext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 (eval $ac_try) 2>&5
9511 ac_status=$?
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9514 eval "$as_ac_var=yes"
9515 else
9516 echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.$ac_ext >&5
9519 eval "$as_ac_var=no"
9521 rm -f conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9526 if test `eval echo '${'$as_ac_var'}'` = yes; then
9527 cat >>confdefs.h <<_ACEOF
9528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9529 _ACEOF
9532 done
9534 else
9536 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9537 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9538 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9539 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9545 ac_ext=cc
9546 ac_cpp='$CXXCPP $CPPFLAGS'
9547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9551 cat >conftest.$ac_ext <<_ACEOF
9552 /* confdefs.h. */
9553 _ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9557 #include <math.h>
9558 #ifdef HAVE_IEEEFP_H
9559 #include <ieeefp.h>
9560 #endif
9563 main ()
9565 _finite(0);
9567 return 0;
9569 _ACEOF
9570 rm -f conftest.$ac_objext
9571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9572 (eval $ac_compile) 2>conftest.er1
9573 ac_status=$?
9574 grep -v '^ *+' conftest.er1 >conftest.err
9575 rm -f conftest.er1
9576 cat conftest.err >&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } &&
9579 { ac_try='test -z "$ac_cxx_werror_flag"
9580 || test ! -s conftest.err'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 (eval $ac_try) 2>&5
9583 ac_status=$?
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; } &&
9586 { ac_try='test -s conftest.$ac_objext'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588 (eval $ac_try) 2>&5
9589 ac_status=$?
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; }; then
9592 glibcxx_cv_func__finite_use=yes
9593 else
9594 echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.$ac_ext >&5
9597 glibcxx_cv_func__finite_use=no
9599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9600 ac_ext=c
9601 ac_cpp='$CPP $CPPFLAGS'
9602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9611 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9613 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9615 for ac_func in _finite
9617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9618 echo "$as_me:$LINENO: checking for $ac_func" >&5
9619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9620 if eval "test \"\${$as_ac_var+set}\" = set"; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9622 else
9623 if test x$gcc_no_link = xyes; then
9624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9626 { (exit 1); exit 1; }; }
9628 cat >conftest.$ac_ext <<_ACEOF
9629 /* confdefs.h. */
9630 _ACEOF
9631 cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h. */
9634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9636 #define $ac_func innocuous_$ac_func
9638 /* System header to define __stub macros and hopefully few prototypes,
9639 which can conflict with char $ac_func (); below.
9640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9641 <limits.h> exists even on freestanding compilers. */
9643 #ifdef __STDC__
9644 # include <limits.h>
9645 #else
9646 # include <assert.h>
9647 #endif
9649 #undef $ac_func
9651 /* Override any gcc2 internal prototype to avoid an error. */
9652 #ifdef __cplusplus
9653 extern "C"
9655 #endif
9656 /* We use char because int might match the return type of a gcc2
9657 builtin and then its argument prototype would still apply. */
9658 char $ac_func ();
9659 /* The GNU C library defines this for functions which it implements
9660 to always fail with ENOSYS. Some functions are actually named
9661 something starting with __ and the normal name is an alias. */
9662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9663 choke me
9664 #else
9665 char (*f) () = $ac_func;
9666 #endif
9667 #ifdef __cplusplus
9669 #endif
9672 main ()
9674 return f != $ac_func;
9676 return 0;
9678 _ACEOF
9679 rm -f conftest.$ac_objext conftest$ac_exeext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9681 (eval $ac_link) 2>conftest.er1
9682 ac_status=$?
9683 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_c_werror_flag"
9689 || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 (eval $ac_try) 2>&5
9698 ac_status=$?
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 eval "$as_ac_var=yes"
9702 else
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9706 eval "$as_ac_var=no"
9708 rm -f conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9713 if test `eval echo '${'$as_ac_var'}'` = yes; then
9714 cat >>confdefs.h <<_ACEOF
9715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9716 _ACEOF
9719 done
9729 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9730 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9731 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9732 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9733 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 else
9738 ac_ext=cc
9739 ac_cpp='$CXXCPP $CPPFLAGS'
9740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9744 cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h. */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9750 #include <math.h>
9752 main ()
9754 copysign(0, 0);
9756 return 0;
9758 _ACEOF
9759 rm -f conftest.$ac_objext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9761 (eval $ac_compile) 2>conftest.er1
9762 ac_status=$?
9763 grep -v '^ *+' conftest.er1 >conftest.err
9764 rm -f conftest.er1
9765 cat conftest.err >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } &&
9768 { ac_try='test -z "$ac_cxx_werror_flag"
9769 || test ! -s conftest.err'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 (eval $ac_try) 2>&5
9772 ac_status=$?
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; } &&
9775 { ac_try='test -s conftest.$ac_objext'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 (eval $ac_try) 2>&5
9778 ac_status=$?
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; }; then
9781 glibcxx_cv_func_copysign_use=yes
9782 else
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.$ac_ext >&5
9786 glibcxx_cv_func_copysign_use=no
9788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9789 ac_ext=c
9790 ac_cpp='$CPP $CPPFLAGS'
9791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9800 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9802 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9804 for ac_func in copysign
9806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9807 echo "$as_me:$LINENO: checking for $ac_func" >&5
9808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9809 if eval "test \"\${$as_ac_var+set}\" = set"; then
9810 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 else
9812 if test x$gcc_no_link = xyes; then
9813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9815 { (exit 1); exit 1; }; }
9817 cat >conftest.$ac_ext <<_ACEOF
9818 /* confdefs.h. */
9819 _ACEOF
9820 cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9825 #define $ac_func innocuous_$ac_func
9827 /* System header to define __stub macros and hopefully few prototypes,
9828 which can conflict with char $ac_func (); below.
9829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9830 <limits.h> exists even on freestanding compilers. */
9832 #ifdef __STDC__
9833 # include <limits.h>
9834 #else
9835 # include <assert.h>
9836 #endif
9838 #undef $ac_func
9840 /* Override any gcc2 internal prototype to avoid an error. */
9841 #ifdef __cplusplus
9842 extern "C"
9844 #endif
9845 /* We use char because int might match the return type of a gcc2
9846 builtin and then its argument prototype would still apply. */
9847 char $ac_func ();
9848 /* The GNU C library defines this for functions which it implements
9849 to always fail with ENOSYS. Some functions are actually named
9850 something starting with __ and the normal name is an alias. */
9851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9852 choke me
9853 #else
9854 char (*f) () = $ac_func;
9855 #endif
9856 #ifdef __cplusplus
9858 #endif
9861 main ()
9863 return f != $ac_func;
9865 return 0;
9867 _ACEOF
9868 rm -f conftest.$ac_objext conftest$ac_exeext
9869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9870 (eval $ac_link) 2>conftest.er1
9871 ac_status=$?
9872 grep -v '^ *+' conftest.er1 >conftest.err
9873 rm -f conftest.er1
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } &&
9877 { ac_try='test -z "$ac_c_werror_flag"
9878 || test ! -s conftest.err'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 (eval $ac_try) 2>&5
9881 ac_status=$?
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; } &&
9884 { ac_try='test -s conftest$ac_exeext'
9885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 (eval $ac_try) 2>&5
9887 ac_status=$?
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; }; then
9890 eval "$as_ac_var=yes"
9891 else
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9895 eval "$as_ac_var=no"
9897 rm -f conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9902 if test `eval echo '${'$as_ac_var'}'` = yes; then
9903 cat >>confdefs.h <<_ACEOF
9904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9905 _ACEOF
9908 done
9910 else
9912 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9913 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9914 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9915 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 else
9921 ac_ext=cc
9922 ac_cpp='$CXXCPP $CPPFLAGS'
9923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9927 cat >conftest.$ac_ext <<_ACEOF
9928 /* confdefs.h. */
9929 _ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9933 #include <math.h>
9935 main ()
9937 _copysign(0, 0);
9939 return 0;
9941 _ACEOF
9942 rm -f conftest.$ac_objext
9943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9944 (eval $ac_compile) 2>conftest.er1
9945 ac_status=$?
9946 grep -v '^ *+' conftest.er1 >conftest.err
9947 rm -f conftest.er1
9948 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } &&
9951 { ac_try='test -z "$ac_cxx_werror_flag"
9952 || test ! -s conftest.err'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 (eval $ac_try) 2>&5
9955 ac_status=$?
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; } &&
9958 { ac_try='test -s conftest.$ac_objext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 (eval $ac_try) 2>&5
9961 ac_status=$?
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9964 glibcxx_cv_func__copysign_use=yes
9965 else
9966 echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.$ac_ext >&5
9969 glibcxx_cv_func__copysign_use=no
9971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9972 ac_ext=c
9973 ac_cpp='$CPP $CPPFLAGS'
9974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9983 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9985 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9987 for ac_func in _copysign
9989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9990 echo "$as_me:$LINENO: checking for $ac_func" >&5
9991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9992 if eval "test \"\${$as_ac_var+set}\" = set"; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 else
9995 if test x$gcc_no_link = xyes; then
9996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9998 { (exit 1); exit 1; }; }
10000 cat >conftest.$ac_ext <<_ACEOF
10001 /* confdefs.h. */
10002 _ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10008 #define $ac_func innocuous_$ac_func
10010 /* System header to define __stub macros and hopefully few prototypes,
10011 which can conflict with char $ac_func (); below.
10012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10013 <limits.h> exists even on freestanding compilers. */
10015 #ifdef __STDC__
10016 # include <limits.h>
10017 #else
10018 # include <assert.h>
10019 #endif
10021 #undef $ac_func
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 #ifdef __cplusplus
10025 extern "C"
10027 #endif
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10030 char $ac_func ();
10031 /* The GNU C library defines this for functions which it implements
10032 to always fail with ENOSYS. Some functions are actually named
10033 something starting with __ and the normal name is an alias. */
10034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10035 choke me
10036 #else
10037 char (*f) () = $ac_func;
10038 #endif
10039 #ifdef __cplusplus
10041 #endif
10044 main ()
10046 return f != $ac_func;
10048 return 0;
10050 _ACEOF
10051 rm -f conftest.$ac_objext conftest$ac_exeext
10052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10053 (eval $ac_link) 2>conftest.er1
10054 ac_status=$?
10055 grep -v '^ *+' conftest.er1 >conftest.err
10056 rm -f conftest.er1
10057 cat conftest.err >&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } &&
10060 { ac_try='test -z "$ac_c_werror_flag"
10061 || test ! -s conftest.err'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10064 ac_status=$?
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; } &&
10067 { ac_try='test -s conftest$ac_exeext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10070 ac_status=$?
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 eval "$as_ac_var=yes"
10074 else
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10078 eval "$as_ac_var=no"
10080 rm -f conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10085 if test `eval echo '${'$as_ac_var'}'` = yes; then
10086 cat >>confdefs.h <<_ACEOF
10087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10088 _ACEOF
10091 done
10101 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10102 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10103 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10104 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10105 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 else
10110 ac_ext=cc
10111 ac_cpp='$CXXCPP $CPPFLAGS'
10112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h. */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10122 #include <math.h>
10124 main ()
10126 sincos(0, 0, 0);
10128 return 0;
10130 _ACEOF
10131 rm -f conftest.$ac_objext
10132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10133 (eval $ac_compile) 2>conftest.er1
10134 ac_status=$?
10135 grep -v '^ *+' conftest.er1 >conftest.err
10136 rm -f conftest.er1
10137 cat conftest.err >&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } &&
10140 { ac_try='test -z "$ac_cxx_werror_flag"
10141 || test ! -s conftest.err'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest.$ac_objext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
10153 glibcxx_cv_func_sincos_use=yes
10154 else
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.$ac_ext >&5
10158 glibcxx_cv_func_sincos_use=no
10160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10161 ac_ext=c
10162 ac_cpp='$CPP $CPPFLAGS'
10163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10172 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10174 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10176 for ac_func in sincos
10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179 echo "$as_me:$LINENO: checking for $ac_func" >&5
10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_var+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10184 if test x$gcc_no_link = xyes; then
10185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10187 { (exit 1); exit 1; }; }
10189 cat >conftest.$ac_ext <<_ACEOF
10190 /* confdefs.h. */
10191 _ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10197 #define $ac_func innocuous_$ac_func
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func (); below.
10201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10202 <limits.h> exists even on freestanding compilers. */
10204 #ifdef __STDC__
10205 # include <limits.h>
10206 #else
10207 # include <assert.h>
10208 #endif
10210 #undef $ac_func
10212 /* Override any gcc2 internal prototype to avoid an error. */
10213 #ifdef __cplusplus
10214 extern "C"
10216 #endif
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10219 char $ac_func ();
10220 /* The GNU C library defines this for functions which it implements
10221 to always fail with ENOSYS. Some functions are actually named
10222 something starting with __ and the normal name is an alias. */
10223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10224 choke me
10225 #else
10226 char (*f) () = $ac_func;
10227 #endif
10228 #ifdef __cplusplus
10230 #endif
10233 main ()
10235 return f != $ac_func;
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10242 (eval $ac_link) 2>conftest.er1
10243 ac_status=$?
10244 grep -v '^ *+' conftest.er1 >conftest.err
10245 rm -f conftest.er1
10246 cat conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try='test -z "$ac_c_werror_flag"
10250 || test ! -s conftest.err'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10253 ac_status=$?
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; } &&
10256 { ac_try='test -s conftest$ac_exeext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10259 ac_status=$?
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 eval "$as_ac_var=yes"
10263 else
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 eval "$as_ac_var=no"
10269 rm -f conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10274 if test `eval echo '${'$as_ac_var'}'` = yes; then
10275 cat >>confdefs.h <<_ACEOF
10276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10277 _ACEOF
10280 done
10282 else
10284 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10285 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10286 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10287 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10289 else
10293 ac_ext=cc
10294 ac_cpp='$CXXCPP $CPPFLAGS'
10295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10299 cat >conftest.$ac_ext <<_ACEOF
10300 /* confdefs.h. */
10301 _ACEOF
10302 cat confdefs.h >>conftest.$ac_ext
10303 cat >>conftest.$ac_ext <<_ACEOF
10304 /* end confdefs.h. */
10305 #include <math.h>
10307 main ()
10309 _sincos(0, 0, 0);
10311 return 0;
10313 _ACEOF
10314 rm -f conftest.$ac_objext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10316 (eval $ac_compile) 2>conftest.er1
10317 ac_status=$?
10318 grep -v '^ *+' conftest.er1 >conftest.err
10319 rm -f conftest.er1
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try='test -z "$ac_cxx_werror_flag"
10324 || test ! -s conftest.err'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; } &&
10330 { ac_try='test -s conftest.$ac_objext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10336 glibcxx_cv_func__sincos_use=yes
10337 else
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10341 glibcxx_cv_func__sincos_use=no
10343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10344 ac_ext=c
10345 ac_cpp='$CPP $CPPFLAGS'
10346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10355 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10357 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10359 for ac_func in _sincos
10361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 echo "$as_me:$LINENO: checking for $ac_func" >&5
10363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_var+set}\" = set"; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367 if test x$gcc_no_link = xyes; then
10368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10370 { (exit 1); exit 1; }; }
10372 cat >conftest.$ac_ext <<_ACEOF
10373 /* confdefs.h. */
10374 _ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10380 #define $ac_func innocuous_$ac_func
10382 /* System header to define __stub macros and hopefully few prototypes,
10383 which can conflict with char $ac_func (); below.
10384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10385 <limits.h> exists even on freestanding compilers. */
10387 #ifdef __STDC__
10388 # include <limits.h>
10389 #else
10390 # include <assert.h>
10391 #endif
10393 #undef $ac_func
10395 /* Override any gcc2 internal prototype to avoid an error. */
10396 #ifdef __cplusplus
10397 extern "C"
10399 #endif
10400 /* We use char because int might match the return type of a gcc2
10401 builtin and then its argument prototype would still apply. */
10402 char $ac_func ();
10403 /* The GNU C library defines this for functions which it implements
10404 to always fail with ENOSYS. Some functions are actually named
10405 something starting with __ and the normal name is an alias. */
10406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10407 choke me
10408 #else
10409 char (*f) () = $ac_func;
10410 #endif
10411 #ifdef __cplusplus
10413 #endif
10416 main ()
10418 return f != $ac_func;
10420 return 0;
10422 _ACEOF
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10425 (eval $ac_link) 2>conftest.er1
10426 ac_status=$?
10427 grep -v '^ *+' conftest.er1 >conftest.err
10428 rm -f conftest.er1
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -z "$ac_c_werror_flag"
10433 || test ! -s conftest.err'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10436 ac_status=$?
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; } &&
10439 { ac_try='test -s conftest$ac_exeext'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10442 ac_status=$?
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; }; then
10445 eval "$as_ac_var=yes"
10446 else
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10450 eval "$as_ac_var=no"
10452 rm -f conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10457 if test `eval echo '${'$as_ac_var'}'` = yes; then
10458 cat >>confdefs.h <<_ACEOF
10459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10460 _ACEOF
10463 done
10473 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10474 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10475 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10476 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 else
10482 ac_ext=cc
10483 ac_cpp='$CXXCPP $CPPFLAGS'
10484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10488 cat >conftest.$ac_ext <<_ACEOF
10489 /* confdefs.h. */
10490 _ACEOF
10491 cat confdefs.h >>conftest.$ac_ext
10492 cat >>conftest.$ac_ext <<_ACEOF
10493 /* end confdefs.h. */
10494 #include <math.h>
10495 #ifdef HAVE_IEEEFP_H
10496 #include <ieeefp.h>
10497 #endif
10500 main ()
10502 fpclass(0);
10504 return 0;
10506 _ACEOF
10507 rm -f conftest.$ac_objext
10508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10509 (eval $ac_compile) 2>conftest.er1
10510 ac_status=$?
10511 grep -v '^ *+' conftest.er1 >conftest.err
10512 rm -f conftest.er1
10513 cat conftest.err >&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } &&
10516 { ac_try='test -z "$ac_cxx_werror_flag"
10517 || test ! -s conftest.err'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; } &&
10523 { ac_try='test -s conftest.$ac_objext'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10526 ac_status=$?
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; }; then
10529 glibcxx_cv_func_fpclass_use=yes
10530 else
10531 echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.$ac_ext >&5
10534 glibcxx_cv_func_fpclass_use=no
10536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10537 ac_ext=c
10538 ac_cpp='$CPP $CPPFLAGS'
10539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10548 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10552 for ac_func in fpclass
10554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10555 echo "$as_me:$LINENO: checking for $ac_func" >&5
10556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10557 if eval "test \"\${$as_ac_var+set}\" = set"; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 else
10560 if test x$gcc_no_link = xyes; then
10561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10563 { (exit 1); exit 1; }; }
10565 cat >conftest.$ac_ext <<_ACEOF
10566 /* confdefs.h. */
10567 _ACEOF
10568 cat confdefs.h >>conftest.$ac_ext
10569 cat >>conftest.$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10573 #define $ac_func innocuous_$ac_func
10575 /* System header to define __stub macros and hopefully few prototypes,
10576 which can conflict with char $ac_func (); below.
10577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10578 <limits.h> exists even on freestanding compilers. */
10580 #ifdef __STDC__
10581 # include <limits.h>
10582 #else
10583 # include <assert.h>
10584 #endif
10586 #undef $ac_func
10588 /* Override any gcc2 internal prototype to avoid an error. */
10589 #ifdef __cplusplus
10590 extern "C"
10592 #endif
10593 /* We use char because int might match the return type of a gcc2
10594 builtin and then its argument prototype would still apply. */
10595 char $ac_func ();
10596 /* The GNU C library defines this for functions which it implements
10597 to always fail with ENOSYS. Some functions are actually named
10598 something starting with __ and the normal name is an alias. */
10599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10600 choke me
10601 #else
10602 char (*f) () = $ac_func;
10603 #endif
10604 #ifdef __cplusplus
10606 #endif
10609 main ()
10611 return f != $ac_func;
10613 return 0;
10615 _ACEOF
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10618 (eval $ac_link) 2>conftest.er1
10619 ac_status=$?
10620 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_c_werror_flag"
10626 || test ! -s conftest.err'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10629 ac_status=$?
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; } &&
10632 { ac_try='test -s conftest$ac_exeext'
10633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634 (eval $ac_try) 2>&5
10635 ac_status=$?
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); }; }; then
10638 eval "$as_ac_var=yes"
10639 else
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.$ac_ext >&5
10643 eval "$as_ac_var=no"
10645 rm -f conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10650 if test `eval echo '${'$as_ac_var'}'` = yes; then
10651 cat >>confdefs.h <<_ACEOF
10652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10653 _ACEOF
10656 done
10658 else
10660 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10661 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10662 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10663 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 else
10669 ac_ext=cc
10670 ac_cpp='$CXXCPP $CPPFLAGS'
10671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <math.h>
10682 #ifdef HAVE_IEEEFP_H
10683 #include <ieeefp.h>
10684 #endif
10687 main ()
10689 _fpclass(0);
10691 return 0;
10693 _ACEOF
10694 rm -f conftest.$ac_objext
10695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10696 (eval $ac_compile) 2>conftest.er1
10697 ac_status=$?
10698 grep -v '^ *+' conftest.er1 >conftest.err
10699 rm -f conftest.er1
10700 cat conftest.err >&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try='test -z "$ac_cxx_werror_flag"
10704 || test ! -s conftest.err'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10707 ac_status=$?
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; } &&
10710 { ac_try='test -s conftest.$ac_objext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10713 ac_status=$?
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 glibcxx_cv_func__fpclass_use=yes
10717 else
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 glibcxx_cv_func__fpclass_use=no
10723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10724 ac_ext=c
10725 ac_cpp='$CPP $CPPFLAGS'
10726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10735 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10737 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10739 for ac_func in _fpclass
10741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10744 if eval "test \"\${$as_ac_var+set}\" = set"; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747 if test x$gcc_no_link = xyes; then
10748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10750 { (exit 1); exit 1; }; }
10752 cat >conftest.$ac_ext <<_ACEOF
10753 /* confdefs.h. */
10754 _ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10760 #define $ac_func innocuous_$ac_func
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char $ac_func (); below.
10764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765 <limits.h> exists even on freestanding compilers. */
10767 #ifdef __STDC__
10768 # include <limits.h>
10769 #else
10770 # include <assert.h>
10771 #endif
10773 #undef $ac_func
10775 /* Override any gcc2 internal prototype to avoid an error. */
10776 #ifdef __cplusplus
10777 extern "C"
10779 #endif
10780 /* We use char because int might match the return type of a gcc2
10781 builtin and then its argument prototype would still apply. */
10782 char $ac_func ();
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10787 choke me
10788 #else
10789 char (*f) () = $ac_func;
10790 #endif
10791 #ifdef __cplusplus
10793 #endif
10796 main ()
10798 return f != $ac_func;
10800 return 0;
10802 _ACEOF
10803 rm -f conftest.$ac_objext conftest$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10806 ac_status=$?
10807 grep -v '^ *+' conftest.er1 >conftest.err
10808 rm -f conftest.er1
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try='test -z "$ac_c_werror_flag"
10813 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10816 ac_status=$?
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } &&
10819 { ac_try='test -s conftest$ac_exeext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10822 ac_status=$?
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 eval "$as_ac_var=yes"
10826 else
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.$ac_ext >&5
10830 eval "$as_ac_var=no"
10832 rm -f conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10837 if test `eval echo '${'$as_ac_var'}'` = yes; then
10838 cat >>confdefs.h <<_ACEOF
10839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10840 _ACEOF
10843 done
10853 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10854 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10855 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10856 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 else
10862 ac_ext=cc
10863 ac_cpp='$CXXCPP $CPPFLAGS'
10864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10868 cat >conftest.$ac_ext <<_ACEOF
10869 /* confdefs.h. */
10870 _ACEOF
10871 cat confdefs.h >>conftest.$ac_ext
10872 cat >>conftest.$ac_ext <<_ACEOF
10873 /* end confdefs.h. */
10874 #include <math.h>
10875 #ifdef HAVE_IEEEFP_H
10876 #include <ieeefp.h>
10877 #endif
10880 main ()
10882 qfpclass(0);
10884 return 0;
10886 _ACEOF
10887 rm -f conftest.$ac_objext
10888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10889 (eval $ac_compile) 2>conftest.er1
10890 ac_status=$?
10891 grep -v '^ *+' conftest.er1 >conftest.err
10892 rm -f conftest.er1
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } &&
10896 { ac_try='test -z "$ac_cxx_werror_flag"
10897 || test ! -s conftest.err'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10900 ac_status=$?
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; } &&
10903 { ac_try='test -s conftest.$ac_objext'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10906 ac_status=$?
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; }; then
10909 glibcxx_cv_func_qfpclass_use=yes
10910 else
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.$ac_ext >&5
10914 glibcxx_cv_func_qfpclass_use=no
10916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10917 ac_ext=c
10918 ac_cpp='$CPP $CPPFLAGS'
10919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10928 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10930 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10932 for ac_func in qfpclass
10934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10935 echo "$as_me:$LINENO: checking for $ac_func" >&5
10936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10937 if eval "test \"\${$as_ac_var+set}\" = set"; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 else
10940 if test x$gcc_no_link = xyes; then
10941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10943 { (exit 1); exit 1; }; }
10945 cat >conftest.$ac_ext <<_ACEOF
10946 /* confdefs.h. */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10953 #define $ac_func innocuous_$ac_func
10955 /* System header to define __stub macros and hopefully few prototypes,
10956 which can conflict with char $ac_func (); below.
10957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10958 <limits.h> exists even on freestanding compilers. */
10960 #ifdef __STDC__
10961 # include <limits.h>
10962 #else
10963 # include <assert.h>
10964 #endif
10966 #undef $ac_func
10968 /* Override any gcc2 internal prototype to avoid an error. */
10969 #ifdef __cplusplus
10970 extern "C"
10972 #endif
10973 /* We use char because int might match the return type of a gcc2
10974 builtin and then its argument prototype would still apply. */
10975 char $ac_func ();
10976 /* The GNU C library defines this for functions which it implements
10977 to always fail with ENOSYS. Some functions are actually named
10978 something starting with __ and the normal name is an alias. */
10979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10980 choke me
10981 #else
10982 char (*f) () = $ac_func;
10983 #endif
10984 #ifdef __cplusplus
10986 #endif
10989 main ()
10991 return f != $ac_func;
10993 return 0;
10995 _ACEOF
10996 rm -f conftest.$ac_objext conftest$ac_exeext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10998 (eval $ac_link) 2>conftest.er1
10999 ac_status=$?
11000 grep -v '^ *+' conftest.er1 >conftest.err
11001 rm -f conftest.er1
11002 cat conftest.err >&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try='test -z "$ac_c_werror_flag"
11006 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try='test -s conftest$ac_exeext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11015 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 eval "$as_ac_var=yes"
11019 else
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11023 eval "$as_ac_var=no"
11025 rm -f conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11030 if test `eval echo '${'$as_ac_var'}'` = yes; then
11031 cat >>confdefs.h <<_ACEOF
11032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11033 _ACEOF
11036 done
11038 else
11040 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11041 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11042 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11043 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11049 ac_ext=cc
11050 ac_cpp='$CXXCPP $CPPFLAGS'
11051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11055 cat >conftest.$ac_ext <<_ACEOF
11056 /* confdefs.h. */
11057 _ACEOF
11058 cat confdefs.h >>conftest.$ac_ext
11059 cat >>conftest.$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 #include <math.h>
11062 #ifdef HAVE_IEEEFP_H
11063 #include <ieeefp.h>
11064 #endif
11067 main ()
11069 _qfpclass(0);
11071 return 0;
11073 _ACEOF
11074 rm -f conftest.$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076 (eval $ac_compile) 2>conftest.er1
11077 ac_status=$?
11078 grep -v '^ *+' conftest.er1 >conftest.err
11079 rm -f conftest.er1
11080 cat conftest.err >&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try='test -z "$ac_cxx_werror_flag"
11084 || test ! -s conftest.err'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11087 ac_status=$?
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; } &&
11090 { ac_try='test -s conftest.$ac_objext'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11093 ac_status=$?
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; }; then
11096 glibcxx_cv_func__qfpclass_use=yes
11097 else
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.$ac_ext >&5
11101 glibcxx_cv_func__qfpclass_use=no
11103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11104 ac_ext=c
11105 ac_cpp='$CPP $CPPFLAGS'
11106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11115 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11117 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11119 for ac_func in _qfpclass
11121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11122 echo "$as_me:$LINENO: checking for $ac_func" >&5
11123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11124 if eval "test \"\${$as_ac_var+set}\" = set"; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 else
11127 if test x$gcc_no_link = xyes; then
11128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11130 { (exit 1); exit 1; }; }
11132 cat >conftest.$ac_ext <<_ACEOF
11133 /* confdefs.h. */
11134 _ACEOF
11135 cat confdefs.h >>conftest.$ac_ext
11136 cat >>conftest.$ac_ext <<_ACEOF
11137 /* end confdefs.h. */
11138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11140 #define $ac_func innocuous_$ac_func
11142 /* System header to define __stub macros and hopefully few prototypes,
11143 which can conflict with char $ac_func (); below.
11144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11145 <limits.h> exists even on freestanding compilers. */
11147 #ifdef __STDC__
11148 # include <limits.h>
11149 #else
11150 # include <assert.h>
11151 #endif
11153 #undef $ac_func
11155 /* Override any gcc2 internal prototype to avoid an error. */
11156 #ifdef __cplusplus
11157 extern "C"
11159 #endif
11160 /* We use char because int might match the return type of a gcc2
11161 builtin and then its argument prototype would still apply. */
11162 char $ac_func ();
11163 /* The GNU C library defines this for functions which it implements
11164 to always fail with ENOSYS. Some functions are actually named
11165 something starting with __ and the normal name is an alias. */
11166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11167 choke me
11168 #else
11169 char (*f) () = $ac_func;
11170 #endif
11171 #ifdef __cplusplus
11173 #endif
11176 main ()
11178 return f != $ac_func;
11180 return 0;
11182 _ACEOF
11183 rm -f conftest.$ac_objext conftest$ac_exeext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11185 (eval $ac_link) 2>conftest.er1
11186 ac_status=$?
11187 grep -v '^ *+' conftest.er1 >conftest.err
11188 rm -f conftest.er1
11189 cat conftest.err >&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } &&
11192 { ac_try='test -z "$ac_c_werror_flag"
11193 || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try='test -s conftest$ac_exeext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11202 ac_status=$?
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 eval "$as_ac_var=yes"
11206 else
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11210 eval "$as_ac_var=no"
11212 rm -f conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11217 if test `eval echo '${'$as_ac_var'}'` = yes; then
11218 cat >>confdefs.h <<_ACEOF
11219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11220 _ACEOF
11223 done
11233 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11234 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11235 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11236 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11242 ac_ext=cc
11243 ac_cpp='$CXXCPP $CPPFLAGS'
11244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11248 cat >conftest.$ac_ext <<_ACEOF
11249 /* confdefs.h. */
11250 _ACEOF
11251 cat confdefs.h >>conftest.$ac_ext
11252 cat >>conftest.$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 #include <math.h>
11256 main ()
11258 hypot(0, 0);
11260 return 0;
11262 _ACEOF
11263 rm -f conftest.$ac_objext
11264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11265 (eval $ac_compile) 2>conftest.er1
11266 ac_status=$?
11267 grep -v '^ *+' conftest.er1 >conftest.err
11268 rm -f conftest.er1
11269 cat conftest.err >&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } &&
11272 { ac_try='test -z "$ac_cxx_werror_flag"
11273 || test ! -s conftest.err'
11274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275 (eval $ac_try) 2>&5
11276 ac_status=$?
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }; } &&
11279 { ac_try='test -s conftest.$ac_objext'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11282 ac_status=$?
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then
11285 glibcxx_cv_func_hypot_use=yes
11286 else
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11290 glibcxx_cv_func_hypot_use=no
11292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11293 ac_ext=c
11294 ac_cpp='$CPP $CPPFLAGS'
11295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11304 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11306 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11308 for ac_func in hypot
11310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11311 echo "$as_me:$LINENO: checking for $ac_func" >&5
11312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11313 if eval "test \"\${$as_ac_var+set}\" = set"; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316 if test x$gcc_no_link = xyes; then
11317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11319 { (exit 1); exit 1; }; }
11321 cat >conftest.$ac_ext <<_ACEOF
11322 /* confdefs.h. */
11323 _ACEOF
11324 cat confdefs.h >>conftest.$ac_ext
11325 cat >>conftest.$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11329 #define $ac_func innocuous_$ac_func
11331 /* System header to define __stub macros and hopefully few prototypes,
11332 which can conflict with char $ac_func (); below.
11333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11334 <limits.h> exists even on freestanding compilers. */
11336 #ifdef __STDC__
11337 # include <limits.h>
11338 #else
11339 # include <assert.h>
11340 #endif
11342 #undef $ac_func
11344 /* Override any gcc2 internal prototype to avoid an error. */
11345 #ifdef __cplusplus
11346 extern "C"
11348 #endif
11349 /* We use char because int might match the return type of a gcc2
11350 builtin and then its argument prototype would still apply. */
11351 char $ac_func ();
11352 /* The GNU C library defines this for functions which it implements
11353 to always fail with ENOSYS. Some functions are actually named
11354 something starting with __ and the normal name is an alias. */
11355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11356 choke me
11357 #else
11358 char (*f) () = $ac_func;
11359 #endif
11360 #ifdef __cplusplus
11362 #endif
11365 main ()
11367 return f != $ac_func;
11369 return 0;
11371 _ACEOF
11372 rm -f conftest.$ac_objext conftest$ac_exeext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11374 (eval $ac_link) 2>conftest.er1
11375 ac_status=$?
11376 grep -v '^ *+' conftest.er1 >conftest.err
11377 rm -f conftest.er1
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag"
11382 || test ! -s conftest.err'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11385 ac_status=$?
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; } &&
11388 { ac_try='test -s conftest$ac_exeext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 eval "$as_ac_var=yes"
11395 else
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 eval "$as_ac_var=no"
11401 rm -f conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11406 if test `eval echo '${'$as_ac_var'}'` = yes; then
11407 cat >>confdefs.h <<_ACEOF
11408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11409 _ACEOF
11412 done
11414 else
11416 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11417 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11418 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11419 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11425 ac_ext=cc
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11431 cat >conftest.$ac_ext <<_ACEOF
11432 /* confdefs.h. */
11433 _ACEOF
11434 cat confdefs.h >>conftest.$ac_ext
11435 cat >>conftest.$ac_ext <<_ACEOF
11436 /* end confdefs.h. */
11437 #include <math.h>
11439 main ()
11441 _hypot(0, 0);
11443 return 0;
11445 _ACEOF
11446 rm -f conftest.$ac_objext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11448 (eval $ac_compile) 2>conftest.er1
11449 ac_status=$?
11450 grep -v '^ *+' conftest.er1 >conftest.err
11451 rm -f conftest.er1
11452 cat conftest.err >&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } &&
11455 { ac_try='test -z "$ac_cxx_werror_flag"
11456 || test ! -s conftest.err'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11459 ac_status=$?
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; } &&
11462 { ac_try='test -s conftest.$ac_objext'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11465 ac_status=$?
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; }; then
11468 glibcxx_cv_func__hypot_use=yes
11469 else
11470 echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.$ac_ext >&5
11473 glibcxx_cv_func__hypot_use=no
11475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11476 ac_ext=c
11477 ac_cpp='$CPP $CPPFLAGS'
11478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11487 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11489 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11491 for ac_func in _hypot
11493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11494 echo "$as_me:$LINENO: checking for $ac_func" >&5
11495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11496 if eval "test \"\${$as_ac_var+set}\" = set"; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499 if test x$gcc_no_link = xyes; then
11500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11502 { (exit 1); exit 1; }; }
11504 cat >conftest.$ac_ext <<_ACEOF
11505 /* confdefs.h. */
11506 _ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11512 #define $ac_func innocuous_$ac_func
11514 /* System header to define __stub macros and hopefully few prototypes,
11515 which can conflict with char $ac_func (); below.
11516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11517 <limits.h> exists even on freestanding compilers. */
11519 #ifdef __STDC__
11520 # include <limits.h>
11521 #else
11522 # include <assert.h>
11523 #endif
11525 #undef $ac_func
11527 /* Override any gcc2 internal prototype to avoid an error. */
11528 #ifdef __cplusplus
11529 extern "C"
11531 #endif
11532 /* We use char because int might match the return type of a gcc2
11533 builtin and then its argument prototype would still apply. */
11534 char $ac_func ();
11535 /* The GNU C library defines this for functions which it implements
11536 to always fail with ENOSYS. Some functions are actually named
11537 something starting with __ and the normal name is an alias. */
11538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11539 choke me
11540 #else
11541 char (*f) () = $ac_func;
11542 #endif
11543 #ifdef __cplusplus
11545 #endif
11548 main ()
11550 return f != $ac_func;
11552 return 0;
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11557 (eval $ac_link) 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_c_werror_flag"
11565 || test ! -s conftest.err'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11568 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest$ac_exeext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11574 ac_status=$?
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then
11577 eval "$as_ac_var=yes"
11578 else
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5
11582 eval "$as_ac_var=no"
11584 rm -f conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11589 if test `eval echo '${'$as_ac_var'}'` = yes; then
11590 cat >>confdefs.h <<_ACEOF
11591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 _ACEOF
11595 done
11605 echo "$as_me:$LINENO: checking for float trig functions" >&5
11606 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11607 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 else
11613 ac_ext=cc
11614 ac_cpp='$CXXCPP $CPPFLAGS'
11615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11619 cat >conftest.$ac_ext <<_ACEOF
11620 /* confdefs.h. */
11621 _ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11625 #include <math.h>
11627 main ()
11629 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11631 return 0;
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11636 (eval $ac_compile) 2>conftest.er1
11637 ac_status=$?
11638 grep -v '^ *+' conftest.er1 >conftest.err
11639 rm -f conftest.er1
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try='test -z "$ac_cxx_werror_flag"
11644 || test ! -s conftest.err'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; } &&
11650 { ac_try='test -s conftest.$ac_objext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11653 ac_status=$?
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11656 glibcxx_cv_func_float_trig_use=yes
11657 else
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11661 glibcxx_cv_func_float_trig_use=no
11663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11664 ac_ext=c
11665 ac_cpp='$CPP $CPPFLAGS'
11666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11672 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11673 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11674 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11684 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11687 echo "$as_me:$LINENO: checking for $ac_func" >&5
11688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11689 if eval "test \"\${$as_ac_var+set}\" = set"; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 else
11692 if test x$gcc_no_link = xyes; then
11693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11695 { (exit 1); exit 1; }; }
11697 cat >conftest.$ac_ext <<_ACEOF
11698 /* confdefs.h. */
11699 _ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11705 #define $ac_func innocuous_$ac_func
11707 /* System header to define __stub macros and hopefully few prototypes,
11708 which can conflict with char $ac_func (); below.
11709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11710 <limits.h> exists even on freestanding compilers. */
11712 #ifdef __STDC__
11713 # include <limits.h>
11714 #else
11715 # include <assert.h>
11716 #endif
11718 #undef $ac_func
11720 /* Override any gcc2 internal prototype to avoid an error. */
11721 #ifdef __cplusplus
11722 extern "C"
11724 #endif
11725 /* We use char because int might match the return type of a gcc2
11726 builtin and then its argument prototype would still apply. */
11727 char $ac_func ();
11728 /* The GNU C library defines this for functions which it implements
11729 to always fail with ENOSYS. Some functions are actually named
11730 something starting with __ and the normal name is an alias. */
11731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11732 choke me
11733 #else
11734 char (*f) () = $ac_func;
11735 #endif
11736 #ifdef __cplusplus
11738 #endif
11741 main ()
11743 return f != $ac_func;
11745 return 0;
11747 _ACEOF
11748 rm -f conftest.$ac_objext conftest$ac_exeext
11749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750 (eval $ac_link) 2>conftest.er1
11751 ac_status=$?
11752 grep -v '^ *+' conftest.er1 >conftest.err
11753 rm -f conftest.er1
11754 cat conftest.err >&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); } &&
11757 { ac_try='test -z "$ac_c_werror_flag"
11758 || test ! -s conftest.err'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11761 ac_status=$?
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; } &&
11764 { ac_try='test -s conftest$ac_exeext'
11765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766 (eval $ac_try) 2>&5
11767 ac_status=$?
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; }; then
11770 eval "$as_ac_var=yes"
11771 else
11772 echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.$ac_ext >&5
11775 eval "$as_ac_var=no"
11777 rm -f conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11782 if test `eval echo '${'$as_ac_var'}'` = yes; then
11783 cat >>confdefs.h <<_ACEOF
11784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11785 _ACEOF
11788 done
11790 else
11791 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11792 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11793 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11799 ac_ext=cc
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11805 cat >conftest.$ac_ext <<_ACEOF
11806 /* confdefs.h. */
11807 _ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 #include <math.h>
11813 main ()
11815 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11817 return 0;
11819 _ACEOF
11820 rm -f conftest.$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822 (eval $ac_compile) 2>conftest.er1
11823 ac_status=$?
11824 grep -v '^ *+' conftest.er1 >conftest.err
11825 rm -f conftest.er1
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -z "$ac_cxx_werror_flag"
11830 || test ! -s conftest.err'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; } &&
11836 { ac_try='test -s conftest.$ac_objext'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; }; then
11842 glibcxx_cv_func__float_trig_use=yes
11843 else
11844 echo "$as_me: failed program was:" >&5
11845 sed 's/^/| /' conftest.$ac_ext >&5
11847 glibcxx_cv_func__float_trig_use=no
11849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11850 ac_ext=c
11851 ac_cpp='$CPP $CPPFLAGS'
11852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11859 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11860 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11870 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11873 echo "$as_me:$LINENO: checking for $ac_func" >&5
11874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11875 if eval "test \"\${$as_ac_var+set}\" = set"; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else
11878 if test x$gcc_no_link = xyes; then
11879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11881 { (exit 1); exit 1; }; }
11883 cat >conftest.$ac_ext <<_ACEOF
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11891 #define $ac_func innocuous_$ac_func
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below.
11895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 <limits.h> exists even on freestanding compilers. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11904 #undef $ac_func
11906 /* Override any gcc2 internal prototype to avoid an error. */
11907 #ifdef __cplusplus
11908 extern "C"
11910 #endif
11911 /* We use char because int might match the return type of a gcc2
11912 builtin and then its argument prototype would still apply. */
11913 char $ac_func ();
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11918 choke me
11919 #else
11920 char (*f) () = $ac_func;
11921 #endif
11922 #ifdef __cplusplus
11924 #endif
11927 main ()
11929 return f != $ac_func;
11931 return 0;
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>conftest.er1
11937 ac_status=$?
11938 grep -v '^ *+' conftest.er1 >conftest.err
11939 rm -f conftest.er1
11940 cat conftest.err >&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try='test -z "$ac_c_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest$ac_exeext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 eval "$as_ac_var=yes"
11957 else
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 eval "$as_ac_var=no"
11963 rm -f conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969 cat >>confdefs.h <<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 _ACEOF
11974 done
11992 echo "$as_me:$LINENO: checking for float round functions" >&5
11993 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11994 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 else
12000 ac_ext=cc
12001 ac_cpp='$CXXCPP $CPPFLAGS'
12002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
12014 main ()
12016 ceilf (0); floorf (0);
12018 return 0;
12020 _ACEOF
12021 rm -f conftest.$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12024 ac_status=$?
12025 grep -v '^ *+' conftest.er1 >conftest.err
12026 rm -f conftest.er1
12027 cat conftest.err >&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try='test -z "$ac_cxx_werror_flag"
12031 || test ! -s conftest.err'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12034 ac_status=$?
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12040 ac_status=$?
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12043 glibcxx_cv_func_float_round_use=yes
12044 else
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.$ac_ext >&5
12048 glibcxx_cv_func_float_round_use=no
12050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12051 ac_ext=c
12052 ac_cpp='$CPP $CPPFLAGS'
12053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12060 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12061 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12064 for ac_func in ceilf floorf
12066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12067 echo "$as_me:$LINENO: checking for $ac_func" >&5
12068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12069 if eval "test \"\${$as_ac_var+set}\" = set"; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 else
12072 if test x$gcc_no_link = xyes; then
12073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12075 { (exit 1); exit 1; }; }
12077 cat >conftest.$ac_ext <<_ACEOF
12078 /* confdefs.h. */
12079 _ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12085 #define $ac_func innocuous_$ac_func
12087 /* System header to define __stub macros and hopefully few prototypes,
12088 which can conflict with char $ac_func (); below.
12089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12090 <limits.h> exists even on freestanding compilers. */
12092 #ifdef __STDC__
12093 # include <limits.h>
12094 #else
12095 # include <assert.h>
12096 #endif
12098 #undef $ac_func
12100 /* Override any gcc2 internal prototype to avoid an error. */
12101 #ifdef __cplusplus
12102 extern "C"
12104 #endif
12105 /* We use char because int might match the return type of a gcc2
12106 builtin and then its argument prototype would still apply. */
12107 char $ac_func ();
12108 /* The GNU C library defines this for functions which it implements
12109 to always fail with ENOSYS. Some functions are actually named
12110 something starting with __ and the normal name is an alias. */
12111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12112 choke me
12113 #else
12114 char (*f) () = $ac_func;
12115 #endif
12116 #ifdef __cplusplus
12118 #endif
12121 main ()
12123 return f != $ac_func;
12125 return 0;
12127 _ACEOF
12128 rm -f conftest.$ac_objext conftest$ac_exeext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12130 (eval $ac_link) 2>conftest.er1
12131 ac_status=$?
12132 grep -v '^ *+' conftest.er1 >conftest.err
12133 rm -f conftest.er1
12134 cat conftest.err >&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try='test -z "$ac_c_werror_flag"
12138 || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12141 ac_status=$?
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try='test -s conftest$ac_exeext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12147 ac_status=$?
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 eval "$as_ac_var=yes"
12151 else
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.$ac_ext >&5
12155 eval "$as_ac_var=no"
12157 rm -f conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12162 if test `eval echo '${'$as_ac_var'}'` = yes; then
12163 cat >>confdefs.h <<_ACEOF
12164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12165 _ACEOF
12168 done
12170 else
12171 echo "$as_me:$LINENO: checking for _float round functions" >&5
12172 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12173 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12174 echo $ECHO_N "(cached) $ECHO_C" >&6
12175 else
12179 ac_ext=cc
12180 ac_cpp='$CXXCPP $CPPFLAGS'
12181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
12193 main ()
12195 _ceilf (0); _floorf (0);
12197 return 0;
12199 _ACEOF
12200 rm -f conftest.$ac_objext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12202 (eval $ac_compile) 2>conftest.er1
12203 ac_status=$?
12204 grep -v '^ *+' conftest.er1 >conftest.err
12205 rm -f conftest.er1
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } &&
12209 { ac_try='test -z "$ac_cxx_werror_flag"
12210 || test ! -s conftest.err'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12213 ac_status=$?
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; } &&
12216 { ac_try='test -s conftest.$ac_objext'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12219 ac_status=$?
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; }; then
12222 glibcxx_cv_func__float_round_use=yes
12223 else
12224 echo "$as_me: failed program was:" >&5
12225 sed 's/^/| /' conftest.$ac_ext >&5
12227 glibcxx_cv_func__float_round_use=no
12229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12230 ac_ext=c
12231 ac_cpp='$CPP $CPPFLAGS'
12232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12239 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12240 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12243 for ac_func in _ceilf _floorf
12245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12246 echo "$as_me:$LINENO: checking for $ac_func" >&5
12247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12248 if eval "test \"\${$as_ac_var+set}\" = set"; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 else
12251 if test x$gcc_no_link = xyes; then
12252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12254 { (exit 1); exit 1; }; }
12256 cat >conftest.$ac_ext <<_ACEOF
12257 /* confdefs.h. */
12258 _ACEOF
12259 cat confdefs.h >>conftest.$ac_ext
12260 cat >>conftest.$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12264 #define $ac_func innocuous_$ac_func
12266 /* System header to define __stub macros and hopefully few prototypes,
12267 which can conflict with char $ac_func (); below.
12268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12269 <limits.h> exists even on freestanding compilers. */
12271 #ifdef __STDC__
12272 # include <limits.h>
12273 #else
12274 # include <assert.h>
12275 #endif
12277 #undef $ac_func
12279 /* Override any gcc2 internal prototype to avoid an error. */
12280 #ifdef __cplusplus
12281 extern "C"
12283 #endif
12284 /* We use char because int might match the return type of a gcc2
12285 builtin and then its argument prototype would still apply. */
12286 char $ac_func ();
12287 /* The GNU C library defines this for functions which it implements
12288 to always fail with ENOSYS. Some functions are actually named
12289 something starting with __ and the normal name is an alias. */
12290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12291 choke me
12292 #else
12293 char (*f) () = $ac_func;
12294 #endif
12295 #ifdef __cplusplus
12297 #endif
12300 main ()
12302 return f != $ac_func;
12304 return 0;
12306 _ACEOF
12307 rm -f conftest.$ac_objext conftest$ac_exeext
12308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12309 (eval $ac_link) 2>conftest.er1
12310 ac_status=$?
12311 grep -v '^ *+' conftest.er1 >conftest.err
12312 rm -f conftest.er1
12313 cat conftest.err >&5
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); } &&
12316 { ac_try='test -z "$ac_c_werror_flag"
12317 || test ! -s conftest.err'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12320 ac_status=$?
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try='test -s conftest$ac_exeext'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12326 ac_status=$?
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; }; then
12329 eval "$as_ac_var=yes"
12330 else
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12334 eval "$as_ac_var=no"
12336 rm -f conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12341 if test `eval echo '${'$as_ac_var'}'` = yes; then
12342 cat >>confdefs.h <<_ACEOF
12343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12344 _ACEOF
12347 done
12359 echo "$as_me:$LINENO: checking for expf declaration" >&5
12360 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12361 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12362 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 else
12368 ac_ext=cc
12369 ac_cpp='$CXXCPP $CPPFLAGS'
12370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12374 cat >conftest.$ac_ext <<_ACEOF
12375 /* confdefs.h. */
12376 _ACEOF
12377 cat confdefs.h >>conftest.$ac_ext
12378 cat >>conftest.$ac_ext <<_ACEOF
12379 /* end confdefs.h. */
12380 #include <math.h>
12381 #ifdef HAVE_IEEEFP_H
12382 #include <ieeefp.h>
12383 #endif
12386 main ()
12388 expf(0);
12390 return 0;
12392 _ACEOF
12393 rm -f conftest.$ac_objext
12394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12395 (eval $ac_compile) 2>conftest.er1
12396 ac_status=$?
12397 grep -v '^ *+' conftest.er1 >conftest.err
12398 rm -f conftest.er1
12399 cat conftest.err >&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); } &&
12402 { ac_try='test -z "$ac_cxx_werror_flag"
12403 || test ! -s conftest.err'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; } &&
12409 { ac_try='test -s conftest.$ac_objext'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12412 ac_status=$?
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; }; then
12415 glibcxx_cv_func_expf_use=yes
12416 else
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12420 glibcxx_cv_func_expf_use=no
12422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12423 ac_ext=c
12424 ac_cpp='$CPP $CPPFLAGS'
12425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12434 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12436 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12438 for ac_func in expf
12440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12441 echo "$as_me:$LINENO: checking for $ac_func" >&5
12442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12443 if eval "test \"\${$as_ac_var+set}\" = set"; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446 if test x$gcc_no_link = xyes; then
12447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12449 { (exit 1); exit 1; }; }
12451 cat >conftest.$ac_ext <<_ACEOF
12452 /* confdefs.h. */
12453 _ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12459 #define $ac_func innocuous_$ac_func
12461 /* System header to define __stub macros and hopefully few prototypes,
12462 which can conflict with char $ac_func (); below.
12463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12464 <limits.h> exists even on freestanding compilers. */
12466 #ifdef __STDC__
12467 # include <limits.h>
12468 #else
12469 # include <assert.h>
12470 #endif
12472 #undef $ac_func
12474 /* Override any gcc2 internal prototype to avoid an error. */
12475 #ifdef __cplusplus
12476 extern "C"
12478 #endif
12479 /* We use char because int might match the return type of a gcc2
12480 builtin and then its argument prototype would still apply. */
12481 char $ac_func ();
12482 /* The GNU C library defines this for functions which it implements
12483 to always fail with ENOSYS. Some functions are actually named
12484 something starting with __ and the normal name is an alias. */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12486 choke me
12487 #else
12488 char (*f) () = $ac_func;
12489 #endif
12490 #ifdef __cplusplus
12492 #endif
12495 main ()
12497 return f != $ac_func;
12499 return 0;
12501 _ACEOF
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12504 (eval $ac_link) 2>conftest.er1
12505 ac_status=$?
12506 grep -v '^ *+' conftest.er1 >conftest.err
12507 rm -f conftest.er1
12508 cat conftest.err >&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } &&
12511 { ac_try='test -z "$ac_c_werror_flag"
12512 || test ! -s conftest.err'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; } &&
12518 { ac_try='test -s conftest$ac_exeext'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12521 ac_status=$?
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12524 eval "$as_ac_var=yes"
12525 else
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.$ac_ext >&5
12529 eval "$as_ac_var=no"
12531 rm -f conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12536 if test `eval echo '${'$as_ac_var'}'` = yes; then
12537 cat >>confdefs.h <<_ACEOF
12538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12539 _ACEOF
12542 done
12544 else
12546 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12547 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12548 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12549 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 else
12555 ac_ext=cc
12556 ac_cpp='$CXXCPP $CPPFLAGS'
12557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12561 cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h. */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 #include <math.h>
12568 #ifdef HAVE_IEEEFP_H
12569 #include <ieeefp.h>
12570 #endif
12573 main ()
12575 _expf(0);
12577 return 0;
12579 _ACEOF
12580 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>conftest.er1
12583 ac_status=$?
12584 grep -v '^ *+' conftest.er1 >conftest.err
12585 rm -f conftest.er1
12586 cat conftest.err >&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); } &&
12589 { ac_try='test -z "$ac_cxx_werror_flag"
12590 || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 glibcxx_cv_func__expf_use=yes
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 glibcxx_cv_func__expf_use=no
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12610 ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12621 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12623 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12625 for ac_func in _expf
12627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12628 echo "$as_me:$LINENO: checking for $ac_func" >&5
12629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12630 if eval "test \"\${$as_ac_var+set}\" = set"; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 if test x$gcc_no_link = xyes; then
12634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12636 { (exit 1); exit 1; }; }
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12646 #define $ac_func innocuous_$ac_func
12648 /* System header to define __stub macros and hopefully few prototypes,
12649 which can conflict with char $ac_func (); below.
12650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12651 <limits.h> exists even on freestanding compilers. */
12653 #ifdef __STDC__
12654 # include <limits.h>
12655 #else
12656 # include <assert.h>
12657 #endif
12659 #undef $ac_func
12661 /* Override any gcc2 internal prototype to avoid an error. */
12662 #ifdef __cplusplus
12663 extern "C"
12665 #endif
12666 /* We use char because int might match the return type of a gcc2
12667 builtin and then its argument prototype would still apply. */
12668 char $ac_func ();
12669 /* The GNU C library defines this for functions which it implements
12670 to always fail with ENOSYS. Some functions are actually named
12671 something starting with __ and the normal name is an alias. */
12672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 choke me
12674 #else
12675 char (*f) () = $ac_func;
12676 #endif
12677 #ifdef __cplusplus
12679 #endif
12682 main ()
12684 return f != $ac_func;
12686 return 0;
12688 _ACEOF
12689 rm -f conftest.$ac_objext conftest$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691 (eval $ac_link) 2>conftest.er1
12692 ac_status=$?
12693 grep -v '^ *+' conftest.er1 >conftest.err
12694 rm -f conftest.er1
12695 cat conftest.err >&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try='test -z "$ac_c_werror_flag"
12699 || test ! -s conftest.err'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12702 ac_status=$?
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; } &&
12705 { ac_try='test -s conftest$ac_exeext'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12708 ac_status=$?
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 eval "$as_ac_var=yes"
12712 else
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12716 eval "$as_ac_var=no"
12718 rm -f conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12723 if test `eval echo '${'$as_ac_var'}'` = yes; then
12724 cat >>confdefs.h <<_ACEOF
12725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12726 _ACEOF
12729 done
12739 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12740 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12741 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12742 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12748 ac_ext=cc
12749 ac_cpp='$CXXCPP $CPPFLAGS'
12750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12754 cat >conftest.$ac_ext <<_ACEOF
12755 /* confdefs.h. */
12756 _ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 #include <math.h>
12761 #ifdef HAVE_IEEEFP_H
12762 #include <ieeefp.h>
12763 #endif
12766 main ()
12768 isnanf(0);
12770 return 0;
12772 _ACEOF
12773 rm -f conftest.$ac_objext
12774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12775 (eval $ac_compile) 2>conftest.er1
12776 ac_status=$?
12777 grep -v '^ *+' conftest.er1 >conftest.err
12778 rm -f conftest.er1
12779 cat conftest.err >&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } &&
12782 { ac_try='test -z "$ac_cxx_werror_flag"
12783 || test ! -s conftest.err'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12786 ac_status=$?
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; } &&
12789 { ac_try='test -s conftest.$ac_objext'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12792 ac_status=$?
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; }; then
12795 glibcxx_cv_func_isnanf_use=yes
12796 else
12797 echo "$as_me: failed program was:" >&5
12798 sed 's/^/| /' conftest.$ac_ext >&5
12800 glibcxx_cv_func_isnanf_use=no
12802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12803 ac_ext=c
12804 ac_cpp='$CPP $CPPFLAGS'
12805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12814 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12816 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12818 for ac_func in isnanf
12820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12821 echo "$as_me:$LINENO: checking for $ac_func" >&5
12822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12823 if eval "test \"\${$as_ac_var+set}\" = set"; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 else
12826 if test x$gcc_no_link = xyes; then
12827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12829 { (exit 1); exit 1; }; }
12831 cat >conftest.$ac_ext <<_ACEOF
12832 /* confdefs.h. */
12833 _ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12839 #define $ac_func innocuous_$ac_func
12841 /* System header to define __stub macros and hopefully few prototypes,
12842 which can conflict with char $ac_func (); below.
12843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12844 <limits.h> exists even on freestanding compilers. */
12846 #ifdef __STDC__
12847 # include <limits.h>
12848 #else
12849 # include <assert.h>
12850 #endif
12852 #undef $ac_func
12854 /* Override any gcc2 internal prototype to avoid an error. */
12855 #ifdef __cplusplus
12856 extern "C"
12858 #endif
12859 /* We use char because int might match the return type of a gcc2
12860 builtin and then its argument prototype would still apply. */
12861 char $ac_func ();
12862 /* The GNU C library defines this for functions which it implements
12863 to always fail with ENOSYS. Some functions are actually named
12864 something starting with __ and the normal name is an alias. */
12865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12866 choke me
12867 #else
12868 char (*f) () = $ac_func;
12869 #endif
12870 #ifdef __cplusplus
12872 #endif
12875 main ()
12877 return f != $ac_func;
12879 return 0;
12881 _ACEOF
12882 rm -f conftest.$ac_objext conftest$ac_exeext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12884 (eval $ac_link) 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try='test -z "$ac_c_werror_flag"
12892 || test ! -s conftest.err'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; } &&
12898 { ac_try='test -s conftest$ac_exeext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 eval "$as_ac_var=yes"
12905 else
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 eval "$as_ac_var=no"
12911 rm -f conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12916 if test `eval echo '${'$as_ac_var'}'` = yes; then
12917 cat >>confdefs.h <<_ACEOF
12918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12919 _ACEOF
12922 done
12924 else
12926 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12927 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12928 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12929 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 else
12935 ac_ext=cc
12936 ac_cpp='$CXXCPP $CPPFLAGS'
12937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12941 cat >conftest.$ac_ext <<_ACEOF
12942 /* confdefs.h. */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 #include <math.h>
12948 #ifdef HAVE_IEEEFP_H
12949 #include <ieeefp.h>
12950 #endif
12953 main ()
12955 _isnanf(0);
12957 return 0;
12959 _ACEOF
12960 rm -f conftest.$ac_objext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>conftest.er1
12963 ac_status=$?
12964 grep -v '^ *+' conftest.er1 >conftest.err
12965 rm -f conftest.er1
12966 cat conftest.err >&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try='test -z "$ac_cxx_werror_flag"
12970 || test ! -s conftest.err'
12971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972 (eval $ac_try) 2>&5
12973 ac_status=$?
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); }; } &&
12976 { ac_try='test -s conftest.$ac_objext'
12977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978 (eval $ac_try) 2>&5
12979 ac_status=$?
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); }; }; then
12982 glibcxx_cv_func__isnanf_use=yes
12983 else
12984 echo "$as_me: failed program was:" >&5
12985 sed 's/^/| /' conftest.$ac_ext >&5
12987 glibcxx_cv_func__isnanf_use=no
12989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12990 ac_ext=c
12991 ac_cpp='$CPP $CPPFLAGS'
12992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13001 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13003 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13005 for ac_func in _isnanf
13007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13008 echo "$as_me:$LINENO: checking for $ac_func" >&5
13009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_var+set}\" = set"; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 else
13013 if test x$gcc_no_link = xyes; then
13014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13016 { (exit 1); exit 1; }; }
13018 cat >conftest.$ac_ext <<_ACEOF
13019 /* confdefs.h. */
13020 _ACEOF
13021 cat confdefs.h >>conftest.$ac_ext
13022 cat >>conftest.$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13026 #define $ac_func innocuous_$ac_func
13028 /* System header to define __stub macros and hopefully few prototypes,
13029 which can conflict with char $ac_func (); below.
13030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 <limits.h> exists even on freestanding compilers. */
13033 #ifdef __STDC__
13034 # include <limits.h>
13035 #else
13036 # include <assert.h>
13037 #endif
13039 #undef $ac_func
13041 /* Override any gcc2 internal prototype to avoid an error. */
13042 #ifdef __cplusplus
13043 extern "C"
13045 #endif
13046 /* We use char because int might match the return type of a gcc2
13047 builtin and then its argument prototype would still apply. */
13048 char $ac_func ();
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13053 choke me
13054 #else
13055 char (*f) () = $ac_func;
13056 #endif
13057 #ifdef __cplusplus
13059 #endif
13062 main ()
13064 return f != $ac_func;
13066 return 0;
13068 _ACEOF
13069 rm -f conftest.$ac_objext conftest$ac_exeext
13070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13071 (eval $ac_link) 2>conftest.er1
13072 ac_status=$?
13073 grep -v '^ *+' conftest.er1 >conftest.err
13074 rm -f conftest.er1
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try='test -z "$ac_c_werror_flag"
13079 || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest$ac_exeext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 eval "$as_ac_var=yes"
13092 else
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13096 eval "$as_ac_var=no"
13098 rm -f conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext conftest.$ac_ext
13101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13103 if test `eval echo '${'$as_ac_var'}'` = yes; then
13104 cat >>confdefs.h <<_ACEOF
13105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13106 _ACEOF
13109 done
13119 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13120 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13121 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13122 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13128 ac_ext=cc
13129 ac_cpp='$CXXCPP $CPPFLAGS'
13130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13134 cat >conftest.$ac_ext <<_ACEOF
13135 /* confdefs.h. */
13136 _ACEOF
13137 cat confdefs.h >>conftest.$ac_ext
13138 cat >>conftest.$ac_ext <<_ACEOF
13139 /* end confdefs.h. */
13140 #include <math.h>
13141 #ifdef HAVE_IEEEFP_H
13142 #include <ieeefp.h>
13143 #endif
13146 main ()
13148 isinff(0);
13150 return 0;
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13156 ac_status=$?
13157 grep -v '^ *+' conftest.er1 >conftest.err
13158 rm -f conftest.er1
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_cxx_werror_flag"
13163 || test ! -s conftest.err'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try='test -s conftest.$ac_objext'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 glibcxx_cv_func_isinff_use=yes
13176 else
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13180 glibcxx_cv_func_isinff_use=no
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13194 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13196 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13198 for ac_func in isinff
13200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13201 echo "$as_me:$LINENO: checking for $ac_func" >&5
13202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13203 if eval "test \"\${$as_ac_var+set}\" = set"; then
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
13205 else
13206 if test x$gcc_no_link = xyes; then
13207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13209 { (exit 1); exit 1; }; }
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13219 #define $ac_func innocuous_$ac_func
13221 /* System header to define __stub macros and hopefully few prototypes,
13222 which can conflict with char $ac_func (); below.
13223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13224 <limits.h> exists even on freestanding compilers. */
13226 #ifdef __STDC__
13227 # include <limits.h>
13228 #else
13229 # include <assert.h>
13230 #endif
13232 #undef $ac_func
13234 /* Override any gcc2 internal prototype to avoid an error. */
13235 #ifdef __cplusplus
13236 extern "C"
13238 #endif
13239 /* We use char because int might match the return type of a gcc2
13240 builtin and then its argument prototype would still apply. */
13241 char $ac_func ();
13242 /* The GNU C library defines this for functions which it implements
13243 to always fail with ENOSYS. Some functions are actually named
13244 something starting with __ and the normal name is an alias. */
13245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13246 choke me
13247 #else
13248 char (*f) () = $ac_func;
13249 #endif
13250 #ifdef __cplusplus
13252 #endif
13255 main ()
13257 return f != $ac_func;
13259 return 0;
13261 _ACEOF
13262 rm -f conftest.$ac_objext conftest$ac_exeext
13263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13264 (eval $ac_link) 2>conftest.er1
13265 ac_status=$?
13266 grep -v '^ *+' conftest.er1 >conftest.err
13267 rm -f conftest.er1
13268 cat conftest.err >&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try='test -z "$ac_c_werror_flag"
13272 || test ! -s conftest.err'
13273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 (eval $ac_try) 2>&5
13275 ac_status=$?
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; } &&
13278 { ac_try='test -s conftest$ac_exeext'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13281 ac_status=$?
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; }; then
13284 eval "$as_ac_var=yes"
13285 else
13286 echo "$as_me: failed program was:" >&5
13287 sed 's/^/| /' conftest.$ac_ext >&5
13289 eval "$as_ac_var=no"
13291 rm -f conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13296 if test `eval echo '${'$as_ac_var'}'` = yes; then
13297 cat >>confdefs.h <<_ACEOF
13298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13299 _ACEOF
13302 done
13304 else
13306 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13307 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13308 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13309 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13315 ac_ext=cc
13316 ac_cpp='$CXXCPP $CPPFLAGS'
13317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 #include <math.h>
13328 #ifdef HAVE_IEEEFP_H
13329 #include <ieeefp.h>
13330 #endif
13333 main ()
13335 _isinff(0);
13337 return 0;
13339 _ACEOF
13340 rm -f conftest.$ac_objext
13341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342 (eval $ac_compile) 2>conftest.er1
13343 ac_status=$?
13344 grep -v '^ *+' conftest.er1 >conftest.err
13345 rm -f conftest.er1
13346 cat conftest.err >&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); } &&
13349 { ac_try='test -z "$ac_cxx_werror_flag"
13350 || test ! -s conftest.err'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13353 ac_status=$?
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; } &&
13356 { ac_try='test -s conftest.$ac_objext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 glibcxx_cv_func__isinff_use=yes
13363 else
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13367 glibcxx_cv_func__isinff_use=no
13369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370 ac_ext=c
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13381 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13383 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13385 for ac_func in _isinff
13387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13388 echo "$as_me:$LINENO: checking for $ac_func" >&5
13389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13390 if eval "test \"\${$as_ac_var+set}\" = set"; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 else
13393 if test x$gcc_no_link = xyes; then
13394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13396 { (exit 1); exit 1; }; }
13398 cat >conftest.$ac_ext <<_ACEOF
13399 /* confdefs.h. */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13406 #define $ac_func innocuous_$ac_func
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char $ac_func (); below.
13410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13411 <limits.h> exists even on freestanding compilers. */
13413 #ifdef __STDC__
13414 # include <limits.h>
13415 #else
13416 # include <assert.h>
13417 #endif
13419 #undef $ac_func
13421 /* Override any gcc2 internal prototype to avoid an error. */
13422 #ifdef __cplusplus
13423 extern "C"
13425 #endif
13426 /* We use char because int might match the return type of a gcc2
13427 builtin and then its argument prototype would still apply. */
13428 char $ac_func ();
13429 /* The GNU C library defines this for functions which it implements
13430 to always fail with ENOSYS. Some functions are actually named
13431 something starting with __ and the normal name is an alias. */
13432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13433 choke me
13434 #else
13435 char (*f) () = $ac_func;
13436 #endif
13437 #ifdef __cplusplus
13439 #endif
13442 main ()
13444 return f != $ac_func;
13446 return 0;
13448 _ACEOF
13449 rm -f conftest.$ac_objext conftest$ac_exeext
13450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13451 (eval $ac_link) 2>conftest.er1
13452 ac_status=$?
13453 grep -v '^ *+' conftest.er1 >conftest.err
13454 rm -f conftest.er1
13455 cat conftest.err >&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } &&
13458 { ac_try='test -z "$ac_c_werror_flag"
13459 || test ! -s conftest.err'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try='test -s conftest$ac_exeext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 eval "$as_ac_var=yes"
13472 else
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 eval "$as_ac_var=no"
13478 rm -f conftest.err conftest.$ac_objext \
13479 conftest$ac_exeext conftest.$ac_ext
13481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13483 if test `eval echo '${'$as_ac_var'}'` = yes; then
13484 cat >>confdefs.h <<_ACEOF
13485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13486 _ACEOF
13489 done
13499 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13500 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13501 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13502 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13508 ac_ext=cc
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520 #include <math.h>
13522 main ()
13524 atan2f(0, 0);
13526 return 0;
13528 _ACEOF
13529 rm -f conftest.$ac_objext
13530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13531 (eval $ac_compile) 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } &&
13538 { ac_try='test -z "$ac_cxx_werror_flag"
13539 || test ! -s conftest.err'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13542 ac_status=$?
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; } &&
13545 { ac_try='test -s conftest.$ac_objext'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13548 ac_status=$?
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; }; then
13551 glibcxx_cv_func_atan2f_use=yes
13552 else
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13556 glibcxx_cv_func_atan2f_use=no
13558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13559 ac_ext=c
13560 ac_cpp='$CPP $CPPFLAGS'
13561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13570 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13572 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13574 for ac_func in atan2f
13576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13577 echo "$as_me:$LINENO: checking for $ac_func" >&5
13578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13579 if eval "test \"\${$as_ac_var+set}\" = set"; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 else
13582 if test x$gcc_no_link = xyes; then
13583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13585 { (exit 1); exit 1; }; }
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h. */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13595 #define $ac_func innocuous_$ac_func
13597 /* System header to define __stub macros and hopefully few prototypes,
13598 which can conflict with char $ac_func (); below.
13599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13600 <limits.h> exists even on freestanding compilers. */
13602 #ifdef __STDC__
13603 # include <limits.h>
13604 #else
13605 # include <assert.h>
13606 #endif
13608 #undef $ac_func
13610 /* Override any gcc2 internal prototype to avoid an error. */
13611 #ifdef __cplusplus
13612 extern "C"
13614 #endif
13615 /* We use char because int might match the return type of a gcc2
13616 builtin and then its argument prototype would still apply. */
13617 char $ac_func ();
13618 /* The GNU C library defines this for functions which it implements
13619 to always fail with ENOSYS. Some functions are actually named
13620 something starting with __ and the normal name is an alias. */
13621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13622 choke me
13623 #else
13624 char (*f) () = $ac_func;
13625 #endif
13626 #ifdef __cplusplus
13628 #endif
13631 main ()
13633 return f != $ac_func;
13635 return 0;
13637 _ACEOF
13638 rm -f conftest.$ac_objext conftest$ac_exeext
13639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13640 (eval $ac_link) 2>conftest.er1
13641 ac_status=$?
13642 grep -v '^ *+' conftest.er1 >conftest.err
13643 rm -f conftest.er1
13644 cat conftest.err >&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); } &&
13647 { ac_try='test -z "$ac_c_werror_flag"
13648 || test ! -s conftest.err'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; } &&
13654 { ac_try='test -s conftest$ac_exeext'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13657 ac_status=$?
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; }; then
13660 eval "$as_ac_var=yes"
13661 else
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.$ac_ext >&5
13665 eval "$as_ac_var=no"
13667 rm -f conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext conftest.$ac_ext
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13672 if test `eval echo '${'$as_ac_var'}'` = yes; then
13673 cat >>confdefs.h <<_ACEOF
13674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13675 _ACEOF
13678 done
13680 else
13682 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13683 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13684 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13685 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13691 ac_ext=cc
13692 ac_cpp='$CXXCPP $CPPFLAGS'
13693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13697 cat >conftest.$ac_ext <<_ACEOF
13698 /* confdefs.h. */
13699 _ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13703 #include <math.h>
13705 main ()
13707 _atan2f(0, 0);
13709 return 0;
13711 _ACEOF
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>conftest.er1
13715 ac_status=$?
13716 grep -v '^ *+' conftest.er1 >conftest.err
13717 rm -f conftest.er1
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try='test -z "$ac_cxx_werror_flag"
13722 || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try='test -s conftest.$ac_objext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13731 ac_status=$?
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 glibcxx_cv_func__atan2f_use=yes
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 glibcxx_cv_func__atan2f_use=no
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13742 ac_ext=c
13743 ac_cpp='$CPP $CPPFLAGS'
13744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13753 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13755 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13757 for ac_func in _atan2f
13759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13760 echo "$as_me:$LINENO: checking for $ac_func" >&5
13761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13762 if eval "test \"\${$as_ac_var+set}\" = set"; then
13763 echo $ECHO_N "(cached) $ECHO_C" >&6
13764 else
13765 if test x$gcc_no_link = xyes; then
13766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13768 { (exit 1); exit 1; }; }
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h. */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13778 #define $ac_func innocuous_$ac_func
13780 /* System header to define __stub macros and hopefully few prototypes,
13781 which can conflict with char $ac_func (); below.
13782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13783 <limits.h> exists even on freestanding compilers. */
13785 #ifdef __STDC__
13786 # include <limits.h>
13787 #else
13788 # include <assert.h>
13789 #endif
13791 #undef $ac_func
13793 /* Override any gcc2 internal prototype to avoid an error. */
13794 #ifdef __cplusplus
13795 extern "C"
13797 #endif
13798 /* We use char because int might match the return type of a gcc2
13799 builtin and then its argument prototype would still apply. */
13800 char $ac_func ();
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13805 choke me
13806 #else
13807 char (*f) () = $ac_func;
13808 #endif
13809 #ifdef __cplusplus
13811 #endif
13814 main ()
13816 return f != $ac_func;
13818 return 0;
13820 _ACEOF
13821 rm -f conftest.$ac_objext conftest$ac_exeext
13822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13823 (eval $ac_link) 2>conftest.er1
13824 ac_status=$?
13825 grep -v '^ *+' conftest.er1 >conftest.err
13826 rm -f conftest.er1
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } &&
13830 { ac_try='test -z "$ac_c_werror_flag"
13831 || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try='test -s conftest$ac_exeext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 eval "$as_ac_var=yes"
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13848 eval "$as_ac_var=no"
13850 rm -f conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13855 if test `eval echo '${'$as_ac_var'}'` = yes; then
13856 cat >>confdefs.h <<_ACEOF
13857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13858 _ACEOF
13861 done
13871 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13872 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13873 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13874 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13880 ac_ext=cc
13881 ac_cpp='$CXXCPP $CPPFLAGS'
13882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13886 cat >conftest.$ac_ext <<_ACEOF
13887 /* confdefs.h. */
13888 _ACEOF
13889 cat confdefs.h >>conftest.$ac_ext
13890 cat >>conftest.$ac_ext <<_ACEOF
13891 /* end confdefs.h. */
13892 #include <math.h>
13893 #ifdef HAVE_IEEEFP_H
13894 #include <ieeefp.h>
13895 #endif
13898 main ()
13900 fabsf(0);
13902 return 0;
13904 _ACEOF
13905 rm -f conftest.$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907 (eval $ac_compile) 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -z "$ac_cxx_werror_flag"
13915 || test ! -s conftest.err'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest.$ac_objext'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13924 ac_status=$?
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13927 glibcxx_cv_func_fabsf_use=yes
13928 else
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 glibcxx_cv_func_fabsf_use=no
13934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13935 ac_ext=c
13936 ac_cpp='$CPP $CPPFLAGS'
13937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13946 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13948 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13950 for ac_func in fabsf
13952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13953 echo "$as_me:$LINENO: checking for $ac_func" >&5
13954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13955 if eval "test \"\${$as_ac_var+set}\" = set"; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 else
13958 if test x$gcc_no_link = xyes; then
13959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13961 { (exit 1); exit 1; }; }
13963 cat >conftest.$ac_ext <<_ACEOF
13964 /* confdefs.h. */
13965 _ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13971 #define $ac_func innocuous_$ac_func
13973 /* System header to define __stub macros and hopefully few prototypes,
13974 which can conflict with char $ac_func (); below.
13975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13976 <limits.h> exists even on freestanding compilers. */
13978 #ifdef __STDC__
13979 # include <limits.h>
13980 #else
13981 # include <assert.h>
13982 #endif
13984 #undef $ac_func
13986 /* Override any gcc2 internal prototype to avoid an error. */
13987 #ifdef __cplusplus
13988 extern "C"
13990 #endif
13991 /* We use char because int might match the return type of a gcc2
13992 builtin and then its argument prototype would still apply. */
13993 char $ac_func ();
13994 /* The GNU C library defines this for functions which it implements
13995 to always fail with ENOSYS. Some functions are actually named
13996 something starting with __ and the normal name is an alias. */
13997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13998 choke me
13999 #else
14000 char (*f) () = $ac_func;
14001 #endif
14002 #ifdef __cplusplus
14004 #endif
14007 main ()
14009 return f != $ac_func;
14011 return 0;
14013 _ACEOF
14014 rm -f conftest.$ac_objext conftest$ac_exeext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14016 (eval $ac_link) 2>conftest.er1
14017 ac_status=$?
14018 grep -v '^ *+' conftest.er1 >conftest.err
14019 rm -f conftest.er1
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try='test -z "$ac_c_werror_flag"
14024 || test ! -s conftest.err'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest$ac_exeext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14033 ac_status=$?
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14036 eval "$as_ac_var=yes"
14037 else
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14041 eval "$as_ac_var=no"
14043 rm -f conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14048 if test `eval echo '${'$as_ac_var'}'` = yes; then
14049 cat >>confdefs.h <<_ACEOF
14050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14051 _ACEOF
14054 done
14056 else
14058 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14059 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14060 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14061 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14067 ac_ext=cc
14068 ac_cpp='$CXXCPP $CPPFLAGS'
14069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14073 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079 #include <math.h>
14080 #ifdef HAVE_IEEEFP_H
14081 #include <ieeefp.h>
14082 #endif
14085 main ()
14087 _fabsf(0);
14089 return 0;
14091 _ACEOF
14092 rm -f conftest.$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14095 ac_status=$?
14096 grep -v '^ *+' conftest.er1 >conftest.err
14097 rm -f conftest.er1
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -z "$ac_cxx_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14105 ac_status=$?
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try='test -s conftest.$ac_objext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14111 ac_status=$?
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 glibcxx_cv_func__fabsf_use=yes
14115 else
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 glibcxx_cv_func__fabsf_use=no
14121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14122 ac_ext=c
14123 ac_cpp='$CPP $CPPFLAGS'
14124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14133 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14135 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14137 for ac_func in _fabsf
14139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14140 echo "$as_me:$LINENO: checking for $ac_func" >&5
14141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14142 if eval "test \"\${$as_ac_var+set}\" = set"; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145 if test x$gcc_no_link = xyes; then
14146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14148 { (exit 1); exit 1; }; }
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14158 #define $ac_func innocuous_$ac_func
14160 /* System header to define __stub macros and hopefully few prototypes,
14161 which can conflict with char $ac_func (); below.
14162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14163 <limits.h> exists even on freestanding compilers. */
14165 #ifdef __STDC__
14166 # include <limits.h>
14167 #else
14168 # include <assert.h>
14169 #endif
14171 #undef $ac_func
14173 /* Override any gcc2 internal prototype to avoid an error. */
14174 #ifdef __cplusplus
14175 extern "C"
14177 #endif
14178 /* We use char because int might match the return type of a gcc2
14179 builtin and then its argument prototype would still apply. */
14180 char $ac_func ();
14181 /* The GNU C library defines this for functions which it implements
14182 to always fail with ENOSYS. Some functions are actually named
14183 something starting with __ and the normal name is an alias. */
14184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14185 choke me
14186 #else
14187 char (*f) () = $ac_func;
14188 #endif
14189 #ifdef __cplusplus
14191 #endif
14194 main ()
14196 return f != $ac_func;
14198 return 0;
14200 _ACEOF
14201 rm -f conftest.$ac_objext conftest$ac_exeext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14203 (eval $ac_link) 2>conftest.er1
14204 ac_status=$?
14205 grep -v '^ *+' conftest.er1 >conftest.err
14206 rm -f conftest.er1
14207 cat conftest.err >&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } &&
14210 { ac_try='test -z "$ac_c_werror_flag"
14211 || test ! -s conftest.err'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; } &&
14217 { ac_try='test -s conftest$ac_exeext'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14220 ac_status=$?
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14223 eval "$as_ac_var=yes"
14224 else
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.$ac_ext >&5
14228 eval "$as_ac_var=no"
14230 rm -f conftest.err conftest.$ac_objext \
14231 conftest$ac_exeext conftest.$ac_ext
14233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14235 if test `eval echo '${'$as_ac_var'}'` = yes; then
14236 cat >>confdefs.h <<_ACEOF
14237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14238 _ACEOF
14241 done
14251 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14252 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14253 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14254 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 else
14260 ac_ext=cc
14261 ac_cpp='$CXXCPP $CPPFLAGS'
14262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14266 cat >conftest.$ac_ext <<_ACEOF
14267 /* confdefs.h. */
14268 _ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 #include <math.h>
14274 main ()
14276 fmodf(0, 0);
14278 return 0;
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_cxx_werror_flag"
14291 || test ! -s conftest.err'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; } &&
14297 { ac_try='test -s conftest.$ac_objext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 glibcxx_cv_func_fmodf_use=yes
14304 else
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14308 glibcxx_cv_func_fmodf_use=no
14310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14311 ac_ext=c
14312 ac_cpp='$CPP $CPPFLAGS'
14313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14322 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14324 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14326 for ac_func in fmodf
14328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14329 echo "$as_me:$LINENO: checking for $ac_func" >&5
14330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14331 if eval "test \"\${$as_ac_var+set}\" = set"; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334 if test x$gcc_no_link = xyes; then
14335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14337 { (exit 1); exit 1; }; }
14339 cat >conftest.$ac_ext <<_ACEOF
14340 /* confdefs.h. */
14341 _ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14347 #define $ac_func innocuous_$ac_func
14349 /* System header to define __stub macros and hopefully few prototypes,
14350 which can conflict with char $ac_func (); below.
14351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14352 <limits.h> exists even on freestanding compilers. */
14354 #ifdef __STDC__
14355 # include <limits.h>
14356 #else
14357 # include <assert.h>
14358 #endif
14360 #undef $ac_func
14362 /* Override any gcc2 internal prototype to avoid an error. */
14363 #ifdef __cplusplus
14364 extern "C"
14366 #endif
14367 /* We use char because int might match the return type of a gcc2
14368 builtin and then its argument prototype would still apply. */
14369 char $ac_func ();
14370 /* The GNU C library defines this for functions which it implements
14371 to always fail with ENOSYS. Some functions are actually named
14372 something starting with __ and the normal name is an alias. */
14373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14374 choke me
14375 #else
14376 char (*f) () = $ac_func;
14377 #endif
14378 #ifdef __cplusplus
14380 #endif
14383 main ()
14385 return f != $ac_func;
14387 return 0;
14389 _ACEOF
14390 rm -f conftest.$ac_objext conftest$ac_exeext
14391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14392 (eval $ac_link) 2>conftest.er1
14393 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } &&
14399 { ac_try='test -z "$ac_c_werror_flag"
14400 || test ! -s conftest.err'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; } &&
14406 { ac_try='test -s conftest$ac_exeext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 eval "$as_ac_var=yes"
14413 else
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14417 eval "$as_ac_var=no"
14419 rm -f conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14424 if test `eval echo '${'$as_ac_var'}'` = yes; then
14425 cat >>confdefs.h <<_ACEOF
14426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14427 _ACEOF
14430 done
14432 else
14434 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14435 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14436 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14437 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 else
14443 ac_ext=cc
14444 ac_cpp='$CXXCPP $CPPFLAGS'
14445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14449 cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h. */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14455 #include <math.h>
14457 main ()
14459 _fmodf(0, 0);
14461 return 0;
14463 _ACEOF
14464 rm -f conftest.$ac_objext
14465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14466 (eval $ac_compile) 2>conftest.er1
14467 ac_status=$?
14468 grep -v '^ *+' conftest.er1 >conftest.err
14469 rm -f conftest.er1
14470 cat conftest.err >&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); } &&
14473 { ac_try='test -z "$ac_cxx_werror_flag"
14474 || test ! -s conftest.err'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; } &&
14480 { ac_try='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 glibcxx_cv_func__fmodf_use=yes
14487 else
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14491 glibcxx_cv_func__fmodf_use=no
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14505 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14507 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14509 for ac_func in _fmodf
14511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14512 echo "$as_me:$LINENO: checking for $ac_func" >&5
14513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14514 if eval "test \"\${$as_ac_var+set}\" = set"; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 if test x$gcc_no_link = xyes; then
14518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14520 { (exit 1); exit 1; }; }
14522 cat >conftest.$ac_ext <<_ACEOF
14523 /* confdefs.h. */
14524 _ACEOF
14525 cat confdefs.h >>conftest.$ac_ext
14526 cat >>conftest.$ac_ext <<_ACEOF
14527 /* end confdefs.h. */
14528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14530 #define $ac_func innocuous_$ac_func
14532 /* System header to define __stub macros and hopefully few prototypes,
14533 which can conflict with char $ac_func (); below.
14534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14535 <limits.h> exists even on freestanding compilers. */
14537 #ifdef __STDC__
14538 # include <limits.h>
14539 #else
14540 # include <assert.h>
14541 #endif
14543 #undef $ac_func
14545 /* Override any gcc2 internal prototype to avoid an error. */
14546 #ifdef __cplusplus
14547 extern "C"
14549 #endif
14550 /* We use char because int might match the return type of a gcc2
14551 builtin and then its argument prototype would still apply. */
14552 char $ac_func ();
14553 /* The GNU C library defines this for functions which it implements
14554 to always fail with ENOSYS. Some functions are actually named
14555 something starting with __ and the normal name is an alias. */
14556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14557 choke me
14558 #else
14559 char (*f) () = $ac_func;
14560 #endif
14561 #ifdef __cplusplus
14563 #endif
14566 main ()
14568 return f != $ac_func;
14570 return 0;
14572 _ACEOF
14573 rm -f conftest.$ac_objext conftest$ac_exeext
14574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14575 (eval $ac_link) 2>conftest.er1
14576 ac_status=$?
14577 grep -v '^ *+' conftest.er1 >conftest.err
14578 rm -f conftest.er1
14579 cat conftest.err >&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try='test -z "$ac_c_werror_flag"
14583 || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try='test -s conftest$ac_exeext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 eval "$as_ac_var=yes"
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 eval "$as_ac_var=no"
14602 rm -f conftest.err conftest.$ac_objext \
14603 conftest$ac_exeext conftest.$ac_ext
14605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14607 if test `eval echo '${'$as_ac_var'}'` = yes; then
14608 cat >>confdefs.h <<_ACEOF
14609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14610 _ACEOF
14613 done
14623 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14624 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14625 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14626 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 else
14632 ac_ext=cc
14633 ac_cpp='$CXXCPP $CPPFLAGS'
14634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #include <math.h>
14646 main ()
14648 frexpf(0, 0);
14650 return 0;
14652 _ACEOF
14653 rm -f conftest.$ac_objext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>conftest.er1
14656 ac_status=$?
14657 grep -v '^ *+' conftest.er1 >conftest.err
14658 rm -f conftest.er1
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try='test -z "$ac_cxx_werror_flag"
14663 || test ! -s conftest.err'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14666 ac_status=$?
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; } &&
14669 { ac_try='test -s conftest.$ac_objext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14672 ac_status=$?
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 glibcxx_cv_func_frexpf_use=yes
14676 else
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5
14680 glibcxx_cv_func_frexpf_use=no
14682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14683 ac_ext=c
14684 ac_cpp='$CPP $CPPFLAGS'
14685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14694 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14696 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14698 for ac_func in frexpf
14700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14701 echo "$as_me:$LINENO: checking for $ac_func" >&5
14702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14703 if eval "test \"\${$as_ac_var+set}\" = set"; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 else
14706 if test x$gcc_no_link = xyes; then
14707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14709 { (exit 1); exit 1; }; }
14711 cat >conftest.$ac_ext <<_ACEOF
14712 /* confdefs.h. */
14713 _ACEOF
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14719 #define $ac_func innocuous_$ac_func
14721 /* System header to define __stub macros and hopefully few prototypes,
14722 which can conflict with char $ac_func (); below.
14723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14724 <limits.h> exists even on freestanding compilers. */
14726 #ifdef __STDC__
14727 # include <limits.h>
14728 #else
14729 # include <assert.h>
14730 #endif
14732 #undef $ac_func
14734 /* Override any gcc2 internal prototype to avoid an error. */
14735 #ifdef __cplusplus
14736 extern "C"
14738 #endif
14739 /* We use char because int might match the return type of a gcc2
14740 builtin and then its argument prototype would still apply. */
14741 char $ac_func ();
14742 /* The GNU C library defines this for functions which it implements
14743 to always fail with ENOSYS. Some functions are actually named
14744 something starting with __ and the normal name is an alias. */
14745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14746 choke me
14747 #else
14748 char (*f) () = $ac_func;
14749 #endif
14750 #ifdef __cplusplus
14752 #endif
14755 main ()
14757 return f != $ac_func;
14759 return 0;
14761 _ACEOF
14762 rm -f conftest.$ac_objext conftest$ac_exeext
14763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14764 (eval $ac_link) 2>conftest.er1
14765 ac_status=$?
14766 grep -v '^ *+' conftest.er1 >conftest.err
14767 rm -f conftest.er1
14768 cat conftest.err >&5
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } &&
14771 { ac_try='test -z "$ac_c_werror_flag"
14772 || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try='test -s conftest$ac_exeext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14781 ac_status=$?
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14784 eval "$as_ac_var=yes"
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14789 eval "$as_ac_var=no"
14791 rm -f conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14796 if test `eval echo '${'$as_ac_var'}'` = yes; then
14797 cat >>confdefs.h <<_ACEOF
14798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14799 _ACEOF
14802 done
14804 else
14806 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14807 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14808 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14809 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14810 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 else
14815 ac_ext=cc
14816 ac_cpp='$CXXCPP $CPPFLAGS'
14817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 #include <math.h>
14829 main ()
14831 _frexpf(0, 0);
14833 return 0;
14835 _ACEOF
14836 rm -f conftest.$ac_objext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14838 (eval $ac_compile) 2>conftest.er1
14839 ac_status=$?
14840 grep -v '^ *+' conftest.er1 >conftest.err
14841 rm -f conftest.er1
14842 cat conftest.err >&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } &&
14845 { ac_try='test -z "$ac_cxx_werror_flag"
14846 || test ! -s conftest.err'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; } &&
14852 { ac_try='test -s conftest.$ac_objext'
14853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14854 (eval $ac_try) 2>&5
14855 ac_status=$?
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); }; }; then
14858 glibcxx_cv_func__frexpf_use=yes
14859 else
14860 echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.$ac_ext >&5
14863 glibcxx_cv_func__frexpf_use=no
14865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14866 ac_ext=c
14867 ac_cpp='$CPP $CPPFLAGS'
14868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14877 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14879 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14881 for ac_func in _frexpf
14883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14884 echo "$as_me:$LINENO: checking for $ac_func" >&5
14885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14886 if eval "test \"\${$as_ac_var+set}\" = set"; then
14887 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 else
14889 if test x$gcc_no_link = xyes; then
14890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14892 { (exit 1); exit 1; }; }
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14902 #define $ac_func innocuous_$ac_func
14904 /* System header to define __stub macros and hopefully few prototypes,
14905 which can conflict with char $ac_func (); below.
14906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14907 <limits.h> exists even on freestanding compilers. */
14909 #ifdef __STDC__
14910 # include <limits.h>
14911 #else
14912 # include <assert.h>
14913 #endif
14915 #undef $ac_func
14917 /* Override any gcc2 internal prototype to avoid an error. */
14918 #ifdef __cplusplus
14919 extern "C"
14921 #endif
14922 /* We use char because int might match the return type of a gcc2
14923 builtin and then its argument prototype would still apply. */
14924 char $ac_func ();
14925 /* The GNU C library defines this for functions which it implements
14926 to always fail with ENOSYS. Some functions are actually named
14927 something starting with __ and the normal name is an alias. */
14928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14929 choke me
14930 #else
14931 char (*f) () = $ac_func;
14932 #endif
14933 #ifdef __cplusplus
14935 #endif
14938 main ()
14940 return f != $ac_func;
14942 return 0;
14944 _ACEOF
14945 rm -f conftest.$ac_objext conftest$ac_exeext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14947 (eval $ac_link) 2>conftest.er1
14948 ac_status=$?
14949 grep -v '^ *+' conftest.er1 >conftest.err
14950 rm -f conftest.er1
14951 cat conftest.err >&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try='test -z "$ac_c_werror_flag"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest$ac_exeext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 eval "$as_ac_var=yes"
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14972 eval "$as_ac_var=no"
14974 rm -f conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14979 if test `eval echo '${'$as_ac_var'}'` = yes; then
14980 cat >>confdefs.h <<_ACEOF
14981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14982 _ACEOF
14985 done
14995 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14996 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14997 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14998 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15004 ac_ext=cc
15005 ac_cpp='$CXXCPP $CPPFLAGS'
15006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15010 cat >conftest.$ac_ext <<_ACEOF
15011 /* confdefs.h. */
15012 _ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 #include <math.h>
15018 main ()
15020 hypotf(0, 0);
15022 return 0;
15024 _ACEOF
15025 rm -f conftest.$ac_objext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 (eval $ac_compile) 2>conftest.er1
15028 ac_status=$?
15029 grep -v '^ *+' conftest.er1 >conftest.err
15030 rm -f conftest.er1
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try='test -z "$ac_cxx_werror_flag"
15035 || test ! -s conftest.err'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; } &&
15041 { ac_try='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 glibcxx_cv_func_hypotf_use=yes
15048 else
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15052 glibcxx_cv_func_hypotf_use=no
15054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15055 ac_ext=c
15056 ac_cpp='$CPP $CPPFLAGS'
15057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15066 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15068 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15070 for ac_func in hypotf
15072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15073 echo "$as_me:$LINENO: checking for $ac_func" >&5
15074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15075 if eval "test \"\${$as_ac_var+set}\" = set"; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15077 else
15078 if test x$gcc_no_link = xyes; then
15079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15081 { (exit 1); exit 1; }; }
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15091 #define $ac_func innocuous_$ac_func
15093 /* System header to define __stub macros and hopefully few prototypes,
15094 which can conflict with char $ac_func (); below.
15095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15096 <limits.h> exists even on freestanding compilers. */
15098 #ifdef __STDC__
15099 # include <limits.h>
15100 #else
15101 # include <assert.h>
15102 #endif
15104 #undef $ac_func
15106 /* Override any gcc2 internal prototype to avoid an error. */
15107 #ifdef __cplusplus
15108 extern "C"
15110 #endif
15111 /* We use char because int might match the return type of a gcc2
15112 builtin and then its argument prototype would still apply. */
15113 char $ac_func ();
15114 /* The GNU C library defines this for functions which it implements
15115 to always fail with ENOSYS. Some functions are actually named
15116 something starting with __ and the normal name is an alias. */
15117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15118 choke me
15119 #else
15120 char (*f) () = $ac_func;
15121 #endif
15122 #ifdef __cplusplus
15124 #endif
15127 main ()
15129 return f != $ac_func;
15131 return 0;
15133 _ACEOF
15134 rm -f conftest.$ac_objext conftest$ac_exeext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15136 (eval $ac_link) 2>conftest.er1
15137 ac_status=$?
15138 grep -v '^ *+' conftest.er1 >conftest.err
15139 rm -f conftest.er1
15140 cat conftest.err >&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); } &&
15143 { ac_try='test -z "$ac_c_werror_flag"
15144 || test ! -s conftest.err'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; } &&
15150 { ac_try='test -s conftest$ac_exeext'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15153 ac_status=$?
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15156 eval "$as_ac_var=yes"
15157 else
15158 echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.$ac_ext >&5
15161 eval "$as_ac_var=no"
15163 rm -f conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15168 if test `eval echo '${'$as_ac_var'}'` = yes; then
15169 cat >>confdefs.h <<_ACEOF
15170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15171 _ACEOF
15174 done
15176 else
15178 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15179 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15180 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15181 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15187 ac_ext=cc
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15193 cat >conftest.$ac_ext <<_ACEOF
15194 /* confdefs.h. */
15195 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 #include <math.h>
15201 main ()
15203 _hypotf(0, 0);
15205 return 0;
15207 _ACEOF
15208 rm -f conftest.$ac_objext
15209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210 (eval $ac_compile) 2>conftest.er1
15211 ac_status=$?
15212 grep -v '^ *+' conftest.er1 >conftest.err
15213 rm -f conftest.er1
15214 cat conftest.err >&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } &&
15217 { ac_try='test -z "$ac_cxx_werror_flag"
15218 || test ! -s conftest.err'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15221 ac_status=$?
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; } &&
15224 { ac_try='test -s conftest.$ac_objext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 glibcxx_cv_func__hypotf_use=yes
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15235 glibcxx_cv_func__hypotf_use=no
15237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15238 ac_ext=c
15239 ac_cpp='$CPP $CPPFLAGS'
15240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15249 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15251 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15253 for ac_func in _hypotf
15255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15256 echo "$as_me:$LINENO: checking for $ac_func" >&5
15257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15258 if eval "test \"\${$as_ac_var+set}\" = set"; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261 if test x$gcc_no_link = xyes; then
15262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15264 { (exit 1); exit 1; }; }
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15274 #define $ac_func innocuous_$ac_func
15276 /* System header to define __stub macros and hopefully few prototypes,
15277 which can conflict with char $ac_func (); below.
15278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15279 <limits.h> exists even on freestanding compilers. */
15281 #ifdef __STDC__
15282 # include <limits.h>
15283 #else
15284 # include <assert.h>
15285 #endif
15287 #undef $ac_func
15289 /* Override any gcc2 internal prototype to avoid an error. */
15290 #ifdef __cplusplus
15291 extern "C"
15293 #endif
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15296 char $ac_func ();
15297 /* The GNU C library defines this for functions which it implements
15298 to always fail with ENOSYS. Some functions are actually named
15299 something starting with __ and the normal name is an alias. */
15300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15301 choke me
15302 #else
15303 char (*f) () = $ac_func;
15304 #endif
15305 #ifdef __cplusplus
15307 #endif
15310 main ()
15312 return f != $ac_func;
15314 return 0;
15316 _ACEOF
15317 rm -f conftest.$ac_objext conftest$ac_exeext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15319 (eval $ac_link) 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try='test -z "$ac_c_werror_flag"
15327 || test ! -s conftest.err'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; } &&
15333 { ac_try='test -s conftest$ac_exeext'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; }; then
15339 eval "$as_ac_var=yes"
15340 else
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15344 eval "$as_ac_var=no"
15346 rm -f conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15351 if test `eval echo '${'$as_ac_var'}'` = yes; then
15352 cat >>confdefs.h <<_ACEOF
15353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15354 _ACEOF
15357 done
15367 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15368 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15369 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15370 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15376 ac_ext=cc
15377 ac_cpp='$CXXCPP $CPPFLAGS'
15378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15382 cat >conftest.$ac_ext <<_ACEOF
15383 /* confdefs.h. */
15384 _ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15388 #include <math.h>
15390 main ()
15392 ldexpf(0, 0);
15394 return 0;
15396 _ACEOF
15397 rm -f conftest.$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399 (eval $ac_compile) 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_cxx_werror_flag"
15407 || test ! -s conftest.err'
15408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15410 ac_status=$?
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; } &&
15413 { ac_try='test -s conftest.$ac_objext'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15416 ac_status=$?
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; }; then
15419 glibcxx_cv_func_ldexpf_use=yes
15420 else
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 glibcxx_cv_func_ldexpf_use=no
15426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15427 ac_ext=c
15428 ac_cpp='$CPP $CPPFLAGS'
15429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15438 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15440 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15442 for ac_func in ldexpf
15444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15445 echo "$as_me:$LINENO: checking for $ac_func" >&5
15446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15447 if eval "test \"\${$as_ac_var+set}\" = set"; then
15448 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 else
15450 if test x$gcc_no_link = xyes; then
15451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15453 { (exit 1); exit 1; }; }
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15463 #define $ac_func innocuous_$ac_func
15465 /* System header to define __stub macros and hopefully few prototypes,
15466 which can conflict with char $ac_func (); below.
15467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15468 <limits.h> exists even on freestanding compilers. */
15470 #ifdef __STDC__
15471 # include <limits.h>
15472 #else
15473 # include <assert.h>
15474 #endif
15476 #undef $ac_func
15478 /* Override any gcc2 internal prototype to avoid an error. */
15479 #ifdef __cplusplus
15480 extern "C"
15482 #endif
15483 /* We use char because int might match the return type of a gcc2
15484 builtin and then its argument prototype would still apply. */
15485 char $ac_func ();
15486 /* The GNU C library defines this for functions which it implements
15487 to always fail with ENOSYS. Some functions are actually named
15488 something starting with __ and the normal name is an alias. */
15489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15490 choke me
15491 #else
15492 char (*f) () = $ac_func;
15493 #endif
15494 #ifdef __cplusplus
15496 #endif
15499 main ()
15501 return f != $ac_func;
15503 return 0;
15505 _ACEOF
15506 rm -f conftest.$ac_objext conftest$ac_exeext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15508 (eval $ac_link) 2>conftest.er1
15509 ac_status=$?
15510 grep -v '^ *+' conftest.er1 >conftest.err
15511 rm -f conftest.er1
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try='test -z "$ac_c_werror_flag"
15516 || test ! -s conftest.err'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; } &&
15522 { ac_try='test -s conftest$ac_exeext'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15525 ac_status=$?
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; }; then
15528 eval "$as_ac_var=yes"
15529 else
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15533 eval "$as_ac_var=no"
15535 rm -f conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15540 if test `eval echo '${'$as_ac_var'}'` = yes; then
15541 cat >>confdefs.h <<_ACEOF
15542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15543 _ACEOF
15546 done
15548 else
15550 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15551 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15552 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15553 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 else
15559 ac_ext=cc
15560 ac_cpp='$CXXCPP $CPPFLAGS'
15561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571 #include <math.h>
15573 main ()
15575 _ldexpf(0, 0);
15577 return 0;
15579 _ACEOF
15580 rm -f conftest.$ac_objext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582 (eval $ac_compile) 2>conftest.er1
15583 ac_status=$?
15584 grep -v '^ *+' conftest.er1 >conftest.err
15585 rm -f conftest.er1
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try='test -z "$ac_cxx_werror_flag"
15590 || test ! -s conftest.err'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; } &&
15596 { ac_try='test -s conftest.$ac_objext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 glibcxx_cv_func__ldexpf_use=yes
15603 else
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15607 glibcxx_cv_func__ldexpf_use=no
15609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15621 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15623 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15625 for ac_func in _ldexpf
15627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 echo "$as_me:$LINENO: checking for $ac_func" >&5
15629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15630 if eval "test \"\${$as_ac_var+set}\" = set"; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 else
15633 if test x$gcc_no_link = xyes; then
15634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15636 { (exit 1); exit 1; }; }
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15646 #define $ac_func innocuous_$ac_func
15648 /* System header to define __stub macros and hopefully few prototypes,
15649 which can conflict with char $ac_func (); below.
15650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15651 <limits.h> exists even on freestanding compilers. */
15653 #ifdef __STDC__
15654 # include <limits.h>
15655 #else
15656 # include <assert.h>
15657 #endif
15659 #undef $ac_func
15661 /* Override any gcc2 internal prototype to avoid an error. */
15662 #ifdef __cplusplus
15663 extern "C"
15665 #endif
15666 /* We use char because int might match the return type of a gcc2
15667 builtin and then its argument prototype would still apply. */
15668 char $ac_func ();
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15673 choke me
15674 #else
15675 char (*f) () = $ac_func;
15676 #endif
15677 #ifdef __cplusplus
15679 #endif
15682 main ()
15684 return f != $ac_func;
15686 return 0;
15688 _ACEOF
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691 (eval $ac_link) 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try='test -z "$ac_c_werror_flag"
15699 || test ! -s conftest.err'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 eval "$as_ac_var=yes"
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 eval "$as_ac_var=no"
15718 rm -f conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15723 if test `eval echo '${'$as_ac_var'}'` = yes; then
15724 cat >>confdefs.h <<_ACEOF
15725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15726 _ACEOF
15729 done
15739 echo "$as_me:$LINENO: checking for logf declaration" >&5
15740 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15741 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15742 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15748 ac_ext=cc
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <math.h>
15761 #ifdef HAVE_IEEEFP_H
15762 #include <ieeefp.h>
15763 #endif
15766 main ()
15768 logf(0);
15770 return 0;
15772 _ACEOF
15773 rm -f conftest.$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775 (eval $ac_compile) 2>conftest.er1
15776 ac_status=$?
15777 grep -v '^ *+' conftest.er1 >conftest.err
15778 rm -f conftest.er1
15779 cat conftest.err >&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try='test -z "$ac_cxx_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 glibcxx_cv_func_logf_use=yes
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15800 glibcxx_cv_func_logf_use=no
15802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803 ac_ext=c
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15814 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15816 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15818 for ac_func in logf
15820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15821 echo "$as_me:$LINENO: checking for $ac_func" >&5
15822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15823 if eval "test \"\${$as_ac_var+set}\" = set"; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826 if test x$gcc_no_link = xyes; then
15827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15829 { (exit 1); exit 1; }; }
15831 cat >conftest.$ac_ext <<_ACEOF
15832 /* confdefs.h. */
15833 _ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15839 #define $ac_func innocuous_$ac_func
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func (); below.
15843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15844 <limits.h> exists even on freestanding compilers. */
15846 #ifdef __STDC__
15847 # include <limits.h>
15848 #else
15849 # include <assert.h>
15850 #endif
15852 #undef $ac_func
15854 /* Override any gcc2 internal prototype to avoid an error. */
15855 #ifdef __cplusplus
15856 extern "C"
15858 #endif
15859 /* We use char because int might match the return type of a gcc2
15860 builtin and then its argument prototype would still apply. */
15861 char $ac_func ();
15862 /* The GNU C library defines this for functions which it implements
15863 to always fail with ENOSYS. Some functions are actually named
15864 something starting with __ and the normal name is an alias. */
15865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15866 choke me
15867 #else
15868 char (*f) () = $ac_func;
15869 #endif
15870 #ifdef __cplusplus
15872 #endif
15875 main ()
15877 return f != $ac_func;
15879 return 0;
15881 _ACEOF
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -z "$ac_c_werror_flag"
15892 || test ! -s conftest.err'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; } &&
15898 { ac_try='test -s conftest$ac_exeext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 eval "$as_ac_var=yes"
15905 else
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15909 eval "$as_ac_var=no"
15911 rm -f conftest.err conftest.$ac_objext \
15912 conftest$ac_exeext conftest.$ac_ext
15914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15916 if test `eval echo '${'$as_ac_var'}'` = yes; then
15917 cat >>confdefs.h <<_ACEOF
15918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15919 _ACEOF
15922 done
15924 else
15926 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15927 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15928 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15929 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15935 ac_ext=cc
15936 ac_cpp='$CXXCPP $CPPFLAGS'
15937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947 #include <math.h>
15948 #ifdef HAVE_IEEEFP_H
15949 #include <ieeefp.h>
15950 #endif
15953 main ()
15955 _logf(0);
15957 return 0;
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15962 (eval $ac_compile) 2>conftest.er1
15963 ac_status=$?
15964 grep -v '^ *+' conftest.er1 >conftest.err
15965 rm -f conftest.er1
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } &&
15969 { ac_try='test -z "$ac_cxx_werror_flag"
15970 || test ! -s conftest.err'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15973 ac_status=$?
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; } &&
15976 { ac_try='test -s conftest.$ac_objext'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; }; then
15982 glibcxx_cv_func__logf_use=yes
15983 else
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 glibcxx_cv_func__logf_use=no
15989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15990 ac_ext=c
15991 ac_cpp='$CPP $CPPFLAGS'
15992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16001 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16003 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16005 for ac_func in _logf
16007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16008 echo "$as_me:$LINENO: checking for $ac_func" >&5
16009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16010 if eval "test \"\${$as_ac_var+set}\" = set"; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16012 else
16013 if test x$gcc_no_link = xyes; then
16014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16016 { (exit 1); exit 1; }; }
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16026 #define $ac_func innocuous_$ac_func
16028 /* System header to define __stub macros and hopefully few prototypes,
16029 which can conflict with char $ac_func (); below.
16030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16031 <limits.h> exists even on freestanding compilers. */
16033 #ifdef __STDC__
16034 # include <limits.h>
16035 #else
16036 # include <assert.h>
16037 #endif
16039 #undef $ac_func
16041 /* Override any gcc2 internal prototype to avoid an error. */
16042 #ifdef __cplusplus
16043 extern "C"
16045 #endif
16046 /* We use char because int might match the return type of a gcc2
16047 builtin and then its argument prototype would still apply. */
16048 char $ac_func ();
16049 /* The GNU C library defines this for functions which it implements
16050 to always fail with ENOSYS. Some functions are actually named
16051 something starting with __ and the normal name is an alias. */
16052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16053 choke me
16054 #else
16055 char (*f) () = $ac_func;
16056 #endif
16057 #ifdef __cplusplus
16059 #endif
16062 main ()
16064 return f != $ac_func;
16066 return 0;
16068 _ACEOF
16069 rm -f conftest.$ac_objext conftest$ac_exeext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071 (eval $ac_link) 2>conftest.er1
16072 ac_status=$?
16073 grep -v '^ *+' conftest.er1 >conftest.err
16074 rm -f conftest.er1
16075 cat conftest.err >&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try='test -z "$ac_c_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try='test -s conftest$ac_exeext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 eval "$as_ac_var=yes"
16092 else
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16096 eval "$as_ac_var=no"
16098 rm -f conftest.err conftest.$ac_objext \
16099 conftest$ac_exeext conftest.$ac_ext
16101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16103 if test `eval echo '${'$as_ac_var'}'` = yes; then
16104 cat >>confdefs.h <<_ACEOF
16105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16106 _ACEOF
16109 done
16119 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16120 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16121 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16122 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16128 ac_ext=cc
16129 ac_cpp='$CXXCPP $CPPFLAGS'
16130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 #include <math.h>
16141 #ifdef HAVE_IEEEFP_H
16142 #include <ieeefp.h>
16143 #endif
16146 main ()
16148 log10f(0);
16150 return 0;
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16156 ac_status=$?
16157 grep -v '^ *+' conftest.er1 >conftest.err
16158 rm -f conftest.er1
16159 cat conftest.err >&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try='test -z "$ac_cxx_werror_flag"
16163 || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 glibcxx_cv_func_log10f_use=yes
16176 else
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 glibcxx_cv_func_log10f_use=no
16182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16183 ac_ext=c
16184 ac_cpp='$CPP $CPPFLAGS'
16185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16194 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16196 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16198 for ac_func in log10f
16200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16201 echo "$as_me:$LINENO: checking for $ac_func" >&5
16202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16203 if eval "test \"\${$as_ac_var+set}\" = set"; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 else
16206 if test x$gcc_no_link = xyes; then
16207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16209 { (exit 1); exit 1; }; }
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16219 #define $ac_func innocuous_$ac_func
16221 /* System header to define __stub macros and hopefully few prototypes,
16222 which can conflict with char $ac_func (); below.
16223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16224 <limits.h> exists even on freestanding compilers. */
16226 #ifdef __STDC__
16227 # include <limits.h>
16228 #else
16229 # include <assert.h>
16230 #endif
16232 #undef $ac_func
16234 /* Override any gcc2 internal prototype to avoid an error. */
16235 #ifdef __cplusplus
16236 extern "C"
16238 #endif
16239 /* We use char because int might match the return type of a gcc2
16240 builtin and then its argument prototype would still apply. */
16241 char $ac_func ();
16242 /* The GNU C library defines this for functions which it implements
16243 to always fail with ENOSYS. Some functions are actually named
16244 something starting with __ and the normal name is an alias. */
16245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16246 choke me
16247 #else
16248 char (*f) () = $ac_func;
16249 #endif
16250 #ifdef __cplusplus
16252 #endif
16255 main ()
16257 return f != $ac_func;
16259 return 0;
16261 _ACEOF
16262 rm -f conftest.$ac_objext conftest$ac_exeext
16263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16264 (eval $ac_link) 2>conftest.er1
16265 ac_status=$?
16266 grep -v '^ *+' conftest.er1 >conftest.err
16267 rm -f conftest.er1
16268 cat conftest.err >&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); } &&
16271 { ac_try='test -z "$ac_c_werror_flag"
16272 || test ! -s conftest.err'
16273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274 (eval $ac_try) 2>&5
16275 ac_status=$?
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }; } &&
16278 { ac_try='test -s conftest$ac_exeext'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; }; then
16284 eval "$as_ac_var=yes"
16285 else
16286 echo "$as_me: failed program was:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16289 eval "$as_ac_var=no"
16291 rm -f conftest.err conftest.$ac_objext \
16292 conftest$ac_exeext conftest.$ac_ext
16294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16296 if test `eval echo '${'$as_ac_var'}'` = yes; then
16297 cat >>confdefs.h <<_ACEOF
16298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16299 _ACEOF
16302 done
16304 else
16306 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16307 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16308 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16309 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 else
16315 ac_ext=cc
16316 ac_cpp='$CXXCPP $CPPFLAGS'
16317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 #include <math.h>
16328 #ifdef HAVE_IEEEFP_H
16329 #include <ieeefp.h>
16330 #endif
16333 main ()
16335 _log10f(0);
16337 return 0;
16339 _ACEOF
16340 rm -f conftest.$ac_objext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16342 (eval $ac_compile) 2>conftest.er1
16343 ac_status=$?
16344 grep -v '^ *+' conftest.er1 >conftest.err
16345 rm -f conftest.er1
16346 cat conftest.err >&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try='test -z "$ac_cxx_werror_flag"
16350 || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try='test -s conftest.$ac_objext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16359 ac_status=$?
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16362 glibcxx_cv_func__log10f_use=yes
16363 else
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16367 glibcxx_cv_func__log10f_use=no
16369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370 ac_ext=c
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16381 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16385 for ac_func in _log10f
16387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16388 echo "$as_me:$LINENO: checking for $ac_func" >&5
16389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16390 if eval "test \"\${$as_ac_var+set}\" = set"; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 if test x$gcc_no_link = xyes; then
16394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16396 { (exit 1); exit 1; }; }
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16406 #define $ac_func innocuous_$ac_func
16408 /* System header to define __stub macros and hopefully few prototypes,
16409 which can conflict with char $ac_func (); below.
16410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16411 <limits.h> exists even on freestanding compilers. */
16413 #ifdef __STDC__
16414 # include <limits.h>
16415 #else
16416 # include <assert.h>
16417 #endif
16419 #undef $ac_func
16421 /* Override any gcc2 internal prototype to avoid an error. */
16422 #ifdef __cplusplus
16423 extern "C"
16425 #endif
16426 /* We use char because int might match the return type of a gcc2
16427 builtin and then its argument prototype would still apply. */
16428 char $ac_func ();
16429 /* The GNU C library defines this for functions which it implements
16430 to always fail with ENOSYS. Some functions are actually named
16431 something starting with __ and the normal name is an alias. */
16432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16433 choke me
16434 #else
16435 char (*f) () = $ac_func;
16436 #endif
16437 #ifdef __cplusplus
16439 #endif
16442 main ()
16444 return f != $ac_func;
16446 return 0;
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16451 (eval $ac_link) 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_c_werror_flag"
16459 || test ! -s conftest.err'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; } &&
16465 { ac_try='test -s conftest$ac_exeext'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16468 ac_status=$?
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; }; then
16471 eval "$as_ac_var=yes"
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 eval "$as_ac_var=no"
16478 rm -f conftest.err conftest.$ac_objext \
16479 conftest$ac_exeext conftest.$ac_ext
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16483 if test `eval echo '${'$as_ac_var'}'` = yes; then
16484 cat >>confdefs.h <<_ACEOF
16485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16486 _ACEOF
16489 done
16499 echo "$as_me:$LINENO: checking for modff declaration" >&5
16500 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16501 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16502 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16508 ac_ext=cc
16509 ac_cpp='$CXXCPP $CPPFLAGS'
16510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 #include <math.h>
16522 main ()
16524 modff(0, 0);
16526 return 0;
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16532 ac_status=$?
16533 grep -v '^ *+' conftest.er1 >conftest.err
16534 rm -f conftest.er1
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try='test -z "$ac_cxx_werror_flag"
16539 || test ! -s conftest.err'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; } &&
16545 { ac_try='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16548 ac_status=$?
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 glibcxx_cv_func_modff_use=yes
16552 else
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16556 glibcxx_cv_func_modff_use=no
16558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16559 ac_ext=c
16560 ac_cpp='$CPP $CPPFLAGS'
16561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16570 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16572 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16574 for ac_func in modff
16576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16577 echo "$as_me:$LINENO: checking for $ac_func" >&5
16578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16579 if eval "test \"\${$as_ac_var+set}\" = set"; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16581 else
16582 if test x$gcc_no_link = xyes; then
16583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16585 { (exit 1); exit 1; }; }
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16595 #define $ac_func innocuous_$ac_func
16597 /* System header to define __stub macros and hopefully few prototypes,
16598 which can conflict with char $ac_func (); below.
16599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16600 <limits.h> exists even on freestanding compilers. */
16602 #ifdef __STDC__
16603 # include <limits.h>
16604 #else
16605 # include <assert.h>
16606 #endif
16608 #undef $ac_func
16610 /* Override any gcc2 internal prototype to avoid an error. */
16611 #ifdef __cplusplus
16612 extern "C"
16614 #endif
16615 /* We use char because int might match the return type of a gcc2
16616 builtin and then its argument prototype would still apply. */
16617 char $ac_func ();
16618 /* The GNU C library defines this for functions which it implements
16619 to always fail with ENOSYS. Some functions are actually named
16620 something starting with __ and the normal name is an alias. */
16621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16622 choke me
16623 #else
16624 char (*f) () = $ac_func;
16625 #endif
16626 #ifdef __cplusplus
16628 #endif
16631 main ()
16633 return f != $ac_func;
16635 return 0;
16637 _ACEOF
16638 rm -f conftest.$ac_objext conftest$ac_exeext
16639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16640 (eval $ac_link) 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try='test -z "$ac_c_werror_flag"
16648 || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try='test -s conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 eval "$as_ac_var=yes"
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16665 eval "$as_ac_var=no"
16667 rm -f conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16672 if test `eval echo '${'$as_ac_var'}'` = yes; then
16673 cat >>confdefs.h <<_ACEOF
16674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16675 _ACEOF
16678 done
16680 else
16682 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16683 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16684 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16685 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 else
16691 ac_ext=cc
16692 ac_cpp='$CXXCPP $CPPFLAGS'
16693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16697 cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h. */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 #include <math.h>
16705 main ()
16707 _modff(0, 0);
16709 return 0;
16711 _ACEOF
16712 rm -f conftest.$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714 (eval $ac_compile) 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try='test -z "$ac_cxx_werror_flag"
16722 || test ! -s conftest.err'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16725 ac_status=$?
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; } &&
16728 { ac_try='test -s conftest.$ac_objext'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16731 ac_status=$?
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; }; then
16734 glibcxx_cv_func__modff_use=yes
16735 else
16736 echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.$ac_ext >&5
16739 glibcxx_cv_func__modff_use=no
16741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16742 ac_ext=c
16743 ac_cpp='$CPP $CPPFLAGS'
16744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16753 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16755 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16757 for ac_func in _modff
16759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16760 echo "$as_me:$LINENO: checking for $ac_func" >&5
16761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16762 if eval "test \"\${$as_ac_var+set}\" = set"; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765 if test x$gcc_no_link = xyes; then
16766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16768 { (exit 1); exit 1; }; }
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16778 #define $ac_func innocuous_$ac_func
16780 /* System header to define __stub macros and hopefully few prototypes,
16781 which can conflict with char $ac_func (); below.
16782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16783 <limits.h> exists even on freestanding compilers. */
16785 #ifdef __STDC__
16786 # include <limits.h>
16787 #else
16788 # include <assert.h>
16789 #endif
16791 #undef $ac_func
16793 /* Override any gcc2 internal prototype to avoid an error. */
16794 #ifdef __cplusplus
16795 extern "C"
16797 #endif
16798 /* We use char because int might match the return type of a gcc2
16799 builtin and then its argument prototype would still apply. */
16800 char $ac_func ();
16801 /* The GNU C library defines this for functions which it implements
16802 to always fail with ENOSYS. Some functions are actually named
16803 something starting with __ and the normal name is an alias. */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16805 choke me
16806 #else
16807 char (*f) () = $ac_func;
16808 #endif
16809 #ifdef __cplusplus
16811 #endif
16814 main ()
16816 return f != $ac_func;
16818 return 0;
16820 _ACEOF
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823 (eval $ac_link) 2>conftest.er1
16824 ac_status=$?
16825 grep -v '^ *+' conftest.er1 >conftest.err
16826 rm -f conftest.er1
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } &&
16830 { ac_try='test -z "$ac_c_werror_flag"
16831 || test ! -s conftest.err'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; } &&
16837 { ac_try='test -s conftest$ac_exeext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 eval "$as_ac_var=yes"
16844 else
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.$ac_ext >&5
16848 eval "$as_ac_var=no"
16850 rm -f conftest.err conftest.$ac_objext \
16851 conftest$ac_exeext conftest.$ac_ext
16853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16855 if test `eval echo '${'$as_ac_var'}'` = yes; then
16856 cat >>confdefs.h <<_ACEOF
16857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16858 _ACEOF
16861 done
16871 echo "$as_me:$LINENO: checking for modf declaration" >&5
16872 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16873 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16874 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16880 ac_ext=cc
16881 ac_cpp='$CXXCPP $CPPFLAGS'
16882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 #include <math.h>
16894 main ()
16896 modf(0, 0);
16898 return 0;
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903 (eval $ac_compile) 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try='test -z "$ac_cxx_werror_flag"
16911 || test ! -s conftest.err'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; } &&
16917 { ac_try='test -s conftest.$ac_objext'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 glibcxx_cv_func_modf_use=yes
16924 else
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 glibcxx_cv_func_modf_use=no
16930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16931 ac_ext=c
16932 ac_cpp='$CPP $CPPFLAGS'
16933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16942 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16944 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16946 for ac_func in modf
16948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16949 echo "$as_me:$LINENO: checking for $ac_func" >&5
16950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16951 if eval "test \"\${$as_ac_var+set}\" = set"; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954 if test x$gcc_no_link = xyes; then
16955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16957 { (exit 1); exit 1; }; }
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16967 #define $ac_func innocuous_$ac_func
16969 /* System header to define __stub macros and hopefully few prototypes,
16970 which can conflict with char $ac_func (); below.
16971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16972 <limits.h> exists even on freestanding compilers. */
16974 #ifdef __STDC__
16975 # include <limits.h>
16976 #else
16977 # include <assert.h>
16978 #endif
16980 #undef $ac_func
16982 /* Override any gcc2 internal prototype to avoid an error. */
16983 #ifdef __cplusplus
16984 extern "C"
16986 #endif
16987 /* We use char because int might match the return type of a gcc2
16988 builtin and then its argument prototype would still apply. */
16989 char $ac_func ();
16990 /* The GNU C library defines this for functions which it implements
16991 to always fail with ENOSYS. Some functions are actually named
16992 something starting with __ and the normal name is an alias. */
16993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16994 choke me
16995 #else
16996 char (*f) () = $ac_func;
16997 #endif
16998 #ifdef __cplusplus
17000 #endif
17003 main ()
17005 return f != $ac_func;
17007 return 0;
17009 _ACEOF
17010 rm -f conftest.$ac_objext conftest$ac_exeext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17012 (eval $ac_link) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest$ac_exeext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17029 ac_status=$?
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 eval "$as_ac_var=yes"
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 eval "$as_ac_var=no"
17039 rm -f conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17044 if test `eval echo '${'$as_ac_var'}'` = yes; then
17045 cat >>confdefs.h <<_ACEOF
17046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17047 _ACEOF
17050 done
17052 else
17054 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17055 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17056 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17057 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17059 else
17063 ac_ext=cc
17064 ac_cpp='$CXXCPP $CPPFLAGS'
17065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 #include <math.h>
17077 main ()
17079 _modf(0, 0);
17081 return 0;
17083 _ACEOF
17084 rm -f conftest.$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try='test -z "$ac_cxx_werror_flag"
17094 || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 glibcxx_cv_func__modf_use=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 glibcxx_cv_func__modf_use=no
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 ac_ext=c
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17125 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17127 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17129 for ac_func in _modf
17131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17132 echo "$as_me:$LINENO: checking for $ac_func" >&5
17133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17134 if eval "test \"\${$as_ac_var+set}\" = set"; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 else
17137 if test x$gcc_no_link = xyes; then
17138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17140 { (exit 1); exit 1; }; }
17142 cat >conftest.$ac_ext <<_ACEOF
17143 /* confdefs.h. */
17144 _ACEOF
17145 cat confdefs.h >>conftest.$ac_ext
17146 cat >>conftest.$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17150 #define $ac_func innocuous_$ac_func
17152 /* System header to define __stub macros and hopefully few prototypes,
17153 which can conflict with char $ac_func (); below.
17154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17155 <limits.h> exists even on freestanding compilers. */
17157 #ifdef __STDC__
17158 # include <limits.h>
17159 #else
17160 # include <assert.h>
17161 #endif
17163 #undef $ac_func
17165 /* Override any gcc2 internal prototype to avoid an error. */
17166 #ifdef __cplusplus
17167 extern "C"
17169 #endif
17170 /* We use char because int might match the return type of a gcc2
17171 builtin and then its argument prototype would still apply. */
17172 char $ac_func ();
17173 /* The GNU C library defines this for functions which it implements
17174 to always fail with ENOSYS. Some functions are actually named
17175 something starting with __ and the normal name is an alias. */
17176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17177 choke me
17178 #else
17179 char (*f) () = $ac_func;
17180 #endif
17181 #ifdef __cplusplus
17183 #endif
17186 main ()
17188 return f != $ac_func;
17190 return 0;
17192 _ACEOF
17193 rm -f conftest.$ac_objext conftest$ac_exeext
17194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17195 (eval $ac_link) 2>conftest.er1
17196 ac_status=$?
17197 grep -v '^ *+' conftest.er1 >conftest.err
17198 rm -f conftest.er1
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } &&
17202 { ac_try='test -z "$ac_c_werror_flag"
17203 || test ! -s conftest.err'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try='test -s conftest$ac_exeext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17212 ac_status=$?
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 eval "$as_ac_var=yes"
17216 else
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17220 eval "$as_ac_var=no"
17222 rm -f conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17227 if test `eval echo '${'$as_ac_var'}'` = yes; then
17228 cat >>confdefs.h <<_ACEOF
17229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17230 _ACEOF
17233 done
17243 echo "$as_me:$LINENO: checking for powf declaration" >&5
17244 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17245 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17246 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17252 ac_ext=cc
17253 ac_cpp='$CXXCPP $CPPFLAGS'
17254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 #include <math.h>
17266 main ()
17268 powf(0, 0);
17270 return 0;
17272 _ACEOF
17273 rm -f conftest.$ac_objext
17274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17275 (eval $ac_compile) 2>conftest.er1
17276 ac_status=$?
17277 grep -v '^ *+' conftest.er1 >conftest.err
17278 rm -f conftest.er1
17279 cat conftest.err >&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } &&
17282 { ac_try='test -z "$ac_cxx_werror_flag"
17283 || test ! -s conftest.err'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17286 ac_status=$?
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; } &&
17289 { ac_try='test -s conftest.$ac_objext'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17292 ac_status=$?
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; }; then
17295 glibcxx_cv_func_powf_use=yes
17296 else
17297 echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17300 glibcxx_cv_func_powf_use=no
17302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17303 ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17314 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17316 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17318 for ac_func in powf
17320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17321 echo "$as_me:$LINENO: checking for $ac_func" >&5
17322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17323 if eval "test \"\${$as_ac_var+set}\" = set"; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17325 else
17326 if test x$gcc_no_link = xyes; then
17327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17329 { (exit 1); exit 1; }; }
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17339 #define $ac_func innocuous_$ac_func
17341 /* System header to define __stub macros and hopefully few prototypes,
17342 which can conflict with char $ac_func (); below.
17343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17344 <limits.h> exists even on freestanding compilers. */
17346 #ifdef __STDC__
17347 # include <limits.h>
17348 #else
17349 # include <assert.h>
17350 #endif
17352 #undef $ac_func
17354 /* Override any gcc2 internal prototype to avoid an error. */
17355 #ifdef __cplusplus
17356 extern "C"
17358 #endif
17359 /* We use char because int might match the return type of a gcc2
17360 builtin and then its argument prototype would still apply. */
17361 char $ac_func ();
17362 /* The GNU C library defines this for functions which it implements
17363 to always fail with ENOSYS. Some functions are actually named
17364 something starting with __ and the normal name is an alias. */
17365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17366 choke me
17367 #else
17368 char (*f) () = $ac_func;
17369 #endif
17370 #ifdef __cplusplus
17372 #endif
17375 main ()
17377 return f != $ac_func;
17379 return 0;
17381 _ACEOF
17382 rm -f conftest.$ac_objext conftest$ac_exeext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17384 (eval $ac_link) 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try='test -s conftest$ac_exeext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 eval "$as_ac_var=yes"
17405 else
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17409 eval "$as_ac_var=no"
17411 rm -f conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17416 if test `eval echo '${'$as_ac_var'}'` = yes; then
17417 cat >>confdefs.h <<_ACEOF
17418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17419 _ACEOF
17422 done
17424 else
17426 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17427 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17428 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17429 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17435 ac_ext=cc
17436 ac_cpp='$CXXCPP $CPPFLAGS'
17437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17441 cat >conftest.$ac_ext <<_ACEOF
17442 /* confdefs.h. */
17443 _ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 #include <math.h>
17449 main ()
17451 _powf(0, 0);
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458 (eval $ac_compile) 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } &&
17465 { ac_try='test -z "$ac_cxx_werror_flag"
17466 || test ! -s conftest.err'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; } &&
17472 { ac_try='test -s conftest.$ac_objext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 glibcxx_cv_func__powf_use=yes
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 glibcxx_cv_func__powf_use=no
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17486 ac_ext=c
17487 ac_cpp='$CPP $CPPFLAGS'
17488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17497 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17499 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17501 for ac_func in _powf
17503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17504 echo "$as_me:$LINENO: checking for $ac_func" >&5
17505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17506 if eval "test \"\${$as_ac_var+set}\" = set"; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 if test x$gcc_no_link = xyes; then
17510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17512 { (exit 1); exit 1; }; }
17514 cat >conftest.$ac_ext <<_ACEOF
17515 /* confdefs.h. */
17516 _ACEOF
17517 cat confdefs.h >>conftest.$ac_ext
17518 cat >>conftest.$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17522 #define $ac_func innocuous_$ac_func
17524 /* System header to define __stub macros and hopefully few prototypes,
17525 which can conflict with char $ac_func (); below.
17526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17527 <limits.h> exists even on freestanding compilers. */
17529 #ifdef __STDC__
17530 # include <limits.h>
17531 #else
17532 # include <assert.h>
17533 #endif
17535 #undef $ac_func
17537 /* Override any gcc2 internal prototype to avoid an error. */
17538 #ifdef __cplusplus
17539 extern "C"
17541 #endif
17542 /* We use char because int might match the return type of a gcc2
17543 builtin and then its argument prototype would still apply. */
17544 char $ac_func ();
17545 /* The GNU C library defines this for functions which it implements
17546 to always fail with ENOSYS. Some functions are actually named
17547 something starting with __ and the normal name is an alias. */
17548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17549 choke me
17550 #else
17551 char (*f) () = $ac_func;
17552 #endif
17553 #ifdef __cplusplus
17555 #endif
17558 main ()
17560 return f != $ac_func;
17562 return 0;
17564 _ACEOF
17565 rm -f conftest.$ac_objext conftest$ac_exeext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17567 (eval $ac_link) 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try='test -s conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 eval "$as_ac_var=yes"
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17592 eval "$as_ac_var=no"
17594 rm -f conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17599 if test `eval echo '${'$as_ac_var'}'` = yes; then
17600 cat >>confdefs.h <<_ACEOF
17601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17602 _ACEOF
17605 done
17615 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17616 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17617 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17618 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17624 ac_ext=cc
17625 ac_cpp='$CXXCPP $CPPFLAGS'
17626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636 #include <math.h>
17637 #ifdef HAVE_IEEEFP_H
17638 #include <ieeefp.h>
17639 #endif
17642 main ()
17644 sqrtf(0);
17646 return 0;
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -z "$ac_cxx_werror_flag"
17659 || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17668 ac_status=$?
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 glibcxx_cv_func_sqrtf_use=yes
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 glibcxx_cv_func_sqrtf_use=no
17678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679 ac_ext=c
17680 ac_cpp='$CPP $CPPFLAGS'
17681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17690 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17692 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17694 for ac_func in sqrtf
17696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17697 echo "$as_me:$LINENO: checking for $ac_func" >&5
17698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_var+set}\" = set"; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702 if test x$gcc_no_link = xyes; then
17703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17705 { (exit 1); exit 1; }; }
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17715 #define $ac_func innocuous_$ac_func
17717 /* System header to define __stub macros and hopefully few prototypes,
17718 which can conflict with char $ac_func (); below.
17719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17720 <limits.h> exists even on freestanding compilers. */
17722 #ifdef __STDC__
17723 # include <limits.h>
17724 #else
17725 # include <assert.h>
17726 #endif
17728 #undef $ac_func
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 #ifdef __cplusplus
17732 extern "C"
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17737 char $ac_func ();
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 choke me
17743 #else
17744 char (*f) () = $ac_func;
17745 #endif
17746 #ifdef __cplusplus
17748 #endif
17751 main ()
17753 return f != $ac_func;
17755 return 0;
17757 _ACEOF
17758 rm -f conftest.$ac_objext conftest$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag"
17768 || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 eval "$as_ac_var=yes"
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17785 eval "$as_ac_var=no"
17787 rm -f conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17792 if test `eval echo '${'$as_ac_var'}'` = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17798 done
17800 else
17802 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17803 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17804 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17805 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17811 ac_ext=cc
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17817 cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h. */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17823 #include <math.h>
17824 #ifdef HAVE_IEEEFP_H
17825 #include <ieeefp.h>
17826 #endif
17829 main ()
17831 _sqrtf(0);
17833 return 0;
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17838 (eval $ac_compile) 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -z "$ac_cxx_werror_flag"
17846 || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 glibcxx_cv_func__sqrtf_use=yes
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17863 glibcxx_cv_func__sqrtf_use=no
17865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17866 ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17877 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17879 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17881 for ac_func in _sqrtf
17883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17884 echo "$as_me:$LINENO: checking for $ac_func" >&5
17885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17886 if eval "test \"\${$as_ac_var+set}\" = set"; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889 if test x$gcc_no_link = xyes; then
17890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17892 { (exit 1); exit 1; }; }
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17902 #define $ac_func innocuous_$ac_func
17904 /* System header to define __stub macros and hopefully few prototypes,
17905 which can conflict with char $ac_func (); below.
17906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17907 <limits.h> exists even on freestanding compilers. */
17909 #ifdef __STDC__
17910 # include <limits.h>
17911 #else
17912 # include <assert.h>
17913 #endif
17915 #undef $ac_func
17917 /* Override any gcc2 internal prototype to avoid an error. */
17918 #ifdef __cplusplus
17919 extern "C"
17921 #endif
17922 /* We use char because int might match the return type of a gcc2
17923 builtin and then its argument prototype would still apply. */
17924 char $ac_func ();
17925 /* The GNU C library defines this for functions which it implements
17926 to always fail with ENOSYS. Some functions are actually named
17927 something starting with __ and the normal name is an alias. */
17928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17929 choke me
17930 #else
17931 char (*f) () = $ac_func;
17932 #endif
17933 #ifdef __cplusplus
17935 #endif
17938 main ()
17940 return f != $ac_func;
17942 return 0;
17944 _ACEOF
17945 rm -f conftest.$ac_objext conftest$ac_exeext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17947 (eval $ac_link) 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try='test -z "$ac_c_werror_flag"
17955 || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try='test -s conftest$ac_exeext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17967 eval "$as_ac_var=yes"
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17972 eval "$as_ac_var=no"
17974 rm -f conftest.err conftest.$ac_objext \
17975 conftest$ac_exeext conftest.$ac_ext
17977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17979 if test `eval echo '${'$as_ac_var'}'` = yes; then
17980 cat >>confdefs.h <<_ACEOF
17981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17982 _ACEOF
17985 done
17995 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17996 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17997 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17998 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17999 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 else
18004 ac_ext=cc
18005 ac_cpp='$CXXCPP $CPPFLAGS'
18006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18010 cat >conftest.$ac_ext <<_ACEOF
18011 /* confdefs.h. */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #include <math.h>
18018 main ()
18020 sincosf(0, 0, 0);
18022 return 0;
18024 _ACEOF
18025 rm -f conftest.$ac_objext
18026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18027 (eval $ac_compile) 2>conftest.er1
18028 ac_status=$?
18029 grep -v '^ *+' conftest.er1 >conftest.err
18030 rm -f conftest.er1
18031 cat conftest.err >&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } &&
18034 { ac_try='test -z "$ac_cxx_werror_flag"
18035 || test ! -s conftest.err'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; } &&
18041 { ac_try='test -s conftest.$ac_objext'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18044 ac_status=$?
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18047 glibcxx_cv_func_sincosf_use=yes
18048 else
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 glibcxx_cv_func_sincosf_use=no
18054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18055 ac_ext=c
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18066 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18068 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18070 for ac_func in sincosf
18072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18073 echo "$as_me:$LINENO: checking for $ac_func" >&5
18074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18075 if eval "test \"\${$as_ac_var+set}\" = set"; then
18076 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 else
18078 if test x$gcc_no_link = xyes; then
18079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18081 { (exit 1); exit 1; }; }
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18091 #define $ac_func innocuous_$ac_func
18093 /* System header to define __stub macros and hopefully few prototypes,
18094 which can conflict with char $ac_func (); below.
18095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18096 <limits.h> exists even on freestanding compilers. */
18098 #ifdef __STDC__
18099 # include <limits.h>
18100 #else
18101 # include <assert.h>
18102 #endif
18104 #undef $ac_func
18106 /* Override any gcc2 internal prototype to avoid an error. */
18107 #ifdef __cplusplus
18108 extern "C"
18110 #endif
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18113 char $ac_func ();
18114 /* The GNU C library defines this for functions which it implements
18115 to always fail with ENOSYS. Some functions are actually named
18116 something starting with __ and the normal name is an alias. */
18117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18118 choke me
18119 #else
18120 char (*f) () = $ac_func;
18121 #endif
18122 #ifdef __cplusplus
18124 #endif
18127 main ()
18129 return f != $ac_func;
18131 return 0;
18133 _ACEOF
18134 rm -f conftest.$ac_objext conftest$ac_exeext
18135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18136 (eval $ac_link) 2>conftest.er1
18137 ac_status=$?
18138 grep -v '^ *+' conftest.er1 >conftest.err
18139 rm -f conftest.er1
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } &&
18143 { ac_try='test -z "$ac_c_werror_flag"
18144 || test ! -s conftest.err'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; } &&
18150 { ac_try='test -s conftest$ac_exeext'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 eval "$as_ac_var=yes"
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 eval "$as_ac_var=no"
18163 rm -f conftest.err conftest.$ac_objext \
18164 conftest$ac_exeext conftest.$ac_ext
18166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18168 if test `eval echo '${'$as_ac_var'}'` = yes; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18171 _ACEOF
18174 done
18176 else
18178 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18179 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18180 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18181 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18187 ac_ext=cc
18188 ac_cpp='$CXXCPP $CPPFLAGS'
18189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #include <math.h>
18201 main ()
18203 _sincosf(0, 0, 0);
18205 return 0;
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210 (eval $ac_compile) 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -z "$ac_cxx_werror_flag"
18218 || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 glibcxx_cv_func__sincosf_use=yes
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 glibcxx_cv_func__sincosf_use=no
18237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238 ac_ext=c
18239 ac_cpp='$CPP $CPPFLAGS'
18240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18249 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18251 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18253 for ac_func in _sincosf
18255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18256 echo "$as_me:$LINENO: checking for $ac_func" >&5
18257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18258 if eval "test \"\${$as_ac_var+set}\" = set"; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261 if test x$gcc_no_link = xyes; then
18262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18264 { (exit 1); exit 1; }; }
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18274 #define $ac_func innocuous_$ac_func
18276 /* System header to define __stub macros and hopefully few prototypes,
18277 which can conflict with char $ac_func (); below.
18278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18279 <limits.h> exists even on freestanding compilers. */
18281 #ifdef __STDC__
18282 # include <limits.h>
18283 #else
18284 # include <assert.h>
18285 #endif
18287 #undef $ac_func
18289 /* Override any gcc2 internal prototype to avoid an error. */
18290 #ifdef __cplusplus
18291 extern "C"
18293 #endif
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18296 char $ac_func ();
18297 /* The GNU C library defines this for functions which it implements
18298 to always fail with ENOSYS. Some functions are actually named
18299 something starting with __ and the normal name is an alias. */
18300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18301 choke me
18302 #else
18303 char (*f) () = $ac_func;
18304 #endif
18305 #ifdef __cplusplus
18307 #endif
18310 main ()
18312 return f != $ac_func;
18314 return 0;
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18319 (eval $ac_link) 2>conftest.er1
18320 ac_status=$?
18321 grep -v '^ *+' conftest.er1 >conftest.err
18322 rm -f conftest.er1
18323 cat conftest.err >&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try='test -z "$ac_c_werror_flag"
18327 || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try='test -s conftest$ac_exeext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 eval "$as_ac_var=yes"
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18344 eval "$as_ac_var=no"
18346 rm -f conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18351 if test `eval echo '${'$as_ac_var'}'` = yes; then
18352 cat >>confdefs.h <<_ACEOF
18353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18354 _ACEOF
18357 done
18367 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18368 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18369 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18370 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18371 echo $ECHO_N "(cached) $ECHO_C" >&6
18372 else
18376 ac_ext=cc
18377 ac_cpp='$CXXCPP $CPPFLAGS'
18378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18382 cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 #include <math.h>
18389 #ifdef HAVE_IEEEFP_H
18390 #include <ieeefp.h>
18391 #endif
18394 main ()
18396 finitef(0);
18398 return 0;
18400 _ACEOF
18401 rm -f conftest.$ac_objext
18402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18403 (eval $ac_compile) 2>conftest.er1
18404 ac_status=$?
18405 grep -v '^ *+' conftest.er1 >conftest.err
18406 rm -f conftest.er1
18407 cat conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } &&
18410 { ac_try='test -z "$ac_cxx_werror_flag"
18411 || test ! -s conftest.err'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; } &&
18417 { ac_try='test -s conftest.$ac_objext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 glibcxx_cv_func_finitef_use=yes
18424 else
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18428 glibcxx_cv_func_finitef_use=no
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18431 ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18442 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18444 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18446 for ac_func in finitef
18448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18449 echo "$as_me:$LINENO: checking for $ac_func" >&5
18450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18451 if eval "test \"\${$as_ac_var+set}\" = set"; then
18452 echo $ECHO_N "(cached) $ECHO_C" >&6
18453 else
18454 if test x$gcc_no_link = xyes; then
18455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18457 { (exit 1); exit 1; }; }
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18467 #define $ac_func innocuous_$ac_func
18469 /* System header to define __stub macros and hopefully few prototypes,
18470 which can conflict with char $ac_func (); below.
18471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18472 <limits.h> exists even on freestanding compilers. */
18474 #ifdef __STDC__
18475 # include <limits.h>
18476 #else
18477 # include <assert.h>
18478 #endif
18480 #undef $ac_func
18482 /* Override any gcc2 internal prototype to avoid an error. */
18483 #ifdef __cplusplus
18484 extern "C"
18486 #endif
18487 /* We use char because int might match the return type of a gcc2
18488 builtin and then its argument prototype would still apply. */
18489 char $ac_func ();
18490 /* The GNU C library defines this for functions which it implements
18491 to always fail with ENOSYS. Some functions are actually named
18492 something starting with __ and the normal name is an alias. */
18493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18494 choke me
18495 #else
18496 char (*f) () = $ac_func;
18497 #endif
18498 #ifdef __cplusplus
18500 #endif
18503 main ()
18505 return f != $ac_func;
18507 return 0;
18509 _ACEOF
18510 rm -f conftest.$ac_objext conftest$ac_exeext
18511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18512 (eval $ac_link) 2>conftest.er1
18513 ac_status=$?
18514 grep -v '^ *+' conftest.er1 >conftest.err
18515 rm -f conftest.er1
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } &&
18519 { ac_try='test -z "$ac_c_werror_flag"
18520 || test ! -s conftest.err'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; } &&
18526 { ac_try='test -s conftest$ac_exeext'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18529 ac_status=$?
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; }; then
18532 eval "$as_ac_var=yes"
18533 else
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18537 eval "$as_ac_var=no"
18539 rm -f conftest.err conftest.$ac_objext \
18540 conftest$ac_exeext conftest.$ac_ext
18542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18544 if test `eval echo '${'$as_ac_var'}'` = yes; then
18545 cat >>confdefs.h <<_ACEOF
18546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18547 _ACEOF
18550 done
18552 else
18554 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18555 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18556 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18557 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 else
18563 ac_ext=cc
18564 ac_cpp='$CXXCPP $CPPFLAGS'
18565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18569 cat >conftest.$ac_ext <<_ACEOF
18570 /* confdefs.h. */
18571 _ACEOF
18572 cat confdefs.h >>conftest.$ac_ext
18573 cat >>conftest.$ac_ext <<_ACEOF
18574 /* end confdefs.h. */
18575 #include <math.h>
18576 #ifdef HAVE_IEEEFP_H
18577 #include <ieeefp.h>
18578 #endif
18581 main ()
18583 _finitef(0);
18585 return 0;
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -z "$ac_cxx_werror_flag"
18598 || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18601 ac_status=$?
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18607 ac_status=$?
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18610 glibcxx_cv_func__finitef_use=yes
18611 else
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18615 glibcxx_cv_func__finitef_use=no
18617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18618 ac_ext=c
18619 ac_cpp='$CPP $CPPFLAGS'
18620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18629 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18631 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18633 for ac_func in _finitef
18635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18636 echo "$as_me:$LINENO: checking for $ac_func" >&5
18637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18638 if eval "test \"\${$as_ac_var+set}\" = set"; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641 if test x$gcc_no_link = xyes; then
18642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18644 { (exit 1); exit 1; }; }
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18654 #define $ac_func innocuous_$ac_func
18656 /* System header to define __stub macros and hopefully few prototypes,
18657 which can conflict with char $ac_func (); below.
18658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18659 <limits.h> exists even on freestanding compilers. */
18661 #ifdef __STDC__
18662 # include <limits.h>
18663 #else
18664 # include <assert.h>
18665 #endif
18667 #undef $ac_func
18669 /* Override any gcc2 internal prototype to avoid an error. */
18670 #ifdef __cplusplus
18671 extern "C"
18673 #endif
18674 /* We use char because int might match the return type of a gcc2
18675 builtin and then its argument prototype would still apply. */
18676 char $ac_func ();
18677 /* The GNU C library defines this for functions which it implements
18678 to always fail with ENOSYS. Some functions are actually named
18679 something starting with __ and the normal name is an alias. */
18680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18681 choke me
18682 #else
18683 char (*f) () = $ac_func;
18684 #endif
18685 #ifdef __cplusplus
18687 #endif
18690 main ()
18692 return f != $ac_func;
18694 return 0;
18696 _ACEOF
18697 rm -f conftest.$ac_objext conftest$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699 (eval $ac_link) 2>conftest.er1
18700 ac_status=$?
18701 grep -v '^ *+' conftest.er1 >conftest.err
18702 rm -f conftest.er1
18703 cat conftest.err >&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } &&
18706 { ac_try='test -z "$ac_c_werror_flag"
18707 || test ! -s conftest.err'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; } &&
18713 { ac_try='test -s conftest$ac_exeext'
18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715 (eval $ac_try) 2>&5
18716 ac_status=$?
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; }; then
18719 eval "$as_ac_var=yes"
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 eval "$as_ac_var=no"
18726 rm -f conftest.err conftest.$ac_objext \
18727 conftest$ac_exeext conftest.$ac_ext
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18731 if test `eval echo '${'$as_ac_var'}'` = yes; then
18732 cat >>confdefs.h <<_ACEOF
18733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18734 _ACEOF
18737 done
18747 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18748 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18749 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 else
18755 ac_ext=cc
18756 ac_cpp='$CXXCPP $CPPFLAGS'
18757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 #include <math.h>
18769 main ()
18771 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18773 return 0;
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_cxx_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 glibcxx_cv_func_long_double_trig_use=yes
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 glibcxx_cv_func_long_double_trig_use=no
18805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18806 ac_ext=c
18807 ac_cpp='$CPP $CPPFLAGS'
18808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18815 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18816 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18826 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18829 echo "$as_me:$LINENO: checking for $ac_func" >&5
18830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18831 if eval "test \"\${$as_ac_var+set}\" = set"; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834 if test x$gcc_no_link = xyes; then
18835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18837 { (exit 1); exit 1; }; }
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18847 #define $ac_func innocuous_$ac_func
18849 /* System header to define __stub macros and hopefully few prototypes,
18850 which can conflict with char $ac_func (); below.
18851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18852 <limits.h> exists even on freestanding compilers. */
18854 #ifdef __STDC__
18855 # include <limits.h>
18856 #else
18857 # include <assert.h>
18858 #endif
18860 #undef $ac_func
18862 /* Override any gcc2 internal prototype to avoid an error. */
18863 #ifdef __cplusplus
18864 extern "C"
18866 #endif
18867 /* We use char because int might match the return type of a gcc2
18868 builtin and then its argument prototype would still apply. */
18869 char $ac_func ();
18870 /* The GNU C library defines this for functions which it implements
18871 to always fail with ENOSYS. Some functions are actually named
18872 something starting with __ and the normal name is an alias. */
18873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18874 choke me
18875 #else
18876 char (*f) () = $ac_func;
18877 #endif
18878 #ifdef __cplusplus
18880 #endif
18883 main ()
18885 return f != $ac_func;
18887 return 0;
18889 _ACEOF
18890 rm -f conftest.$ac_objext conftest$ac_exeext
18891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18892 (eval $ac_link) 2>conftest.er1
18893 ac_status=$?
18894 grep -v '^ *+' conftest.er1 >conftest.err
18895 rm -f conftest.er1
18896 cat conftest.err >&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } &&
18899 { ac_try='test -z "$ac_c_werror_flag"
18900 || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try='test -s conftest$ac_exeext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 eval "$as_ac_var=yes"
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 eval "$as_ac_var=no"
18919 rm -f conftest.err conftest.$ac_objext \
18920 conftest$ac_exeext conftest.$ac_ext
18922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18924 if test `eval echo '${'$as_ac_var'}'` = yes; then
18925 cat >>confdefs.h <<_ACEOF
18926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18927 _ACEOF
18930 done
18932 else
18933 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18934 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18935 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18941 ac_ext=cc
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18947 cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h. */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18953 #include <math.h>
18955 main ()
18957 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_cxx_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 glibcxx_cv_func__long_double_trig_use=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 glibcxx_cv_func__long_double_trig_use=no
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18992 ac_ext=c
18993 ac_cpp='$CPP $CPPFLAGS'
18994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19001 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19002 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19012 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19015 echo "$as_me:$LINENO: checking for $ac_func" >&5
19016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19017 if eval "test \"\${$as_ac_var+set}\" = set"; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020 if test x$gcc_no_link = xyes; then
19021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19023 { (exit 1); exit 1; }; }
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h. */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19033 #define $ac_func innocuous_$ac_func
19035 /* System header to define __stub macros and hopefully few prototypes,
19036 which can conflict with char $ac_func (); below.
19037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19038 <limits.h> exists even on freestanding compilers. */
19040 #ifdef __STDC__
19041 # include <limits.h>
19042 #else
19043 # include <assert.h>
19044 #endif
19046 #undef $ac_func
19048 /* Override any gcc2 internal prototype to avoid an error. */
19049 #ifdef __cplusplus
19050 extern "C"
19052 #endif
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19055 char $ac_func ();
19056 /* The GNU C library defines this for functions which it implements
19057 to always fail with ENOSYS. Some functions are actually named
19058 something starting with __ and the normal name is an alias. */
19059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19060 choke me
19061 #else
19062 char (*f) () = $ac_func;
19063 #endif
19064 #ifdef __cplusplus
19066 #endif
19069 main ()
19071 return f != $ac_func;
19073 return 0;
19075 _ACEOF
19076 rm -f conftest.$ac_objext conftest$ac_exeext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19078 (eval $ac_link) 2>conftest.er1
19079 ac_status=$?
19080 grep -v '^ *+' conftest.er1 >conftest.err
19081 rm -f conftest.er1
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_c_werror_flag"
19086 || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest$ac_exeext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 eval "$as_ac_var=yes"
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 eval "$as_ac_var=no"
19105 rm -f conftest.err conftest.$ac_objext \
19106 conftest$ac_exeext conftest.$ac_ext
19108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19110 if test `eval echo '${'$as_ac_var'}'` = yes; then
19111 cat >>confdefs.h <<_ACEOF
19112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19113 _ACEOF
19116 done
19134 echo "$as_me:$LINENO: checking for long double round functions" >&5
19135 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19136 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19142 ac_ext=cc
19143 ac_cpp='$CXXCPP $CPPFLAGS'
19144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
19156 main ()
19158 ceill (0); floorl (0);
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165 (eval $ac_compile) 2>conftest.er1
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } &&
19172 { ac_try='test -z "$ac_cxx_werror_flag"
19173 || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19182 ac_status=$?
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 glibcxx_cv_func_long_double_round_use=yes
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19190 glibcxx_cv_func_long_double_round_use=no
19192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19193 ac_ext=c
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19202 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19203 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19206 for ac_func in ceill floorl
19208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19209 echo "$as_me:$LINENO: checking for $ac_func" >&5
19210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19211 if eval "test \"\${$as_ac_var+set}\" = set"; then
19212 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19214 if test x$gcc_no_link = xyes; then
19215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19217 { (exit 1); exit 1; }; }
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19227 #define $ac_func innocuous_$ac_func
19229 /* System header to define __stub macros and hopefully few prototypes,
19230 which can conflict with char $ac_func (); below.
19231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19232 <limits.h> exists even on freestanding compilers. */
19234 #ifdef __STDC__
19235 # include <limits.h>
19236 #else
19237 # include <assert.h>
19238 #endif
19240 #undef $ac_func
19242 /* Override any gcc2 internal prototype to avoid an error. */
19243 #ifdef __cplusplus
19244 extern "C"
19246 #endif
19247 /* We use char because int might match the return type of a gcc2
19248 builtin and then its argument prototype would still apply. */
19249 char $ac_func ();
19250 /* The GNU C library defines this for functions which it implements
19251 to always fail with ENOSYS. Some functions are actually named
19252 something starting with __ and the normal name is an alias. */
19253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19254 choke me
19255 #else
19256 char (*f) () = $ac_func;
19257 #endif
19258 #ifdef __cplusplus
19260 #endif
19263 main ()
19265 return f != $ac_func;
19267 return 0;
19269 _ACEOF
19270 rm -f conftest.$ac_objext conftest$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272 (eval $ac_link) 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try='test -z "$ac_c_werror_flag"
19280 || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try='test -s conftest$ac_exeext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 eval "$as_ac_var=yes"
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 eval "$as_ac_var=no"
19299 rm -f conftest.err conftest.$ac_objext \
19300 conftest$ac_exeext conftest.$ac_ext
19302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19304 if test `eval echo '${'$as_ac_var'}'` = yes; then
19305 cat >>confdefs.h <<_ACEOF
19306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19307 _ACEOF
19310 done
19312 else
19313 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19314 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19315 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 else
19321 ac_ext=cc
19322 ac_cpp='$CXXCPP $CPPFLAGS'
19323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
19335 main ()
19337 _ceill (0); _floorl (0);
19339 return 0;
19341 _ACEOF
19342 rm -f conftest.$ac_objext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19344 (eval $ac_compile) 2>conftest.er1
19345 ac_status=$?
19346 grep -v '^ *+' conftest.er1 >conftest.err
19347 rm -f conftest.er1
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } &&
19351 { ac_try='test -z "$ac_cxx_werror_flag"
19352 || test ! -s conftest.err'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19355 ac_status=$?
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; } &&
19358 { ac_try='test -s conftest.$ac_objext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19361 ac_status=$?
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19364 glibcxx_cv_func__long_double_round_use=yes
19365 else
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19369 glibcxx_cv_func__long_double_round_use=no
19371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19372 ac_ext=c
19373 ac_cpp='$CPP $CPPFLAGS'
19374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19381 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19382 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19385 for ac_func in _ceill _floorl
19387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19388 echo "$as_me:$LINENO: checking for $ac_func" >&5
19389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19390 if eval "test \"\${$as_ac_var+set}\" = set"; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 else
19393 if test x$gcc_no_link = xyes; then
19394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19396 { (exit 1); exit 1; }; }
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19406 #define $ac_func innocuous_$ac_func
19408 /* System header to define __stub macros and hopefully few prototypes,
19409 which can conflict with char $ac_func (); below.
19410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19411 <limits.h> exists even on freestanding compilers. */
19413 #ifdef __STDC__
19414 # include <limits.h>
19415 #else
19416 # include <assert.h>
19417 #endif
19419 #undef $ac_func
19421 /* Override any gcc2 internal prototype to avoid an error. */
19422 #ifdef __cplusplus
19423 extern "C"
19425 #endif
19426 /* We use char because int might match the return type of a gcc2
19427 builtin and then its argument prototype would still apply. */
19428 char $ac_func ();
19429 /* The GNU C library defines this for functions which it implements
19430 to always fail with ENOSYS. Some functions are actually named
19431 something starting with __ and the normal name is an alias. */
19432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19433 choke me
19434 #else
19435 char (*f) () = $ac_func;
19436 #endif
19437 #ifdef __cplusplus
19439 #endif
19442 main ()
19444 return f != $ac_func;
19446 return 0;
19448 _ACEOF
19449 rm -f conftest.$ac_objext conftest$ac_exeext
19450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19451 (eval $ac_link) 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try='test -z "$ac_c_werror_flag"
19459 || test ! -s conftest.err'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; } &&
19465 { ac_try='test -s conftest$ac_exeext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 eval "$as_ac_var=yes"
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 eval "$as_ac_var=no"
19478 rm -f conftest.err conftest.$ac_objext \
19479 conftest$ac_exeext conftest.$ac_ext
19481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19483 if test `eval echo '${'$as_ac_var'}'` = yes; then
19484 cat >>confdefs.h <<_ACEOF
19485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19486 _ACEOF
19489 done
19501 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19502 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19503 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19504 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19510 ac_ext=cc
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <math.h>
19523 #ifdef HAVE_IEEEFP_H
19524 #include <ieeefp.h>
19525 #endif
19528 main ()
19530 isnanl(0);
19532 return 0;
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19537 (eval $ac_compile) 2>conftest.er1
19538 ac_status=$?
19539 grep -v '^ *+' conftest.er1 >conftest.err
19540 rm -f conftest.er1
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try='test -z "$ac_cxx_werror_flag"
19545 || test ! -s conftest.err'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19548 ac_status=$?
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; } &&
19551 { ac_try='test -s conftest.$ac_objext'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19554 ac_status=$?
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; }; then
19557 glibcxx_cv_func_isnanl_use=yes
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19562 glibcxx_cv_func_isnanl_use=no
19564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19565 ac_ext=c
19566 ac_cpp='$CPP $CPPFLAGS'
19567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19576 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19578 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19580 for ac_func in isnanl
19582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19583 echo "$as_me:$LINENO: checking for $ac_func" >&5
19584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19585 if eval "test \"\${$as_ac_var+set}\" = set"; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19587 else
19588 if test x$gcc_no_link = xyes; then
19589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19591 { (exit 1); exit 1; }; }
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19601 #define $ac_func innocuous_$ac_func
19603 /* System header to define __stub macros and hopefully few prototypes,
19604 which can conflict with char $ac_func (); below.
19605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19606 <limits.h> exists even on freestanding compilers. */
19608 #ifdef __STDC__
19609 # include <limits.h>
19610 #else
19611 # include <assert.h>
19612 #endif
19614 #undef $ac_func
19616 /* Override any gcc2 internal prototype to avoid an error. */
19617 #ifdef __cplusplus
19618 extern "C"
19620 #endif
19621 /* We use char because int might match the return type of a gcc2
19622 builtin and then its argument prototype would still apply. */
19623 char $ac_func ();
19624 /* The GNU C library defines this for functions which it implements
19625 to always fail with ENOSYS. Some functions are actually named
19626 something starting with __ and the normal name is an alias. */
19627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19628 choke me
19629 #else
19630 char (*f) () = $ac_func;
19631 #endif
19632 #ifdef __cplusplus
19634 #endif
19637 main ()
19639 return f != $ac_func;
19641 return 0;
19643 _ACEOF
19644 rm -f conftest.$ac_objext conftest$ac_exeext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19646 (eval $ac_link) 2>conftest.er1
19647 ac_status=$?
19648 grep -v '^ *+' conftest.er1 >conftest.err
19649 rm -f conftest.er1
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try='test -z "$ac_c_werror_flag"
19654 || test ! -s conftest.err'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; } &&
19660 { ac_try='test -s conftest$ac_exeext'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19663 ac_status=$?
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 eval "$as_ac_var=yes"
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19671 eval "$as_ac_var=no"
19673 rm -f conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext conftest.$ac_ext
19676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19678 if test `eval echo '${'$as_ac_var'}'` = yes; then
19679 cat >>confdefs.h <<_ACEOF
19680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19681 _ACEOF
19684 done
19686 else
19688 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19689 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19690 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19691 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19697 ac_ext=cc
19698 ac_cpp='$CXXCPP $CPPFLAGS'
19699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19703 cat >conftest.$ac_ext <<_ACEOF
19704 /* confdefs.h. */
19705 _ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19709 #include <math.h>
19710 #ifdef HAVE_IEEEFP_H
19711 #include <ieeefp.h>
19712 #endif
19715 main ()
19717 _isnanl(0);
19719 return 0;
19721 _ACEOF
19722 rm -f conftest.$ac_objext
19723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19724 (eval $ac_compile) 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } &&
19731 { ac_try='test -z "$ac_cxx_werror_flag"
19732 || test ! -s conftest.err'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 glibcxx_cv_func__isnanl_use=yes
19745 else
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 glibcxx_cv_func__isnanl_use=no
19751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19752 ac_ext=c
19753 ac_cpp='$CPP $CPPFLAGS'
19754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19763 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19765 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19767 for ac_func in _isnanl
19769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19770 echo "$as_me:$LINENO: checking for $ac_func" >&5
19771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19772 if eval "test \"\${$as_ac_var+set}\" = set"; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775 if test x$gcc_no_link = xyes; then
19776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19778 { (exit 1); exit 1; }; }
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19788 #define $ac_func innocuous_$ac_func
19790 /* System header to define __stub macros and hopefully few prototypes,
19791 which can conflict with char $ac_func (); below.
19792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19793 <limits.h> exists even on freestanding compilers. */
19795 #ifdef __STDC__
19796 # include <limits.h>
19797 #else
19798 # include <assert.h>
19799 #endif
19801 #undef $ac_func
19803 /* Override any gcc2 internal prototype to avoid an error. */
19804 #ifdef __cplusplus
19805 extern "C"
19807 #endif
19808 /* We use char because int might match the return type of a gcc2
19809 builtin and then its argument prototype would still apply. */
19810 char $ac_func ();
19811 /* The GNU C library defines this for functions which it implements
19812 to always fail with ENOSYS. Some functions are actually named
19813 something starting with __ and the normal name is an alias. */
19814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19815 choke me
19816 #else
19817 char (*f) () = $ac_func;
19818 #endif
19819 #ifdef __cplusplus
19821 #endif
19824 main ()
19826 return f != $ac_func;
19828 return 0;
19830 _ACEOF
19831 rm -f conftest.$ac_objext conftest$ac_exeext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19833 (eval $ac_link) 2>conftest.er1
19834 ac_status=$?
19835 grep -v '^ *+' conftest.er1 >conftest.err
19836 rm -f conftest.er1
19837 cat conftest.err >&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try='test -z "$ac_c_werror_flag"
19841 || test ! -s conftest.err'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; } &&
19847 { ac_try='test -s conftest$ac_exeext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 eval "$as_ac_var=yes"
19854 else
19855 echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19858 eval "$as_ac_var=no"
19860 rm -f conftest.err conftest.$ac_objext \
19861 conftest$ac_exeext conftest.$ac_ext
19863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19865 if test `eval echo '${'$as_ac_var'}'` = yes; then
19866 cat >>confdefs.h <<_ACEOF
19867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19868 _ACEOF
19871 done
19881 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19882 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19883 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19884 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 else
19890 ac_ext=cc
19891 ac_cpp='$CXXCPP $CPPFLAGS'
19892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 #include <math.h>
19903 #ifdef HAVE_IEEEFP_H
19904 #include <ieeefp.h>
19905 #endif
19908 main ()
19910 isinfl(0);
19912 return 0;
19914 _ACEOF
19915 rm -f conftest.$ac_objext
19916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19917 (eval $ac_compile) 2>conftest.er1
19918 ac_status=$?
19919 grep -v '^ *+' conftest.er1 >conftest.err
19920 rm -f conftest.er1
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } &&
19924 { ac_try='test -z "$ac_cxx_werror_flag"
19925 || test ! -s conftest.err'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; } &&
19931 { ac_try='test -s conftest.$ac_objext'
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19933 (eval $ac_try) 2>&5
19934 ac_status=$?
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 glibcxx_cv_func_isinfl_use=yes
19938 else
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19942 glibcxx_cv_func_isinfl_use=no
19944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19945 ac_ext=c
19946 ac_cpp='$CPP $CPPFLAGS'
19947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19956 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19958 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19960 for ac_func in isinfl
19962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19963 echo "$as_me:$LINENO: checking for $ac_func" >&5
19964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19965 if eval "test \"\${$as_ac_var+set}\" = set"; then
19966 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 else
19968 if test x$gcc_no_link = xyes; then
19969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19971 { (exit 1); exit 1; }; }
19973 cat >conftest.$ac_ext <<_ACEOF
19974 /* confdefs.h. */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19981 #define $ac_func innocuous_$ac_func
19983 /* System header to define __stub macros and hopefully few prototypes,
19984 which can conflict with char $ac_func (); below.
19985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19986 <limits.h> exists even on freestanding compilers. */
19988 #ifdef __STDC__
19989 # include <limits.h>
19990 #else
19991 # include <assert.h>
19992 #endif
19994 #undef $ac_func
19996 /* Override any gcc2 internal prototype to avoid an error. */
19997 #ifdef __cplusplus
19998 extern "C"
20000 #endif
20001 /* We use char because int might match the return type of a gcc2
20002 builtin and then its argument prototype would still apply. */
20003 char $ac_func ();
20004 /* The GNU C library defines this for functions which it implements
20005 to always fail with ENOSYS. Some functions are actually named
20006 something starting with __ and the normal name is an alias. */
20007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20008 choke me
20009 #else
20010 char (*f) () = $ac_func;
20011 #endif
20012 #ifdef __cplusplus
20014 #endif
20017 main ()
20019 return f != $ac_func;
20021 return 0;
20023 _ACEOF
20024 rm -f conftest.$ac_objext conftest$ac_exeext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20026 (eval $ac_link) 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -z "$ac_c_werror_flag"
20034 || test ! -s conftest.err'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; } &&
20040 { ac_try='test -s conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 eval "$as_ac_var=yes"
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 eval "$as_ac_var=no"
20053 rm -f conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20058 if test `eval echo '${'$as_ac_var'}'` = yes; then
20059 cat >>confdefs.h <<_ACEOF
20060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20061 _ACEOF
20064 done
20066 else
20068 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20069 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20071 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20077 ac_ext=cc
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #include <math.h>
20090 #ifdef HAVE_IEEEFP_H
20091 #include <ieeefp.h>
20092 #endif
20095 main ()
20097 _isinfl(0);
20099 return 0;
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>conftest.er1
20105 ac_status=$?
20106 grep -v '^ *+' conftest.er1 >conftest.err
20107 rm -f conftest.er1
20108 cat conftest.err >&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try='test -z "$ac_cxx_werror_flag"
20112 || test ! -s conftest.err'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20115 ac_status=$?
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; } &&
20118 { ac_try='test -s conftest.$ac_objext'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 glibcxx_cv_func__isinfl_use=yes
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20129 glibcxx_cv_func__isinfl_use=no
20131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20132 ac_ext=c
20133 ac_cpp='$CPP $CPPFLAGS'
20134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20143 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20145 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20147 for ac_func in _isinfl
20149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20150 echo "$as_me:$LINENO: checking for $ac_func" >&5
20151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20152 if eval "test \"\${$as_ac_var+set}\" = set"; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 else
20155 if test x$gcc_no_link = xyes; then
20156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20158 { (exit 1); exit 1; }; }
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h. */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20168 #define $ac_func innocuous_$ac_func
20170 /* System header to define __stub macros and hopefully few prototypes,
20171 which can conflict with char $ac_func (); below.
20172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20173 <limits.h> exists even on freestanding compilers. */
20175 #ifdef __STDC__
20176 # include <limits.h>
20177 #else
20178 # include <assert.h>
20179 #endif
20181 #undef $ac_func
20183 /* Override any gcc2 internal prototype to avoid an error. */
20184 #ifdef __cplusplus
20185 extern "C"
20187 #endif
20188 /* We use char because int might match the return type of a gcc2
20189 builtin and then its argument prototype would still apply. */
20190 char $ac_func ();
20191 /* The GNU C library defines this for functions which it implements
20192 to always fail with ENOSYS. Some functions are actually named
20193 something starting with __ and the normal name is an alias. */
20194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20195 choke me
20196 #else
20197 char (*f) () = $ac_func;
20198 #endif
20199 #ifdef __cplusplus
20201 #endif
20204 main ()
20206 return f != $ac_func;
20208 return 0;
20210 _ACEOF
20211 rm -f conftest.$ac_objext conftest$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>conftest.er1
20214 ac_status=$?
20215 grep -v '^ *+' conftest.er1 >conftest.err
20216 rm -f conftest.er1
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } &&
20220 { ac_try='test -z "$ac_c_werror_flag"
20221 || test ! -s conftest.err'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; } &&
20227 { ac_try='test -s conftest$ac_exeext'
20228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229 (eval $ac_try) 2>&5
20230 ac_status=$?
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); }; }; then
20233 eval "$as_ac_var=yes"
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 eval "$as_ac_var=no"
20240 rm -f conftest.err conftest.$ac_objext \
20241 conftest$ac_exeext conftest.$ac_ext
20243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20245 if test `eval echo '${'$as_ac_var'}'` = yes; then
20246 cat >>confdefs.h <<_ACEOF
20247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20248 _ACEOF
20251 done
20261 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20262 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20263 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20264 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20270 ac_ext=cc
20271 ac_cpp='$CXXCPP $CPPFLAGS'
20272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20276 cat >conftest.$ac_ext <<_ACEOF
20277 /* confdefs.h. */
20278 _ACEOF
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 #include <math.h>
20284 main ()
20286 copysignl(0, 0);
20288 return 0;
20290 _ACEOF
20291 rm -f conftest.$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20294 ac_status=$?
20295 grep -v '^ *+' conftest.er1 >conftest.err
20296 rm -f conftest.er1
20297 cat conftest.err >&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try='test -z "$ac_cxx_werror_flag"
20301 || test ! -s conftest.err'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20304 ac_status=$?
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; } &&
20307 { ac_try='test -s conftest.$ac_objext'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 glibcxx_cv_func_copysignl_use=yes
20314 else
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 glibcxx_cv_func_copysignl_use=no
20320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20321 ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20332 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20334 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20336 for ac_func in copysignl
20338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20339 echo "$as_me:$LINENO: checking for $ac_func" >&5
20340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20341 if eval "test \"\${$as_ac_var+set}\" = set"; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20347 { (exit 1); exit 1; }; }
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20357 #define $ac_func innocuous_$ac_func
20359 /* System header to define __stub macros and hopefully few prototypes,
20360 which can conflict with char $ac_func (); below.
20361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20362 <limits.h> exists even on freestanding compilers. */
20364 #ifdef __STDC__
20365 # include <limits.h>
20366 #else
20367 # include <assert.h>
20368 #endif
20370 #undef $ac_func
20372 /* Override any gcc2 internal prototype to avoid an error. */
20373 #ifdef __cplusplus
20374 extern "C"
20376 #endif
20377 /* We use char because int might match the return type of a gcc2
20378 builtin and then its argument prototype would still apply. */
20379 char $ac_func ();
20380 /* The GNU C library defines this for functions which it implements
20381 to always fail with ENOSYS. Some functions are actually named
20382 something starting with __ and the normal name is an alias. */
20383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20384 choke me
20385 #else
20386 char (*f) () = $ac_func;
20387 #endif
20388 #ifdef __cplusplus
20390 #endif
20393 main ()
20395 return f != $ac_func;
20397 return 0;
20399 _ACEOF
20400 rm -f conftest.$ac_objext conftest$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>conftest.er1
20403 ac_status=$?
20404 grep -v '^ *+' conftest.er1 >conftest.err
20405 rm -f conftest.er1
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try='test -z "$ac_c_werror_flag"
20410 || test ! -s conftest.err'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; } &&
20416 { ac_try='test -s conftest$ac_exeext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 eval "$as_ac_var=yes"
20423 else
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 eval "$as_ac_var=no"
20429 rm -f conftest.err conftest.$ac_objext \
20430 conftest$ac_exeext conftest.$ac_ext
20432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20434 if test `eval echo '${'$as_ac_var'}'` = yes; then
20435 cat >>confdefs.h <<_ACEOF
20436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20437 _ACEOF
20440 done
20442 else
20444 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20445 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20446 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20447 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20453 ac_ext=cc
20454 ac_cpp='$CXXCPP $CPPFLAGS'
20455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20459 cat >conftest.$ac_ext <<_ACEOF
20460 /* confdefs.h. */
20461 _ACEOF
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 #include <math.h>
20467 main ()
20469 _copysignl(0, 0);
20471 return 0;
20473 _ACEOF
20474 rm -f conftest.$ac_objext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20476 (eval $ac_compile) 2>conftest.er1
20477 ac_status=$?
20478 grep -v '^ *+' conftest.er1 >conftest.err
20479 rm -f conftest.er1
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -z "$ac_cxx_werror_flag"
20484 || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 glibcxx_cv_func__copysignl_use=yes
20497 else
20498 echo "$as_me: failed program was:" >&5
20499 sed 's/^/| /' conftest.$ac_ext >&5
20501 glibcxx_cv_func__copysignl_use=no
20503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20504 ac_ext=c
20505 ac_cpp='$CPP $CPPFLAGS'
20506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20515 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20517 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20519 for ac_func in _copysignl
20521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20522 echo "$as_me:$LINENO: checking for $ac_func" >&5
20523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20524 if eval "test \"\${$as_ac_var+set}\" = set"; then
20525 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 else
20527 if test x$gcc_no_link = xyes; then
20528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20530 { (exit 1); exit 1; }; }
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20540 #define $ac_func innocuous_$ac_func
20542 /* System header to define __stub macros and hopefully few prototypes,
20543 which can conflict with char $ac_func (); below.
20544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20545 <limits.h> exists even on freestanding compilers. */
20547 #ifdef __STDC__
20548 # include <limits.h>
20549 #else
20550 # include <assert.h>
20551 #endif
20553 #undef $ac_func
20555 /* Override any gcc2 internal prototype to avoid an error. */
20556 #ifdef __cplusplus
20557 extern "C"
20559 #endif
20560 /* We use char because int might match the return type of a gcc2
20561 builtin and then its argument prototype would still apply. */
20562 char $ac_func ();
20563 /* The GNU C library defines this for functions which it implements
20564 to always fail with ENOSYS. Some functions are actually named
20565 something starting with __ and the normal name is an alias. */
20566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20567 choke me
20568 #else
20569 char (*f) () = $ac_func;
20570 #endif
20571 #ifdef __cplusplus
20573 #endif
20576 main ()
20578 return f != $ac_func;
20580 return 0;
20582 _ACEOF
20583 rm -f conftest.$ac_objext conftest$ac_exeext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20585 (eval $ac_link) 2>conftest.er1
20586 ac_status=$?
20587 grep -v '^ *+' conftest.er1 >conftest.err
20588 rm -f conftest.er1
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try='test -z "$ac_c_werror_flag"
20593 || test ! -s conftest.err'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20596 ac_status=$?
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; } &&
20599 { ac_try='test -s conftest$ac_exeext'
20600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20601 (eval $ac_try) 2>&5
20602 ac_status=$?
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); }; }; then
20605 eval "$as_ac_var=yes"
20606 else
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20610 eval "$as_ac_var=no"
20612 rm -f conftest.err conftest.$ac_objext \
20613 conftest$ac_exeext conftest.$ac_ext
20615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20617 if test `eval echo '${'$as_ac_var'}'` = yes; then
20618 cat >>confdefs.h <<_ACEOF
20619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20620 _ACEOF
20623 done
20633 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20634 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20635 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20636 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20642 ac_ext=cc
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 #include <math.h>
20656 main ()
20658 atan2l(0, 0);
20660 return 0;
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20665 (eval $ac_compile) 2>conftest.er1
20666 ac_status=$?
20667 grep -v '^ *+' conftest.er1 >conftest.err
20668 rm -f conftest.er1
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } &&
20672 { ac_try='test -z "$ac_cxx_werror_flag"
20673 || test ! -s conftest.err'
20674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675 (eval $ac_try) 2>&5
20676 ac_status=$?
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); }; } &&
20679 { ac_try='test -s conftest.$ac_objext'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20682 ac_status=$?
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; }; then
20685 glibcxx_cv_func_atan2l_use=yes
20686 else
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 glibcxx_cv_func_atan2l_use=no
20692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20704 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20706 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20708 for ac_func in atan2l
20710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20711 echo "$as_me:$LINENO: checking for $ac_func" >&5
20712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20713 if eval "test \"\${$as_ac_var+set}\" = set"; then
20714 echo $ECHO_N "(cached) $ECHO_C" >&6
20715 else
20716 if test x$gcc_no_link = xyes; then
20717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20719 { (exit 1); exit 1; }; }
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20729 #define $ac_func innocuous_$ac_func
20731 /* System header to define __stub macros and hopefully few prototypes,
20732 which can conflict with char $ac_func (); below.
20733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20734 <limits.h> exists even on freestanding compilers. */
20736 #ifdef __STDC__
20737 # include <limits.h>
20738 #else
20739 # include <assert.h>
20740 #endif
20742 #undef $ac_func
20744 /* Override any gcc2 internal prototype to avoid an error. */
20745 #ifdef __cplusplus
20746 extern "C"
20748 #endif
20749 /* We use char because int might match the return type of a gcc2
20750 builtin and then its argument prototype would still apply. */
20751 char $ac_func ();
20752 /* The GNU C library defines this for functions which it implements
20753 to always fail with ENOSYS. Some functions are actually named
20754 something starting with __ and the normal name is an alias. */
20755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20756 choke me
20757 #else
20758 char (*f) () = $ac_func;
20759 #endif
20760 #ifdef __cplusplus
20762 #endif
20765 main ()
20767 return f != $ac_func;
20769 return 0;
20771 _ACEOF
20772 rm -f conftest.$ac_objext conftest$ac_exeext
20773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20774 (eval $ac_link) 2>conftest.er1
20775 ac_status=$?
20776 grep -v '^ *+' conftest.er1 >conftest.err
20777 rm -f conftest.er1
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } &&
20781 { ac_try='test -z "$ac_c_werror_flag"
20782 || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest$ac_exeext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20791 ac_status=$?
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 eval "$as_ac_var=yes"
20795 else
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 eval "$as_ac_var=no"
20801 rm -f conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext conftest.$ac_ext
20804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20806 if test `eval echo '${'$as_ac_var'}'` = yes; then
20807 cat >>confdefs.h <<_ACEOF
20808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20809 _ACEOF
20812 done
20814 else
20816 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20817 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20818 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20819 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20820 echo $ECHO_N "(cached) $ECHO_C" >&6
20821 else
20825 ac_ext=cc
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20831 cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h. */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 #include <math.h>
20839 main ()
20841 _atan2l(0, 0);
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848 (eval $ac_compile) 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_cxx_werror_flag"
20856 || test ! -s conftest.err'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; } &&
20862 { ac_try='test -s conftest.$ac_objext'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; }; then
20868 glibcxx_cv_func__atan2l_use=yes
20869 else
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20873 glibcxx_cv_func__atan2l_use=no
20875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20876 ac_ext=c
20877 ac_cpp='$CPP $CPPFLAGS'
20878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20887 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20889 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20891 for ac_func in _atan2l
20893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20894 echo "$as_me:$LINENO: checking for $ac_func" >&5
20895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20896 if eval "test \"\${$as_ac_var+set}\" = set"; then
20897 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 else
20899 if test x$gcc_no_link = xyes; then
20900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20902 { (exit 1); exit 1; }; }
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h. */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20912 #define $ac_func innocuous_$ac_func
20914 /* System header to define __stub macros and hopefully few prototypes,
20915 which can conflict with char $ac_func (); below.
20916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20917 <limits.h> exists even on freestanding compilers. */
20919 #ifdef __STDC__
20920 # include <limits.h>
20921 #else
20922 # include <assert.h>
20923 #endif
20925 #undef $ac_func
20927 /* Override any gcc2 internal prototype to avoid an error. */
20928 #ifdef __cplusplus
20929 extern "C"
20931 #endif
20932 /* We use char because int might match the return type of a gcc2
20933 builtin and then its argument prototype would still apply. */
20934 char $ac_func ();
20935 /* The GNU C library defines this for functions which it implements
20936 to always fail with ENOSYS. Some functions are actually named
20937 something starting with __ and the normal name is an alias. */
20938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20939 choke me
20940 #else
20941 char (*f) () = $ac_func;
20942 #endif
20943 #ifdef __cplusplus
20945 #endif
20948 main ()
20950 return f != $ac_func;
20952 return 0;
20954 _ACEOF
20955 rm -f conftest.$ac_objext conftest$ac_exeext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20957 (eval $ac_link) 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -z "$ac_c_werror_flag"
20965 || test ! -s conftest.err'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; } &&
20971 { ac_try='test -s conftest$ac_exeext'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20974 ac_status=$?
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 eval "$as_ac_var=yes"
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 eval "$as_ac_var=no"
20984 rm -f conftest.err conftest.$ac_objext \
20985 conftest$ac_exeext conftest.$ac_ext
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 _ACEOF
20995 done
21005 echo "$as_me:$LINENO: checking for expl declaration" >&5
21006 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21007 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21008 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 else
21014 ac_ext=cc
21015 ac_cpp='$CXXCPP $CPPFLAGS'
21016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 #include <math.h>
21027 #ifdef HAVE_IEEEFP_H
21028 #include <ieeefp.h>
21029 #endif
21032 main ()
21034 expl(0);
21036 return 0;
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21041 (eval $ac_compile) 2>conftest.er1
21042 ac_status=$?
21043 grep -v '^ *+' conftest.er1 >conftest.err
21044 rm -f conftest.er1
21045 cat conftest.err >&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } &&
21048 { ac_try='test -z "$ac_cxx_werror_flag"
21049 || test ! -s conftest.err'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; } &&
21055 { ac_try='test -s conftest.$ac_objext'
21056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21057 (eval $ac_try) 2>&5
21058 ac_status=$?
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21061 glibcxx_cv_func_expl_use=yes
21062 else
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 glibcxx_cv_func_expl_use=no
21068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21069 ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21080 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21082 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21084 for ac_func in expl
21086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21087 echo "$as_me:$LINENO: checking for $ac_func" >&5
21088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21089 if eval "test \"\${$as_ac_var+set}\" = set"; then
21090 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 else
21092 if test x$gcc_no_link = xyes; then
21093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21095 { (exit 1); exit 1; }; }
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h. */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21105 #define $ac_func innocuous_$ac_func
21107 /* System header to define __stub macros and hopefully few prototypes,
21108 which can conflict with char $ac_func (); below.
21109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21110 <limits.h> exists even on freestanding compilers. */
21112 #ifdef __STDC__
21113 # include <limits.h>
21114 #else
21115 # include <assert.h>
21116 #endif
21118 #undef $ac_func
21120 /* Override any gcc2 internal prototype to avoid an error. */
21121 #ifdef __cplusplus
21122 extern "C"
21124 #endif
21125 /* We use char because int might match the return type of a gcc2
21126 builtin and then its argument prototype would still apply. */
21127 char $ac_func ();
21128 /* The GNU C library defines this for functions which it implements
21129 to always fail with ENOSYS. Some functions are actually named
21130 something starting with __ and the normal name is an alias. */
21131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21132 choke me
21133 #else
21134 char (*f) () = $ac_func;
21135 #endif
21136 #ifdef __cplusplus
21138 #endif
21141 main ()
21143 return f != $ac_func;
21145 return 0;
21147 _ACEOF
21148 rm -f conftest.$ac_objext conftest$ac_exeext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21150 (eval $ac_link) 2>conftest.er1
21151 ac_status=$?
21152 grep -v '^ *+' conftest.er1 >conftest.err
21153 rm -f conftest.er1
21154 cat conftest.err >&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try='test -z "$ac_c_werror_flag"
21158 || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try='test -s conftest$ac_exeext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 eval "$as_ac_var=yes"
21171 else
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 eval "$as_ac_var=no"
21177 rm -f conftest.err conftest.$ac_objext \
21178 conftest$ac_exeext conftest.$ac_ext
21180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21182 if test `eval echo '${'$as_ac_var'}'` = yes; then
21183 cat >>confdefs.h <<_ACEOF
21184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21185 _ACEOF
21188 done
21190 else
21192 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21193 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21194 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21195 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21201 ac_ext=cc
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <math.h>
21214 #ifdef HAVE_IEEEFP_H
21215 #include <ieeefp.h>
21216 #endif
21219 main ()
21221 _expl(0);
21223 return 0;
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_cxx_werror_flag"
21236 || test ! -s conftest.err'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; } &&
21242 { ac_try='test -s conftest.$ac_objext'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 glibcxx_cv_func__expl_use=yes
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 glibcxx_cv_func__expl_use=no
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256 ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21267 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21269 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21271 for ac_func in _expl
21273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21274 echo "$as_me:$LINENO: checking for $ac_func" >&5
21275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21276 if eval "test \"\${$as_ac_var+set}\" = set"; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 if test x$gcc_no_link = xyes; then
21280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21282 { (exit 1); exit 1; }; }
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21292 #define $ac_func innocuous_$ac_func
21294 /* System header to define __stub macros and hopefully few prototypes,
21295 which can conflict with char $ac_func (); below.
21296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297 <limits.h> exists even on freestanding compilers. */
21299 #ifdef __STDC__
21300 # include <limits.h>
21301 #else
21302 # include <assert.h>
21303 #endif
21305 #undef $ac_func
21307 /* Override any gcc2 internal prototype to avoid an error. */
21308 #ifdef __cplusplus
21309 extern "C"
21311 #endif
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21314 char $ac_func ();
21315 /* The GNU C library defines this for functions which it implements
21316 to always fail with ENOSYS. Some functions are actually named
21317 something starting with __ and the normal name is an alias. */
21318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21319 choke me
21320 #else
21321 char (*f) () = $ac_func;
21322 #endif
21323 #ifdef __cplusplus
21325 #endif
21328 main ()
21330 return f != $ac_func;
21332 return 0;
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21338 ac_status=$?
21339 grep -v '^ *+' conftest.er1 >conftest.err
21340 rm -f conftest.er1
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 eval "$as_ac_var=yes"
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 eval "$as_ac_var=no"
21364 rm -f conftest.err conftest.$ac_objext \
21365 conftest$ac_exeext conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21369 if test `eval echo '${'$as_ac_var'}'` = yes; then
21370 cat >>confdefs.h <<_ACEOF
21371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 _ACEOF
21375 done
21385 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21386 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21388 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21390 else
21394 ac_ext=cc
21395 ac_cpp='$CXXCPP $CPPFLAGS'
21396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21400 cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 #include <math.h>
21407 #ifdef HAVE_IEEEFP_H
21408 #include <ieeefp.h>
21409 #endif
21412 main ()
21414 fabsl(0);
21416 return 0;
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -z "$ac_cxx_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 glibcxx_cv_func_fabsl_use=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21446 glibcxx_cv_func_fabsl_use=no
21448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21449 ac_ext=c
21450 ac_cpp='$CPP $CPPFLAGS'
21451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21460 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21462 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21464 for ac_func in fabsl
21466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21467 echo "$as_me:$LINENO: checking for $ac_func" >&5
21468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21469 if eval "test \"\${$as_ac_var+set}\" = set"; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472 if test x$gcc_no_link = xyes; then
21473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21475 { (exit 1); exit 1; }; }
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21485 #define $ac_func innocuous_$ac_func
21487 /* System header to define __stub macros and hopefully few prototypes,
21488 which can conflict with char $ac_func (); below.
21489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21490 <limits.h> exists even on freestanding compilers. */
21492 #ifdef __STDC__
21493 # include <limits.h>
21494 #else
21495 # include <assert.h>
21496 #endif
21498 #undef $ac_func
21500 /* Override any gcc2 internal prototype to avoid an error. */
21501 #ifdef __cplusplus
21502 extern "C"
21504 #endif
21505 /* We use char because int might match the return type of a gcc2
21506 builtin and then its argument prototype would still apply. */
21507 char $ac_func ();
21508 /* The GNU C library defines this for functions which it implements
21509 to always fail with ENOSYS. Some functions are actually named
21510 something starting with __ and the normal name is an alias. */
21511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21512 choke me
21513 #else
21514 char (*f) () = $ac_func;
21515 #endif
21516 #ifdef __cplusplus
21518 #endif
21521 main ()
21523 return f != $ac_func;
21525 return 0;
21527 _ACEOF
21528 rm -f conftest.$ac_objext conftest$ac_exeext
21529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21530 (eval $ac_link) 2>conftest.er1
21531 ac_status=$?
21532 grep -v '^ *+' conftest.er1 >conftest.err
21533 rm -f conftest.er1
21534 cat conftest.err >&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } &&
21537 { ac_try='test -z "$ac_c_werror_flag"
21538 || test ! -s conftest.err'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try='test -s conftest$ac_exeext'
21545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 (eval $ac_try) 2>&5
21547 ac_status=$?
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; }; then
21550 eval "$as_ac_var=yes"
21551 else
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21555 eval "$as_ac_var=no"
21557 rm -f conftest.err conftest.$ac_objext \
21558 conftest$ac_exeext conftest.$ac_ext
21560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21562 if test `eval echo '${'$as_ac_var'}'` = yes; then
21563 cat >>confdefs.h <<_ACEOF
21564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21565 _ACEOF
21568 done
21570 else
21572 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21573 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21574 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21575 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21581 ac_ext=cc
21582 ac_cpp='$CXXCPP $CPPFLAGS'
21583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 #include <math.h>
21594 #ifdef HAVE_IEEEFP_H
21595 #include <ieeefp.h>
21596 #endif
21599 main ()
21601 _fabsl(0);
21603 return 0;
21605 _ACEOF
21606 rm -f conftest.$ac_objext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21608 (eval $ac_compile) 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_cxx_werror_flag"
21616 || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try='test -s conftest.$ac_objext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21628 glibcxx_cv_func__fabsl_use=yes
21629 else
21630 echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.$ac_ext >&5
21633 glibcxx_cv_func__fabsl_use=no
21635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21636 ac_ext=c
21637 ac_cpp='$CPP $CPPFLAGS'
21638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21647 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21649 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21651 for ac_func in _fabsl
21653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21654 echo "$as_me:$LINENO: checking for $ac_func" >&5
21655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21656 if eval "test \"\${$as_ac_var+set}\" = set"; then
21657 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 else
21659 if test x$gcc_no_link = xyes; then
21660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21662 { (exit 1); exit 1; }; }
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21672 #define $ac_func innocuous_$ac_func
21674 /* System header to define __stub macros and hopefully few prototypes,
21675 which can conflict with char $ac_func (); below.
21676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21677 <limits.h> exists even on freestanding compilers. */
21679 #ifdef __STDC__
21680 # include <limits.h>
21681 #else
21682 # include <assert.h>
21683 #endif
21685 #undef $ac_func
21687 /* Override any gcc2 internal prototype to avoid an error. */
21688 #ifdef __cplusplus
21689 extern "C"
21691 #endif
21692 /* We use char because int might match the return type of a gcc2
21693 builtin and then its argument prototype would still apply. */
21694 char $ac_func ();
21695 /* The GNU C library defines this for functions which it implements
21696 to always fail with ENOSYS. Some functions are actually named
21697 something starting with __ and the normal name is an alias. */
21698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21699 choke me
21700 #else
21701 char (*f) () = $ac_func;
21702 #endif
21703 #ifdef __cplusplus
21705 #endif
21708 main ()
21710 return f != $ac_func;
21712 return 0;
21714 _ACEOF
21715 rm -f conftest.$ac_objext conftest$ac_exeext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21717 (eval $ac_link) 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try='test -z "$ac_c_werror_flag"
21725 || test ! -s conftest.err'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; } &&
21731 { ac_try='test -s conftest$ac_exeext'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; }; then
21737 eval "$as_ac_var=yes"
21738 else
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21742 eval "$as_ac_var=no"
21744 rm -f conftest.err conftest.$ac_objext \
21745 conftest$ac_exeext conftest.$ac_ext
21747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21749 if test `eval echo '${'$as_ac_var'}'` = yes; then
21750 cat >>confdefs.h <<_ACEOF
21751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21752 _ACEOF
21755 done
21765 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21766 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21767 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21768 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21770 else
21774 ac_ext=cc
21775 ac_cpp='$CXXCPP $CPPFLAGS'
21776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21780 cat >conftest.$ac_ext <<_ACEOF
21781 /* confdefs.h. */
21782 _ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 #include <math.h>
21788 main ()
21790 fmodl(0, 0);
21792 return 0;
21794 _ACEOF
21795 rm -f conftest.$ac_objext
21796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21797 (eval $ac_compile) 2>conftest.er1
21798 ac_status=$?
21799 grep -v '^ *+' conftest.er1 >conftest.err
21800 rm -f conftest.er1
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } &&
21804 { ac_try='test -z "$ac_cxx_werror_flag"
21805 || test ! -s conftest.err'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; } &&
21811 { ac_try='test -s conftest.$ac_objext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 glibcxx_cv_func_fmodl_use=yes
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21822 glibcxx_cv_func_fmodl_use=no
21824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21825 ac_ext=c
21826 ac_cpp='$CPP $CPPFLAGS'
21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21836 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21838 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21840 for ac_func in fmodl
21842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21843 echo "$as_me:$LINENO: checking for $ac_func" >&5
21844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21845 if eval "test \"\${$as_ac_var+set}\" = set"; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 else
21848 if test x$gcc_no_link = xyes; then
21849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21851 { (exit 1); exit 1; }; }
21853 cat >conftest.$ac_ext <<_ACEOF
21854 /* confdefs.h. */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21861 #define $ac_func innocuous_$ac_func
21863 /* System header to define __stub macros and hopefully few prototypes,
21864 which can conflict with char $ac_func (); below.
21865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21866 <limits.h> exists even on freestanding compilers. */
21868 #ifdef __STDC__
21869 # include <limits.h>
21870 #else
21871 # include <assert.h>
21872 #endif
21874 #undef $ac_func
21876 /* Override any gcc2 internal prototype to avoid an error. */
21877 #ifdef __cplusplus
21878 extern "C"
21880 #endif
21881 /* We use char because int might match the return type of a gcc2
21882 builtin and then its argument prototype would still apply. */
21883 char $ac_func ();
21884 /* The GNU C library defines this for functions which it implements
21885 to always fail with ENOSYS. Some functions are actually named
21886 something starting with __ and the normal name is an alias. */
21887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21888 choke me
21889 #else
21890 char (*f) () = $ac_func;
21891 #endif
21892 #ifdef __cplusplus
21894 #endif
21897 main ()
21899 return f != $ac_func;
21901 return 0;
21903 _ACEOF
21904 rm -f conftest.$ac_objext conftest$ac_exeext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21906 (eval $ac_link) 2>conftest.er1
21907 ac_status=$?
21908 grep -v '^ *+' conftest.er1 >conftest.err
21909 rm -f conftest.er1
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try='test -z "$ac_c_werror_flag"
21914 || test ! -s conftest.err'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; } &&
21920 { ac_try='test -s conftest$ac_exeext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 eval "$as_ac_var=yes"
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 eval "$as_ac_var=no"
21933 rm -f conftest.err conftest.$ac_objext \
21934 conftest$ac_exeext conftest.$ac_ext
21936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21938 if test `eval echo '${'$as_ac_var'}'` = yes; then
21939 cat >>confdefs.h <<_ACEOF
21940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21941 _ACEOF
21944 done
21946 else
21948 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21949 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21950 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21951 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21952 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 else
21957 ac_ext=cc
21958 ac_cpp='$CXXCPP $CPPFLAGS'
21959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 #include <math.h>
21971 main ()
21973 _fmodl(0, 0);
21975 return 0;
21977 _ACEOF
21978 rm -f conftest.$ac_objext
21979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21980 (eval $ac_compile) 2>conftest.er1
21981 ac_status=$?
21982 grep -v '^ *+' conftest.er1 >conftest.err
21983 rm -f conftest.er1
21984 cat conftest.err >&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); } &&
21987 { ac_try='test -z "$ac_cxx_werror_flag"
21988 || test ! -s conftest.err'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; } &&
21994 { ac_try='test -s conftest.$ac_objext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 glibcxx_cv_func__fmodl_use=yes
22001 else
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22005 glibcxx_cv_func__fmodl_use=no
22007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22008 ac_ext=c
22009 ac_cpp='$CPP $CPPFLAGS'
22010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22019 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22021 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22023 for ac_func in _fmodl
22025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22026 echo "$as_me:$LINENO: checking for $ac_func" >&5
22027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22028 if eval "test \"\${$as_ac_var+set}\" = set"; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 if test x$gcc_no_link = xyes; then
22032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22034 { (exit 1); exit 1; }; }
22036 cat >conftest.$ac_ext <<_ACEOF
22037 /* confdefs.h. */
22038 _ACEOF
22039 cat confdefs.h >>conftest.$ac_ext
22040 cat >>conftest.$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22044 #define $ac_func innocuous_$ac_func
22046 /* System header to define __stub macros and hopefully few prototypes,
22047 which can conflict with char $ac_func (); below.
22048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22049 <limits.h> exists even on freestanding compilers. */
22051 #ifdef __STDC__
22052 # include <limits.h>
22053 #else
22054 # include <assert.h>
22055 #endif
22057 #undef $ac_func
22059 /* Override any gcc2 internal prototype to avoid an error. */
22060 #ifdef __cplusplus
22061 extern "C"
22063 #endif
22064 /* We use char because int might match the return type of a gcc2
22065 builtin and then its argument prototype would still apply. */
22066 char $ac_func ();
22067 /* The GNU C library defines this for functions which it implements
22068 to always fail with ENOSYS. Some functions are actually named
22069 something starting with __ and the normal name is an alias. */
22070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22071 choke me
22072 #else
22073 char (*f) () = $ac_func;
22074 #endif
22075 #ifdef __cplusplus
22077 #endif
22080 main ()
22082 return f != $ac_func;
22084 return 0;
22086 _ACEOF
22087 rm -f conftest.$ac_objext conftest$ac_exeext
22088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22089 (eval $ac_link) 2>conftest.er1
22090 ac_status=$?
22091 grep -v '^ *+' conftest.er1 >conftest.err
22092 rm -f conftest.er1
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } &&
22096 { ac_try='test -z "$ac_c_werror_flag"
22097 || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try='test -s conftest$ac_exeext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 eval "$as_ac_var=yes"
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22114 eval "$as_ac_var=no"
22116 rm -f conftest.err conftest.$ac_objext \
22117 conftest$ac_exeext conftest.$ac_ext
22119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22121 if test `eval echo '${'$as_ac_var'}'` = yes; then
22122 cat >>confdefs.h <<_ACEOF
22123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22124 _ACEOF
22127 done
22137 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22138 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22139 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22140 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22141 echo $ECHO_N "(cached) $ECHO_C" >&6
22142 else
22146 ac_ext=cc
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 #include <math.h>
22160 main ()
22162 frexpl(0, 0);
22164 return 0;
22166 _ACEOF
22167 rm -f conftest.$ac_objext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22169 (eval $ac_compile) 2>conftest.er1
22170 ac_status=$?
22171 grep -v '^ *+' conftest.er1 >conftest.err
22172 rm -f conftest.er1
22173 cat conftest.err >&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); } &&
22176 { ac_try='test -z "$ac_cxx_werror_flag"
22177 || test ! -s conftest.err'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; } &&
22183 { ac_try='test -s conftest.$ac_objext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 glibcxx_cv_func_frexpl_use=yes
22190 else
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22194 glibcxx_cv_func_frexpl_use=no
22196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22197 ac_ext=c
22198 ac_cpp='$CPP $CPPFLAGS'
22199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22208 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22210 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22212 for ac_func in frexpl
22214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22215 echo "$as_me:$LINENO: checking for $ac_func" >&5
22216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22217 if eval "test \"\${$as_ac_var+set}\" = set"; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 else
22220 if test x$gcc_no_link = xyes; then
22221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22223 { (exit 1); exit 1; }; }
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h. */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22233 #define $ac_func innocuous_$ac_func
22235 /* System header to define __stub macros and hopefully few prototypes,
22236 which can conflict with char $ac_func (); below.
22237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22238 <limits.h> exists even on freestanding compilers. */
22240 #ifdef __STDC__
22241 # include <limits.h>
22242 #else
22243 # include <assert.h>
22244 #endif
22246 #undef $ac_func
22248 /* Override any gcc2 internal prototype to avoid an error. */
22249 #ifdef __cplusplus
22250 extern "C"
22252 #endif
22253 /* We use char because int might match the return type of a gcc2
22254 builtin and then its argument prototype would still apply. */
22255 char $ac_func ();
22256 /* The GNU C library defines this for functions which it implements
22257 to always fail with ENOSYS. Some functions are actually named
22258 something starting with __ and the normal name is an alias. */
22259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22260 choke me
22261 #else
22262 char (*f) () = $ac_func;
22263 #endif
22264 #ifdef __cplusplus
22266 #endif
22269 main ()
22271 return f != $ac_func;
22273 return 0;
22275 _ACEOF
22276 rm -f conftest.$ac_objext conftest$ac_exeext
22277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278 (eval $ac_link) 2>conftest.er1
22279 ac_status=$?
22280 grep -v '^ *+' conftest.er1 >conftest.err
22281 rm -f conftest.er1
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -z "$ac_c_werror_flag"
22286 || test ! -s conftest.err'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; } &&
22292 { ac_try='test -s conftest$ac_exeext'
22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294 (eval $ac_try) 2>&5
22295 ac_status=$?
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; }; then
22298 eval "$as_ac_var=yes"
22299 else
22300 echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.$ac_ext >&5
22303 eval "$as_ac_var=no"
22305 rm -f conftest.err conftest.$ac_objext \
22306 conftest$ac_exeext conftest.$ac_ext
22308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22310 if test `eval echo '${'$as_ac_var'}'` = yes; then
22311 cat >>confdefs.h <<_ACEOF
22312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22313 _ACEOF
22316 done
22318 else
22320 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22321 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22322 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22323 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22325 else
22329 ac_ext=cc
22330 ac_cpp='$CXXCPP $CPPFLAGS'
22331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22335 cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h. */
22337 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 #include <math.h>
22343 main ()
22345 _frexpl(0, 0);
22347 return 0;
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352 (eval $ac_compile) 2>conftest.er1
22353 ac_status=$?
22354 grep -v '^ *+' conftest.er1 >conftest.err
22355 rm -f conftest.er1
22356 cat conftest.err >&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } &&
22359 { ac_try='test -z "$ac_cxx_werror_flag"
22360 || test ! -s conftest.err'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; } &&
22366 { ac_try='test -s conftest.$ac_objext'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22369 ac_status=$?
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; }; then
22372 glibcxx_cv_func__frexpl_use=yes
22373 else
22374 echo "$as_me: failed program was:" >&5
22375 sed 's/^/| /' conftest.$ac_ext >&5
22377 glibcxx_cv_func__frexpl_use=no
22379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22380 ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22391 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22393 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22395 for ac_func in _frexpl
22397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22398 echo "$as_me:$LINENO: checking for $ac_func" >&5
22399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22400 if eval "test \"\${$as_ac_var+set}\" = set"; then
22401 echo $ECHO_N "(cached) $ECHO_C" >&6
22402 else
22403 if test x$gcc_no_link = xyes; then
22404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22406 { (exit 1); exit 1; }; }
22408 cat >conftest.$ac_ext <<_ACEOF
22409 /* confdefs.h. */
22410 _ACEOF
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h. */
22414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22416 #define $ac_func innocuous_$ac_func
22418 /* System header to define __stub macros and hopefully few prototypes,
22419 which can conflict with char $ac_func (); below.
22420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22421 <limits.h> exists even on freestanding compilers. */
22423 #ifdef __STDC__
22424 # include <limits.h>
22425 #else
22426 # include <assert.h>
22427 #endif
22429 #undef $ac_func
22431 /* Override any gcc2 internal prototype to avoid an error. */
22432 #ifdef __cplusplus
22433 extern "C"
22435 #endif
22436 /* We use char because int might match the return type of a gcc2
22437 builtin and then its argument prototype would still apply. */
22438 char $ac_func ();
22439 /* The GNU C library defines this for functions which it implements
22440 to always fail with ENOSYS. Some functions are actually named
22441 something starting with __ and the normal name is an alias. */
22442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22443 choke me
22444 #else
22445 char (*f) () = $ac_func;
22446 #endif
22447 #ifdef __cplusplus
22449 #endif
22452 main ()
22454 return f != $ac_func;
22456 return 0;
22458 _ACEOF
22459 rm -f conftest.$ac_objext conftest$ac_exeext
22460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22461 (eval $ac_link) 2>conftest.er1
22462 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_c_werror_flag"
22469 || test ! -s conftest.err'
22470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471 (eval $ac_try) 2>&5
22472 ac_status=$?
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); }; } &&
22475 { ac_try='test -s conftest$ac_exeext'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22478 ac_status=$?
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; }; then
22481 eval "$as_ac_var=yes"
22482 else
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22486 eval "$as_ac_var=no"
22488 rm -f conftest.err conftest.$ac_objext \
22489 conftest$ac_exeext conftest.$ac_ext
22491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22493 if test `eval echo '${'$as_ac_var'}'` = yes; then
22494 cat >>confdefs.h <<_ACEOF
22495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22496 _ACEOF
22499 done
22509 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22510 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22511 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22512 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 else
22518 ac_ext=cc
22519 ac_cpp='$CXXCPP $CPPFLAGS'
22520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 #include <math.h>
22532 main ()
22534 hypotl(0, 0);
22536 return 0;
22538 _ACEOF
22539 rm -f conftest.$ac_objext
22540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22541 (eval $ac_compile) 2>conftest.er1
22542 ac_status=$?
22543 grep -v '^ *+' conftest.er1 >conftest.err
22544 rm -f conftest.er1
22545 cat conftest.err >&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } &&
22548 { ac_try='test -z "$ac_cxx_werror_flag"
22549 || test ! -s conftest.err'
22550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22551 (eval $ac_try) 2>&5
22552 ac_status=$?
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); }; } &&
22555 { ac_try='test -s conftest.$ac_objext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 glibcxx_cv_func_hypotl_use=yes
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22566 glibcxx_cv_func_hypotl_use=no
22568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22569 ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22580 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22582 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22584 for ac_func in hypotl
22586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22587 echo "$as_me:$LINENO: checking for $ac_func" >&5
22588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22589 if eval "test \"\${$as_ac_var+set}\" = set"; then
22590 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 else
22592 if test x$gcc_no_link = xyes; then
22593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22595 { (exit 1); exit 1; }; }
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22605 #define $ac_func innocuous_$ac_func
22607 /* System header to define __stub macros and hopefully few prototypes,
22608 which can conflict with char $ac_func (); below.
22609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22610 <limits.h> exists even on freestanding compilers. */
22612 #ifdef __STDC__
22613 # include <limits.h>
22614 #else
22615 # include <assert.h>
22616 #endif
22618 #undef $ac_func
22620 /* Override any gcc2 internal prototype to avoid an error. */
22621 #ifdef __cplusplus
22622 extern "C"
22624 #endif
22625 /* We use char because int might match the return type of a gcc2
22626 builtin and then its argument prototype would still apply. */
22627 char $ac_func ();
22628 /* The GNU C library defines this for functions which it implements
22629 to always fail with ENOSYS. Some functions are actually named
22630 something starting with __ and the normal name is an alias. */
22631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22632 choke me
22633 #else
22634 char (*f) () = $ac_func;
22635 #endif
22636 #ifdef __cplusplus
22638 #endif
22641 main ()
22643 return f != $ac_func;
22645 return 0;
22647 _ACEOF
22648 rm -f conftest.$ac_objext conftest$ac_exeext
22649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22650 (eval $ac_link) 2>conftest.er1
22651 ac_status=$?
22652 grep -v '^ *+' conftest.er1 >conftest.err
22653 rm -f conftest.er1
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -z "$ac_c_werror_flag"
22658 || test ! -s conftest.err'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22661 ac_status=$?
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; } &&
22664 { ac_try='test -s conftest$ac_exeext'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; }; then
22670 eval "$as_ac_var=yes"
22671 else
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22675 eval "$as_ac_var=no"
22677 rm -f conftest.err conftest.$ac_objext \
22678 conftest$ac_exeext conftest.$ac_ext
22680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22682 if test `eval echo '${'$as_ac_var'}'` = yes; then
22683 cat >>confdefs.h <<_ACEOF
22684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22685 _ACEOF
22688 done
22690 else
22692 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22693 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22694 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22695 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 else
22701 ac_ext=cc
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22707 cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h. */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 #include <math.h>
22715 main ()
22717 _hypotl(0, 0);
22719 return 0;
22721 _ACEOF
22722 rm -f conftest.$ac_objext
22723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22724 (eval $ac_compile) 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } &&
22731 { ac_try='test -z "$ac_cxx_werror_flag"
22732 || test ! -s conftest.err'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try='test -s conftest.$ac_objext'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; }; then
22744 glibcxx_cv_func__hypotl_use=yes
22745 else
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22749 glibcxx_cv_func__hypotl_use=no
22751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22752 ac_ext=c
22753 ac_cpp='$CPP $CPPFLAGS'
22754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22763 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22765 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22767 for ac_func in _hypotl
22769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22770 echo "$as_me:$LINENO: checking for $ac_func" >&5
22771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22772 if eval "test \"\${$as_ac_var+set}\" = set"; then
22773 echo $ECHO_N "(cached) $ECHO_C" >&6
22774 else
22775 if test x$gcc_no_link = xyes; then
22776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22778 { (exit 1); exit 1; }; }
22780 cat >conftest.$ac_ext <<_ACEOF
22781 /* confdefs.h. */
22782 _ACEOF
22783 cat confdefs.h >>conftest.$ac_ext
22784 cat >>conftest.$ac_ext <<_ACEOF
22785 /* end confdefs.h. */
22786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22788 #define $ac_func innocuous_$ac_func
22790 /* System header to define __stub macros and hopefully few prototypes,
22791 which can conflict with char $ac_func (); below.
22792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22793 <limits.h> exists even on freestanding compilers. */
22795 #ifdef __STDC__
22796 # include <limits.h>
22797 #else
22798 # include <assert.h>
22799 #endif
22801 #undef $ac_func
22803 /* Override any gcc2 internal prototype to avoid an error. */
22804 #ifdef __cplusplus
22805 extern "C"
22807 #endif
22808 /* We use char because int might match the return type of a gcc2
22809 builtin and then its argument prototype would still apply. */
22810 char $ac_func ();
22811 /* The GNU C library defines this for functions which it implements
22812 to always fail with ENOSYS. Some functions are actually named
22813 something starting with __ and the normal name is an alias. */
22814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22815 choke me
22816 #else
22817 char (*f) () = $ac_func;
22818 #endif
22819 #ifdef __cplusplus
22821 #endif
22824 main ()
22826 return f != $ac_func;
22828 return 0;
22830 _ACEOF
22831 rm -f conftest.$ac_objext conftest$ac_exeext
22832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22833 (eval $ac_link) 2>conftest.er1
22834 ac_status=$?
22835 grep -v '^ *+' conftest.er1 >conftest.err
22836 rm -f conftest.er1
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } &&
22840 { ac_try='test -z "$ac_c_werror_flag"
22841 || test ! -s conftest.err'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; } &&
22847 { ac_try='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22850 ac_status=$?
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22853 eval "$as_ac_var=yes"
22854 else
22855 echo "$as_me: failed program was:" >&5
22856 sed 's/^/| /' conftest.$ac_ext >&5
22858 eval "$as_ac_var=no"
22860 rm -f conftest.err conftest.$ac_objext \
22861 conftest$ac_exeext conftest.$ac_ext
22863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22865 if test `eval echo '${'$as_ac_var'}'` = yes; then
22866 cat >>confdefs.h <<_ACEOF
22867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22868 _ACEOF
22871 done
22881 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22882 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22883 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22884 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22886 else
22890 ac_ext=cc
22891 ac_cpp='$CXXCPP $CPPFLAGS'
22892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896 cat >conftest.$ac_ext <<_ACEOF
22897 /* confdefs.h. */
22898 _ACEOF
22899 cat confdefs.h >>conftest.$ac_ext
22900 cat >>conftest.$ac_ext <<_ACEOF
22901 /* end confdefs.h. */
22902 #include <math.h>
22904 main ()
22906 ldexpl(0, 0);
22908 return 0;
22910 _ACEOF
22911 rm -f conftest.$ac_objext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22913 (eval $ac_compile) 2>conftest.er1
22914 ac_status=$?
22915 grep -v '^ *+' conftest.er1 >conftest.err
22916 rm -f conftest.er1
22917 cat conftest.err >&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try='test -z "$ac_cxx_werror_flag"
22921 || test ! -s conftest.err'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; } &&
22927 { ac_try='test -s conftest.$ac_objext'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22930 ac_status=$?
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22933 glibcxx_cv_func_ldexpl_use=yes
22934 else
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22938 glibcxx_cv_func_ldexpl_use=no
22940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22941 ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22952 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22954 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22956 for ac_func in ldexpl
22958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22959 echo "$as_me:$LINENO: checking for $ac_func" >&5
22960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22961 if eval "test \"\${$as_ac_var+set}\" = set"; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 else
22964 if test x$gcc_no_link = xyes; then
22965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22967 { (exit 1); exit 1; }; }
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22977 #define $ac_func innocuous_$ac_func
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char $ac_func (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22984 #ifdef __STDC__
22985 # include <limits.h>
22986 #else
22987 # include <assert.h>
22988 #endif
22990 #undef $ac_func
22992 /* Override any gcc2 internal prototype to avoid an error. */
22993 #ifdef __cplusplus
22994 extern "C"
22996 #endif
22997 /* We use char because int might match the return type of a gcc2
22998 builtin and then its argument prototype would still apply. */
22999 char $ac_func ();
23000 /* The GNU C library defines this for functions which it implements
23001 to always fail with ENOSYS. Some functions are actually named
23002 something starting with __ and the normal name is an alias. */
23003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23004 choke me
23005 #else
23006 char (*f) () = $ac_func;
23007 #endif
23008 #ifdef __cplusplus
23010 #endif
23013 main ()
23015 return f != $ac_func;
23017 return 0;
23019 _ACEOF
23020 rm -f conftest.$ac_objext conftest$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -z "$ac_c_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try='test -s conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 eval "$as_ac_var=yes"
23043 else
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.$ac_ext >&5
23047 eval "$as_ac_var=no"
23049 rm -f conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054 if test `eval echo '${'$as_ac_var'}'` = yes; then
23055 cat >>confdefs.h <<_ACEOF
23056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23057 _ACEOF
23060 done
23062 else
23064 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23065 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23068 echo $ECHO_N "(cached) $ECHO_C" >&6
23069 else
23073 ac_ext=cc
23074 ac_cpp='$CXXCPP $CPPFLAGS'
23075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23079 cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h. */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 #include <math.h>
23087 main ()
23089 _ldexpl(0, 0);
23091 return 0;
23093 _ACEOF
23094 rm -f conftest.$ac_objext
23095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23096 (eval $ac_compile) 2>conftest.er1
23097 ac_status=$?
23098 grep -v '^ *+' conftest.er1 >conftest.err
23099 rm -f conftest.er1
23100 cat conftest.err >&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } &&
23103 { ac_try='test -z "$ac_cxx_werror_flag"
23104 || test ! -s conftest.err'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; } &&
23110 { ac_try='test -s conftest.$ac_objext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 glibcxx_cv_func__ldexpl_use=yes
23117 else
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23121 glibcxx_cv_func__ldexpl_use=no
23123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23124 ac_ext=c
23125 ac_cpp='$CPP $CPPFLAGS'
23126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23135 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23137 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23139 for ac_func in _ldexpl
23141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23142 echo "$as_me:$LINENO: checking for $ac_func" >&5
23143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23144 if eval "test \"\${$as_ac_var+set}\" = set"; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 else
23147 if test x$gcc_no_link = xyes; then
23148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23150 { (exit 1); exit 1; }; }
23152 cat >conftest.$ac_ext <<_ACEOF
23153 /* confdefs.h. */
23154 _ACEOF
23155 cat confdefs.h >>conftest.$ac_ext
23156 cat >>conftest.$ac_ext <<_ACEOF
23157 /* end confdefs.h. */
23158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23160 #define $ac_func innocuous_$ac_func
23162 /* System header to define __stub macros and hopefully few prototypes,
23163 which can conflict with char $ac_func (); below.
23164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23165 <limits.h> exists even on freestanding compilers. */
23167 #ifdef __STDC__
23168 # include <limits.h>
23169 #else
23170 # include <assert.h>
23171 #endif
23173 #undef $ac_func
23175 /* Override any gcc2 internal prototype to avoid an error. */
23176 #ifdef __cplusplus
23177 extern "C"
23179 #endif
23180 /* We use char because int might match the return type of a gcc2
23181 builtin and then its argument prototype would still apply. */
23182 char $ac_func ();
23183 /* The GNU C library defines this for functions which it implements
23184 to always fail with ENOSYS. Some functions are actually named
23185 something starting with __ and the normal name is an alias. */
23186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23187 choke me
23188 #else
23189 char (*f) () = $ac_func;
23190 #endif
23191 #ifdef __cplusplus
23193 #endif
23196 main ()
23198 return f != $ac_func;
23200 return 0;
23202 _ACEOF
23203 rm -f conftest.$ac_objext conftest$ac_exeext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23205 (eval $ac_link) 2>conftest.er1
23206 ac_status=$?
23207 grep -v '^ *+' conftest.er1 >conftest.err
23208 rm -f conftest.er1
23209 cat conftest.err >&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try='test -z "$ac_c_werror_flag"
23213 || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 eval "$as_ac_var=yes"
23226 else
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23230 eval "$as_ac_var=no"
23232 rm -f conftest.err conftest.$ac_objext \
23233 conftest$ac_exeext conftest.$ac_ext
23235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23237 if test `eval echo '${'$as_ac_var'}'` = yes; then
23238 cat >>confdefs.h <<_ACEOF
23239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23240 _ACEOF
23243 done
23253 echo "$as_me:$LINENO: checking for logl declaration" >&5
23254 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23255 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23256 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23262 ac_ext=cc
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #include <math.h>
23275 #ifdef HAVE_IEEEFP_H
23276 #include <ieeefp.h>
23277 #endif
23280 main ()
23282 logl(0);
23284 return 0;
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23289 (eval $ac_compile) 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try='test -z "$ac_cxx_werror_flag"
23297 || test ! -s conftest.err'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; } &&
23303 { ac_try='test -s conftest.$ac_objext'
23304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305 (eval $ac_try) 2>&5
23306 ac_status=$?
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); }; }; then
23309 glibcxx_cv_func_logl_use=yes
23310 else
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23314 glibcxx_cv_func_logl_use=no
23316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23317 ac_ext=c
23318 ac_cpp='$CPP $CPPFLAGS'
23319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23328 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23330 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23332 for ac_func in logl
23334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23335 echo "$as_me:$LINENO: checking for $ac_func" >&5
23336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23337 if eval "test \"\${$as_ac_var+set}\" = set"; then
23338 echo $ECHO_N "(cached) $ECHO_C" >&6
23339 else
23340 if test x$gcc_no_link = xyes; then
23341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23343 { (exit 1); exit 1; }; }
23345 cat >conftest.$ac_ext <<_ACEOF
23346 /* confdefs.h. */
23347 _ACEOF
23348 cat confdefs.h >>conftest.$ac_ext
23349 cat >>conftest.$ac_ext <<_ACEOF
23350 /* end confdefs.h. */
23351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23353 #define $ac_func innocuous_$ac_func
23355 /* System header to define __stub macros and hopefully few prototypes,
23356 which can conflict with char $ac_func (); below.
23357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23358 <limits.h> exists even on freestanding compilers. */
23360 #ifdef __STDC__
23361 # include <limits.h>
23362 #else
23363 # include <assert.h>
23364 #endif
23366 #undef $ac_func
23368 /* Override any gcc2 internal prototype to avoid an error. */
23369 #ifdef __cplusplus
23370 extern "C"
23372 #endif
23373 /* We use char because int might match the return type of a gcc2
23374 builtin and then its argument prototype would still apply. */
23375 char $ac_func ();
23376 /* The GNU C library defines this for functions which it implements
23377 to always fail with ENOSYS. Some functions are actually named
23378 something starting with __ and the normal name is an alias. */
23379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23380 choke me
23381 #else
23382 char (*f) () = $ac_func;
23383 #endif
23384 #ifdef __cplusplus
23386 #endif
23389 main ()
23391 return f != $ac_func;
23393 return 0;
23395 _ACEOF
23396 rm -f conftest.$ac_objext conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try='test -z "$ac_c_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try='test -s conftest$ac_exeext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23415 ac_status=$?
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 eval "$as_ac_var=yes"
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23423 eval "$as_ac_var=no"
23425 rm -f conftest.err conftest.$ac_objext \
23426 conftest$ac_exeext conftest.$ac_ext
23428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23430 if test `eval echo '${'$as_ac_var'}'` = yes; then
23431 cat >>confdefs.h <<_ACEOF
23432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23433 _ACEOF
23436 done
23438 else
23440 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23441 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23442 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23443 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23449 ac_ext=cc
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23455 cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h. */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 _logl(0);
23471 return 0;
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476 (eval $ac_compile) 2>conftest.er1
23477 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } &&
23483 { ac_try='test -z "$ac_cxx_werror_flag"
23484 || test ! -s conftest.err'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; } &&
23490 { ac_try='test -s conftest.$ac_objext'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23493 ac_status=$?
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23496 glibcxx_cv_func__logl_use=yes
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23501 glibcxx_cv_func__logl_use=no
23503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23504 ac_ext=c
23505 ac_cpp='$CPP $CPPFLAGS'
23506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23515 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23517 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23519 for ac_func in _logl
23521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 echo "$as_me:$LINENO: checking for $ac_func" >&5
23523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23524 if eval "test \"\${$as_ac_var+set}\" = set"; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527 if test x$gcc_no_link = xyes; then
23528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23530 { (exit 1); exit 1; }; }
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23540 #define $ac_func innocuous_$ac_func
23542 /* System header to define __stub macros and hopefully few prototypes,
23543 which can conflict with char $ac_func (); below.
23544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545 <limits.h> exists even on freestanding compilers. */
23547 #ifdef __STDC__
23548 # include <limits.h>
23549 #else
23550 # include <assert.h>
23551 #endif
23553 #undef $ac_func
23555 /* Override any gcc2 internal prototype to avoid an error. */
23556 #ifdef __cplusplus
23557 extern "C"
23559 #endif
23560 /* We use char because int might match the return type of a gcc2
23561 builtin and then its argument prototype would still apply. */
23562 char $ac_func ();
23563 /* The GNU C library defines this for functions which it implements
23564 to always fail with ENOSYS. Some functions are actually named
23565 something starting with __ and the normal name is an alias. */
23566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23567 choke me
23568 #else
23569 char (*f) () = $ac_func;
23570 #endif
23571 #ifdef __cplusplus
23573 #endif
23576 main ()
23578 return f != $ac_func;
23580 return 0;
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585 (eval $ac_link) 2>conftest.er1
23586 ac_status=$?
23587 grep -v '^ *+' conftest.er1 >conftest.err
23588 rm -f conftest.er1
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } &&
23592 { ac_try='test -z "$ac_c_werror_flag"
23593 || test ! -s conftest.err'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; } &&
23599 { ac_try='test -s conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 eval "$as_ac_var=yes"
23606 else
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23610 eval "$as_ac_var=no"
23612 rm -f conftest.err conftest.$ac_objext \
23613 conftest$ac_exeext conftest.$ac_ext
23615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23617 if test `eval echo '${'$as_ac_var'}'` = yes; then
23618 cat >>confdefs.h <<_ACEOF
23619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 _ACEOF
23623 done
23633 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23634 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23635 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23636 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23637 echo $ECHO_N "(cached) $ECHO_C" >&6
23638 else
23642 ac_ext=cc
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23648 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 #include <math.h>
23655 #ifdef HAVE_IEEEFP_H
23656 #include <ieeefp.h>
23657 #endif
23660 main ()
23662 log10l(0);
23664 return 0;
23666 _ACEOF
23667 rm -f conftest.$ac_objext
23668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23669 (eval $ac_compile) 2>conftest.er1
23670 ac_status=$?
23671 grep -v '^ *+' conftest.er1 >conftest.err
23672 rm -f conftest.er1
23673 cat conftest.err >&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); } &&
23676 { ac_try='test -z "$ac_cxx_werror_flag"
23677 || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 glibcxx_cv_func_log10l_use=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23694 glibcxx_cv_func_log10l_use=no
23696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23697 ac_ext=c
23698 ac_cpp='$CPP $CPPFLAGS'
23699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23708 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23710 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23712 for ac_func in log10l
23714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23715 echo "$as_me:$LINENO: checking for $ac_func" >&5
23716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23717 if eval "test \"\${$as_ac_var+set}\" = set"; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 else
23720 if test x$gcc_no_link = xyes; then
23721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23723 { (exit 1); exit 1; }; }
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23733 #define $ac_func innocuous_$ac_func
23735 /* System header to define __stub macros and hopefully few prototypes,
23736 which can conflict with char $ac_func (); below.
23737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23738 <limits.h> exists even on freestanding compilers. */
23740 #ifdef __STDC__
23741 # include <limits.h>
23742 #else
23743 # include <assert.h>
23744 #endif
23746 #undef $ac_func
23748 /* Override any gcc2 internal prototype to avoid an error. */
23749 #ifdef __cplusplus
23750 extern "C"
23752 #endif
23753 /* We use char because int might match the return type of a gcc2
23754 builtin and then its argument prototype would still apply. */
23755 char $ac_func ();
23756 /* The GNU C library defines this for functions which it implements
23757 to always fail with ENOSYS. Some functions are actually named
23758 something starting with __ and the normal name is an alias. */
23759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23760 choke me
23761 #else
23762 char (*f) () = $ac_func;
23763 #endif
23764 #ifdef __cplusplus
23766 #endif
23769 main ()
23771 return f != $ac_func;
23773 return 0;
23775 _ACEOF
23776 rm -f conftest.$ac_objext conftest$ac_exeext
23777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23778 (eval $ac_link) 2>conftest.er1
23779 ac_status=$?
23780 grep -v '^ *+' conftest.er1 >conftest.err
23781 rm -f conftest.er1
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -z "$ac_c_werror_flag"
23786 || test ! -s conftest.err'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; } &&
23792 { ac_try='test -s conftest$ac_exeext'
23793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23794 (eval $ac_try) 2>&5
23795 ac_status=$?
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; }; then
23798 eval "$as_ac_var=yes"
23799 else
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23803 eval "$as_ac_var=no"
23805 rm -f conftest.err conftest.$ac_objext \
23806 conftest$ac_exeext conftest.$ac_ext
23808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23810 if test `eval echo '${'$as_ac_var'}'` = yes; then
23811 cat >>confdefs.h <<_ACEOF
23812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23813 _ACEOF
23816 done
23818 else
23820 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23821 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23822 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23823 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23829 ac_ext=cc
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <math.h>
23842 #ifdef HAVE_IEEEFP_H
23843 #include <ieeefp.h>
23844 #endif
23847 main ()
23849 _log10l(0);
23851 return 0;
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>conftest.er1
23857 ac_status=$?
23858 grep -v '^ *+' conftest.er1 >conftest.err
23859 rm -f conftest.er1
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_cxx_werror_flag"
23864 || test ! -s conftest.err'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23867 ac_status=$?
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; } &&
23870 { ac_try='test -s conftest.$ac_objext'
23871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872 (eval $ac_try) 2>&5
23873 ac_status=$?
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); }; }; then
23876 glibcxx_cv_func__log10l_use=yes
23877 else
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23881 glibcxx_cv_func__log10l_use=no
23883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23884 ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23894 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23895 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23897 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23899 for ac_func in _log10l
23901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 echo "$as_me:$LINENO: checking for $ac_func" >&5
23903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_var+set}\" = set"; then
23905 echo $ECHO_N "(cached) $ECHO_C" >&6
23906 else
23907 if test x$gcc_no_link = xyes; then
23908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23910 { (exit 1); exit 1; }; }
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23920 #define $ac_func innocuous_$ac_func
23922 /* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char $ac_func (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23927 #ifdef __STDC__
23928 # include <limits.h>
23929 #else
23930 # include <assert.h>
23931 #endif
23933 #undef $ac_func
23935 /* Override any gcc2 internal prototype to avoid an error. */
23936 #ifdef __cplusplus
23937 extern "C"
23939 #endif
23940 /* We use char because int might match the return type of a gcc2
23941 builtin and then its argument prototype would still apply. */
23942 char $ac_func ();
23943 /* The GNU C library defines this for functions which it implements
23944 to always fail with ENOSYS. Some functions are actually named
23945 something starting with __ and the normal name is an alias. */
23946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23947 choke me
23948 #else
23949 char (*f) () = $ac_func;
23950 #endif
23951 #ifdef __cplusplus
23953 #endif
23956 main ()
23958 return f != $ac_func;
23960 return 0;
23962 _ACEOF
23963 rm -f conftest.$ac_objext conftest$ac_exeext
23964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23965 (eval $ac_link) 2>conftest.er1
23966 ac_status=$?
23967 grep -v '^ *+' conftest.er1 >conftest.err
23968 rm -f conftest.er1
23969 cat conftest.err >&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try='test -z "$ac_c_werror_flag"
23973 || test ! -s conftest.err'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23976 ac_status=$?
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; } &&
23979 { ac_try='test -s conftest$ac_exeext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23982 ac_status=$?
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 eval "$as_ac_var=yes"
23986 else
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23990 eval "$as_ac_var=no"
23992 rm -f conftest.err conftest.$ac_objext \
23993 conftest$ac_exeext conftest.$ac_ext
23995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23997 if test `eval echo '${'$as_ac_var'}'` = yes; then
23998 cat >>confdefs.h <<_ACEOF
23999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24000 _ACEOF
24003 done
24013 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24014 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24015 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24016 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24017 echo $ECHO_N "(cached) $ECHO_C" >&6
24018 else
24022 ac_ext=cc
24023 ac_cpp='$CXXCPP $CPPFLAGS'
24024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24028 cat >conftest.$ac_ext <<_ACEOF
24029 /* confdefs.h. */
24030 _ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h. */
24034 #include <math.h>
24036 main ()
24038 modfl(0, 0);
24040 return 0;
24042 _ACEOF
24043 rm -f conftest.$ac_objext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24045 (eval $ac_compile) 2>conftest.er1
24046 ac_status=$?
24047 grep -v '^ *+' conftest.er1 >conftest.err
24048 rm -f conftest.er1
24049 cat conftest.err >&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); } &&
24052 { ac_try='test -z "$ac_cxx_werror_flag"
24053 || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 glibcxx_cv_func_modfl_use=yes
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24070 glibcxx_cv_func_modfl_use=no
24072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24073 ac_ext=c
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24084 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24086 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24088 for ac_func in modfl
24090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24091 echo "$as_me:$LINENO: checking for $ac_func" >&5
24092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24093 if eval "test \"\${$as_ac_var+set}\" = set"; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 else
24096 if test x$gcc_no_link = xyes; then
24097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24099 { (exit 1); exit 1; }; }
24101 cat >conftest.$ac_ext <<_ACEOF
24102 /* confdefs.h. */
24103 _ACEOF
24104 cat confdefs.h >>conftest.$ac_ext
24105 cat >>conftest.$ac_ext <<_ACEOF
24106 /* end confdefs.h. */
24107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24109 #define $ac_func innocuous_$ac_func
24111 /* System header to define __stub macros and hopefully few prototypes,
24112 which can conflict with char $ac_func (); below.
24113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24114 <limits.h> exists even on freestanding compilers. */
24116 #ifdef __STDC__
24117 # include <limits.h>
24118 #else
24119 # include <assert.h>
24120 #endif
24122 #undef $ac_func
24124 /* Override any gcc2 internal prototype to avoid an error. */
24125 #ifdef __cplusplus
24126 extern "C"
24128 #endif
24129 /* We use char because int might match the return type of a gcc2
24130 builtin and then its argument prototype would still apply. */
24131 char $ac_func ();
24132 /* The GNU C library defines this for functions which it implements
24133 to always fail with ENOSYS. Some functions are actually named
24134 something starting with __ and the normal name is an alias. */
24135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24136 choke me
24137 #else
24138 char (*f) () = $ac_func;
24139 #endif
24140 #ifdef __cplusplus
24142 #endif
24145 main ()
24147 return f != $ac_func;
24149 return 0;
24151 _ACEOF
24152 rm -f conftest.$ac_objext conftest$ac_exeext
24153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24154 (eval $ac_link) 2>conftest.er1
24155 ac_status=$?
24156 grep -v '^ *+' conftest.er1 >conftest.err
24157 rm -f conftest.er1
24158 cat conftest.err >&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); } &&
24161 { ac_try='test -z "$ac_c_werror_flag"
24162 || test ! -s conftest.err'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; } &&
24168 { ac_try='test -s conftest$ac_exeext'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24171 ac_status=$?
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; }; then
24174 eval "$as_ac_var=yes"
24175 else
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24179 eval "$as_ac_var=no"
24181 rm -f conftest.err conftest.$ac_objext \
24182 conftest$ac_exeext conftest.$ac_ext
24184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24186 if test `eval echo '${'$as_ac_var'}'` = yes; then
24187 cat >>confdefs.h <<_ACEOF
24188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24189 _ACEOF
24192 done
24194 else
24196 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24197 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24198 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24199 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24200 echo $ECHO_N "(cached) $ECHO_C" >&6
24201 else
24205 ac_ext=cc
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217 #include <math.h>
24219 main ()
24221 _modfl(0, 0);
24223 return 0;
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24228 (eval $ac_compile) 2>conftest.er1
24229 ac_status=$?
24230 grep -v '^ *+' conftest.er1 >conftest.err
24231 rm -f conftest.er1
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } &&
24235 { ac_try='test -z "$ac_cxx_werror_flag"
24236 || test ! -s conftest.err'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24239 ac_status=$?
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; } &&
24242 { ac_try='test -s conftest.$ac_objext'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24245 ac_status=$?
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; }; then
24248 glibcxx_cv_func__modfl_use=yes
24249 else
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24253 glibcxx_cv_func__modfl_use=no
24255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24256 ac_ext=c
24257 ac_cpp='$CPP $CPPFLAGS'
24258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24267 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24269 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24271 for ac_func in _modfl
24273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24274 echo "$as_me:$LINENO: checking for $ac_func" >&5
24275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24276 if eval "test \"\${$as_ac_var+set}\" = set"; then
24277 echo $ECHO_N "(cached) $ECHO_C" >&6
24278 else
24279 if test x$gcc_no_link = xyes; then
24280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24282 { (exit 1); exit 1; }; }
24284 cat >conftest.$ac_ext <<_ACEOF
24285 /* confdefs.h. */
24286 _ACEOF
24287 cat confdefs.h >>conftest.$ac_ext
24288 cat >>conftest.$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24292 #define $ac_func innocuous_$ac_func
24294 /* System header to define __stub macros and hopefully few prototypes,
24295 which can conflict with char $ac_func (); below.
24296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24297 <limits.h> exists even on freestanding compilers. */
24299 #ifdef __STDC__
24300 # include <limits.h>
24301 #else
24302 # include <assert.h>
24303 #endif
24305 #undef $ac_func
24307 /* Override any gcc2 internal prototype to avoid an error. */
24308 #ifdef __cplusplus
24309 extern "C"
24311 #endif
24312 /* We use char because int might match the return type of a gcc2
24313 builtin and then its argument prototype would still apply. */
24314 char $ac_func ();
24315 /* The GNU C library defines this for functions which it implements
24316 to always fail with ENOSYS. Some functions are actually named
24317 something starting with __ and the normal name is an alias. */
24318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24319 choke me
24320 #else
24321 char (*f) () = $ac_func;
24322 #endif
24323 #ifdef __cplusplus
24325 #endif
24328 main ()
24330 return f != $ac_func;
24332 return 0;
24334 _ACEOF
24335 rm -f conftest.$ac_objext conftest$ac_exeext
24336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24337 (eval $ac_link) 2>conftest.er1
24338 ac_status=$?
24339 grep -v '^ *+' conftest.er1 >conftest.err
24340 rm -f conftest.er1
24341 cat conftest.err >&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); } &&
24344 { ac_try='test -z "$ac_c_werror_flag"
24345 || test ! -s conftest.err'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; } &&
24351 { ac_try='test -s conftest$ac_exeext'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24354 ac_status=$?
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357 eval "$as_ac_var=yes"
24358 else
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24362 eval "$as_ac_var=no"
24364 rm -f conftest.err conftest.$ac_objext \
24365 conftest$ac_exeext conftest.$ac_ext
24367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24369 if test `eval echo '${'$as_ac_var'}'` = yes; then
24370 cat >>confdefs.h <<_ACEOF
24371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24375 done
24385 echo "$as_me:$LINENO: checking for powl declaration" >&5
24386 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24387 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24388 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24394 ac_ext=cc
24395 ac_cpp='$CXXCPP $CPPFLAGS'
24396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400 cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h. */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24406 #include <math.h>
24408 main ()
24410 powl(0, 0);
24412 return 0;
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417 (eval $ac_compile) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_cxx_werror_flag"
24425 || test ! -s conftest.err'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; } &&
24431 { ac_try='test -s conftest.$ac_objext'
24432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433 (eval $ac_try) 2>&5
24434 ac_status=$?
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); }; }; then
24437 glibcxx_cv_func_powl_use=yes
24438 else
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24442 glibcxx_cv_func_powl_use=no
24444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24445 ac_ext=c
24446 ac_cpp='$CPP $CPPFLAGS'
24447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24456 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24458 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24460 for ac_func in powl
24462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24463 echo "$as_me:$LINENO: checking for $ac_func" >&5
24464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24465 if eval "test \"\${$as_ac_var+set}\" = set"; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468 if test x$gcc_no_link = xyes; then
24469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24471 { (exit 1); exit 1; }; }
24473 cat >conftest.$ac_ext <<_ACEOF
24474 /* confdefs.h. */
24475 _ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24481 #define $ac_func innocuous_$ac_func
24483 /* System header to define __stub macros and hopefully few prototypes,
24484 which can conflict with char $ac_func (); below.
24485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24486 <limits.h> exists even on freestanding compilers. */
24488 #ifdef __STDC__
24489 # include <limits.h>
24490 #else
24491 # include <assert.h>
24492 #endif
24494 #undef $ac_func
24496 /* Override any gcc2 internal prototype to avoid an error. */
24497 #ifdef __cplusplus
24498 extern "C"
24500 #endif
24501 /* We use char because int might match the return type of a gcc2
24502 builtin and then its argument prototype would still apply. */
24503 char $ac_func ();
24504 /* The GNU C library defines this for functions which it implements
24505 to always fail with ENOSYS. Some functions are actually named
24506 something starting with __ and the normal name is an alias. */
24507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24508 choke me
24509 #else
24510 char (*f) () = $ac_func;
24511 #endif
24512 #ifdef __cplusplus
24514 #endif
24517 main ()
24519 return f != $ac_func;
24521 return 0;
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526 (eval $ac_link) 2>conftest.er1
24527 ac_status=$?
24528 grep -v '^ *+' conftest.er1 >conftest.err
24529 rm -f conftest.er1
24530 cat conftest.err >&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } &&
24533 { ac_try='test -z "$ac_c_werror_flag"
24534 || test ! -s conftest.err'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; } &&
24540 { ac_try='test -s conftest$ac_exeext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 eval "$as_ac_var=yes"
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24551 eval "$as_ac_var=no"
24553 rm -f conftest.err conftest.$ac_objext \
24554 conftest$ac_exeext conftest.$ac_ext
24556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24558 if test `eval echo '${'$as_ac_var'}'` = yes; then
24559 cat >>confdefs.h <<_ACEOF
24560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24561 _ACEOF
24564 done
24566 else
24568 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24569 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24570 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24571 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24573 else
24577 ac_ext=cc
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583 cat >conftest.$ac_ext <<_ACEOF
24584 /* confdefs.h. */
24585 _ACEOF
24586 cat confdefs.h >>conftest.$ac_ext
24587 cat >>conftest.$ac_ext <<_ACEOF
24588 /* end confdefs.h. */
24589 #include <math.h>
24591 main ()
24593 _powl(0, 0);
24595 return 0;
24597 _ACEOF
24598 rm -f conftest.$ac_objext
24599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24600 (eval $ac_compile) 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } &&
24607 { ac_try='test -z "$ac_cxx_werror_flag"
24608 || test ! -s conftest.err'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24611 ac_status=$?
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; } &&
24614 { ac_try='test -s conftest.$ac_objext'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24617 ac_status=$?
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; }; then
24620 glibcxx_cv_func__powl_use=yes
24621 else
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24625 glibcxx_cv_func__powl_use=no
24627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24628 ac_ext=c
24629 ac_cpp='$CPP $CPPFLAGS'
24630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24639 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24641 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24643 for ac_func in _powl
24645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24646 echo "$as_me:$LINENO: checking for $ac_func" >&5
24647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24648 if eval "test \"\${$as_ac_var+set}\" = set"; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24650 else
24651 if test x$gcc_no_link = xyes; then
24652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24654 { (exit 1); exit 1; }; }
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24664 #define $ac_func innocuous_$ac_func
24666 /* System header to define __stub macros and hopefully few prototypes,
24667 which can conflict with char $ac_func (); below.
24668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24669 <limits.h> exists even on freestanding compilers. */
24671 #ifdef __STDC__
24672 # include <limits.h>
24673 #else
24674 # include <assert.h>
24675 #endif
24677 #undef $ac_func
24679 /* Override any gcc2 internal prototype to avoid an error. */
24680 #ifdef __cplusplus
24681 extern "C"
24683 #endif
24684 /* We use char because int might match the return type of a gcc2
24685 builtin and then its argument prototype would still apply. */
24686 char $ac_func ();
24687 /* The GNU C library defines this for functions which it implements
24688 to always fail with ENOSYS. Some functions are actually named
24689 something starting with __ and the normal name is an alias. */
24690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24691 choke me
24692 #else
24693 char (*f) () = $ac_func;
24694 #endif
24695 #ifdef __cplusplus
24697 #endif
24700 main ()
24702 return f != $ac_func;
24704 return 0;
24706 _ACEOF
24707 rm -f conftest.$ac_objext conftest$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709 (eval $ac_link) 2>conftest.er1
24710 ac_status=$?
24711 grep -v '^ *+' conftest.er1 >conftest.err
24712 rm -f conftest.er1
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try='test -z "$ac_c_werror_flag"
24717 || test ! -s conftest.err'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; } &&
24723 { ac_try='test -s conftest$ac_exeext'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24726 ac_status=$?
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; }; then
24729 eval "$as_ac_var=yes"
24730 else
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24734 eval "$as_ac_var=no"
24736 rm -f conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24741 if test `eval echo '${'$as_ac_var'}'` = yes; then
24742 cat >>confdefs.h <<_ACEOF
24743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24744 _ACEOF
24747 done
24757 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24758 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24759 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24760 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 else
24766 ac_ext=cc
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24772 cat >conftest.$ac_ext <<_ACEOF
24773 /* confdefs.h. */
24774 _ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24778 #include <math.h>
24779 #ifdef HAVE_IEEEFP_H
24780 #include <ieeefp.h>
24781 #endif
24784 main ()
24786 sqrtl(0);
24788 return 0;
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793 (eval $ac_compile) 2>conftest.er1
24794 ac_status=$?
24795 grep -v '^ *+' conftest.er1 >conftest.err
24796 rm -f conftest.er1
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } &&
24800 { ac_try='test -z "$ac_cxx_werror_flag"
24801 || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try='test -s conftest.$ac_objext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24810 ac_status=$?
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 glibcxx_cv_func_sqrtl_use=yes
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24818 glibcxx_cv_func_sqrtl_use=no
24820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24821 ac_ext=c
24822 ac_cpp='$CPP $CPPFLAGS'
24823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24832 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24834 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24836 for ac_func in sqrtl
24838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24839 echo "$as_me:$LINENO: checking for $ac_func" >&5
24840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24841 if eval "test \"\${$as_ac_var+set}\" = set"; then
24842 echo $ECHO_N "(cached) $ECHO_C" >&6
24843 else
24844 if test x$gcc_no_link = xyes; then
24845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24847 { (exit 1); exit 1; }; }
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24857 #define $ac_func innocuous_$ac_func
24859 /* System header to define __stub macros and hopefully few prototypes,
24860 which can conflict with char $ac_func (); below.
24861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24862 <limits.h> exists even on freestanding compilers. */
24864 #ifdef __STDC__
24865 # include <limits.h>
24866 #else
24867 # include <assert.h>
24868 #endif
24870 #undef $ac_func
24872 /* Override any gcc2 internal prototype to avoid an error. */
24873 #ifdef __cplusplus
24874 extern "C"
24876 #endif
24877 /* We use char because int might match the return type of a gcc2
24878 builtin and then its argument prototype would still apply. */
24879 char $ac_func ();
24880 /* The GNU C library defines this for functions which it implements
24881 to always fail with ENOSYS. Some functions are actually named
24882 something starting with __ and the normal name is an alias. */
24883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24884 choke me
24885 #else
24886 char (*f) () = $ac_func;
24887 #endif
24888 #ifdef __cplusplus
24890 #endif
24893 main ()
24895 return f != $ac_func;
24897 return 0;
24899 _ACEOF
24900 rm -f conftest.$ac_objext conftest$ac_exeext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24902 (eval $ac_link) 2>conftest.er1
24903 ac_status=$?
24904 grep -v '^ *+' conftest.er1 >conftest.err
24905 rm -f conftest.er1
24906 cat conftest.err >&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } &&
24909 { ac_try='test -z "$ac_c_werror_flag"
24910 || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 eval "$as_ac_var=yes"
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24927 eval "$as_ac_var=no"
24929 rm -f conftest.err conftest.$ac_objext \
24930 conftest$ac_exeext conftest.$ac_ext
24932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24934 if test `eval echo '${'$as_ac_var'}'` = yes; then
24935 cat >>confdefs.h <<_ACEOF
24936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24937 _ACEOF
24940 done
24942 else
24944 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24945 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24946 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24947 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24948 echo $ECHO_N "(cached) $ECHO_C" >&6
24949 else
24953 ac_ext=cc
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959 cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 #include <math.h>
24966 #ifdef HAVE_IEEEFP_H
24967 #include <ieeefp.h>
24968 #endif
24971 main ()
24973 _sqrtl(0);
24975 return 0;
24977 _ACEOF
24978 rm -f conftest.$ac_objext
24979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24980 (eval $ac_compile) 2>conftest.er1
24981 ac_status=$?
24982 grep -v '^ *+' conftest.er1 >conftest.err
24983 rm -f conftest.er1
24984 cat conftest.err >&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); } &&
24987 { ac_try='test -z "$ac_cxx_werror_flag"
24988 || test ! -s conftest.err'
24989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24990 (eval $ac_try) 2>&5
24991 ac_status=$?
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); }; } &&
24994 { ac_try='test -s conftest.$ac_objext'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24997 ac_status=$?
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; }; then
25000 glibcxx_cv_func__sqrtl_use=yes
25001 else
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25005 glibcxx_cv_func__sqrtl_use=no
25007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25008 ac_ext=c
25009 ac_cpp='$CPP $CPPFLAGS'
25010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25019 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25021 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25023 for ac_func in _sqrtl
25025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25026 echo "$as_me:$LINENO: checking for $ac_func" >&5
25027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25028 if eval "test \"\${$as_ac_var+set}\" = set"; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 else
25031 if test x$gcc_no_link = xyes; then
25032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25034 { (exit 1); exit 1; }; }
25036 cat >conftest.$ac_ext <<_ACEOF
25037 /* confdefs.h. */
25038 _ACEOF
25039 cat confdefs.h >>conftest.$ac_ext
25040 cat >>conftest.$ac_ext <<_ACEOF
25041 /* end confdefs.h. */
25042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25044 #define $ac_func innocuous_$ac_func
25046 /* System header to define __stub macros and hopefully few prototypes,
25047 which can conflict with char $ac_func (); below.
25048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25049 <limits.h> exists even on freestanding compilers. */
25051 #ifdef __STDC__
25052 # include <limits.h>
25053 #else
25054 # include <assert.h>
25055 #endif
25057 #undef $ac_func
25059 /* Override any gcc2 internal prototype to avoid an error. */
25060 #ifdef __cplusplus
25061 extern "C"
25063 #endif
25064 /* We use char because int might match the return type of a gcc2
25065 builtin and then its argument prototype would still apply. */
25066 char $ac_func ();
25067 /* The GNU C library defines this for functions which it implements
25068 to always fail with ENOSYS. Some functions are actually named
25069 something starting with __ and the normal name is an alias. */
25070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25071 choke me
25072 #else
25073 char (*f) () = $ac_func;
25074 #endif
25075 #ifdef __cplusplus
25077 #endif
25080 main ()
25082 return f != $ac_func;
25084 return 0;
25086 _ACEOF
25087 rm -f conftest.$ac_objext conftest$ac_exeext
25088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25089 (eval $ac_link) 2>conftest.er1
25090 ac_status=$?
25091 grep -v '^ *+' conftest.er1 >conftest.err
25092 rm -f conftest.er1
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } &&
25096 { ac_try='test -z "$ac_c_werror_flag"
25097 || test ! -s conftest.err'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; } &&
25103 { ac_try='test -s conftest$ac_exeext'
25104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25105 (eval $ac_try) 2>&5
25106 ac_status=$?
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; }; then
25109 eval "$as_ac_var=yes"
25110 else
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25114 eval "$as_ac_var=no"
25116 rm -f conftest.err conftest.$ac_objext \
25117 conftest$ac_exeext conftest.$ac_ext
25119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25121 if test `eval echo '${'$as_ac_var'}'` = yes; then
25122 cat >>confdefs.h <<_ACEOF
25123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25124 _ACEOF
25127 done
25137 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25138 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25139 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25140 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25146 ac_ext=cc
25147 ac_cpp='$CXXCPP $CPPFLAGS'
25148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152 cat >conftest.$ac_ext <<_ACEOF
25153 /* confdefs.h. */
25154 _ACEOF
25155 cat confdefs.h >>conftest.$ac_ext
25156 cat >>conftest.$ac_ext <<_ACEOF
25157 /* end confdefs.h. */
25158 #include <math.h>
25160 main ()
25162 sincosl(0, 0, 0);
25164 return 0;
25166 _ACEOF
25167 rm -f conftest.$ac_objext
25168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25169 (eval $ac_compile) 2>conftest.er1
25170 ac_status=$?
25171 grep -v '^ *+' conftest.er1 >conftest.err
25172 rm -f conftest.er1
25173 cat conftest.err >&5
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); } &&
25176 { ac_try='test -z "$ac_cxx_werror_flag"
25177 || test ! -s conftest.err'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; } &&
25183 { ac_try='test -s conftest.$ac_objext'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25186 ac_status=$?
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; }; then
25189 glibcxx_cv_func_sincosl_use=yes
25190 else
25191 echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.$ac_ext >&5
25194 glibcxx_cv_func_sincosl_use=no
25196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25197 ac_ext=c
25198 ac_cpp='$CPP $CPPFLAGS'
25199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25208 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25210 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25212 for ac_func in sincosl
25214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25215 echo "$as_me:$LINENO: checking for $ac_func" >&5
25216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25217 if eval "test \"\${$as_ac_var+set}\" = set"; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220 if test x$gcc_no_link = xyes; then
25221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25223 { (exit 1); exit 1; }; }
25225 cat >conftest.$ac_ext <<_ACEOF
25226 /* confdefs.h. */
25227 _ACEOF
25228 cat confdefs.h >>conftest.$ac_ext
25229 cat >>conftest.$ac_ext <<_ACEOF
25230 /* end confdefs.h. */
25231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25233 #define $ac_func innocuous_$ac_func
25235 /* System header to define __stub macros and hopefully few prototypes,
25236 which can conflict with char $ac_func (); below.
25237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25238 <limits.h> exists even on freestanding compilers. */
25240 #ifdef __STDC__
25241 # include <limits.h>
25242 #else
25243 # include <assert.h>
25244 #endif
25246 #undef $ac_func
25248 /* Override any gcc2 internal prototype to avoid an error. */
25249 #ifdef __cplusplus
25250 extern "C"
25252 #endif
25253 /* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25255 char $ac_func ();
25256 /* The GNU C library defines this for functions which it implements
25257 to always fail with ENOSYS. Some functions are actually named
25258 something starting with __ and the normal name is an alias. */
25259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25260 choke me
25261 #else
25262 char (*f) () = $ac_func;
25263 #endif
25264 #ifdef __cplusplus
25266 #endif
25269 main ()
25271 return f != $ac_func;
25273 return 0;
25275 _ACEOF
25276 rm -f conftest.$ac_objext conftest$ac_exeext
25277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25278 (eval $ac_link) 2>conftest.er1
25279 ac_status=$?
25280 grep -v '^ *+' conftest.er1 >conftest.err
25281 rm -f conftest.er1
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } &&
25285 { ac_try='test -z "$ac_c_werror_flag"
25286 || test ! -s conftest.err'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; } &&
25292 { ac_try='test -s conftest$ac_exeext'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25295 ac_status=$?
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; }; then
25298 eval "$as_ac_var=yes"
25299 else
25300 echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.$ac_ext >&5
25303 eval "$as_ac_var=no"
25305 rm -f conftest.err conftest.$ac_objext \
25306 conftest$ac_exeext conftest.$ac_ext
25308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25310 if test `eval echo '${'$as_ac_var'}'` = yes; then
25311 cat >>confdefs.h <<_ACEOF
25312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25313 _ACEOF
25316 done
25318 else
25320 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25321 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25322 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25323 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25325 else
25329 ac_ext=cc
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25335 cat >conftest.$ac_ext <<_ACEOF
25336 /* confdefs.h. */
25337 _ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25341 #include <math.h>
25343 main ()
25345 _sincosl(0, 0, 0);
25347 return 0;
25349 _ACEOF
25350 rm -f conftest.$ac_objext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25352 (eval $ac_compile) 2>conftest.er1
25353 ac_status=$?
25354 grep -v '^ *+' conftest.er1 >conftest.err
25355 rm -f conftest.er1
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } &&
25359 { ac_try='test -z "$ac_cxx_werror_flag"
25360 || test ! -s conftest.err'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25363 ac_status=$?
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; } &&
25366 { ac_try='test -s conftest.$ac_objext'
25367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368 (eval $ac_try) 2>&5
25369 ac_status=$?
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); }; }; then
25372 glibcxx_cv_func__sincosl_use=yes
25373 else
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25377 glibcxx_cv_func__sincosl_use=no
25379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25380 ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25391 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25393 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25395 for ac_func in _sincosl
25397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25398 echo "$as_me:$LINENO: checking for $ac_func" >&5
25399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25400 if eval "test \"\${$as_ac_var+set}\" = set"; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403 if test x$gcc_no_link = xyes; then
25404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25406 { (exit 1); exit 1; }; }
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h. */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25416 #define $ac_func innocuous_$ac_func
25418 /* System header to define __stub macros and hopefully few prototypes,
25419 which can conflict with char $ac_func (); below.
25420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25421 <limits.h> exists even on freestanding compilers. */
25423 #ifdef __STDC__
25424 # include <limits.h>
25425 #else
25426 # include <assert.h>
25427 #endif
25429 #undef $ac_func
25431 /* Override any gcc2 internal prototype to avoid an error. */
25432 #ifdef __cplusplus
25433 extern "C"
25435 #endif
25436 /* We use char because int might match the return type of a gcc2
25437 builtin and then its argument prototype would still apply. */
25438 char $ac_func ();
25439 /* The GNU C library defines this for functions which it implements
25440 to always fail with ENOSYS. Some functions are actually named
25441 something starting with __ and the normal name is an alias. */
25442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25443 choke me
25444 #else
25445 char (*f) () = $ac_func;
25446 #endif
25447 #ifdef __cplusplus
25449 #endif
25452 main ()
25454 return f != $ac_func;
25456 return 0;
25458 _ACEOF
25459 rm -f conftest.$ac_objext conftest$ac_exeext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25461 (eval $ac_link) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try='test -z "$ac_c_werror_flag"
25469 || test ! -s conftest.err'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25472 ac_status=$?
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; } &&
25475 { ac_try='test -s conftest$ac_exeext'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; }; then
25481 eval "$as_ac_var=yes"
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25486 eval "$as_ac_var=no"
25488 rm -f conftest.err conftest.$ac_objext \
25489 conftest$ac_exeext conftest.$ac_ext
25491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25493 if test `eval echo '${'$as_ac_var'}'` = yes; then
25494 cat >>confdefs.h <<_ACEOF
25495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25496 _ACEOF
25499 done
25509 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25510 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25511 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25512 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25513 echo $ECHO_N "(cached) $ECHO_C" >&6
25514 else
25518 ac_ext=cc
25519 ac_cpp='$CXXCPP $CPPFLAGS'
25520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25524 cat >conftest.$ac_ext <<_ACEOF
25525 /* confdefs.h. */
25526 _ACEOF
25527 cat confdefs.h >>conftest.$ac_ext
25528 cat >>conftest.$ac_ext <<_ACEOF
25529 /* end confdefs.h. */
25530 #include <math.h>
25531 #ifdef HAVE_IEEEFP_H
25532 #include <ieeefp.h>
25533 #endif
25536 main ()
25538 finitel(0);
25540 return 0;
25542 _ACEOF
25543 rm -f conftest.$ac_objext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25545 (eval $ac_compile) 2>conftest.er1
25546 ac_status=$?
25547 grep -v '^ *+' conftest.er1 >conftest.err
25548 rm -f conftest.er1
25549 cat conftest.err >&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try='test -z "$ac_cxx_werror_flag"
25553 || test ! -s conftest.err'
25554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555 (eval $ac_try) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); }; } &&
25559 { ac_try='test -s conftest.$ac_objext'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; }; then
25565 glibcxx_cv_func_finitel_use=yes
25566 else
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25570 glibcxx_cv_func_finitel_use=no
25572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25573 ac_ext=c
25574 ac_cpp='$CPP $CPPFLAGS'
25575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25584 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25586 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25588 for ac_func in finitel
25590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25591 echo "$as_me:$LINENO: checking for $ac_func" >&5
25592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25593 if eval "test \"\${$as_ac_var+set}\" = set"; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 else
25596 if test x$gcc_no_link = xyes; then
25597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25599 { (exit 1); exit 1; }; }
25601 cat >conftest.$ac_ext <<_ACEOF
25602 /* confdefs.h. */
25603 _ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25609 #define $ac_func innocuous_$ac_func
25611 /* System header to define __stub macros and hopefully few prototypes,
25612 which can conflict with char $ac_func (); below.
25613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25614 <limits.h> exists even on freestanding compilers. */
25616 #ifdef __STDC__
25617 # include <limits.h>
25618 #else
25619 # include <assert.h>
25620 #endif
25622 #undef $ac_func
25624 /* Override any gcc2 internal prototype to avoid an error. */
25625 #ifdef __cplusplus
25626 extern "C"
25628 #endif
25629 /* We use char because int might match the return type of a gcc2
25630 builtin and then its argument prototype would still apply. */
25631 char $ac_func ();
25632 /* The GNU C library defines this for functions which it implements
25633 to always fail with ENOSYS. Some functions are actually named
25634 something starting with __ and the normal name is an alias. */
25635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25636 choke me
25637 #else
25638 char (*f) () = $ac_func;
25639 #endif
25640 #ifdef __cplusplus
25642 #endif
25645 main ()
25647 return f != $ac_func;
25649 return 0;
25651 _ACEOF
25652 rm -f conftest.$ac_objext conftest$ac_exeext
25653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25654 (eval $ac_link) 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -z "$ac_c_werror_flag"
25662 || test ! -s conftest.err'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25665 ac_status=$?
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; } &&
25668 { ac_try='test -s conftest$ac_exeext'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; }; then
25674 eval "$as_ac_var=yes"
25675 else
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25679 eval "$as_ac_var=no"
25681 rm -f conftest.err conftest.$ac_objext \
25682 conftest$ac_exeext conftest.$ac_ext
25684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25686 if test `eval echo '${'$as_ac_var'}'` = yes; then
25687 cat >>confdefs.h <<_ACEOF
25688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25689 _ACEOF
25692 done
25694 else
25696 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25697 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25705 ac_ext=cc
25706 ac_cpp='$CXXCPP $CPPFLAGS'
25707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25711 cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h. */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 #include <math.h>
25718 #ifdef HAVE_IEEEFP_H
25719 #include <ieeefp.h>
25720 #endif
25723 main ()
25725 _finitel(0);
25727 return 0;
25729 _ACEOF
25730 rm -f conftest.$ac_objext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25732 (eval $ac_compile) 2>conftest.er1
25733 ac_status=$?
25734 grep -v '^ *+' conftest.er1 >conftest.err
25735 rm -f conftest.er1
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try='test -z "$ac_cxx_werror_flag"
25740 || test ! -s conftest.err'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; } &&
25746 { ac_try='test -s conftest.$ac_objext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 glibcxx_cv_func__finitel_use=yes
25753 else
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25757 glibcxx_cv_func__finitel_use=no
25759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25760 ac_ext=c
25761 ac_cpp='$CPP $CPPFLAGS'
25762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25771 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25773 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25775 for ac_func in _finitel
25777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25778 echo "$as_me:$LINENO: checking for $ac_func" >&5
25779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25780 if eval "test \"\${$as_ac_var+set}\" = set"; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783 if test x$gcc_no_link = xyes; then
25784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25786 { (exit 1); exit 1; }; }
25788 cat >conftest.$ac_ext <<_ACEOF
25789 /* confdefs.h. */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25796 #define $ac_func innocuous_$ac_func
25798 /* System header to define __stub macros and hopefully few prototypes,
25799 which can conflict with char $ac_func (); below.
25800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25801 <limits.h> exists even on freestanding compilers. */
25803 #ifdef __STDC__
25804 # include <limits.h>
25805 #else
25806 # include <assert.h>
25807 #endif
25809 #undef $ac_func
25811 /* Override any gcc2 internal prototype to avoid an error. */
25812 #ifdef __cplusplus
25813 extern "C"
25815 #endif
25816 /* We use char because int might match the return type of a gcc2
25817 builtin and then its argument prototype would still apply. */
25818 char $ac_func ();
25819 /* The GNU C library defines this for functions which it implements
25820 to always fail with ENOSYS. Some functions are actually named
25821 something starting with __ and the normal name is an alias. */
25822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25823 choke me
25824 #else
25825 char (*f) () = $ac_func;
25826 #endif
25827 #ifdef __cplusplus
25829 #endif
25832 main ()
25834 return f != $ac_func;
25836 return 0;
25838 _ACEOF
25839 rm -f conftest.$ac_objext conftest$ac_exeext
25840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25841 (eval $ac_link) 2>conftest.er1
25842 ac_status=$?
25843 grep -v '^ *+' conftest.er1 >conftest.err
25844 rm -f conftest.er1
25845 cat conftest.err >&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); } &&
25848 { ac_try='test -z "$ac_c_werror_flag"
25849 || test ! -s conftest.err'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25852 ac_status=$?
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; } &&
25855 { ac_try='test -s conftest$ac_exeext'
25856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25857 (eval $ac_try) 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25861 eval "$as_ac_var=yes"
25862 else
25863 echo "$as_me: failed program was:" >&5
25864 sed 's/^/| /' conftest.$ac_ext >&5
25866 eval "$as_ac_var=no"
25868 rm -f conftest.err conftest.$ac_objext \
25869 conftest$ac_exeext conftest.$ac_ext
25871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25873 if test `eval echo '${'$as_ac_var'}'` = yes; then
25874 cat >>confdefs.h <<_ACEOF
25875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25876 _ACEOF
25879 done
25888 LIBS="$ac_save_LIBS"
25889 CXXFLAGS="$ac_save_CXXFLAGS"
25893 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25894 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25895 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25896 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25902 ac_ext=cc
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25908 cat >conftest.$ac_ext <<_ACEOF
25909 /* confdefs.h. */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914 #include <math.h>
25916 main ()
25918 __builtin_abs(0);
25920 return 0;
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>conftest.er1
25926 ac_status=$?
25927 grep -v '^ *+' conftest.er1 >conftest.err
25928 rm -f conftest.er1
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try='test -z "$ac_cxx_werror_flag"
25933 || test ! -s conftest.err'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25936 ac_status=$?
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; } &&
25939 { ac_try='test -s conftest.$ac_objext'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25942 ac_status=$?
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; }; then
25945 glibcxx_cv_func___builtin_abs_use=yes
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25950 glibcxx_cv_func___builtin_abs_use=no
25952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25953 ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25964 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25965 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25966 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25967 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25968 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25969 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25971 else
25973 if test x$gcc_no_link = xyes; then
25974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25976 { (exit 1); exit 1; }; }
25978 cat >conftest.$ac_ext <<_ACEOF
25979 /* confdefs.h. */
25980 _ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984 #include <math.h>
25986 main ()
25988 __builtin_abs(0);
25990 return 0;
25992 _ACEOF
25993 rm -f conftest.$ac_objext conftest$ac_exeext
25994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995 (eval $ac_link) 2>conftest.er1
25996 ac_status=$?
25997 grep -v '^ *+' conftest.er1 >conftest.err
25998 rm -f conftest.er1
25999 cat conftest.err >&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } &&
26002 { ac_try='test -z "$ac_c_werror_flag"
26003 || test ! -s conftest.err'
26004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005 (eval $ac_try) 2>&5
26006 ac_status=$?
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; } &&
26009 { ac_try='test -s conftest$ac_exeext'
26010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26011 (eval $ac_try) 2>&5
26012 ac_status=$?
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); }; }; then
26015 glibcxx_cv_func___builtin_abs_link=yes
26016 else
26017 echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26020 glibcxx_cv_func___builtin_abs_link=no
26022 rm -f conftest.err conftest.$ac_objext \
26023 conftest$ac_exeext conftest.$ac_ext
26028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26029 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26031 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26033 cat >>confdefs.h <<\_ACEOF
26034 #define HAVE___BUILTIN_ABS 1
26035 _ACEOF
26042 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26043 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26044 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26045 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 else
26051 ac_ext=cc
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063 #include <math.h>
26065 main ()
26067 __builtin_fabsf(0);
26069 return 0;
26071 _ACEOF
26072 rm -f conftest.$ac_objext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26074 (eval $ac_compile) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_cxx_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest.$ac_objext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 glibcxx_cv_func___builtin_fabsf_use=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26099 glibcxx_cv_func___builtin_fabsf_use=no
26101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26102 ac_ext=c
26103 ac_cpp='$CPP $CPPFLAGS'
26104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26113 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26114 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26115 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26116 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26117 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26118 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26135 main ()
26137 __builtin_fabsf(0);
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_c_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func___builtin_fabsf_link=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 glibcxx_cv_func___builtin_fabsf_link=no
26171 rm -f conftest.err conftest.$ac_objext \
26172 conftest$ac_exeext conftest.$ac_ext
26177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26178 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26180 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26182 cat >>confdefs.h <<\_ACEOF
26183 #define HAVE___BUILTIN_FABSF 1
26184 _ACEOF
26191 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26192 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26193 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26194 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 else
26200 ac_ext=cc
26201 ac_cpp='$CXXCPP $CPPFLAGS'
26202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26206 cat >conftest.$ac_ext <<_ACEOF
26207 /* confdefs.h. */
26208 _ACEOF
26209 cat confdefs.h >>conftest.$ac_ext
26210 cat >>conftest.$ac_ext <<_ACEOF
26211 /* end confdefs.h. */
26212 #include <math.h>
26214 main ()
26216 __builtin_fabs(0);
26218 return 0;
26220 _ACEOF
26221 rm -f conftest.$ac_objext
26222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26223 (eval $ac_compile) 2>conftest.er1
26224 ac_status=$?
26225 grep -v '^ *+' conftest.er1 >conftest.err
26226 rm -f conftest.er1
26227 cat conftest.err >&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } &&
26230 { ac_try='test -z "$ac_cxx_werror_flag"
26231 || test ! -s conftest.err'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; } &&
26237 { ac_try='test -s conftest.$ac_objext'
26238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239 (eval $ac_try) 2>&5
26240 ac_status=$?
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); }; }; then
26243 glibcxx_cv_func___builtin_fabs_use=yes
26244 else
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.$ac_ext >&5
26248 glibcxx_cv_func___builtin_fabs_use=no
26250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26251 ac_ext=c
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26262 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26263 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26264 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26265 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26266 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26267 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 else
26271 if test x$gcc_no_link = xyes; then
26272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26274 { (exit 1); exit 1; }; }
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h. */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282 #include <math.h>
26284 main ()
26286 __builtin_fabs(0);
26288 return 0;
26290 _ACEOF
26291 rm -f conftest.$ac_objext conftest$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293 (eval $ac_link) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_c_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 glibcxx_cv_func___builtin_fabs_link=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26318 glibcxx_cv_func___builtin_fabs_link=no
26320 rm -f conftest.err conftest.$ac_objext \
26321 conftest$ac_exeext conftest.$ac_ext
26326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26327 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26329 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE___BUILTIN_FABS 1
26333 _ACEOF
26340 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26341 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26342 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26343 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 else
26349 ac_ext=cc
26350 ac_cpp='$CXXCPP $CPPFLAGS'
26351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26355 cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h. */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361 #include <math.h>
26363 main ()
26365 __builtin_fabsl(0);
26367 return 0;
26369 _ACEOF
26370 rm -f conftest.$ac_objext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26372 (eval $ac_compile) 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } &&
26379 { ac_try='test -z "$ac_cxx_werror_flag"
26380 || test ! -s conftest.err'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26383 ac_status=$?
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; } &&
26386 { ac_try='test -s conftest.$ac_objext'
26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388 (eval $ac_try) 2>&5
26389 ac_status=$?
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; }; then
26392 glibcxx_cv_func___builtin_fabsl_use=yes
26393 else
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26397 glibcxx_cv_func___builtin_fabsl_use=no
26399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26400 ac_ext=c
26401 ac_cpp='$CPP $CPPFLAGS'
26402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26410 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26411 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26412 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26413 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26414 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26415 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26416 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26417 echo $ECHO_N "(cached) $ECHO_C" >&6
26418 else
26420 if test x$gcc_no_link = xyes; then
26421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26423 { (exit 1); exit 1; }; }
26425 cat >conftest.$ac_ext <<_ACEOF
26426 /* confdefs.h. */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h. */
26431 #include <math.h>
26433 main ()
26435 __builtin_fabsl(0);
26437 return 0;
26439 _ACEOF
26440 rm -f conftest.$ac_objext conftest$ac_exeext
26441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26442 (eval $ac_link) 2>conftest.er1
26443 ac_status=$?
26444 grep -v '^ *+' conftest.er1 >conftest.err
26445 rm -f conftest.er1
26446 cat conftest.err >&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } &&
26449 { ac_try='test -z "$ac_c_werror_flag"
26450 || test ! -s conftest.err'
26451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26452 (eval $ac_try) 2>&5
26453 ac_status=$?
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); }; } &&
26456 { ac_try='test -s conftest$ac_exeext'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; }; then
26462 glibcxx_cv_func___builtin_fabsl_link=yes
26463 else
26464 echo "$as_me: failed program was:" >&5
26465 sed 's/^/| /' conftest.$ac_ext >&5
26467 glibcxx_cv_func___builtin_fabsl_link=no
26469 rm -f conftest.err conftest.$ac_objext \
26470 conftest$ac_exeext conftest.$ac_ext
26475 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26476 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26478 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26480 cat >>confdefs.h <<\_ACEOF
26481 #define HAVE___BUILTIN_FABSL 1
26482 _ACEOF
26489 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26490 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26491 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26492 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26498 ac_ext=cc
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26504 cat >conftest.$ac_ext <<_ACEOF
26505 /* confdefs.h. */
26506 _ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h. */
26510 #include <math.h>
26512 main ()
26514 __builtin_labs(0);
26516 return 0;
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26522 ac_status=$?
26523 grep -v '^ *+' conftest.er1 >conftest.err
26524 rm -f conftest.er1
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_cxx_werror_flag"
26529 || test ! -s conftest.err'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26532 ac_status=$?
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; } &&
26535 { ac_try='test -s conftest.$ac_objext'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26538 ac_status=$?
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; }; then
26541 glibcxx_cv_func___builtin_labs_use=yes
26542 else
26543 echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.$ac_ext >&5
26546 glibcxx_cv_func___builtin_labs_use=no
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549 ac_ext=c
26550 ac_cpp='$CPP $CPPFLAGS'
26551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26559 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26560 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26561 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26562 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26563 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26564 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26565 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26566 echo $ECHO_N "(cached) $ECHO_C" >&6
26567 else
26569 if test x$gcc_no_link = xyes; then
26570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26572 { (exit 1); exit 1; }; }
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h. */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26580 #include <math.h>
26582 main ()
26584 __builtin_labs(0);
26586 return 0;
26588 _ACEOF
26589 rm -f conftest.$ac_objext conftest$ac_exeext
26590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26591 (eval $ac_link) 2>conftest.er1
26592 ac_status=$?
26593 grep -v '^ *+' conftest.er1 >conftest.err
26594 rm -f conftest.er1
26595 cat conftest.err >&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } &&
26598 { ac_try='test -z "$ac_c_werror_flag"
26599 || test ! -s conftest.err'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; } &&
26605 { ac_try='test -s conftest$ac_exeext'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26608 ac_status=$?
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; }; then
26611 glibcxx_cv_func___builtin_labs_link=yes
26612 else
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26616 glibcxx_cv_func___builtin_labs_link=no
26618 rm -f conftest.err conftest.$ac_objext \
26619 conftest$ac_exeext conftest.$ac_ext
26624 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26625 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26627 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26629 cat >>confdefs.h <<\_ACEOF
26630 #define HAVE___BUILTIN_LABS 1
26631 _ACEOF
26639 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26640 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26641 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26642 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 else
26648 ac_ext=cc
26649 ac_cpp='$CXXCPP $CPPFLAGS'
26650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26654 cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660 #include <math.h>
26662 main ()
26664 __builtin_sqrtf(0);
26666 return 0;
26668 _ACEOF
26669 rm -f conftest.$ac_objext
26670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26671 (eval $ac_compile) 2>conftest.er1
26672 ac_status=$?
26673 grep -v '^ *+' conftest.er1 >conftest.err
26674 rm -f conftest.er1
26675 cat conftest.err >&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } &&
26678 { ac_try='test -z "$ac_cxx_werror_flag"
26679 || test ! -s conftest.err'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; } &&
26685 { ac_try='test -s conftest.$ac_objext'
26686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687 (eval $ac_try) 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; }; then
26691 glibcxx_cv_func___builtin_sqrtf_use=yes
26692 else
26693 echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26696 glibcxx_cv_func___builtin_sqrtf_use=no
26698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26699 ac_ext=c
26700 ac_cpp='$CPP $CPPFLAGS'
26701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26709 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26710 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26711 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26712 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26713 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26714 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26715 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 else
26719 if test x$gcc_no_link = xyes; then
26720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26722 { (exit 1); exit 1; }; }
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 #include <math.h>
26732 main ()
26734 __builtin_sqrtf(0);
26736 return 0;
26738 _ACEOF
26739 rm -f conftest.$ac_objext conftest$ac_exeext
26740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26741 (eval $ac_link) 2>conftest.er1
26742 ac_status=$?
26743 grep -v '^ *+' conftest.er1 >conftest.err
26744 rm -f conftest.er1
26745 cat conftest.err >&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try='test -z "$ac_c_werror_flag"
26749 || test ! -s conftest.err'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; } &&
26755 { ac_try='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26758 ac_status=$?
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 glibcxx_cv_func___builtin_sqrtf_link=yes
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26766 glibcxx_cv_func___builtin_sqrtf_link=no
26768 rm -f conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26775 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26777 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26779 cat >>confdefs.h <<\_ACEOF
26780 #define HAVE___BUILTIN_SQRTF 1
26781 _ACEOF
26788 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26789 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26790 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26791 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 else
26797 ac_ext=cc
26798 ac_cpp='$CXXCPP $CPPFLAGS'
26799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809 #include <math.h>
26811 main ()
26813 __builtin_sqrt(0);
26815 return 0;
26817 _ACEOF
26818 rm -f conftest.$ac_objext
26819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26820 (eval $ac_compile) 2>conftest.er1
26821 ac_status=$?
26822 grep -v '^ *+' conftest.er1 >conftest.err
26823 rm -f conftest.er1
26824 cat conftest.err >&5
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); } &&
26827 { ac_try='test -z "$ac_cxx_werror_flag"
26828 || test ! -s conftest.err'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26831 ac_status=$?
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; } &&
26834 { ac_try='test -s conftest.$ac_objext'
26835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26836 (eval $ac_try) 2>&5
26837 ac_status=$?
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); }; }; then
26840 glibcxx_cv_func___builtin_sqrt_use=yes
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26845 glibcxx_cv_func___builtin_sqrt_use=no
26847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26848 ac_ext=c
26849 ac_cpp='$CPP $CPPFLAGS'
26850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26858 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26859 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26860 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26861 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26862 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26863 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26864 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26868 if test x$gcc_no_link = xyes; then
26869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26871 { (exit 1); exit 1; }; }
26873 cat >conftest.$ac_ext <<_ACEOF
26874 /* confdefs.h. */
26875 _ACEOF
26876 cat confdefs.h >>conftest.$ac_ext
26877 cat >>conftest.$ac_ext <<_ACEOF
26878 /* end confdefs.h. */
26879 #include <math.h>
26881 main ()
26883 __builtin_sqrt(0);
26885 return 0;
26887 _ACEOF
26888 rm -f conftest.$ac_objext conftest$ac_exeext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26890 (eval $ac_link) 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } &&
26897 { ac_try='test -z "$ac_c_werror_flag"
26898 || test ! -s conftest.err'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26901 ac_status=$?
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; } &&
26904 { ac_try='test -s conftest$ac_exeext'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26907 ac_status=$?
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; }; then
26910 glibcxx_cv_func___builtin_sqrt_link=yes
26911 else
26912 echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.$ac_ext >&5
26915 glibcxx_cv_func___builtin_sqrt_link=no
26917 rm -f conftest.err conftest.$ac_objext \
26918 conftest$ac_exeext conftest.$ac_ext
26923 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26924 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26926 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26928 cat >>confdefs.h <<\_ACEOF
26929 #define HAVE___BUILTIN_SQRT 1
26930 _ACEOF
26937 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26938 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26939 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26940 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26946 ac_ext=cc
26947 ac_cpp='$CXXCPP $CPPFLAGS'
26948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26952 cat >conftest.$ac_ext <<_ACEOF
26953 /* confdefs.h. */
26954 _ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 #include <math.h>
26960 main ()
26962 __builtin_sqrtl(0);
26964 return 0;
26966 _ACEOF
26967 rm -f conftest.$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_cxx_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26980 ac_status=$?
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try='test -s conftest.$ac_objext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26986 ac_status=$?
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 glibcxx_cv_func___builtin_sqrtl_use=yes
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26994 glibcxx_cv_func___builtin_sqrtl_use=no
26996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26997 ac_ext=c
26998 ac_cpp='$CPP $CPPFLAGS'
26999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27007 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27008 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27009 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27010 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27011 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27012 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27013 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27014 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 else
27017 if test x$gcc_no_link = xyes; then
27018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27020 { (exit 1); exit 1; }; }
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h. */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028 #include <math.h>
27030 main ()
27032 __builtin_sqrtl(0);
27034 return 0;
27036 _ACEOF
27037 rm -f conftest.$ac_objext conftest$ac_exeext
27038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27039 (eval $ac_link) 2>conftest.er1
27040 ac_status=$?
27041 grep -v '^ *+' conftest.er1 >conftest.err
27042 rm -f conftest.er1
27043 cat conftest.err >&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); } &&
27046 { ac_try='test -z "$ac_c_werror_flag"
27047 || test ! -s conftest.err'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; } &&
27053 { ac_try='test -s conftest$ac_exeext'
27054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055 (eval $ac_try) 2>&5
27056 ac_status=$?
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; }; then
27059 glibcxx_cv_func___builtin_sqrtl_link=yes
27060 else
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27064 glibcxx_cv_func___builtin_sqrtl_link=no
27066 rm -f conftest.err conftest.$ac_objext \
27067 conftest$ac_exeext conftest.$ac_ext
27072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27073 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27075 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27077 cat >>confdefs.h <<\_ACEOF
27078 #define HAVE___BUILTIN_SQRTL 1
27079 _ACEOF
27087 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27088 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27089 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27090 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27096 ac_ext=cc
27097 ac_cpp='$CXXCPP $CPPFLAGS'
27098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27102 cat >conftest.$ac_ext <<_ACEOF
27103 /* confdefs.h. */
27104 _ACEOF
27105 cat confdefs.h >>conftest.$ac_ext
27106 cat >>conftest.$ac_ext <<_ACEOF
27107 /* end confdefs.h. */
27108 #include <math.h>
27110 main ()
27112 __builtin_sinf(0);
27114 return 0;
27116 _ACEOF
27117 rm -f conftest.$ac_objext
27118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27119 (eval $ac_compile) 2>conftest.er1
27120 ac_status=$?
27121 grep -v '^ *+' conftest.er1 >conftest.err
27122 rm -f conftest.er1
27123 cat conftest.err >&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); } &&
27126 { ac_try='test -z "$ac_cxx_werror_flag"
27127 || test ! -s conftest.err'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27130 ac_status=$?
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; } &&
27133 { ac_try='test -s conftest.$ac_objext'
27134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135 (eval $ac_try) 2>&5
27136 ac_status=$?
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; }; then
27139 glibcxx_cv_func___builtin_sinf_use=yes
27140 else
27141 echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27144 glibcxx_cv_func___builtin_sinf_use=no
27146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27147 ac_ext=c
27148 ac_cpp='$CPP $CPPFLAGS'
27149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27159 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27160 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27161 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27162 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27163 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27164 echo $ECHO_N "(cached) $ECHO_C" >&6
27165 else
27167 if test x$gcc_no_link = xyes; then
27168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27170 { (exit 1); exit 1; }; }
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 #include <math.h>
27180 main ()
27182 __builtin_sinf(0);
27184 return 0;
27186 _ACEOF
27187 rm -f conftest.$ac_objext conftest$ac_exeext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27189 (eval $ac_link) 2>conftest.er1
27190 ac_status=$?
27191 grep -v '^ *+' conftest.er1 >conftest.err
27192 rm -f conftest.er1
27193 cat conftest.err >&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try='test -z "$ac_c_werror_flag"
27197 || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try='test -s conftest$ac_exeext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 glibcxx_cv_func___builtin_sinf_link=yes
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27214 glibcxx_cv_func___builtin_sinf_link=no
27216 rm -f conftest.err conftest.$ac_objext \
27217 conftest$ac_exeext conftest.$ac_ext
27222 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27223 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27225 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27227 cat >>confdefs.h <<\_ACEOF
27228 #define HAVE___BUILTIN_SINF 1
27229 _ACEOF
27236 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27237 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27238 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27239 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 else
27245 ac_ext=cc
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27251 cat >conftest.$ac_ext <<_ACEOF
27252 /* confdefs.h. */
27253 _ACEOF
27254 cat confdefs.h >>conftest.$ac_ext
27255 cat >>conftest.$ac_ext <<_ACEOF
27256 /* end confdefs.h. */
27257 #include <math.h>
27259 main ()
27261 __builtin_sin(0);
27263 return 0;
27265 _ACEOF
27266 rm -f conftest.$ac_objext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27268 (eval $ac_compile) 2>conftest.er1
27269 ac_status=$?
27270 grep -v '^ *+' conftest.er1 >conftest.err
27271 rm -f conftest.er1
27272 cat conftest.err >&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try='test -z "$ac_cxx_werror_flag"
27276 || test ! -s conftest.err'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27279 ac_status=$?
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; } &&
27282 { ac_try='test -s conftest.$ac_objext'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; }; then
27288 glibcxx_cv_func___builtin_sin_use=yes
27289 else
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27293 glibcxx_cv_func___builtin_sin_use=no
27295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27296 ac_ext=c
27297 ac_cpp='$CPP $CPPFLAGS'
27298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27307 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27308 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27309 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27310 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27311 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27312 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27313 echo $ECHO_N "(cached) $ECHO_C" >&6
27314 else
27316 if test x$gcc_no_link = xyes; then
27317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27319 { (exit 1); exit 1; }; }
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h. */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27327 #include <math.h>
27329 main ()
27331 __builtin_sin(0);
27333 return 0;
27335 _ACEOF
27336 rm -f conftest.$ac_objext conftest$ac_exeext
27337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27338 (eval $ac_link) 2>conftest.er1
27339 ac_status=$?
27340 grep -v '^ *+' conftest.er1 >conftest.err
27341 rm -f conftest.er1
27342 cat conftest.err >&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); } &&
27345 { ac_try='test -z "$ac_c_werror_flag"
27346 || test ! -s conftest.err'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27349 ac_status=$?
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; } &&
27352 { ac_try='test -s conftest$ac_exeext'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27355 ac_status=$?
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; }; then
27358 glibcxx_cv_func___builtin_sin_link=yes
27359 else
27360 echo "$as_me: failed program was:" >&5
27361 sed 's/^/| /' conftest.$ac_ext >&5
27363 glibcxx_cv_func___builtin_sin_link=no
27365 rm -f conftest.err conftest.$ac_objext \
27366 conftest$ac_exeext conftest.$ac_ext
27371 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27372 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27374 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27376 cat >>confdefs.h <<\_ACEOF
27377 #define HAVE___BUILTIN_SIN 1
27378 _ACEOF
27385 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27386 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27387 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27388 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 else
27394 ac_ext=cc
27395 ac_cpp='$CXXCPP $CPPFLAGS'
27396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27400 cat >conftest.$ac_ext <<_ACEOF
27401 /* confdefs.h. */
27402 _ACEOF
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h. */
27406 #include <math.h>
27408 main ()
27410 __builtin_sinl(0);
27412 return 0;
27414 _ACEOF
27415 rm -f conftest.$ac_objext
27416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27417 (eval $ac_compile) 2>conftest.er1
27418 ac_status=$?
27419 grep -v '^ *+' conftest.er1 >conftest.err
27420 rm -f conftest.er1
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } &&
27424 { ac_try='test -z "$ac_cxx_werror_flag"
27425 || test ! -s conftest.err'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try='test -s conftest.$ac_objext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27434 ac_status=$?
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 glibcxx_cv_func___builtin_sinl_use=yes
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27442 glibcxx_cv_func___builtin_sinl_use=no
27444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27455 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27457 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27458 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27459 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27460 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27461 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27462 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 else
27465 if test x$gcc_no_link = xyes; then
27466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27468 { (exit 1); exit 1; }; }
27470 cat >conftest.$ac_ext <<_ACEOF
27471 /* confdefs.h. */
27472 _ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h. */
27476 #include <math.h>
27478 main ()
27480 __builtin_sinl(0);
27482 return 0;
27484 _ACEOF
27485 rm -f conftest.$ac_objext conftest$ac_exeext
27486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27487 (eval $ac_link) 2>conftest.er1
27488 ac_status=$?
27489 grep -v '^ *+' conftest.er1 >conftest.err
27490 rm -f conftest.er1
27491 cat conftest.err >&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } &&
27494 { ac_try='test -z "$ac_c_werror_flag"
27495 || test ! -s conftest.err'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27498 ac_status=$?
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; } &&
27501 { ac_try='test -s conftest$ac_exeext'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27504 ac_status=$?
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; }; then
27507 glibcxx_cv_func___builtin_sinl_link=yes
27508 else
27509 echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.$ac_ext >&5
27512 glibcxx_cv_func___builtin_sinl_link=no
27514 rm -f conftest.err conftest.$ac_objext \
27515 conftest$ac_exeext conftest.$ac_ext
27520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27521 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27523 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27525 cat >>confdefs.h <<\_ACEOF
27526 #define HAVE___BUILTIN_SINL 1
27527 _ACEOF
27535 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27536 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27537 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27538 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27539 echo $ECHO_N "(cached) $ECHO_C" >&6
27540 else
27544 ac_ext=cc
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556 #include <math.h>
27558 main ()
27560 __builtin_cosf(0);
27562 return 0;
27564 _ACEOF
27565 rm -f conftest.$ac_objext
27566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27567 (eval $ac_compile) 2>conftest.er1
27568 ac_status=$?
27569 grep -v '^ *+' conftest.er1 >conftest.err
27570 rm -f conftest.er1
27571 cat conftest.err >&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); } &&
27574 { ac_try='test -z "$ac_cxx_werror_flag"
27575 || test ! -s conftest.err'
27576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27577 (eval $ac_try) 2>&5
27578 ac_status=$?
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); }; } &&
27581 { ac_try='test -s conftest.$ac_objext'
27582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27583 (eval $ac_try) 2>&5
27584 ac_status=$?
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); }; }; then
27587 glibcxx_cv_func___builtin_cosf_use=yes
27588 else
27589 echo "$as_me: failed program was:" >&5
27590 sed 's/^/| /' conftest.$ac_ext >&5
27592 glibcxx_cv_func___builtin_cosf_use=no
27594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27595 ac_ext=c
27596 ac_cpp='$CPP $CPPFLAGS'
27597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27606 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27607 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27608 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27609 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27610 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27611 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27612 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 else
27615 if test x$gcc_no_link = xyes; then
27616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27618 { (exit 1); exit 1; }; }
27620 cat >conftest.$ac_ext <<_ACEOF
27621 /* confdefs.h. */
27622 _ACEOF
27623 cat confdefs.h >>conftest.$ac_ext
27624 cat >>conftest.$ac_ext <<_ACEOF
27625 /* end confdefs.h. */
27626 #include <math.h>
27628 main ()
27630 __builtin_cosf(0);
27632 return 0;
27634 _ACEOF
27635 rm -f conftest.$ac_objext conftest$ac_exeext
27636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27637 (eval $ac_link) 2>conftest.er1
27638 ac_status=$?
27639 grep -v '^ *+' conftest.er1 >conftest.err
27640 rm -f conftest.er1
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try='test -z "$ac_c_werror_flag"
27645 || test ! -s conftest.err'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; } &&
27651 { ac_try='test -s conftest$ac_exeext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 glibcxx_cv_func___builtin_cosf_link=yes
27658 else
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27662 glibcxx_cv_func___builtin_cosf_link=no
27664 rm -f conftest.err conftest.$ac_objext \
27665 conftest$ac_exeext conftest.$ac_ext
27670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27671 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27673 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27675 cat >>confdefs.h <<\_ACEOF
27676 #define HAVE___BUILTIN_COSF 1
27677 _ACEOF
27684 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27685 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27686 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27687 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27693 ac_ext=cc
27694 ac_cpp='$CXXCPP $CPPFLAGS'
27695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27699 cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h. */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705 #include <math.h>
27707 main ()
27709 __builtin_cos(0);
27711 return 0;
27713 _ACEOF
27714 rm -f conftest.$ac_objext
27715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27716 (eval $ac_compile) 2>conftest.er1
27717 ac_status=$?
27718 grep -v '^ *+' conftest.er1 >conftest.err
27719 rm -f conftest.er1
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try='test -z "$ac_cxx_werror_flag"
27724 || test ! -s conftest.err'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; } &&
27730 { ac_try='test -s conftest.$ac_objext'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27733 ac_status=$?
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 glibcxx_cv_func___builtin_cos_use=yes
27737 else
27738 echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.$ac_ext >&5
27741 glibcxx_cv_func___builtin_cos_use=no
27743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27744 ac_ext=c
27745 ac_cpp='$CPP $CPPFLAGS'
27746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27755 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27756 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27757 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27758 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27759 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27760 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27761 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 else
27764 if test x$gcc_no_link = xyes; then
27765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27767 { (exit 1); exit 1; }; }
27769 cat >conftest.$ac_ext <<_ACEOF
27770 /* confdefs.h. */
27771 _ACEOF
27772 cat confdefs.h >>conftest.$ac_ext
27773 cat >>conftest.$ac_ext <<_ACEOF
27774 /* end confdefs.h. */
27775 #include <math.h>
27777 main ()
27779 __builtin_cos(0);
27781 return 0;
27783 _ACEOF
27784 rm -f conftest.$ac_objext conftest$ac_exeext
27785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27786 (eval $ac_link) 2>conftest.er1
27787 ac_status=$?
27788 grep -v '^ *+' conftest.er1 >conftest.err
27789 rm -f conftest.er1
27790 cat conftest.err >&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } &&
27793 { ac_try='test -z "$ac_c_werror_flag"
27794 || test ! -s conftest.err'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27797 ac_status=$?
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; } &&
27800 { ac_try='test -s conftest$ac_exeext'
27801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27802 (eval $ac_try) 2>&5
27803 ac_status=$?
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); }; }; then
27806 glibcxx_cv_func___builtin_cos_link=yes
27807 else
27808 echo "$as_me: failed program was:" >&5
27809 sed 's/^/| /' conftest.$ac_ext >&5
27811 glibcxx_cv_func___builtin_cos_link=no
27813 rm -f conftest.err conftest.$ac_objext \
27814 conftest$ac_exeext conftest.$ac_ext
27819 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27820 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27822 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27824 cat >>confdefs.h <<\_ACEOF
27825 #define HAVE___BUILTIN_COS 1
27826 _ACEOF
27833 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27834 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27835 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27836 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27837 echo $ECHO_N "(cached) $ECHO_C" >&6
27838 else
27842 ac_ext=cc
27843 ac_cpp='$CXXCPP $CPPFLAGS'
27844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854 #include <math.h>
27856 main ()
27858 __builtin_cosl(0);
27860 return 0;
27862 _ACEOF
27863 rm -f conftest.$ac_objext
27864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27865 (eval $ac_compile) 2>conftest.er1
27866 ac_status=$?
27867 grep -v '^ *+' conftest.er1 >conftest.err
27868 rm -f conftest.er1
27869 cat conftest.err >&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); } &&
27872 { ac_try='test -z "$ac_cxx_werror_flag"
27873 || test ! -s conftest.err'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; } &&
27879 { ac_try='test -s conftest.$ac_objext'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27882 ac_status=$?
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; }; then
27885 glibcxx_cv_func___builtin_cosl_use=yes
27886 else
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.$ac_ext >&5
27890 glibcxx_cv_func___builtin_cosl_use=no
27892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27893 ac_ext=c
27894 ac_cpp='$CPP $CPPFLAGS'
27895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27904 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27905 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27906 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27907 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27908 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27909 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27913 if test x$gcc_no_link = xyes; then
27914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27916 { (exit 1); exit 1; }; }
27918 cat >conftest.$ac_ext <<_ACEOF
27919 /* confdefs.h. */
27920 _ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27924 #include <math.h>
27926 main ()
27928 __builtin_cosl(0);
27930 return 0;
27932 _ACEOF
27933 rm -f conftest.$ac_objext conftest$ac_exeext
27934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27935 (eval $ac_link) 2>conftest.er1
27936 ac_status=$?
27937 grep -v '^ *+' conftest.er1 >conftest.err
27938 rm -f conftest.er1
27939 cat conftest.err >&5
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); } &&
27942 { ac_try='test -z "$ac_c_werror_flag"
27943 || test ! -s conftest.err'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; } &&
27949 { ac_try='test -s conftest$ac_exeext'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; }; then
27955 glibcxx_cv_func___builtin_cosl_link=yes
27956 else
27957 echo "$as_me: failed program was:" >&5
27958 sed 's/^/| /' conftest.$ac_ext >&5
27960 glibcxx_cv_func___builtin_cosl_link=no
27962 rm -f conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27969 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27971 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27973 cat >>confdefs.h <<\_ACEOF
27974 #define HAVE___BUILTIN_COSL 1
27975 _ACEOF
27984 echo "$as_me:$LINENO: checking for main in -lm" >&5
27985 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27986 if test "${ac_cv_lib_m_main+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989 ac_check_lib_save_LIBS=$LIBS
27990 LIBS="-lm $LIBS"
27991 if test x$gcc_no_link = xyes; then
27992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27994 { (exit 1); exit 1; }; }
27996 cat >conftest.$ac_ext <<_ACEOF
27997 /* confdefs.h. */
27998 _ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28005 main ()
28007 main ();
28009 return 0;
28011 _ACEOF
28012 rm -f conftest.$ac_objext conftest$ac_exeext
28013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28014 (eval $ac_link) 2>conftest.er1
28015 ac_status=$?
28016 grep -v '^ *+' conftest.er1 >conftest.err
28017 rm -f conftest.er1
28018 cat conftest.err >&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } &&
28021 { ac_try='test -z "$ac_c_werror_flag"
28022 || test ! -s conftest.err'
28023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024 (eval $ac_try) 2>&5
28025 ac_status=$?
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); }; } &&
28028 { ac_try='test -s conftest$ac_exeext'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; }; then
28034 ac_cv_lib_m_main=yes
28035 else
28036 echo "$as_me: failed program was:" >&5
28037 sed 's/^/| /' conftest.$ac_ext >&5
28039 ac_cv_lib_m_main=no
28041 rm -f conftest.err conftest.$ac_objext \
28042 conftest$ac_exeext conftest.$ac_ext
28043 LIBS=$ac_check_lib_save_LIBS
28045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28046 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28047 if test $ac_cv_lib_m_main = yes; then
28048 cat >>confdefs.h <<_ACEOF
28049 #define HAVE_LIBM 1
28050 _ACEOF
28052 LIBS="-lm $LIBS"
28057 for ac_func in copysignf
28059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28060 echo "$as_me:$LINENO: checking for $ac_func" >&5
28061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28062 if eval "test \"\${$as_ac_var+set}\" = set"; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28064 else
28065 if test x$gcc_no_link = xyes; then
28066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28068 { (exit 1); exit 1; }; }
28070 cat >conftest.$ac_ext <<_ACEOF
28071 /* confdefs.h. */
28072 _ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28078 #define $ac_func innocuous_$ac_func
28080 /* System header to define __stub macros and hopefully few prototypes,
28081 which can conflict with char $ac_func (); below.
28082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28083 <limits.h> exists even on freestanding compilers. */
28085 #ifdef __STDC__
28086 # include <limits.h>
28087 #else
28088 # include <assert.h>
28089 #endif
28091 #undef $ac_func
28093 /* Override any gcc2 internal prototype to avoid an error. */
28094 #ifdef __cplusplus
28095 extern "C"
28097 #endif
28098 /* We use char because int might match the return type of a gcc2
28099 builtin and then its argument prototype would still apply. */
28100 char $ac_func ();
28101 /* The GNU C library defines this for functions which it implements
28102 to always fail with ENOSYS. Some functions are actually named
28103 something starting with __ and the normal name is an alias. */
28104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28105 choke me
28106 #else
28107 char (*f) () = $ac_func;
28108 #endif
28109 #ifdef __cplusplus
28111 #endif
28114 main ()
28116 return f != $ac_func;
28118 return 0;
28120 _ACEOF
28121 rm -f conftest.$ac_objext conftest$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123 (eval $ac_link) 2>conftest.er1
28124 ac_status=$?
28125 grep -v '^ *+' conftest.er1 >conftest.err
28126 rm -f conftest.er1
28127 cat conftest.err >&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); } &&
28130 { ac_try='test -z "$ac_c_werror_flag"
28131 || test ! -s conftest.err'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; } &&
28137 { ac_try='test -s conftest$ac_exeext'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28140 ac_status=$?
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; }; then
28143 eval "$as_ac_var=yes"
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28148 eval "$as_ac_var=no"
28150 rm -f conftest.err conftest.$ac_objext \
28151 conftest$ac_exeext conftest.$ac_ext
28153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28155 if test `eval echo '${'$as_ac_var'}'` = yes; then
28156 cat >>confdefs.h <<_ACEOF
28157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28158 _ACEOF
28160 else
28161 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28163 done
28167 for ac_func in __signbit
28169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28170 echo "$as_me:$LINENO: checking for $ac_func" >&5
28171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28172 if eval "test \"\${$as_ac_var+set}\" = set"; then
28173 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 else
28175 if test x$gcc_no_link = xyes; then
28176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28178 { (exit 1); exit 1; }; }
28180 cat >conftest.$ac_ext <<_ACEOF
28181 /* confdefs.h. */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28188 #define $ac_func innocuous_$ac_func
28190 /* System header to define __stub macros and hopefully few prototypes,
28191 which can conflict with char $ac_func (); below.
28192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28193 <limits.h> exists even on freestanding compilers. */
28195 #ifdef __STDC__
28196 # include <limits.h>
28197 #else
28198 # include <assert.h>
28199 #endif
28201 #undef $ac_func
28203 /* Override any gcc2 internal prototype to avoid an error. */
28204 #ifdef __cplusplus
28205 extern "C"
28207 #endif
28208 /* We use char because int might match the return type of a gcc2
28209 builtin and then its argument prototype would still apply. */
28210 char $ac_func ();
28211 /* The GNU C library defines this for functions which it implements
28212 to always fail with ENOSYS. Some functions are actually named
28213 something starting with __ and the normal name is an alias. */
28214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28215 choke me
28216 #else
28217 char (*f) () = $ac_func;
28218 #endif
28219 #ifdef __cplusplus
28221 #endif
28224 main ()
28226 return f != $ac_func;
28228 return 0;
28230 _ACEOF
28231 rm -f conftest.$ac_objext conftest$ac_exeext
28232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28233 (eval $ac_link) 2>conftest.er1
28234 ac_status=$?
28235 grep -v '^ *+' conftest.er1 >conftest.err
28236 rm -f conftest.er1
28237 cat conftest.err >&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } &&
28240 { ac_try='test -z "$ac_c_werror_flag"
28241 || test ! -s conftest.err'
28242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243 (eval $ac_try) 2>&5
28244 ac_status=$?
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; } &&
28247 { ac_try='test -s conftest$ac_exeext'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28250 ac_status=$?
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; }; then
28253 eval "$as_ac_var=yes"
28254 else
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28258 eval "$as_ac_var=no"
28260 rm -f conftest.err conftest.$ac_objext \
28261 conftest$ac_exeext conftest.$ac_ext
28263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28265 if test `eval echo '${'$as_ac_var'}'` = yes; then
28266 cat >>confdefs.h <<_ACEOF
28267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28268 _ACEOF
28270 else
28271 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28273 done
28277 for ac_func in __signbitf
28279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28280 echo "$as_me:$LINENO: checking for $ac_func" >&5
28281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28282 if eval "test \"\${$as_ac_var+set}\" = set"; then
28283 echo $ECHO_N "(cached) $ECHO_C" >&6
28284 else
28285 if test x$gcc_no_link = xyes; then
28286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28288 { (exit 1); exit 1; }; }
28290 cat >conftest.$ac_ext <<_ACEOF
28291 /* confdefs.h. */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28298 #define $ac_func innocuous_$ac_func
28300 /* System header to define __stub macros and hopefully few prototypes,
28301 which can conflict with char $ac_func (); below.
28302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28303 <limits.h> exists even on freestanding compilers. */
28305 #ifdef __STDC__
28306 # include <limits.h>
28307 #else
28308 # include <assert.h>
28309 #endif
28311 #undef $ac_func
28313 /* Override any gcc2 internal prototype to avoid an error. */
28314 #ifdef __cplusplus
28315 extern "C"
28317 #endif
28318 /* We use char because int might match the return type of a gcc2
28319 builtin and then its argument prototype would still apply. */
28320 char $ac_func ();
28321 /* The GNU C library defines this for functions which it implements
28322 to always fail with ENOSYS. Some functions are actually named
28323 something starting with __ and the normal name is an alias. */
28324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28325 choke me
28326 #else
28327 char (*f) () = $ac_func;
28328 #endif
28329 #ifdef __cplusplus
28331 #endif
28334 main ()
28336 return f != $ac_func;
28338 return 0;
28340 _ACEOF
28341 rm -f conftest.$ac_objext conftest$ac_exeext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28343 (eval $ac_link) 2>conftest.er1
28344 ac_status=$?
28345 grep -v '^ *+' conftest.er1 >conftest.err
28346 rm -f conftest.er1
28347 cat conftest.err >&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } &&
28350 { ac_try='test -z "$ac_c_werror_flag"
28351 || test ! -s conftest.err'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; } &&
28357 { ac_try='test -s conftest$ac_exeext'
28358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359 (eval $ac_try) 2>&5
28360 ac_status=$?
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); }; }; then
28363 eval "$as_ac_var=yes"
28364 else
28365 echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.$ac_ext >&5
28368 eval "$as_ac_var=no"
28370 rm -f conftest.err conftest.$ac_objext \
28371 conftest$ac_exeext conftest.$ac_ext
28373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28375 if test `eval echo '${'$as_ac_var'}'` = yes; then
28376 cat >>confdefs.h <<_ACEOF
28377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28378 _ACEOF
28380 else
28381 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28383 done
28386 if test x$ac_cv_func_copysignl = x"yes"; then
28388 for ac_func in __signbitl
28390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28391 echo "$as_me:$LINENO: checking for $ac_func" >&5
28392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28393 if eval "test \"\${$as_ac_var+set}\" = set"; then
28394 echo $ECHO_N "(cached) $ECHO_C" >&6
28395 else
28396 if test x$gcc_no_link = xyes; then
28397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28399 { (exit 1); exit 1; }; }
28401 cat >conftest.$ac_ext <<_ACEOF
28402 /* confdefs.h. */
28403 _ACEOF
28404 cat confdefs.h >>conftest.$ac_ext
28405 cat >>conftest.$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28409 #define $ac_func innocuous_$ac_func
28411 /* System header to define __stub macros and hopefully few prototypes,
28412 which can conflict with char $ac_func (); below.
28413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28414 <limits.h> exists even on freestanding compilers. */
28416 #ifdef __STDC__
28417 # include <limits.h>
28418 #else
28419 # include <assert.h>
28420 #endif
28422 #undef $ac_func
28424 /* Override any gcc2 internal prototype to avoid an error. */
28425 #ifdef __cplusplus
28426 extern "C"
28428 #endif
28429 /* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28431 char $ac_func ();
28432 /* The GNU C library defines this for functions which it implements
28433 to always fail with ENOSYS. Some functions are actually named
28434 something starting with __ and the normal name is an alias. */
28435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28436 choke me
28437 #else
28438 char (*f) () = $ac_func;
28439 #endif
28440 #ifdef __cplusplus
28442 #endif
28445 main ()
28447 return f != $ac_func;
28449 return 0;
28451 _ACEOF
28452 rm -f conftest.$ac_objext conftest$ac_exeext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454 (eval $ac_link) 2>conftest.er1
28455 ac_status=$?
28456 grep -v '^ *+' conftest.er1 >conftest.err
28457 rm -f conftest.er1
28458 cat conftest.err >&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try='test -z "$ac_c_werror_flag"
28462 || test ! -s conftest.err'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28465 ac_status=$?
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; } &&
28468 { ac_try='test -s conftest$ac_exeext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 eval "$as_ac_var=yes"
28475 else
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.$ac_ext >&5
28479 eval "$as_ac_var=no"
28481 rm -f conftest.err conftest.$ac_objext \
28482 conftest$ac_exeext conftest.$ac_ext
28484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28486 if test `eval echo '${'$as_ac_var'}'` = yes; then
28487 cat >>confdefs.h <<_ACEOF
28488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28489 _ACEOF
28491 else
28492 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28494 done
28498 # Used in libmath/Makefile.am.
28499 if test -n "$LIBMATHOBJS"; then
28500 need_libmath=yes
28506 enable_iconv=no
28507 # Only continue checking if the ISO C99 headers exist and support is on.
28508 if test x"$enable_wchar_t" = xyes; then
28510 # Use iconv for wchar_t to char conversions. As such, check for
28511 # X/Open Portability Guide, version 2 features (XPG2).
28512 if test "${ac_cv_header_iconv_h+set}" = set; then
28513 echo "$as_me:$LINENO: checking for iconv.h" >&5
28514 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28515 if test "${ac_cv_header_iconv_h+set}" = set; then
28516 echo $ECHO_N "(cached) $ECHO_C" >&6
28518 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28519 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28520 else
28521 # Is the header compilable?
28522 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28523 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28524 cat >conftest.$ac_ext <<_ACEOF
28525 /* confdefs.h. */
28526 _ACEOF
28527 cat confdefs.h >>conftest.$ac_ext
28528 cat >>conftest.$ac_ext <<_ACEOF
28529 /* end confdefs.h. */
28530 $ac_includes_default
28531 #include <iconv.h>
28532 _ACEOF
28533 rm -f conftest.$ac_objext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28535 (eval $ac_compile) 2>conftest.er1
28536 ac_status=$?
28537 grep -v '^ *+' conftest.er1 >conftest.err
28538 rm -f conftest.er1
28539 cat conftest.err >&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } &&
28542 { ac_try='test -z "$ac_c_werror_flag"
28543 || test ! -s conftest.err'
28544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545 (eval $ac_try) 2>&5
28546 ac_status=$?
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); }; } &&
28549 { ac_try='test -s conftest.$ac_objext'
28550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551 (eval $ac_try) 2>&5
28552 ac_status=$?
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; }; then
28555 ac_header_compiler=yes
28556 else
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28560 ac_header_compiler=no
28562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28564 echo "${ECHO_T}$ac_header_compiler" >&6
28566 # Is the header present?
28567 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28568 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28569 cat >conftest.$ac_ext <<_ACEOF
28570 /* confdefs.h. */
28571 _ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28575 #include <iconv.h>
28576 _ACEOF
28577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } >/dev/null; then
28585 if test -s conftest.err; then
28586 ac_cpp_err=$ac_c_preproc_warn_flag
28587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28588 else
28589 ac_cpp_err=
28591 else
28592 ac_cpp_err=yes
28594 if test -z "$ac_cpp_err"; then
28595 ac_header_preproc=yes
28596 else
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28600 ac_header_preproc=no
28602 rm -f conftest.err conftest.$ac_ext
28603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28604 echo "${ECHO_T}$ac_header_preproc" >&6
28606 # So? What about this header?
28607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28608 yes:no: )
28609 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28610 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28611 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28612 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28613 ac_header_preproc=yes
28615 no:yes:* )
28616 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28617 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28618 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28619 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28620 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28621 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28622 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28623 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28624 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28625 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28626 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28627 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28629 cat <<\_ASBOX
28630 ## ----------------------------------------- ##
28631 ## Report this to the package-unused lists. ##
28632 ## ----------------------------------------- ##
28633 _ASBOX
28635 sed "s/^/$as_me: WARNING: /" >&2
28637 esac
28638 echo "$as_me:$LINENO: checking for iconv.h" >&5
28639 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28640 if test "${ac_cv_header_iconv_h+set}" = set; then
28641 echo $ECHO_N "(cached) $ECHO_C" >&6
28642 else
28643 ac_cv_header_iconv_h=$ac_header_preproc
28645 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28646 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28649 if test $ac_cv_header_iconv_h = yes; then
28650 ac_has_iconv_h=yes
28651 else
28652 ac_has_iconv_h=no
28656 if test "${ac_cv_header_langinfo_h+set}" = set; then
28657 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28658 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28659 if test "${ac_cv_header_langinfo_h+set}" = set; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28662 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28663 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28664 else
28665 # Is the header compilable?
28666 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28667 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674 $ac_includes_default
28675 #include <langinfo.h>
28676 _ACEOF
28677 rm -f conftest.$ac_objext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28679 (eval $ac_compile) 2>conftest.er1
28680 ac_status=$?
28681 grep -v '^ *+' conftest.er1 >conftest.err
28682 rm -f conftest.er1
28683 cat conftest.err >&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } &&
28686 { ac_try='test -z "$ac_c_werror_flag"
28687 || test ! -s conftest.err'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; } &&
28693 { ac_try='test -s conftest.$ac_objext'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; }; then
28699 ac_header_compiler=yes
28700 else
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28704 ac_header_compiler=no
28706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28708 echo "${ECHO_T}$ac_header_compiler" >&6
28710 # Is the header present?
28711 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28712 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h. */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28719 #include <langinfo.h>
28720 _ACEOF
28721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28723 ac_status=$?
28724 grep -v '^ *+' conftest.er1 >conftest.err
28725 rm -f conftest.er1
28726 cat conftest.err >&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); } >/dev/null; then
28729 if test -s conftest.err; then
28730 ac_cpp_err=$ac_c_preproc_warn_flag
28731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28732 else
28733 ac_cpp_err=
28735 else
28736 ac_cpp_err=yes
28738 if test -z "$ac_cpp_err"; then
28739 ac_header_preproc=yes
28740 else
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.$ac_ext >&5
28744 ac_header_preproc=no
28746 rm -f conftest.err conftest.$ac_ext
28747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28748 echo "${ECHO_T}$ac_header_preproc" >&6
28750 # So? What about this header?
28751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28752 yes:no: )
28753 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28754 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28756 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28757 ac_header_preproc=yes
28759 no:yes:* )
28760 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28761 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28762 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28763 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28764 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28765 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28766 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28767 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28768 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28769 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28770 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28771 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28773 cat <<\_ASBOX
28774 ## ----------------------------------------- ##
28775 ## Report this to the package-unused lists. ##
28776 ## ----------------------------------------- ##
28777 _ASBOX
28779 sed "s/^/$as_me: WARNING: /" >&2
28781 esac
28782 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28783 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28784 if test "${ac_cv_header_langinfo_h+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787 ac_cv_header_langinfo_h=$ac_header_preproc
28789 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28793 if test $ac_cv_header_langinfo_h = yes; then
28794 ac_has_langinfo_h=yes
28795 else
28796 ac_has_langinfo_h=no
28801 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28802 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28803 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28804 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807 ac_check_lib_save_LIBS=$LIBS
28808 LIBS="-liconv $LIBS"
28809 if test x$gcc_no_link = xyes; then
28810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812 { (exit 1); exit 1; }; }
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h. */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28821 /* Override any gcc2 internal prototype to avoid an error. */
28822 #ifdef __cplusplus
28823 extern "C"
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28827 char iconv ();
28829 main ()
28831 iconv ();
28833 return 0;
28835 _ACEOF
28836 rm -f conftest.$ac_objext conftest$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838 (eval $ac_link) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest$ac_exeext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 ac_cv_lib_iconv_iconv=yes
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28863 ac_cv_lib_iconv_iconv=no
28865 rm -f conftest.err conftest.$ac_objext \
28866 conftest$ac_exeext conftest.$ac_ext
28867 LIBS=$ac_check_lib_save_LIBS
28869 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28870 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28871 if test $ac_cv_lib_iconv_iconv = yes; then
28872 LIBICONV="-liconv"
28875 ac_save_LIBS="$LIBS"
28876 LIBS="$LIBS $LIBICONV"
28883 for ac_func in iconv_open iconv_close iconv nl_langinfo
28885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28886 echo "$as_me:$LINENO: checking for $ac_func" >&5
28887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28888 if eval "test \"\${$as_ac_var+set}\" = set"; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 if test x$gcc_no_link = xyes; then
28892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28894 { (exit 1); exit 1; }; }
28896 cat >conftest.$ac_ext <<_ACEOF
28897 /* confdefs.h. */
28898 _ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28904 #define $ac_func innocuous_$ac_func
28906 /* System header to define __stub macros and hopefully few prototypes,
28907 which can conflict with char $ac_func (); below.
28908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28909 <limits.h> exists even on freestanding compilers. */
28911 #ifdef __STDC__
28912 # include <limits.h>
28913 #else
28914 # include <assert.h>
28915 #endif
28917 #undef $ac_func
28919 /* Override any gcc2 internal prototype to avoid an error. */
28920 #ifdef __cplusplus
28921 extern "C"
28923 #endif
28924 /* We use char because int might match the return type of a gcc2
28925 builtin and then its argument prototype would still apply. */
28926 char $ac_func ();
28927 /* The GNU C library defines this for functions which it implements
28928 to always fail with ENOSYS. Some functions are actually named
28929 something starting with __ and the normal name is an alias. */
28930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28931 choke me
28932 #else
28933 char (*f) () = $ac_func;
28934 #endif
28935 #ifdef __cplusplus
28937 #endif
28940 main ()
28942 return f != $ac_func;
28944 return 0;
28946 _ACEOF
28947 rm -f conftest.$ac_objext conftest$ac_exeext
28948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28949 (eval $ac_link) 2>conftest.er1
28950 ac_status=$?
28951 grep -v '^ *+' conftest.er1 >conftest.err
28952 rm -f conftest.er1
28953 cat conftest.err >&5
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); } &&
28956 { ac_try='test -z "$ac_c_werror_flag"
28957 || test ! -s conftest.err'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28960 ac_status=$?
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; } &&
28963 { ac_try='test -s conftest$ac_exeext'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28966 ac_status=$?
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; }; then
28969 eval "$as_ac_var=yes"
28970 else
28971 echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.$ac_ext >&5
28974 eval "$as_ac_var=no"
28976 rm -f conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28981 if test `eval echo '${'$as_ac_var'}'` = yes; then
28982 cat >>confdefs.h <<_ACEOF
28983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28984 _ACEOF
28985 ac_XPG2funcs=yes
28986 else
28987 ac_XPG2funcs=no
28989 done
28992 LIBS="$ac_save_LIBS"
28994 if test x"$ac_has_iconv_h" = xyes &&
28995 test x"$ac_has_langinfo_h" = xyes &&
28996 test x"$ac_XPG2funcs" = xyes;
28997 then
28999 cat >>confdefs.h <<\_ACEOF
29000 #define _GLIBCXX_USE_ICONV 1
29001 _ACEOF
29003 enable_iconv=yes
29006 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29007 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29008 echo "$as_me:$LINENO: result: $enable_iconv" >&5
29009 echo "${ECHO_T}$enable_iconv" >&6
29012 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29013 ac_save_CXXFLAGS="$CXXFLAGS"
29014 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29017 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29018 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29019 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29020 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29021 echo $ECHO_N "(cached) $ECHO_C" >&6
29022 else
29026 ac_ext=cc
29027 ac_cpp='$CXXCPP $CPPFLAGS'
29028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29032 cat >conftest.$ac_ext <<_ACEOF
29033 /* confdefs.h. */
29034 _ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h. */
29038 #include <stdlib.h>
29040 main ()
29042 strtold(0, 0);
29044 return 0;
29046 _ACEOF
29047 rm -f conftest.$ac_objext
29048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29049 (eval $ac_compile) 2>conftest.er1
29050 ac_status=$?
29051 grep -v '^ *+' conftest.er1 >conftest.err
29052 rm -f conftest.er1
29053 cat conftest.err >&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } &&
29056 { ac_try='test -z "$ac_cxx_werror_flag"
29057 || test ! -s conftest.err'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; } &&
29063 { ac_try='test -s conftest.$ac_objext'
29064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065 (eval $ac_try) 2>&5
29066 ac_status=$?
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); }; }; then
29069 glibcxx_cv_func_strtold_use=yes
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29074 glibcxx_cv_func_strtold_use=no
29076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29077 ac_ext=c
29078 ac_cpp='$CPP $CPPFLAGS'
29079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29088 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29089 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29091 for ac_func in strtold
29093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29094 echo "$as_me:$LINENO: checking for $ac_func" >&5
29095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29096 if eval "test \"\${$as_ac_var+set}\" = set"; then
29097 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 else
29099 if test x$gcc_no_link = xyes; then
29100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29102 { (exit 1); exit 1; }; }
29104 cat >conftest.$ac_ext <<_ACEOF
29105 /* confdefs.h. */
29106 _ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29112 #define $ac_func innocuous_$ac_func
29114 /* System header to define __stub macros and hopefully few prototypes,
29115 which can conflict with char $ac_func (); below.
29116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29117 <limits.h> exists even on freestanding compilers. */
29119 #ifdef __STDC__
29120 # include <limits.h>
29121 #else
29122 # include <assert.h>
29123 #endif
29125 #undef $ac_func
29127 /* Override any gcc2 internal prototype to avoid an error. */
29128 #ifdef __cplusplus
29129 extern "C"
29131 #endif
29132 /* We use char because int might match the return type of a gcc2
29133 builtin and then its argument prototype would still apply. */
29134 char $ac_func ();
29135 /* The GNU C library defines this for functions which it implements
29136 to always fail with ENOSYS. Some functions are actually named
29137 something starting with __ and the normal name is an alias. */
29138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29139 choke me
29140 #else
29141 char (*f) () = $ac_func;
29142 #endif
29143 #ifdef __cplusplus
29145 #endif
29148 main ()
29150 return f != $ac_func;
29152 return 0;
29154 _ACEOF
29155 rm -f conftest.$ac_objext conftest$ac_exeext
29156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29157 (eval $ac_link) 2>conftest.er1
29158 ac_status=$?
29159 grep -v '^ *+' conftest.er1 >conftest.err
29160 rm -f conftest.er1
29161 cat conftest.err >&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } &&
29164 { ac_try='test -z "$ac_c_werror_flag"
29165 || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try='test -s conftest$ac_exeext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29177 eval "$as_ac_var=yes"
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 eval "$as_ac_var=no"
29184 rm -f conftest.err conftest.$ac_objext \
29185 conftest$ac_exeext conftest.$ac_ext
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29189 if test `eval echo '${'$as_ac_var'}'` = yes; then
29190 cat >>confdefs.h <<_ACEOF
29191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29192 _ACEOF
29195 done
29203 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29204 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29205 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29206 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 else
29212 ac_ext=cc
29213 ac_cpp='$CXXCPP $CPPFLAGS'
29214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224 #include <stdlib.h>
29226 main ()
29228 strtof(0, 0);
29230 return 0;
29232 _ACEOF
29233 rm -f conftest.$ac_objext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29235 (eval $ac_compile) 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try='test -z "$ac_cxx_werror_flag"
29243 || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest.$ac_objext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 glibcxx_cv_func_strtof_use=yes
29256 else
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29260 glibcxx_cv_func_strtof_use=no
29262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29263 ac_ext=c
29264 ac_cpp='$CPP $CPPFLAGS'
29265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29274 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29275 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29277 for ac_func in strtof
29279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29280 echo "$as_me:$LINENO: checking for $ac_func" >&5
29281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29282 if eval "test \"\${$as_ac_var+set}\" = set"; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 else
29285 if test x$gcc_no_link = xyes; then
29286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29288 { (exit 1); exit 1; }; }
29290 cat >conftest.$ac_ext <<_ACEOF
29291 /* confdefs.h. */
29292 _ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29298 #define $ac_func innocuous_$ac_func
29300 /* System header to define __stub macros and hopefully few prototypes,
29301 which can conflict with char $ac_func (); below.
29302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29303 <limits.h> exists even on freestanding compilers. */
29305 #ifdef __STDC__
29306 # include <limits.h>
29307 #else
29308 # include <assert.h>
29309 #endif
29311 #undef $ac_func
29313 /* Override any gcc2 internal prototype to avoid an error. */
29314 #ifdef __cplusplus
29315 extern "C"
29317 #endif
29318 /* We use char because int might match the return type of a gcc2
29319 builtin and then its argument prototype would still apply. */
29320 char $ac_func ();
29321 /* The GNU C library defines this for functions which it implements
29322 to always fail with ENOSYS. Some functions are actually named
29323 something starting with __ and the normal name is an alias. */
29324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29325 choke me
29326 #else
29327 char (*f) () = $ac_func;
29328 #endif
29329 #ifdef __cplusplus
29331 #endif
29334 main ()
29336 return f != $ac_func;
29338 return 0;
29340 _ACEOF
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343 (eval $ac_link) 2>conftest.er1
29344 ac_status=$?
29345 grep -v '^ *+' conftest.er1 >conftest.err
29346 rm -f conftest.er1
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try='test -z "$ac_c_werror_flag"
29351 || test ! -s conftest.err'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; } &&
29357 { ac_try='test -s conftest$ac_exeext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29360 ac_status=$?
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363 eval "$as_ac_var=yes"
29364 else
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29368 eval "$as_ac_var=no"
29370 rm -f conftest.err conftest.$ac_objext \
29371 conftest$ac_exeext conftest.$ac_ext
29373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376 cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29378 _ACEOF
29381 done
29389 CXXFLAGS="$ac_save_CXXFLAGS"
29392 # For showmanyc_helper().
29395 for ac_header in sys/ioctl.h sys/filio.h
29397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29399 echo "$as_me:$LINENO: checking for $ac_header" >&5
29400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29406 else
29407 # Is the header compilable?
29408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29410 cat >conftest.$ac_ext <<_ACEOF
29411 /* confdefs.h. */
29412 _ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 $ac_includes_default
29417 #include <$ac_header>
29418 _ACEOF
29419 rm -f conftest.$ac_objext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29421 (eval $ac_compile) 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -z "$ac_c_werror_flag"
29429 || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29432 ac_status=$?
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29438 ac_status=$?
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 ac_header_compiler=yes
29442 else
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29446 ac_header_compiler=no
29448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29450 echo "${ECHO_T}$ac_header_compiler" >&6
29452 # Is the header present?
29453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29455 cat >conftest.$ac_ext <<_ACEOF
29456 /* confdefs.h. */
29457 _ACEOF
29458 cat confdefs.h >>conftest.$ac_ext
29459 cat >>conftest.$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29461 #include <$ac_header>
29462 _ACEOF
29463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } >/dev/null; then
29471 if test -s conftest.err; then
29472 ac_cpp_err=$ac_c_preproc_warn_flag
29473 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29474 else
29475 ac_cpp_err=
29477 else
29478 ac_cpp_err=yes
29480 if test -z "$ac_cpp_err"; then
29481 ac_header_preproc=yes
29482 else
29483 echo "$as_me: failed program was:" >&5
29484 sed 's/^/| /' conftest.$ac_ext >&5
29486 ac_header_preproc=no
29488 rm -f conftest.err conftest.$ac_ext
29489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29490 echo "${ECHO_T}$ac_header_preproc" >&6
29492 # So? What about this header?
29493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29494 yes:no: )
29495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29499 ac_header_preproc=yes
29501 no:yes:* )
29502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29515 cat <<\_ASBOX
29516 ## ----------------------------------------- ##
29517 ## Report this to the package-unused lists. ##
29518 ## ----------------------------------------- ##
29519 _ASBOX
29521 sed "s/^/$as_me: WARNING: /" >&2
29523 esac
29524 echo "$as_me:$LINENO: checking for $ac_header" >&5
29525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 eval "$as_ac_Header=\$ac_header_preproc"
29531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29536 cat >>confdefs.h <<_ACEOF
29537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29538 _ACEOF
29542 done
29545 echo "$as_me:$LINENO: checking for poll" >&5
29546 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29547 if test "${glibcxx_cv_POLL+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 else
29551 if test x$gcc_no_link = xyes; then
29552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29554 { (exit 1); exit 1; }; }
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h. */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562 #include <poll.h>
29564 main ()
29566 struct pollfd pfd[1];
29567 pfd[0].events = POLLIN;
29568 poll(pfd, 1, 0);
29570 return 0;
29572 _ACEOF
29573 rm -f conftest.$ac_objext conftest$ac_exeext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>conftest.er1
29576 ac_status=$?
29577 grep -v '^ *+' conftest.er1 >conftest.err
29578 rm -f conftest.er1
29579 cat conftest.err >&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } &&
29582 { ac_try='test -z "$ac_c_werror_flag"
29583 || test ! -s conftest.err'
29584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585 (eval $ac_try) 2>&5
29586 ac_status=$?
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; } &&
29589 { ac_try='test -s conftest$ac_exeext'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; }; then
29595 glibcxx_cv_POLL=yes
29596 else
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29600 glibcxx_cv_POLL=no
29602 rm -f conftest.err conftest.$ac_objext \
29603 conftest$ac_exeext conftest.$ac_ext
29607 if test $glibcxx_cv_POLL = yes; then
29609 cat >>confdefs.h <<\_ACEOF
29610 #define HAVE_POLL 1
29611 _ACEOF
29614 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29615 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29618 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29619 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29620 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29622 else
29624 if test x$gcc_no_link = xyes; then
29625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29627 { (exit 1); exit 1; }; }
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h. */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635 #include <sys/stat.h>
29637 main ()
29639 struct stat buffer;
29640 fstat(0, &buffer);
29641 S_ISREG(buffer.st_mode);
29643 return 0;
29645 _ACEOF
29646 rm -f conftest.$ac_objext conftest$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>conftest.er1
29649 ac_status=$?
29650 grep -v '^ *+' conftest.er1 >conftest.err
29651 rm -f conftest.er1
29652 cat conftest.err >&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } &&
29655 { ac_try='test -z "$ac_c_werror_flag"
29656 || test ! -s conftest.err'
29657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29658 (eval $ac_try) 2>&5
29659 ac_status=$?
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); }; } &&
29662 { ac_try='test -s conftest$ac_exeext'
29663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664 (eval $ac_try) 2>&5
29665 ac_status=$?
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; }; then
29668 glibcxx_cv_S_ISREG=yes
29669 else
29670 echo "$as_me: failed program was:" >&5
29671 sed 's/^/| /' conftest.$ac_ext >&5
29673 glibcxx_cv_S_ISREG=no
29675 rm -f conftest.err conftest.$ac_objext \
29676 conftest$ac_exeext conftest.$ac_ext
29680 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29682 else
29684 if test x$gcc_no_link = xyes; then
29685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29687 { (exit 1); exit 1; }; }
29689 cat >conftest.$ac_ext <<_ACEOF
29690 /* confdefs.h. */
29691 _ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29695 #include <sys/stat.h>
29697 main ()
29699 struct stat buffer;
29700 fstat(0, &buffer);
29701 S_IFREG & buffer.st_mode;
29703 return 0;
29705 _ACEOF
29706 rm -f conftest.$ac_objext conftest$ac_exeext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708 (eval $ac_link) 2>conftest.er1
29709 ac_status=$?
29710 grep -v '^ *+' conftest.er1 >conftest.err
29711 rm -f conftest.er1
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } &&
29715 { ac_try='test -z "$ac_c_werror_flag"
29716 || test ! -s conftest.err'
29717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718 (eval $ac_try) 2>&5
29719 ac_status=$?
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); }; } &&
29722 { ac_try='test -s conftest$ac_exeext'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 glibcxx_cv_S_IFREG=yes
29729 else
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29733 glibcxx_cv_S_IFREG=no
29735 rm -f conftest.err conftest.$ac_objext \
29736 conftest$ac_exeext conftest.$ac_ext
29740 res=no
29741 if test $glibcxx_cv_S_ISREG = yes; then
29743 cat >>confdefs.h <<\_ACEOF
29744 #define HAVE_S_ISREG 1
29745 _ACEOF
29747 res=S_ISREG
29748 elif test $glibcxx_cv_S_IFREG = yes; then
29750 cat >>confdefs.h <<\_ACEOF
29751 #define HAVE_S_IFREG 1
29752 _ACEOF
29754 res=S_IFREG
29756 echo "$as_me:$LINENO: result: $res" >&5
29757 echo "${ECHO_T}$res" >&6
29760 # For xsputn_2().
29762 for ac_header in sys/uio.h
29764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29766 echo "$as_me:$LINENO: checking for $ac_header" >&5
29767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29773 else
29774 # Is the header compilable?
29775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 $ac_includes_default
29784 #include <$ac_header>
29785 _ACEOF
29786 rm -f conftest.$ac_objext
29787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29788 (eval $ac_compile) 2>conftest.er1
29789 ac_status=$?
29790 grep -v '^ *+' conftest.er1 >conftest.err
29791 rm -f conftest.er1
29792 cat conftest.err >&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); } &&
29795 { ac_try='test -z "$ac_c_werror_flag"
29796 || test ! -s conftest.err'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; } &&
29802 { ac_try='test -s conftest.$ac_objext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29805 ac_status=$?
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29808 ac_header_compiler=yes
29809 else
29810 echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.$ac_ext >&5
29813 ac_header_compiler=no
29815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29817 echo "${ECHO_T}$ac_header_compiler" >&6
29819 # Is the header present?
29820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29822 cat >conftest.$ac_ext <<_ACEOF
29823 /* confdefs.h. */
29824 _ACEOF
29825 cat confdefs.h >>conftest.$ac_ext
29826 cat >>conftest.$ac_ext <<_ACEOF
29827 /* end confdefs.h. */
29828 #include <$ac_header>
29829 _ACEOF
29830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29832 ac_status=$?
29833 grep -v '^ *+' conftest.er1 >conftest.err
29834 rm -f conftest.er1
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } >/dev/null; then
29838 if test -s conftest.err; then
29839 ac_cpp_err=$ac_c_preproc_warn_flag
29840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29841 else
29842 ac_cpp_err=
29844 else
29845 ac_cpp_err=yes
29847 if test -z "$ac_cpp_err"; then
29848 ac_header_preproc=yes
29849 else
29850 echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29853 ac_header_preproc=no
29855 rm -f conftest.err conftest.$ac_ext
29856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29857 echo "${ECHO_T}$ac_header_preproc" >&6
29859 # So? What about this header?
29860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29861 yes:no: )
29862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29866 ac_header_preproc=yes
29868 no:yes:* )
29869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29882 cat <<\_ASBOX
29883 ## ----------------------------------------- ##
29884 ## Report this to the package-unused lists. ##
29885 ## ----------------------------------------- ##
29886 _ASBOX
29888 sed "s/^/$as_me: WARNING: /" >&2
29890 esac
29891 echo "$as_me:$LINENO: checking for $ac_header" >&5
29892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29894 echo $ECHO_N "(cached) $ECHO_C" >&6
29895 else
29896 eval "$as_ac_Header=\$ac_header_preproc"
29898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29903 cat >>confdefs.h <<_ACEOF
29904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29905 _ACEOF
29909 done
29912 echo "$as_me:$LINENO: checking for writev" >&5
29913 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29914 if test "${glibcxx_cv_WRITEV+set}" = set; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29916 else
29918 if test x$gcc_no_link = xyes; then
29919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29921 { (exit 1); exit 1; }; }
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h. */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929 #include <sys/uio.h>
29931 main ()
29933 struct iovec iov[2];
29934 writev(0, iov, 0);
29936 return 0;
29938 _ACEOF
29939 rm -f conftest.$ac_objext conftest$ac_exeext
29940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29941 (eval $ac_link) 2>conftest.er1
29942 ac_status=$?
29943 grep -v '^ *+' conftest.er1 >conftest.err
29944 rm -f conftest.er1
29945 cat conftest.err >&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); } &&
29948 { ac_try='test -z "$ac_c_werror_flag"
29949 || test ! -s conftest.err'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; } &&
29955 { ac_try='test -s conftest$ac_exeext'
29956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957 (eval $ac_try) 2>&5
29958 ac_status=$?
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; }; then
29961 glibcxx_cv_WRITEV=yes
29962 else
29963 echo "$as_me: failed program was:" >&5
29964 sed 's/^/| /' conftest.$ac_ext >&5
29966 glibcxx_cv_WRITEV=no
29968 rm -f conftest.err conftest.$ac_objext \
29969 conftest$ac_exeext conftest.$ac_ext
29973 if test $glibcxx_cv_WRITEV = yes; then
29975 cat >>confdefs.h <<\_ACEOF
29976 #define HAVE_WRITEV 1
29977 _ACEOF
29980 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29981 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29984 # For the __streamoff_base_type typedef.
29986 echo "$as_me:$LINENO: checking for int64_t" >&5
29987 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29988 if test "${glibcxx_cv_INT64_T+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 else
29992 cat >conftest.$ac_ext <<_ACEOF
29993 /* confdefs.h. */
29994 _ACEOF
29995 cat confdefs.h >>conftest.$ac_ext
29996 cat >>conftest.$ac_ext <<_ACEOF
29997 /* end confdefs.h. */
29998 #include <stdint.h>
30000 main ()
30002 int64_t var;
30004 return 0;
30006 _ACEOF
30007 rm -f conftest.$ac_objext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30009 (eval $ac_compile) 2>conftest.er1
30010 ac_status=$?
30011 grep -v '^ *+' conftest.er1 >conftest.err
30012 rm -f conftest.er1
30013 cat conftest.err >&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); } &&
30016 { ac_try='test -z "$ac_c_werror_flag"
30017 || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30020 ac_status=$?
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try='test -s conftest.$ac_objext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30026 ac_status=$?
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 glibcxx_cv_INT64_T=yes
30030 else
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30034 glibcxx_cv_INT64_T=no
30036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30040 if test $glibcxx_cv_INT64_T = yes; then
30042 cat >>confdefs.h <<\_ACEOF
30043 #define HAVE_INT64_T 1
30044 _ACEOF
30047 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30048 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30051 # For LFS support.
30055 ac_ext=cc
30056 ac_cpp='$CXXCPP $CPPFLAGS'
30057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061 ac_save_CXXFLAGS="$CXXFLAGS"
30062 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30063 echo "$as_me:$LINENO: checking for LFS support" >&5
30064 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30065 if test "${glibcxx_cv_LFS+set}" = set; then
30066 echo $ECHO_N "(cached) $ECHO_C" >&6
30067 else
30069 if test x$gcc_no_link = xyes; then
30070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30072 { (exit 1); exit 1; }; }
30074 cat >conftest.$ac_ext <<_ACEOF
30075 /* confdefs.h. */
30076 _ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080 #include <unistd.h>
30081 #include <stdio.h>
30082 #include <sys/stat.h>
30085 main ()
30087 FILE* fp;
30088 fopen64("t", "w");
30089 fseeko64(fp, 0, SEEK_CUR);
30090 ftello64(fp);
30091 lseek64(1, 0, SEEK_CUR);
30092 struct stat64 buf;
30093 fstat64(1, &buf);
30095 return 0;
30097 _ACEOF
30098 rm -f conftest.$ac_objext conftest$ac_exeext
30099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30100 (eval $ac_link) 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try='test -z "$ac_cxx_werror_flag"
30108 || test ! -s conftest.err'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; } &&
30114 { ac_try='test -s conftest$ac_exeext'
30115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116 (eval $ac_try) 2>&5
30117 ac_status=$?
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; }; then
30120 glibcxx_cv_LFS=yes
30121 else
30122 echo "$as_me: failed program was:" >&5
30123 sed 's/^/| /' conftest.$ac_ext >&5
30125 glibcxx_cv_LFS=no
30127 rm -f conftest.err conftest.$ac_objext \
30128 conftest$ac_exeext conftest.$ac_ext
30132 if test $glibcxx_cv_LFS = yes; then
30134 cat >>confdefs.h <<\_ACEOF
30135 #define _GLIBCXX_USE_LFS 1
30136 _ACEOF
30139 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30140 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30141 CXXFLAGS="$ac_save_CXXFLAGS"
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150 # For C99 support to TR1.
30155 ac_ext=cc
30156 ac_cpp='$CXXCPP $CPPFLAGS'
30157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162 # Check for the existence of <complex.h> complex math functions used
30163 # by tr1/complex.
30165 for ac_header in complex.h
30167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30169 echo "$as_me:$LINENO: checking for $ac_header" >&5
30170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30172 echo $ECHO_N "(cached) $ECHO_C" >&6
30174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30176 else
30177 # Is the header compilable?
30178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30180 cat >conftest.$ac_ext <<_ACEOF
30181 /* confdefs.h. */
30182 _ACEOF
30183 cat confdefs.h >>conftest.$ac_ext
30184 cat >>conftest.$ac_ext <<_ACEOF
30185 /* end confdefs.h. */
30186 $ac_includes_default
30187 #include <$ac_header>
30188 _ACEOF
30189 rm -f conftest.$ac_objext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30191 (eval $ac_compile) 2>conftest.er1
30192 ac_status=$?
30193 grep -v '^ *+' conftest.er1 >conftest.err
30194 rm -f conftest.er1
30195 cat conftest.err >&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try='test -z "$ac_cxx_werror_flag"
30199 || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try='test -s conftest.$ac_objext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 ac_header_compiler=yes
30212 else
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.$ac_ext >&5
30216 ac_header_compiler=no
30218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30220 echo "${ECHO_T}$ac_header_compiler" >&6
30222 # Is the header present?
30223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30225 cat >conftest.$ac_ext <<_ACEOF
30226 /* confdefs.h. */
30227 _ACEOF
30228 cat confdefs.h >>conftest.$ac_ext
30229 cat >>conftest.$ac_ext <<_ACEOF
30230 /* end confdefs.h. */
30231 #include <$ac_header>
30232 _ACEOF
30233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30235 ac_status=$?
30236 grep -v '^ *+' conftest.er1 >conftest.err
30237 rm -f conftest.er1
30238 cat conftest.err >&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } >/dev/null; then
30241 if test -s conftest.err; then
30242 ac_cpp_err=$ac_cxx_preproc_warn_flag
30243 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30244 else
30245 ac_cpp_err=
30247 else
30248 ac_cpp_err=yes
30250 if test -z "$ac_cpp_err"; then
30251 ac_header_preproc=yes
30252 else
30253 echo "$as_me: failed program was:" >&5
30254 sed 's/^/| /' conftest.$ac_ext >&5
30256 ac_header_preproc=no
30258 rm -f conftest.err conftest.$ac_ext
30259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30260 echo "${ECHO_T}$ac_header_preproc" >&6
30262 # So? What about this header?
30263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30264 yes:no: )
30265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30269 ac_header_preproc=yes
30271 no:yes:* )
30272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30285 cat <<\_ASBOX
30286 ## ----------------------------------------- ##
30287 ## Report this to the package-unused lists. ##
30288 ## ----------------------------------------- ##
30289 _ASBOX
30291 sed "s/^/$as_me: WARNING: /" >&2
30293 esac
30294 echo "$as_me:$LINENO: checking for $ac_header" >&5
30295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30297 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 else
30299 eval "$as_ac_Header=\$ac_header_preproc"
30301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30306 cat >>confdefs.h <<_ACEOF
30307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30308 _ACEOF
30309 ac_has_complex_h=yes
30310 else
30311 ac_has_complex_h=no
30314 done
30316 ac_c99_complex_tr1=no;
30317 if test x"$ac_has_complex_h" = x"yes"; then
30318 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30319 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30320 cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h. */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30326 #include <complex.h>
30328 main ()
30330 typedef __complex__ float float_type; float_type tmpf;
30331 cacosf(tmpf);
30332 casinf(tmpf);
30333 catanf(tmpf);
30334 cacoshf(tmpf);
30335 casinhf(tmpf);
30336 catanhf(tmpf);
30337 typedef __complex__ double double_type; double_type tmpd;
30338 cacos(tmpd);
30339 casin(tmpd);
30340 catan(tmpd);
30341 cacosh(tmpd);
30342 casinh(tmpd);
30343 catanh(tmpd);
30344 typedef __complex__ long double ld_type; ld_type tmpld;
30345 cacosl(tmpld);
30346 casinl(tmpld);
30347 catanl(tmpld);
30348 cacoshl(tmpld);
30349 casinhl(tmpld);
30350 catanhl(tmpld);
30353 return 0;
30355 _ACEOF
30356 rm -f conftest.$ac_objext
30357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30358 (eval $ac_compile) 2>conftest.er1
30359 ac_status=$?
30360 grep -v '^ *+' conftest.er1 >conftest.err
30361 rm -f conftest.er1
30362 cat conftest.err >&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); } &&
30365 { ac_try='test -z "$ac_cxx_werror_flag"
30366 || test ! -s conftest.err'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; } &&
30372 { ac_try='test -s conftest.$ac_objext'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30375 ac_status=$?
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; }; then
30378 ac_c99_complex_tr1=yes
30379 else
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30383 ac_c99_complex_tr1=no
30385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30387 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30388 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30389 if test x"$ac_c99_complex_tr1" = x"yes"; then
30391 cat >>confdefs.h <<\_ACEOF
30392 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30393 _ACEOF
30397 # Check for the existence of <ctype.h> functions.
30398 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30399 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30400 if test "${ac_c99_ctype_tr1+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30402 else
30404 cat >conftest.$ac_ext <<_ACEOF
30405 /* confdefs.h. */
30406 _ACEOF
30407 cat confdefs.h >>conftest.$ac_ext
30408 cat >>conftest.$ac_ext <<_ACEOF
30409 /* end confdefs.h. */
30410 #include <ctype.h>
30412 main ()
30414 int ch;
30415 int ret;
30416 ret = isblank(ch);
30419 return 0;
30421 _ACEOF
30422 rm -f conftest.$ac_objext
30423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30424 (eval $ac_compile) 2>conftest.er1
30425 ac_status=$?
30426 grep -v '^ *+' conftest.er1 >conftest.err
30427 rm -f conftest.er1
30428 cat conftest.err >&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); } &&
30431 { ac_try='test -z "$ac_cxx_werror_flag"
30432 || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30435 ac_status=$?
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try='test -s conftest.$ac_objext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 ac_c99_ctype_tr1=yes
30445 else
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.$ac_ext >&5
30449 ac_c99_ctype_tr1=no
30451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30455 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30456 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30457 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30459 cat >>confdefs.h <<\_ACEOF
30460 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30461 _ACEOF
30465 # Check for the existence of <fenv.h> functions.
30467 for ac_header in fenv.h
30469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30471 echo "$as_me:$LINENO: checking for $ac_header" >&5
30472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30474 echo $ECHO_N "(cached) $ECHO_C" >&6
30476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30478 else
30479 # Is the header compilable?
30480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30482 cat >conftest.$ac_ext <<_ACEOF
30483 /* confdefs.h. */
30484 _ACEOF
30485 cat confdefs.h >>conftest.$ac_ext
30486 cat >>conftest.$ac_ext <<_ACEOF
30487 /* end confdefs.h. */
30488 $ac_includes_default
30489 #include <$ac_header>
30490 _ACEOF
30491 rm -f conftest.$ac_objext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30493 (eval $ac_compile) 2>conftest.er1
30494 ac_status=$?
30495 grep -v '^ *+' conftest.er1 >conftest.err
30496 rm -f conftest.er1
30497 cat conftest.err >&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try='test -z "$ac_cxx_werror_flag"
30501 || test ! -s conftest.err'
30502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503 (eval $ac_try) 2>&5
30504 ac_status=$?
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; } &&
30507 { ac_try='test -s conftest.$ac_objext'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30510 ac_status=$?
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; }; then
30513 ac_header_compiler=yes
30514 else
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30518 ac_header_compiler=no
30520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30522 echo "${ECHO_T}$ac_header_compiler" >&6
30524 # Is the header present?
30525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533 #include <$ac_header>
30534 _ACEOF
30535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30537 ac_status=$?
30538 grep -v '^ *+' conftest.er1 >conftest.err
30539 rm -f conftest.er1
30540 cat conftest.err >&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); } >/dev/null; then
30543 if test -s conftest.err; then
30544 ac_cpp_err=$ac_cxx_preproc_warn_flag
30545 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30546 else
30547 ac_cpp_err=
30549 else
30550 ac_cpp_err=yes
30552 if test -z "$ac_cpp_err"; then
30553 ac_header_preproc=yes
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30558 ac_header_preproc=no
30560 rm -f conftest.err conftest.$ac_ext
30561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30562 echo "${ECHO_T}$ac_header_preproc" >&6
30564 # So? What about this header?
30565 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30566 yes:no: )
30567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30571 ac_header_preproc=yes
30573 no:yes:* )
30574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30587 cat <<\_ASBOX
30588 ## ----------------------------------------- ##
30589 ## Report this to the package-unused lists. ##
30590 ## ----------------------------------------- ##
30591 _ASBOX
30593 sed "s/^/$as_me: WARNING: /" >&2
30595 esac
30596 echo "$as_me:$LINENO: checking for $ac_header" >&5
30597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30599 echo $ECHO_N "(cached) $ECHO_C" >&6
30600 else
30601 eval "$as_ac_Header=\$ac_header_preproc"
30603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30608 cat >>confdefs.h <<_ACEOF
30609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30610 _ACEOF
30611 ac_has_fenv_h=yes
30612 else
30613 ac_has_fenv_h=no
30616 done
30618 ac_c99_fenv_tr1=no;
30619 if test x"$ac_has_fenv_h" = x"yes"; then
30620 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30621 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30622 cat >conftest.$ac_ext <<_ACEOF
30623 /* confdefs.h. */
30624 _ACEOF
30625 cat confdefs.h >>conftest.$ac_ext
30626 cat >>conftest.$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30628 #include <fenv.h>
30630 main ()
30632 int except, mode;
30633 fexcept_t* pflag;
30634 fenv_t* penv;
30635 int ret;
30636 ret = feclearexcept(except);
30637 ret = fegetexceptflag(pflag, except);
30638 ret = feraiseexcept(except);
30639 ret = fesetexceptflag(pflag, except);
30640 ret = fetestexcept(except);
30641 ret = fegetround();
30642 ret = fesetround(mode);
30643 ret = fegetenv(penv);
30644 ret = feholdexcept(penv);
30645 ret = fesetenv(penv);
30646 ret = feupdateenv(penv);
30649 return 0;
30651 _ACEOF
30652 rm -f conftest.$ac_objext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30654 (eval $ac_compile) 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_cxx_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try='test -s conftest.$ac_objext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 ac_c99_fenv_tr1=yes
30675 else
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 ac_c99_fenv_tr1=no
30681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30683 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30684 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30685 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30687 cat >>confdefs.h <<\_ACEOF
30688 #define _GLIBCXX_USE_C99_FENV_TR1 1
30689 _ACEOF
30693 # Check for the existence of <stdint.h> types.
30694 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30695 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30696 if test "${ac_c99_stdint_tr1+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30700 cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h. */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h. */
30706 #include <stdint.h>
30708 main ()
30710 typedef int8_t my_int8_t;
30711 typedef int16_t my_int16_t;
30712 typedef int32_t my_int32_t;
30713 typedef int64_t my_int64_t;
30714 typedef int_fast8_t my_int_fast8_t;
30715 typedef int_fast16_t my_int_fast16_t;
30716 typedef int_fast32_t my_int_fast32_t;
30717 typedef int_fast64_t my_int_fast64_t;
30718 typedef int_least8_t my_int_least8_t;
30719 typedef int_least16_t my_int_least16_t;
30720 typedef int_least32_t my_int_least32_t;
30721 typedef int_least64_t my_int_least64_t;
30722 typedef intmax_t my_intmax_t;
30723 typedef intptr_t my_intptr_t;
30724 typedef uint8_t my_uint8_t;
30725 typedef uint16_t my_uint16_t;
30726 typedef uint32_t my_uint32_t;
30727 typedef uint64_t my_uint64_t;
30728 typedef uint_fast8_t my_uint_fast8_t;
30729 typedef uint_fast16_t my_uint_fast16_t;
30730 typedef uint_fast32_t my_uint_fast32_t;
30731 typedef uint_fast64_t my_uint_fast64_t;
30732 typedef uint_least8_t my_uint_least8_t;
30733 typedef uint_least16_t my_uint_least16_t;
30734 typedef uint_least32_t my_uint_least32_t;
30735 typedef uint_least64_t my_uint_least64_t;
30736 typedef uintmax_t my_uintmax_t;
30737 typedef uintptr_t my_uintptr_t;
30740 return 0;
30742 _ACEOF
30743 rm -f conftest.$ac_objext
30744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30745 (eval $ac_compile) 2>conftest.er1
30746 ac_status=$?
30747 grep -v '^ *+' conftest.er1 >conftest.err
30748 rm -f conftest.er1
30749 cat conftest.err >&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } &&
30752 { ac_try='test -z "$ac_cxx_werror_flag"
30753 || test ! -s conftest.err'
30754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30755 (eval $ac_try) 2>&5
30756 ac_status=$?
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; } &&
30759 { ac_try='test -s conftest.$ac_objext'
30760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30761 (eval $ac_try) 2>&5
30762 ac_status=$?
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); }; }; then
30765 ac_c99_stdint_tr1=yes
30766 else
30767 echo "$as_me: failed program was:" >&5
30768 sed 's/^/| /' conftest.$ac_ext >&5
30770 ac_c99_stdint_tr1=no
30772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30776 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30777 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30778 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30780 cat >>confdefs.h <<\_ACEOF
30781 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30782 _ACEOF
30786 # Check for the existence of <math.h> functions.
30787 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30788 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30789 if test "${ac_c99_math_tr1+set}" = set; then
30790 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 else
30793 cat >conftest.$ac_ext <<_ACEOF
30794 /* confdefs.h. */
30795 _ACEOF
30796 cat confdefs.h >>conftest.$ac_ext
30797 cat >>conftest.$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30799 #include <math.h>
30801 main ()
30803 typedef double_t my_double_t;
30804 typedef float_t my_float_t;
30805 acosh(0.0);
30806 acoshf(0.0f);
30807 acoshl(0.0l);
30808 asinh(0.0);
30809 asinhf(0.0f);
30810 asinhl(0.0l);
30811 atanh(0.0);
30812 atanhf(0.0f);
30813 atanhl(0.0l);
30814 cbrt(0.0);
30815 cbrtf(0.0f);
30816 cbrtl(0.0l);
30817 copysign(0.0, 0.0);
30818 copysignf(0.0f, 0.0f);
30819 copysignl(0.0l, 0.0l);
30820 erf(0.0);
30821 erff(0.0f);
30822 erfl(0.0l);
30823 erfc(0.0);
30824 erfcf(0.0f);
30825 erfcl(0.0l);
30826 exp2(0.0);
30827 exp2f(0.0f);
30828 exp2l(0.0l);
30829 expm1(0.0);
30830 expm1f(0.0f);
30831 expm1l(0.0l);
30832 fdim(0.0, 0.0);
30833 fdimf(0.0f, 0.0f);
30834 fdiml(0.0l, 0.0l);
30835 fma(0.0, 0.0, 0.0);
30836 fmaf(0.0f, 0.0f, 0.0f);
30837 fmal(0.0l, 0.0l, 0.0l);
30838 fmax(0.0, 0.0);
30839 fmaxf(0.0f, 0.0f);
30840 fmaxl(0.0l, 0.0l);
30841 fmin(0.0, 0.0);
30842 fminf(0.0f, 0.0f);
30843 fminl(0.0l, 0.0l);
30844 hypot(0.0, 0.0);
30845 hypotf(0.0f, 0.0f);
30846 hypotl(0.0l, 0.0l);
30847 ilogb(0.0);
30848 ilogbf(0.0f);
30849 ilogbl(0.0l);
30850 lgamma(0.0);
30851 lgammaf(0.0f);
30852 lgammal(0.0l);
30853 llrint(0.0);
30854 llrintf(0.0f);
30855 llrintl(0.0l);
30856 llround(0.0);
30857 llroundf(0.0f);
30858 llroundl(0.0l);
30859 log1p(0.0);
30860 log1pf(0.0f);
30861 log1pl(0.0l);
30862 log2(0.0);
30863 log2f(0.0f);
30864 log2l(0.0l);
30865 logb(0.0);
30866 logbf(0.0f);
30867 logbl(0.0l);
30868 lrint(0.0);
30869 lrintf(0.0f);
30870 lrintl(0.0l);
30871 lround(0.0);
30872 lroundf(0.0f);
30873 lroundl(0.0l);
30874 nan(0);
30875 nanf(0);
30876 nanl(0);
30877 nearbyint(0.0);
30878 nearbyintf(0.0f);
30879 nearbyintl(0.0l);
30880 nextafter(0.0, 0.0);
30881 nextafterf(0.0f, 0.0f);
30882 nextafterl(0.0l, 0.0l);
30883 nexttoward(0.0, 0.0);
30884 nexttowardf(0.0f, 0.0f);
30885 nexttowardl(0.0l, 0.0l);
30886 remainder(0.0, 0.0);
30887 remainderf(0.0f, 0.0f);
30888 remainderl(0.0l, 0.0l);
30889 remquo(0.0, 0.0, 0);
30890 remquo(0.0f, 0.0f, 0);
30891 remquo(0.0l, 0.0l, 0);
30892 rint(0.0);
30893 rintf(0.0f);
30894 rintl(0.0l);
30895 round(0.0);
30896 roundf(0.0f);
30897 roundl(0.0l);
30898 scalbln(0.0, 0l);
30899 scalblnf(0.0f, 0l);
30900 scalblnl(0.0l, 0l);
30901 scalbn(0.0, 0);
30902 scalbnf(0.0f, 0);
30903 scalbnl(0.0l, 0);
30904 tgamma(0.0);
30905 tgammaf(0.0f);
30906 tgammal(0.0l);
30907 trunc(0.0);
30908 truncf(0.0f);
30909 truncl(0.0l);
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_math_tr1=yes
30938 else
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30942 ac_c99_math_tr1=no
30944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30948 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30949 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30950 if test x"$ac_c99_math_tr1" = x"yes"; then
30952 cat >>confdefs.h <<\_ACEOF
30953 #define _GLIBCXX_USE_C99_MATH_TR1 1
30954 _ACEOF
30958 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30959 # sense if the previous check fails, per C99, 7.8/1).
30960 ac_c99_inttypes_tr1=no;
30961 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30962 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30963 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30964 cat >conftest.$ac_ext <<_ACEOF
30965 /* confdefs.h. */
30966 _ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30970 #include <inttypes.h>
30972 main ()
30974 intmax_t i, numer, denom, base;
30975 const char* s;
30976 char** endptr;
30977 intmax_t ret = imaxabs(i);
30978 imaxdiv_t dret = imaxdiv(numer, denom);
30979 ret = strtoimax(s, endptr, base);
30980 uintmax_t uret = strtoumax(s, endptr, base);
30983 return 0;
30985 _ACEOF
30986 rm -f conftest.$ac_objext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30988 (eval $ac_compile) 2>conftest.er1
30989 ac_status=$?
30990 grep -v '^ *+' conftest.er1 >conftest.err
30991 rm -f conftest.er1
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } &&
30995 { ac_try='test -z "$ac_cxx_werror_flag"
30996 || test ! -s conftest.err'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; } &&
31002 { ac_try='test -s conftest.$ac_objext'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; }; then
31008 ac_c99_inttypes_tr1=yes
31009 else
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.$ac_ext >&5
31013 ac_c99_inttypes_tr1=no
31015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31017 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31018 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31019 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31021 cat >>confdefs.h <<\_ACEOF
31022 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31023 _ACEOF
31027 # Check for the existence of the <stdbool.h> header.
31029 for ac_header in stdbool.h
31031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31033 echo "$as_me:$LINENO: checking for $ac_header" >&5
31034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31040 else
31041 # Is the header compilable?
31042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h. */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31050 $ac_includes_default
31051 #include <$ac_header>
31052 _ACEOF
31053 rm -f conftest.$ac_objext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31055 (eval $ac_compile) 2>conftest.er1
31056 ac_status=$?
31057 grep -v '^ *+' conftest.er1 >conftest.err
31058 rm -f conftest.er1
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } &&
31062 { ac_try='test -z "$ac_cxx_werror_flag"
31063 || test ! -s conftest.err'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; } &&
31069 { ac_try='test -s conftest.$ac_objext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31072 ac_status=$?
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 ac_header_compiler=yes
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31080 ac_header_compiler=no
31082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31084 echo "${ECHO_T}$ac_header_compiler" >&6
31086 # Is the header present?
31087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31089 cat >conftest.$ac_ext <<_ACEOF
31090 /* confdefs.h. */
31091 _ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095 #include <$ac_header>
31096 _ACEOF
31097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } >/dev/null; then
31105 if test -s conftest.err; then
31106 ac_cpp_err=$ac_cxx_preproc_warn_flag
31107 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31108 else
31109 ac_cpp_err=
31111 else
31112 ac_cpp_err=yes
31114 if test -z "$ac_cpp_err"; then
31115 ac_header_preproc=yes
31116 else
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31120 ac_header_preproc=no
31122 rm -f conftest.err conftest.$ac_ext
31123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31124 echo "${ECHO_T}$ac_header_preproc" >&6
31126 # So? What about this header?
31127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31128 yes:no: )
31129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31133 ac_header_preproc=yes
31135 no:yes:* )
31136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31149 cat <<\_ASBOX
31150 ## ----------------------------------------- ##
31151 ## Report this to the package-unused lists. ##
31152 ## ----------------------------------------- ##
31153 _ASBOX
31155 sed "s/^/$as_me: WARNING: /" >&2
31157 esac
31158 echo "$as_me:$LINENO: checking for $ac_header" >&5
31159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31161 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 else
31163 eval "$as_ac_Header=\$ac_header_preproc"
31165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31170 cat >>confdefs.h <<_ACEOF
31171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31172 _ACEOF
31176 done
31179 ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31187 # For dev/random and dev/urandom for TR1.
31190 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31191 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31192 if test "${ac_random_tr1+set}" = set; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 else
31196 if test "$cross_compiling" = yes; then
31197 ac_random_tr1=no
31198 else
31199 cat >conftest.$ac_ext <<_ACEOF
31200 /* confdefs.h. */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205 #include <stdio.h>
31206 int main()
31208 return !(fopen("/dev/random", "r")
31209 && fopen("/dev/urandom", "r"));
31212 _ACEOF
31213 rm -f conftest$ac_exeext
31214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31215 (eval $ac_link) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31221 ac_status=$?
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; }; then
31224 ac_random_tr1=yes
31225 else
31226 echo "$as_me: program exited with status $ac_status" >&5
31227 echo "$as_me: failed program was:" >&5
31228 sed 's/^/| /' conftest.$ac_ext >&5
31230 ( exit $ac_status )
31231 ac_random_tr1=no
31233 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31238 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31239 echo "${ECHO_T}$ac_random_tr1" >&6
31240 if test x"$ac_random_tr1" = x"yes"; then
31242 cat >>confdefs.h <<\_ACEOF
31243 #define _GLIBCXX_USE_RANDOM_TR1 1
31244 _ACEOF
31250 # For TLS support.
31252 # Check whether --enable-tls or --disable-tls was given.
31253 if test "${enable_tls+set}" = set; then
31254 enableval="$enable_tls"
31256 case "$enableval" in
31257 yes|no) ;;
31258 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31259 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31260 { (exit 1); exit 1; }; } ;;
31261 esac
31263 else
31264 enable_tls=yes
31267 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31268 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31269 if test "${have_tls+set}" = set; then
31270 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 else
31273 if test "$cross_compiling" = yes; then
31274 if test x$gcc_no_link = xyes; then
31275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31277 { (exit 1); exit 1; }; }
31279 cat >conftest.$ac_ext <<_ACEOF
31280 __thread int a; int b; int main() { return a = b; }
31281 _ACEOF
31282 rm -f conftest.$ac_objext conftest$ac_exeext
31283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31284 (eval $ac_link) 2>conftest.er1
31285 ac_status=$?
31286 grep -v '^ *+' conftest.er1 >conftest.err
31287 rm -f conftest.er1
31288 cat conftest.err >&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); } &&
31291 { ac_try='test -z "$ac_c_werror_flag"
31292 || test ! -s conftest.err'
31293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31294 (eval $ac_try) 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); }; } &&
31298 { ac_try='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 have_tls=yes
31305 else
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.$ac_ext >&5
31309 have_tls=no
31311 rm -f conftest.err conftest.$ac_objext \
31312 conftest$ac_exeext conftest.$ac_ext
31314 else
31315 cat >conftest.$ac_ext <<_ACEOF
31316 __thread int a; int b; int main() { return a = b; }
31317 _ACEOF
31318 rm -f conftest$ac_exeext
31319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31320 (eval $ac_link) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31326 ac_status=$?
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 save_LDFLAGS="$LDFLAGS"
31330 LDFLAGS="-static $LDFLAGS"
31331 if test "$cross_compiling" = yes; then
31332 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31333 See \`config.log' for more details." >&5
31334 echo "$as_me: error: cannot run test program while cross compiling
31335 See \`config.log' for more details." >&2;}
31336 { (exit 1); exit 1; }; }
31337 else
31338 cat >conftest.$ac_ext <<_ACEOF
31339 __thread int a; int b; int main() { return a = b; }
31340 _ACEOF
31341 rm -f conftest$ac_exeext
31342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31343 (eval $ac_link) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 have_tls=yes
31353 else
31354 echo "$as_me: program exited with status $ac_status" >&5
31355 echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.$ac_ext >&5
31358 ( exit $ac_status )
31359 have_tls=no
31361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31363 LDFLAGS="$save_LDFLAGS"
31364 else
31365 echo "$as_me: program exited with status $ac_status" >&5
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.$ac_ext >&5
31369 ( exit $ac_status )
31370 have_tls=no
31372 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31375 echo "$as_me:$LINENO: result: $have_tls" >&5
31376 echo "${ECHO_T}$have_tls" >&6
31377 if test "$enable_tls $have_tls" = "yes yes"; then
31379 cat >>confdefs.h <<\_ACEOF
31380 #define HAVE_TLS 1
31381 _ACEOF
31385 # For _Unwind_GetIPInfo.
31389 ac_ext=cc
31390 ac_cpp='$CXXCPP $CPPFLAGS'
31391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395 ac_save_CXXFLAGS="$CXXFLAGS"
31396 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31397 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31398 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31399 if test "${gcc_cv_getipinfo+set}" = set; then
31400 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 else
31403 if test x$gcc_no_link = xyes; then
31404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31406 { (exit 1); exit 1; }; }
31408 cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h. */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h. */
31414 extern "C" { extern void _Unwind_GetIPInfo(); }
31416 main ()
31418 _Unwind_GetIPInfo();
31420 return 0;
31422 _ACEOF
31423 rm -f conftest.$ac_objext conftest$ac_exeext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31425 (eval $ac_link) 2>conftest.er1
31426 ac_status=$?
31427 grep -v '^ *+' conftest.er1 >conftest.err
31428 rm -f conftest.er1
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try='test -z "$ac_cxx_werror_flag"
31433 || test ! -s conftest.err'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31436 ac_status=$?
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; } &&
31439 { ac_try='test -s conftest$ac_exeext'
31440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31441 (eval $ac_try) 2>&5
31442 ac_status=$?
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); }; }; then
31445 gcc_cv_getipinfo=yes
31446 else
31447 echo "$as_me: failed program was:" >&5
31448 sed 's/^/| /' conftest.$ac_ext >&5
31450 gcc_cv_getipinfo=no
31452 rm -f conftest.err conftest.$ac_objext \
31453 conftest$ac_exeext conftest.$ac_ext
31457 if test $gcc_cv_getipinfo = yes; then
31459 cat >>confdefs.h <<\_ACEOF
31460 #define HAVE_GETIPINFO 1
31461 _ACEOF
31464 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31465 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31466 CXXFLAGS="$ac_save_CXXFLAGS"
31467 ac_ext=c
31468 ac_cpp='$CPP $CPPFLAGS'
31469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31476 if test "${ac_cv_header_locale_h+set}" = set; then
31477 echo "$as_me:$LINENO: checking for locale.h" >&5
31478 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31479 if test "${ac_cv_header_locale_h+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31483 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31484 else
31485 # Is the header compilable?
31486 echo "$as_me:$LINENO: checking locale.h usability" >&5
31487 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31488 cat >conftest.$ac_ext <<_ACEOF
31489 /* confdefs.h. */
31490 _ACEOF
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 $ac_includes_default
31495 #include <locale.h>
31496 _ACEOF
31497 rm -f conftest.$ac_objext
31498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31499 (eval $ac_compile) 2>conftest.er1
31500 ac_status=$?
31501 grep -v '^ *+' conftest.er1 >conftest.err
31502 rm -f conftest.er1
31503 cat conftest.err >&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); } &&
31506 { ac_try='test -z "$ac_c_werror_flag"
31507 || test ! -s conftest.err'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31510 ac_status=$?
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; } &&
31513 { ac_try='test -s conftest.$ac_objext'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31516 ac_status=$?
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; }; then
31519 ac_header_compiler=yes
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31524 ac_header_compiler=no
31526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31528 echo "${ECHO_T}$ac_header_compiler" >&6
31530 # Is the header present?
31531 echo "$as_me:$LINENO: checking locale.h presence" >&5
31532 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31533 cat >conftest.$ac_ext <<_ACEOF
31534 /* confdefs.h. */
31535 _ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h. */
31539 #include <locale.h>
31540 _ACEOF
31541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31543 ac_status=$?
31544 grep -v '^ *+' conftest.er1 >conftest.err
31545 rm -f conftest.er1
31546 cat conftest.err >&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } >/dev/null; then
31549 if test -s conftest.err; then
31550 ac_cpp_err=$ac_c_preproc_warn_flag
31551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31552 else
31553 ac_cpp_err=
31555 else
31556 ac_cpp_err=yes
31558 if test -z "$ac_cpp_err"; then
31559 ac_header_preproc=yes
31560 else
31561 echo "$as_me: failed program was:" >&5
31562 sed 's/^/| /' conftest.$ac_ext >&5
31564 ac_header_preproc=no
31566 rm -f conftest.err conftest.$ac_ext
31567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31568 echo "${ECHO_T}$ac_header_preproc" >&6
31570 # So? What about this header?
31571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31572 yes:no: )
31573 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31574 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31575 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31576 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31577 ac_header_preproc=yes
31579 no:yes:* )
31580 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31581 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31582 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31583 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31584 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31585 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31586 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31587 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31588 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31589 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31590 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31591 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31593 cat <<\_ASBOX
31594 ## ----------------------------------------- ##
31595 ## Report this to the package-unused lists. ##
31596 ## ----------------------------------------- ##
31597 _ASBOX
31599 sed "s/^/$as_me: WARNING: /" >&2
31601 esac
31602 echo "$as_me:$LINENO: checking for locale.h" >&5
31603 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31604 if test "${ac_cv_header_locale_h+set}" = set; then
31605 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 else
31607 ac_cv_header_locale_h=$ac_header_preproc
31609 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31610 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31613 if test $ac_cv_header_locale_h = yes; then
31615 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31616 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31617 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 else
31620 if test x$gcc_no_link = xyes; then
31621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31623 { (exit 1); exit 1; }; }
31625 cat >conftest.$ac_ext <<_ACEOF
31626 /* confdefs.h. */
31627 _ACEOF
31628 cat confdefs.h >>conftest.$ac_ext
31629 cat >>conftest.$ac_ext <<_ACEOF
31630 /* end confdefs.h. */
31631 #include <locale.h>
31633 main ()
31635 return LC_MESSAGES
31637 return 0;
31639 _ACEOF
31640 rm -f conftest.$ac_objext conftest$ac_exeext
31641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31642 (eval $ac_link) 2>conftest.er1
31643 ac_status=$?
31644 grep -v '^ *+' conftest.er1 >conftest.err
31645 rm -f conftest.er1
31646 cat conftest.err >&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); } &&
31649 { ac_try='test -z "$ac_c_werror_flag"
31650 || test ! -s conftest.err'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; } &&
31656 { ac_try='test -s conftest$ac_exeext'
31657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31658 (eval $ac_try) 2>&5
31659 ac_status=$?
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); }; }; then
31662 ac_cv_val_LC_MESSAGES=yes
31663 else
31664 echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.$ac_ext >&5
31667 ac_cv_val_LC_MESSAGES=no
31669 rm -f conftest.err conftest.$ac_objext \
31670 conftest$ac_exeext conftest.$ac_ext
31672 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31673 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31674 if test $ac_cv_val_LC_MESSAGES = yes; then
31676 cat >>confdefs.h <<\_ACEOF
31677 #define HAVE_LC_MESSAGES 1
31678 _ACEOF
31687 cat >conftest.$ac_ext <<_ACEOF
31688 /* confdefs.h. */
31689 _ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 #include <setjmp.h>
31695 main ()
31697 sigjmp_buf env;
31698 while (! sigsetjmp (env, 1))
31699 siglongjmp (env, 1);
31702 return 0;
31704 _ACEOF
31705 rm -f conftest.$ac_objext
31706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31707 (eval $ac_compile) 2>conftest.er1
31708 ac_status=$?
31709 grep -v '^ *+' conftest.er1 >conftest.err
31710 rm -f conftest.er1
31711 cat conftest.err >&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); } &&
31714 { ac_try='test -z "$ac_c_werror_flag"
31715 || test ! -s conftest.err'
31716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717 (eval $ac_try) 2>&5
31718 ac_status=$?
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); }; } &&
31721 { ac_try='test -s conftest.$ac_objext'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31724 ac_status=$?
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; }; then
31728 cat >>confdefs.h <<\_ACEOF
31729 #define HAVE_SIGSETJMP 1
31730 _ACEOF
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31739 if test x$gcc_no_link = xyes; then
31740 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31741 ac_cv_func_mmap_fixed_mapped=no
31744 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31747 for ac_header in stdlib.h unistd.h
31749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31751 echo "$as_me:$LINENO: checking for $ac_header" >&5
31752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31758 else
31759 # Is the header compilable?
31760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 $ac_includes_default
31769 #include <$ac_header>
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>conftest.er1
31774 ac_status=$?
31775 grep -v '^ *+' conftest.er1 >conftest.err
31776 rm -f conftest.er1
31777 cat conftest.err >&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } &&
31780 { ac_try='test -z "$ac_c_werror_flag"
31781 || test ! -s conftest.err'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; } &&
31787 { ac_try='test -s conftest.$ac_objext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31790 ac_status=$?
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 ac_header_compiler=yes
31794 else
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31798 ac_header_compiler=no
31800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31802 echo "${ECHO_T}$ac_header_compiler" >&6
31804 # Is the header present?
31805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31807 cat >conftest.$ac_ext <<_ACEOF
31808 /* confdefs.h. */
31809 _ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813 #include <$ac_header>
31814 _ACEOF
31815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31817 ac_status=$?
31818 grep -v '^ *+' conftest.er1 >conftest.err
31819 rm -f conftest.er1
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } >/dev/null; then
31823 if test -s conftest.err; then
31824 ac_cpp_err=$ac_c_preproc_warn_flag
31825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31826 else
31827 ac_cpp_err=
31829 else
31830 ac_cpp_err=yes
31832 if test -z "$ac_cpp_err"; then
31833 ac_header_preproc=yes
31834 else
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.$ac_ext >&5
31838 ac_header_preproc=no
31840 rm -f conftest.err conftest.$ac_ext
31841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31842 echo "${ECHO_T}$ac_header_preproc" >&6
31844 # So? What about this header?
31845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31846 yes:no: )
31847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31851 ac_header_preproc=yes
31853 no:yes:* )
31854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31867 cat <<\_ASBOX
31868 ## ----------------------------------------- ##
31869 ## Report this to the package-unused lists. ##
31870 ## ----------------------------------------- ##
31871 _ASBOX
31873 sed "s/^/$as_me: WARNING: /" >&2
31875 esac
31876 echo "$as_me:$LINENO: checking for $ac_header" >&5
31877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31879 echo $ECHO_N "(cached) $ECHO_C" >&6
31880 else
31881 eval "$as_ac_Header=\$ac_header_preproc"
31883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31888 cat >>confdefs.h <<_ACEOF
31889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31890 _ACEOF
31894 done
31897 for ac_func in getpagesize
31899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31900 echo "$as_me:$LINENO: checking for $ac_func" >&5
31901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31902 if eval "test \"\${$as_ac_var+set}\" = set"; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 else
31905 if test x$gcc_no_link = xyes; then
31906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31908 { (exit 1); exit 1; }; }
31910 cat >conftest.$ac_ext <<_ACEOF
31911 /* confdefs.h. */
31912 _ACEOF
31913 cat confdefs.h >>conftest.$ac_ext
31914 cat >>conftest.$ac_ext <<_ACEOF
31915 /* end confdefs.h. */
31916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31918 #define $ac_func innocuous_$ac_func
31920 /* System header to define __stub macros and hopefully few prototypes,
31921 which can conflict with char $ac_func (); below.
31922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31923 <limits.h> exists even on freestanding compilers. */
31925 #ifdef __STDC__
31926 # include <limits.h>
31927 #else
31928 # include <assert.h>
31929 #endif
31931 #undef $ac_func
31933 /* Override any gcc2 internal prototype to avoid an error. */
31934 #ifdef __cplusplus
31935 extern "C"
31937 #endif
31938 /* We use char because int might match the return type of a gcc2
31939 builtin and then its argument prototype would still apply. */
31940 char $ac_func ();
31941 /* The GNU C library defines this for functions which it implements
31942 to always fail with ENOSYS. Some functions are actually named
31943 something starting with __ and the normal name is an alias. */
31944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31945 choke me
31946 #else
31947 char (*f) () = $ac_func;
31948 #endif
31949 #ifdef __cplusplus
31951 #endif
31954 main ()
31956 return f != $ac_func;
31958 return 0;
31960 _ACEOF
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>conftest.er1
31964 ac_status=$?
31965 grep -v '^ *+' conftest.er1 >conftest.err
31966 rm -f conftest.er1
31967 cat conftest.err >&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try='test -z "$ac_c_werror_flag"
31971 || test ! -s conftest.err'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try='test -s conftest$ac_exeext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 eval "$as_ac_var=yes"
31984 else
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31988 eval "$as_ac_var=no"
31990 rm -f conftest.err conftest.$ac_objext \
31991 conftest$ac_exeext conftest.$ac_ext
31993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31995 if test `eval echo '${'$as_ac_var'}'` = yes; then
31996 cat >>confdefs.h <<_ACEOF
31997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31998 _ACEOF
32001 done
32003 echo "$as_me:$LINENO: checking for working mmap" >&5
32004 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32005 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32006 echo $ECHO_N "(cached) $ECHO_C" >&6
32007 else
32008 if test "$cross_compiling" = yes; then
32009 ac_cv_func_mmap_fixed_mapped=no
32010 else
32011 cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h. */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 $ac_includes_default
32018 /* malloc might have been renamed as rpl_malloc. */
32019 #undef malloc
32021 /* Thanks to Mike Haertel and Jim Avera for this test.
32022 Here is a matrix of mmap possibilities:
32023 mmap private not fixed
32024 mmap private fixed at somewhere currently unmapped
32025 mmap private fixed at somewhere already mapped
32026 mmap shared not fixed
32027 mmap shared fixed at somewhere currently unmapped
32028 mmap shared fixed at somewhere already mapped
32029 For private mappings, we should verify that changes cannot be read()
32030 back from the file, nor mmap's back from the file at a different
32031 address. (There have been systems where private was not correctly
32032 implemented like the infamous i386 svr4.0, and systems where the
32033 VM page cache was not coherent with the file system buffer cache
32034 like early versions of FreeBSD and possibly contemporary NetBSD.)
32035 For shared mappings, we should conversely verify that changes get
32036 propagated back to all the places they're supposed to be.
32038 Grep wants private fixed already mapped.
32039 The main things grep needs to know about mmap are:
32040 * does it exist and is it safe to write into the mmap'd area
32041 * how to use it (BSD variants) */
32043 #include <fcntl.h>
32044 #include <sys/mman.h>
32046 #if !STDC_HEADERS && !HAVE_STDLIB_H
32047 char *malloc ();
32048 #endif
32050 /* This mess was copied from the GNU getpagesize.h. */
32051 #if !HAVE_GETPAGESIZE
32052 /* Assume that all systems that can run configure have sys/param.h. */
32053 # if !HAVE_SYS_PARAM_H
32054 # define HAVE_SYS_PARAM_H 1
32055 # endif
32057 # ifdef _SC_PAGESIZE
32058 # define getpagesize() sysconf(_SC_PAGESIZE)
32059 # else /* no _SC_PAGESIZE */
32060 # if HAVE_SYS_PARAM_H
32061 # include <sys/param.h>
32062 # ifdef EXEC_PAGESIZE
32063 # define getpagesize() EXEC_PAGESIZE
32064 # else /* no EXEC_PAGESIZE */
32065 # ifdef NBPG
32066 # define getpagesize() NBPG * CLSIZE
32067 # ifndef CLSIZE
32068 # define CLSIZE 1
32069 # endif /* no CLSIZE */
32070 # else /* no NBPG */
32071 # ifdef NBPC
32072 # define getpagesize() NBPC
32073 # else /* no NBPC */
32074 # ifdef PAGESIZE
32075 # define getpagesize() PAGESIZE
32076 # endif /* PAGESIZE */
32077 # endif /* no NBPC */
32078 # endif /* no NBPG */
32079 # endif /* no EXEC_PAGESIZE */
32080 # else /* no HAVE_SYS_PARAM_H */
32081 # define getpagesize() 8192 /* punt totally */
32082 # endif /* no HAVE_SYS_PARAM_H */
32083 # endif /* no _SC_PAGESIZE */
32085 #endif /* no HAVE_GETPAGESIZE */
32088 main ()
32090 char *data, *data2, *data3;
32091 int i, pagesize;
32092 int fd;
32094 pagesize = getpagesize ();
32096 /* First, make a file with some known garbage in it. */
32097 data = (char *) malloc (pagesize);
32098 if (!data)
32099 exit (1);
32100 for (i = 0; i < pagesize; ++i)
32101 *(data + i) = rand ();
32102 umask (0);
32103 fd = creat ("conftest.mmap", 0600);
32104 if (fd < 0)
32105 exit (1);
32106 if (write (fd, data, pagesize) != pagesize)
32107 exit (1);
32108 close (fd);
32110 /* Next, try to mmap the file at a fixed address which already has
32111 something else allocated at it. If we can, also make sure that
32112 we see the same garbage. */
32113 fd = open ("conftest.mmap", O_RDWR);
32114 if (fd < 0)
32115 exit (1);
32116 data2 = (char *) malloc (2 * pagesize);
32117 if (!data2)
32118 exit (1);
32119 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32120 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32121 MAP_PRIVATE | MAP_FIXED, fd, 0L))
32122 exit (1);
32123 for (i = 0; i < pagesize; ++i)
32124 if (*(data + i) != *(data2 + i))
32125 exit (1);
32127 /* Finally, make sure that changes to the mapped area do not
32128 percolate back to the file as seen by read(). (This is a bug on
32129 some variants of i386 svr4.0.) */
32130 for (i = 0; i < pagesize; ++i)
32131 *(data2 + i) = *(data2 + i) + 1;
32132 data3 = (char *) malloc (pagesize);
32133 if (!data3)
32134 exit (1);
32135 if (read (fd, data3, pagesize) != pagesize)
32136 exit (1);
32137 for (i = 0; i < pagesize; ++i)
32138 if (*(data + i) != *(data3 + i))
32139 exit (1);
32140 close (fd);
32141 exit (0);
32143 _ACEOF
32144 rm -f conftest$ac_exeext
32145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32146 (eval $ac_link) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32151 (eval $ac_try) 2>&5
32152 ac_status=$?
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; }; then
32155 ac_cv_func_mmap_fixed_mapped=yes
32156 else
32157 echo "$as_me: program exited with status $ac_status" >&5
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32161 ( exit $ac_status )
32162 ac_cv_func_mmap_fixed_mapped=no
32164 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32167 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32168 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32169 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32171 cat >>confdefs.h <<\_ACEOF
32172 #define HAVE_MMAP 1
32173 _ACEOF
32176 rm -f conftest.mmap
32180 else
32182 # This lets us hard-code the functionality we know we'll have in the cross
32183 # target environment. "Let" is a sugar-coated word placed on an especially
32184 # dull and tedious hack, actually.
32186 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32187 # that involve linking, can't be used:
32188 # "cannot open sim-crt0.o"
32189 # "cannot open crt0.o"
32190 # etc. All this is because there currently exists no unified, consistent
32191 # way for top level CC information to be passed down to target directories:
32192 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32193 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32194 # crosses can be removed.
32196 # If Canadian cross, then don't pick up tools from the build directory.
32197 # Used only in GLIBCXX_EXPORT_INCLUDES.
32198 if test -n "$with_cross_host" &&
32199 test x"$build_alias" != x"$with_cross_host" &&
32200 test x"$build" != x"$target";
32201 then
32202 CANADIAN=yes
32203 else
32204 CANADIAN=no
32207 # Construct crosses by hand, eliminating bits that need ld...
32208 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32209 # GLIBCXX_CHECK_MATH_SUPPORT
32211 # First, test for "known" system libraries. We may be using newlib even
32212 # on a hosted environment.
32213 if test "x${with_newlib}" = "xyes"; then
32214 os_include_dir="os/newlib"
32215 cat >>confdefs.h <<\_ACEOF
32216 #define HAVE_HYPOT 1
32217 _ACEOF
32220 # GLIBCXX_CHECK_STDLIB_SUPPORT
32221 cat >>confdefs.h <<\_ACEOF
32222 #define HAVE_STRTOF 1
32223 _ACEOF
32225 # AC_FUNC_MMAP
32226 cat >>confdefs.h <<\_ACEOF
32227 #define HAVE_MMAP 1
32228 _ACEOF
32231 cat >>confdefs.h <<\_ACEOF
32232 #define HAVE_ACOSF 1
32233 _ACEOF
32235 cat >>confdefs.h <<\_ACEOF
32236 #define HAVE_ASINF 1
32237 _ACEOF
32239 cat >>confdefs.h <<\_ACEOF
32240 #define HAVE_ATAN2F 1
32241 _ACEOF
32243 cat >>confdefs.h <<\_ACEOF
32244 #define HAVE_ATANF 1
32245 _ACEOF
32247 cat >>confdefs.h <<\_ACEOF
32248 #define HAVE_CEILF 1
32249 _ACEOF
32251 cat >>confdefs.h <<\_ACEOF
32252 #define HAVE_COPYSIGN 1
32253 _ACEOF
32255 cat >>confdefs.h <<\_ACEOF
32256 #define HAVE_COPYSIGNF 1
32257 _ACEOF
32259 cat >>confdefs.h <<\_ACEOF
32260 #define HAVE_COSF 1
32261 _ACEOF
32263 cat >>confdefs.h <<\_ACEOF
32264 #define HAVE_COSHF 1
32265 _ACEOF
32267 cat >>confdefs.h <<\_ACEOF
32268 #define HAVE_EXPF 1
32269 _ACEOF
32271 cat >>confdefs.h <<\_ACEOF
32272 #define HAVE_FABSF 1
32273 _ACEOF
32275 cat >>confdefs.h <<\_ACEOF
32276 #define HAVE_FLOORF 1
32277 _ACEOF
32279 cat >>confdefs.h <<\_ACEOF
32280 #define HAVE_FMODF 1
32281 _ACEOF
32283 cat >>confdefs.h <<\_ACEOF
32284 #define HAVE_FREXPF 1
32285 _ACEOF
32287 cat >>confdefs.h <<\_ACEOF
32288 #define HAVE_LDEXPF 1
32289 _ACEOF
32291 cat >>confdefs.h <<\_ACEOF
32292 #define HAVE_LOG10F 1
32293 _ACEOF
32295 cat >>confdefs.h <<\_ACEOF
32296 #define HAVE_LOGF 1
32297 _ACEOF
32299 cat >>confdefs.h <<\_ACEOF
32300 #define HAVE_MODFF 1
32301 _ACEOF
32303 cat >>confdefs.h <<\_ACEOF
32304 #define HAVE_POWF 1
32305 _ACEOF
32307 cat >>confdefs.h <<\_ACEOF
32308 #define HAVE_SINF 1
32309 _ACEOF
32311 cat >>confdefs.h <<\_ACEOF
32312 #define HAVE_SINHF 1
32313 _ACEOF
32315 cat >>confdefs.h <<\_ACEOF
32316 #define HAVE_SQRTF 1
32317 _ACEOF
32319 cat >>confdefs.h <<\_ACEOF
32320 #define HAVE_TANF 1
32321 _ACEOF
32323 cat >>confdefs.h <<\_ACEOF
32324 #define HAVE_TANHF 1
32325 _ACEOF
32328 cat >>confdefs.h <<\_ACEOF
32329 #define HAVE_S_ISREG 1
32330 _ACEOF
32332 cat >>confdefs.h <<\_ACEOF
32333 #define HAVE_S_IFREG 1
32334 _ACEOF
32336 else
32338 # Base decisions on target environment.
32339 case "${host}" in
32340 arm*-*-symbianelf*)
32341 # This is a freestanding configuration; there is nothing to do here.
32344 *-darwin*)
32345 # Darwin versions vary, but the linker should work in a cross environment,
32346 # so we just check for all the features here.
32347 # Check for available headers.
32361 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32362 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32363 sys/types.h
32365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32367 echo "$as_me:$LINENO: checking for $ac_header" >&5
32368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32374 else
32375 # Is the header compilable?
32376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32378 cat >conftest.$ac_ext <<_ACEOF
32379 /* confdefs.h. */
32380 _ACEOF
32381 cat confdefs.h >>conftest.$ac_ext
32382 cat >>conftest.$ac_ext <<_ACEOF
32383 /* end confdefs.h. */
32384 $ac_includes_default
32385 #include <$ac_header>
32386 _ACEOF
32387 rm -f conftest.$ac_objext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32389 (eval $ac_compile) 2>conftest.er1
32390 ac_status=$?
32391 grep -v '^ *+' conftest.er1 >conftest.err
32392 rm -f conftest.er1
32393 cat conftest.err >&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try='test -z "$ac_c_werror_flag"
32397 || test ! -s conftest.err'
32398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32399 (eval $ac_try) 2>&5
32400 ac_status=$?
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); }; } &&
32403 { ac_try='test -s conftest.$ac_objext'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32406 ac_status=$?
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; }; then
32409 ac_header_compiler=yes
32410 else
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32414 ac_header_compiler=no
32416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32418 echo "${ECHO_T}$ac_header_compiler" >&6
32420 # Is the header present?
32421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h. */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429 #include <$ac_header>
32430 _ACEOF
32431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32433 ac_status=$?
32434 grep -v '^ *+' conftest.er1 >conftest.err
32435 rm -f conftest.er1
32436 cat conftest.err >&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } >/dev/null; then
32439 if test -s conftest.err; then
32440 ac_cpp_err=$ac_c_preproc_warn_flag
32441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32442 else
32443 ac_cpp_err=
32445 else
32446 ac_cpp_err=yes
32448 if test -z "$ac_cpp_err"; then
32449 ac_header_preproc=yes
32450 else
32451 echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32454 ac_header_preproc=no
32456 rm -f conftest.err conftest.$ac_ext
32457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32458 echo "${ECHO_T}$ac_header_preproc" >&6
32460 # So? What about this header?
32461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32462 yes:no: )
32463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32467 ac_header_preproc=yes
32469 no:yes:* )
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32483 cat <<\_ASBOX
32484 ## ----------------------------------------- ##
32485 ## Report this to the package-unused lists. ##
32486 ## ----------------------------------------- ##
32487 _ASBOX
32489 sed "s/^/$as_me: WARNING: /" >&2
32491 esac
32492 echo "$as_me:$LINENO: checking for $ac_header" >&5
32493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 else
32497 eval "$as_ac_Header=\$ac_header_preproc"
32499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32504 cat >>confdefs.h <<_ACEOF
32505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32506 _ACEOF
32510 done
32513 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32515 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32516 ac_save_CXXFLAGS="$CXXFLAGS"
32517 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32519 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32520 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32521 if test "${ac_cv_lib_m_sin+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32524 ac_check_lib_save_LIBS=$LIBS
32525 LIBS="-lm $LIBS"
32526 if test x$gcc_no_link = xyes; then
32527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32529 { (exit 1); exit 1; }; }
32531 cat >conftest.$ac_ext <<_ACEOF
32532 /* confdefs.h. */
32533 _ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32538 /* Override any gcc2 internal prototype to avoid an error. */
32539 #ifdef __cplusplus
32540 extern "C"
32541 #endif
32542 /* We use char because int might match the return type of a gcc2
32543 builtin and then its argument prototype would still apply. */
32544 char sin ();
32546 main ()
32548 sin ();
32550 return 0;
32552 _ACEOF
32553 rm -f conftest.$ac_objext conftest$ac_exeext
32554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32555 (eval $ac_link) 2>conftest.er1
32556 ac_status=$?
32557 grep -v '^ *+' conftest.er1 >conftest.err
32558 rm -f conftest.er1
32559 cat conftest.err >&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); } &&
32562 { ac_try='test -z "$ac_c_werror_flag"
32563 || test ! -s conftest.err'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32566 ac_status=$?
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; } &&
32569 { ac_try='test -s conftest$ac_exeext'
32570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32571 (eval $ac_try) 2>&5
32572 ac_status=$?
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); }; }; then
32575 ac_cv_lib_m_sin=yes
32576 else
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.$ac_ext >&5
32580 ac_cv_lib_m_sin=no
32582 rm -f conftest.err conftest.$ac_objext \
32583 conftest$ac_exeext conftest.$ac_ext
32584 LIBS=$ac_check_lib_save_LIBS
32586 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32587 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32588 if test $ac_cv_lib_m_sin = yes; then
32589 libm="-lm"
32592 ac_save_LIBS="$LIBS"
32593 LIBS="$LIBS $libm"
32597 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32598 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32599 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32600 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32602 else
32606 ac_ext=cc
32607 ac_cpp='$CXXCPP $CPPFLAGS'
32608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32612 cat >conftest.$ac_ext <<_ACEOF
32613 /* confdefs.h. */
32614 _ACEOF
32615 cat confdefs.h >>conftest.$ac_ext
32616 cat >>conftest.$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32618 #include <math.h>
32619 #ifdef HAVE_IEEEFP_H
32620 #include <ieeefp.h>
32621 #endif
32624 main ()
32626 isinf(0);
32628 return 0;
32630 _ACEOF
32631 rm -f conftest.$ac_objext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32633 (eval $ac_compile) 2>conftest.er1
32634 ac_status=$?
32635 grep -v '^ *+' conftest.er1 >conftest.err
32636 rm -f conftest.er1
32637 cat conftest.err >&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -z "$ac_cxx_werror_flag"
32641 || test ! -s conftest.err'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; } &&
32647 { ac_try='test -s conftest.$ac_objext'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; }; then
32653 glibcxx_cv_func_isinf_use=yes
32654 else
32655 echo "$as_me: failed program was:" >&5
32656 sed 's/^/| /' conftest.$ac_ext >&5
32658 glibcxx_cv_func_isinf_use=no
32660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32661 ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32672 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32674 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32676 for ac_func in isinf
32678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32679 echo "$as_me:$LINENO: checking for $ac_func" >&5
32680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32681 if eval "test \"\${$as_ac_var+set}\" = set"; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32684 if test x$gcc_no_link = xyes; then
32685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32687 { (exit 1); exit 1; }; }
32689 cat >conftest.$ac_ext <<_ACEOF
32690 /* confdefs.h. */
32691 _ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32697 #define $ac_func innocuous_$ac_func
32699 /* System header to define __stub macros and hopefully few prototypes,
32700 which can conflict with char $ac_func (); below.
32701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702 <limits.h> exists even on freestanding compilers. */
32704 #ifdef __STDC__
32705 # include <limits.h>
32706 #else
32707 # include <assert.h>
32708 #endif
32710 #undef $ac_func
32712 /* Override any gcc2 internal prototype to avoid an error. */
32713 #ifdef __cplusplus
32714 extern "C"
32716 #endif
32717 /* We use char because int might match the return type of a gcc2
32718 builtin and then its argument prototype would still apply. */
32719 char $ac_func ();
32720 /* The GNU C library defines this for functions which it implements
32721 to always fail with ENOSYS. Some functions are actually named
32722 something starting with __ and the normal name is an alias. */
32723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32724 choke me
32725 #else
32726 char (*f) () = $ac_func;
32727 #endif
32728 #ifdef __cplusplus
32730 #endif
32733 main ()
32735 return f != $ac_func;
32737 return 0;
32739 _ACEOF
32740 rm -f conftest.$ac_objext conftest$ac_exeext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32742 (eval $ac_link) 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try='test -z "$ac_c_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest$ac_exeext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 eval "$as_ac_var=yes"
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32767 eval "$as_ac_var=no"
32769 rm -f conftest.err conftest.$ac_objext \
32770 conftest$ac_exeext conftest.$ac_ext
32772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32774 if test `eval echo '${'$as_ac_var'}'` = yes; then
32775 cat >>confdefs.h <<_ACEOF
32776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32777 _ACEOF
32780 done
32782 else
32784 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32785 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32786 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32787 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32788 echo $ECHO_N "(cached) $ECHO_C" >&6
32789 else
32793 ac_ext=cc
32794 ac_cpp='$CXXCPP $CPPFLAGS'
32795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32799 cat >conftest.$ac_ext <<_ACEOF
32800 /* confdefs.h. */
32801 _ACEOF
32802 cat confdefs.h >>conftest.$ac_ext
32803 cat >>conftest.$ac_ext <<_ACEOF
32804 /* end confdefs.h. */
32805 #include <math.h>
32806 #ifdef HAVE_IEEEFP_H
32807 #include <ieeefp.h>
32808 #endif
32811 main ()
32813 _isinf(0);
32815 return 0;
32817 _ACEOF
32818 rm -f conftest.$ac_objext
32819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32820 (eval $ac_compile) 2>conftest.er1
32821 ac_status=$?
32822 grep -v '^ *+' conftest.er1 >conftest.err
32823 rm -f conftest.er1
32824 cat conftest.err >&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try='test -z "$ac_cxx_werror_flag"
32828 || test ! -s conftest.err'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32831 ac_status=$?
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; } &&
32834 { ac_try='test -s conftest.$ac_objext'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840 glibcxx_cv_func__isinf_use=yes
32841 else
32842 echo "$as_me: failed program was:" >&5
32843 sed 's/^/| /' conftest.$ac_ext >&5
32845 glibcxx_cv_func__isinf_use=no
32847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32848 ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32859 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32861 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32863 for ac_func in _isinf
32865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32866 echo "$as_me:$LINENO: checking for $ac_func" >&5
32867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32868 if eval "test \"\${$as_ac_var+set}\" = set"; then
32869 echo $ECHO_N "(cached) $ECHO_C" >&6
32870 else
32871 if test x$gcc_no_link = xyes; then
32872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32874 { (exit 1); exit 1; }; }
32876 cat >conftest.$ac_ext <<_ACEOF
32877 /* confdefs.h. */
32878 _ACEOF
32879 cat confdefs.h >>conftest.$ac_ext
32880 cat >>conftest.$ac_ext <<_ACEOF
32881 /* end confdefs.h. */
32882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32884 #define $ac_func innocuous_$ac_func
32886 /* System header to define __stub macros and hopefully few prototypes,
32887 which can conflict with char $ac_func (); below.
32888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32889 <limits.h> exists even on freestanding compilers. */
32891 #ifdef __STDC__
32892 # include <limits.h>
32893 #else
32894 # include <assert.h>
32895 #endif
32897 #undef $ac_func
32899 /* Override any gcc2 internal prototype to avoid an error. */
32900 #ifdef __cplusplus
32901 extern "C"
32903 #endif
32904 /* We use char because int might match the return type of a gcc2
32905 builtin and then its argument prototype would still apply. */
32906 char $ac_func ();
32907 /* The GNU C library defines this for functions which it implements
32908 to always fail with ENOSYS. Some functions are actually named
32909 something starting with __ and the normal name is an alias. */
32910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32911 choke me
32912 #else
32913 char (*f) () = $ac_func;
32914 #endif
32915 #ifdef __cplusplus
32917 #endif
32920 main ()
32922 return f != $ac_func;
32924 return 0;
32926 _ACEOF
32927 rm -f conftest.$ac_objext conftest$ac_exeext
32928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32929 (eval $ac_link) 2>conftest.er1
32930 ac_status=$?
32931 grep -v '^ *+' conftest.er1 >conftest.err
32932 rm -f conftest.er1
32933 cat conftest.err >&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); } &&
32936 { ac_try='test -z "$ac_c_werror_flag"
32937 || test ! -s conftest.err'
32938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32939 (eval $ac_try) 2>&5
32940 ac_status=$?
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); }; } &&
32943 { ac_try='test -s conftest$ac_exeext'
32944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32945 (eval $ac_try) 2>&5
32946 ac_status=$?
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); }; }; then
32949 eval "$as_ac_var=yes"
32950 else
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32954 eval "$as_ac_var=no"
32956 rm -f conftest.err conftest.$ac_objext \
32957 conftest$ac_exeext conftest.$ac_ext
32959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32961 if test `eval echo '${'$as_ac_var'}'` = yes; then
32962 cat >>confdefs.h <<_ACEOF
32963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32964 _ACEOF
32967 done
32977 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32978 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32979 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32980 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32981 echo $ECHO_N "(cached) $ECHO_C" >&6
32982 else
32986 ac_ext=cc
32987 ac_cpp='$CXXCPP $CPPFLAGS'
32988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32992 cat >conftest.$ac_ext <<_ACEOF
32993 /* confdefs.h. */
32994 _ACEOF
32995 cat confdefs.h >>conftest.$ac_ext
32996 cat >>conftest.$ac_ext <<_ACEOF
32997 /* end confdefs.h. */
32998 #include <math.h>
32999 #ifdef HAVE_IEEEFP_H
33000 #include <ieeefp.h>
33001 #endif
33004 main ()
33006 isnan(0);
33008 return 0;
33010 _ACEOF
33011 rm -f conftest.$ac_objext
33012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33013 (eval $ac_compile) 2>conftest.er1
33014 ac_status=$?
33015 grep -v '^ *+' conftest.er1 >conftest.err
33016 rm -f conftest.er1
33017 cat conftest.err >&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); } &&
33020 { ac_try='test -z "$ac_cxx_werror_flag"
33021 || test ! -s conftest.err'
33022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33023 (eval $ac_try) 2>&5
33024 ac_status=$?
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); }; } &&
33027 { ac_try='test -s conftest.$ac_objext'
33028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33029 (eval $ac_try) 2>&5
33030 ac_status=$?
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); }; }; then
33033 glibcxx_cv_func_isnan_use=yes
33034 else
33035 echo "$as_me: failed program was:" >&5
33036 sed 's/^/| /' conftest.$ac_ext >&5
33038 glibcxx_cv_func_isnan_use=no
33040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33041 ac_ext=c
33042 ac_cpp='$CPP $CPPFLAGS'
33043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33052 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33054 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33056 for ac_func in isnan
33058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33059 echo "$as_me:$LINENO: checking for $ac_func" >&5
33060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33061 if eval "test \"\${$as_ac_var+set}\" = set"; then
33062 echo $ECHO_N "(cached) $ECHO_C" >&6
33063 else
33064 if test x$gcc_no_link = xyes; then
33065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33067 { (exit 1); exit 1; }; }
33069 cat >conftest.$ac_ext <<_ACEOF
33070 /* confdefs.h. */
33071 _ACEOF
33072 cat confdefs.h >>conftest.$ac_ext
33073 cat >>conftest.$ac_ext <<_ACEOF
33074 /* end confdefs.h. */
33075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33077 #define $ac_func innocuous_$ac_func
33079 /* System header to define __stub macros and hopefully few prototypes,
33080 which can conflict with char $ac_func (); below.
33081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33082 <limits.h> exists even on freestanding compilers. */
33084 #ifdef __STDC__
33085 # include <limits.h>
33086 #else
33087 # include <assert.h>
33088 #endif
33090 #undef $ac_func
33092 /* Override any gcc2 internal prototype to avoid an error. */
33093 #ifdef __cplusplus
33094 extern "C"
33096 #endif
33097 /* We use char because int might match the return type of a gcc2
33098 builtin and then its argument prototype would still apply. */
33099 char $ac_func ();
33100 /* The GNU C library defines this for functions which it implements
33101 to always fail with ENOSYS. Some functions are actually named
33102 something starting with __ and the normal name is an alias. */
33103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33104 choke me
33105 #else
33106 char (*f) () = $ac_func;
33107 #endif
33108 #ifdef __cplusplus
33110 #endif
33113 main ()
33115 return f != $ac_func;
33117 return 0;
33119 _ACEOF
33120 rm -f conftest.$ac_objext conftest$ac_exeext
33121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33122 (eval $ac_link) 2>conftest.er1
33123 ac_status=$?
33124 grep -v '^ *+' conftest.er1 >conftest.err
33125 rm -f conftest.er1
33126 cat conftest.err >&5
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); } &&
33129 { ac_try='test -z "$ac_c_werror_flag"
33130 || test ! -s conftest.err'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33133 ac_status=$?
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; } &&
33136 { ac_try='test -s conftest$ac_exeext'
33137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33138 (eval $ac_try) 2>&5
33139 ac_status=$?
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); }; }; then
33142 eval "$as_ac_var=yes"
33143 else
33144 echo "$as_me: failed program was:" >&5
33145 sed 's/^/| /' conftest.$ac_ext >&5
33147 eval "$as_ac_var=no"
33149 rm -f conftest.err conftest.$ac_objext \
33150 conftest$ac_exeext conftest.$ac_ext
33152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33154 if test `eval echo '${'$as_ac_var'}'` = yes; then
33155 cat >>confdefs.h <<_ACEOF
33156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33157 _ACEOF
33160 done
33162 else
33164 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33165 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33166 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33167 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33168 echo $ECHO_N "(cached) $ECHO_C" >&6
33169 else
33173 ac_ext=cc
33174 ac_cpp='$CXXCPP $CPPFLAGS'
33175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 #include <math.h>
33186 #ifdef HAVE_IEEEFP_H
33187 #include <ieeefp.h>
33188 #endif
33191 main ()
33193 _isnan(0);
33195 return 0;
33197 _ACEOF
33198 rm -f conftest.$ac_objext
33199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33200 (eval $ac_compile) 2>conftest.er1
33201 ac_status=$?
33202 grep -v '^ *+' conftest.er1 >conftest.err
33203 rm -f conftest.er1
33204 cat conftest.err >&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); } &&
33207 { ac_try='test -z "$ac_cxx_werror_flag"
33208 || test ! -s conftest.err'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; } &&
33214 { ac_try='test -s conftest.$ac_objext'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33217 ac_status=$?
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; }; then
33220 glibcxx_cv_func__isnan_use=yes
33221 else
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.$ac_ext >&5
33225 glibcxx_cv_func__isnan_use=no
33227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33228 ac_ext=c
33229 ac_cpp='$CPP $CPPFLAGS'
33230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33239 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33241 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33243 for ac_func in _isnan
33245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33246 echo "$as_me:$LINENO: checking for $ac_func" >&5
33247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33248 if eval "test \"\${$as_ac_var+set}\" = set"; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33251 if test x$gcc_no_link = xyes; then
33252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33254 { (exit 1); exit 1; }; }
33256 cat >conftest.$ac_ext <<_ACEOF
33257 /* confdefs.h. */
33258 _ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33264 #define $ac_func innocuous_$ac_func
33266 /* System header to define __stub macros and hopefully few prototypes,
33267 which can conflict with char $ac_func (); below.
33268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33269 <limits.h> exists even on freestanding compilers. */
33271 #ifdef __STDC__
33272 # include <limits.h>
33273 #else
33274 # include <assert.h>
33275 #endif
33277 #undef $ac_func
33279 /* Override any gcc2 internal prototype to avoid an error. */
33280 #ifdef __cplusplus
33281 extern "C"
33283 #endif
33284 /* We use char because int might match the return type of a gcc2
33285 builtin and then its argument prototype would still apply. */
33286 char $ac_func ();
33287 /* The GNU C library defines this for functions which it implements
33288 to always fail with ENOSYS. Some functions are actually named
33289 something starting with __ and the normal name is an alias. */
33290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33291 choke me
33292 #else
33293 char (*f) () = $ac_func;
33294 #endif
33295 #ifdef __cplusplus
33297 #endif
33300 main ()
33302 return f != $ac_func;
33304 return 0;
33306 _ACEOF
33307 rm -f conftest.$ac_objext conftest$ac_exeext
33308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33309 (eval $ac_link) 2>conftest.er1
33310 ac_status=$?
33311 grep -v '^ *+' conftest.er1 >conftest.err
33312 rm -f conftest.er1
33313 cat conftest.err >&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); } &&
33316 { ac_try='test -z "$ac_c_werror_flag"
33317 || test ! -s conftest.err'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33320 ac_status=$?
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; } &&
33323 { ac_try='test -s conftest$ac_exeext'
33324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33325 (eval $ac_try) 2>&5
33326 ac_status=$?
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; }; then
33329 eval "$as_ac_var=yes"
33330 else
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33334 eval "$as_ac_var=no"
33336 rm -f conftest.err conftest.$ac_objext \
33337 conftest$ac_exeext conftest.$ac_ext
33339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33341 if test `eval echo '${'$as_ac_var'}'` = yes; then
33342 cat >>confdefs.h <<_ACEOF
33343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33344 _ACEOF
33347 done
33357 echo "$as_me:$LINENO: checking for finite declaration" >&5
33358 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33359 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33360 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33361 echo $ECHO_N "(cached) $ECHO_C" >&6
33362 else
33366 ac_ext=cc
33367 ac_cpp='$CXXCPP $CPPFLAGS'
33368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372 cat >conftest.$ac_ext <<_ACEOF
33373 /* confdefs.h. */
33374 _ACEOF
33375 cat confdefs.h >>conftest.$ac_ext
33376 cat >>conftest.$ac_ext <<_ACEOF
33377 /* end confdefs.h. */
33378 #include <math.h>
33379 #ifdef HAVE_IEEEFP_H
33380 #include <ieeefp.h>
33381 #endif
33384 main ()
33386 finite(0);
33388 return 0;
33390 _ACEOF
33391 rm -f conftest.$ac_objext
33392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33393 (eval $ac_compile) 2>conftest.er1
33394 ac_status=$?
33395 grep -v '^ *+' conftest.er1 >conftest.err
33396 rm -f conftest.er1
33397 cat conftest.err >&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); } &&
33400 { ac_try='test -z "$ac_cxx_werror_flag"
33401 || test ! -s conftest.err'
33402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33403 (eval $ac_try) 2>&5
33404 ac_status=$?
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); }; } &&
33407 { ac_try='test -s conftest.$ac_objext'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33410 ac_status=$?
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; }; then
33413 glibcxx_cv_func_finite_use=yes
33414 else
33415 echo "$as_me: failed program was:" >&5
33416 sed 's/^/| /' conftest.$ac_ext >&5
33418 glibcxx_cv_func_finite_use=no
33420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33421 ac_ext=c
33422 ac_cpp='$CPP $CPPFLAGS'
33423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33432 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33434 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33436 for ac_func in finite
33438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33439 echo "$as_me:$LINENO: checking for $ac_func" >&5
33440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33441 if eval "test \"\${$as_ac_var+set}\" = set"; then
33442 echo $ECHO_N "(cached) $ECHO_C" >&6
33443 else
33444 if test x$gcc_no_link = xyes; then
33445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33447 { (exit 1); exit 1; }; }
33449 cat >conftest.$ac_ext <<_ACEOF
33450 /* confdefs.h. */
33451 _ACEOF
33452 cat confdefs.h >>conftest.$ac_ext
33453 cat >>conftest.$ac_ext <<_ACEOF
33454 /* end confdefs.h. */
33455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33457 #define $ac_func innocuous_$ac_func
33459 /* System header to define __stub macros and hopefully few prototypes,
33460 which can conflict with char $ac_func (); below.
33461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33462 <limits.h> exists even on freestanding compilers. */
33464 #ifdef __STDC__
33465 # include <limits.h>
33466 #else
33467 # include <assert.h>
33468 #endif
33470 #undef $ac_func
33472 /* Override any gcc2 internal prototype to avoid an error. */
33473 #ifdef __cplusplus
33474 extern "C"
33476 #endif
33477 /* We use char because int might match the return type of a gcc2
33478 builtin and then its argument prototype would still apply. */
33479 char $ac_func ();
33480 /* The GNU C library defines this for functions which it implements
33481 to always fail with ENOSYS. Some functions are actually named
33482 something starting with __ and the normal name is an alias. */
33483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33484 choke me
33485 #else
33486 char (*f) () = $ac_func;
33487 #endif
33488 #ifdef __cplusplus
33490 #endif
33493 main ()
33495 return f != $ac_func;
33497 return 0;
33499 _ACEOF
33500 rm -f conftest.$ac_objext conftest$ac_exeext
33501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33502 (eval $ac_link) 2>conftest.er1
33503 ac_status=$?
33504 grep -v '^ *+' conftest.er1 >conftest.err
33505 rm -f conftest.er1
33506 cat conftest.err >&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } &&
33509 { ac_try='test -z "$ac_c_werror_flag"
33510 || test ! -s conftest.err'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; } &&
33516 { ac_try='test -s conftest$ac_exeext'
33517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33518 (eval $ac_try) 2>&5
33519 ac_status=$?
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); }; }; then
33522 eval "$as_ac_var=yes"
33523 else
33524 echo "$as_me: failed program was:" >&5
33525 sed 's/^/| /' conftest.$ac_ext >&5
33527 eval "$as_ac_var=no"
33529 rm -f conftest.err conftest.$ac_objext \
33530 conftest$ac_exeext conftest.$ac_ext
33532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33534 if test `eval echo '${'$as_ac_var'}'` = yes; then
33535 cat >>confdefs.h <<_ACEOF
33536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33537 _ACEOF
33540 done
33542 else
33544 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33545 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33546 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33547 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 else
33553 ac_ext=cc
33554 ac_cpp='$CXXCPP $CPPFLAGS'
33555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33559 cat >conftest.$ac_ext <<_ACEOF
33560 /* confdefs.h. */
33561 _ACEOF
33562 cat confdefs.h >>conftest.$ac_ext
33563 cat >>conftest.$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33565 #include <math.h>
33566 #ifdef HAVE_IEEEFP_H
33567 #include <ieeefp.h>
33568 #endif
33571 main ()
33573 _finite(0);
33575 return 0;
33577 _ACEOF
33578 rm -f conftest.$ac_objext
33579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33580 (eval $ac_compile) 2>conftest.er1
33581 ac_status=$?
33582 grep -v '^ *+' conftest.er1 >conftest.err
33583 rm -f conftest.er1
33584 cat conftest.err >&5
33585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33586 (exit $ac_status); } &&
33587 { ac_try='test -z "$ac_cxx_werror_flag"
33588 || test ! -s conftest.err'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33591 ac_status=$?
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; } &&
33594 { ac_try='test -s conftest.$ac_objext'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33597 ac_status=$?
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; }; then
33600 glibcxx_cv_func__finite_use=yes
33601 else
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.$ac_ext >&5
33605 glibcxx_cv_func__finite_use=no
33607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33608 ac_ext=c
33609 ac_cpp='$CPP $CPPFLAGS'
33610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33619 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33621 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33623 for ac_func in _finite
33625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33626 echo "$as_me:$LINENO: checking for $ac_func" >&5
33627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33628 if eval "test \"\${$as_ac_var+set}\" = set"; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 else
33631 if test x$gcc_no_link = xyes; then
33632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33634 { (exit 1); exit 1; }; }
33636 cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h. */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33644 #define $ac_func innocuous_$ac_func
33646 /* System header to define __stub macros and hopefully few prototypes,
33647 which can conflict with char $ac_func (); below.
33648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33649 <limits.h> exists even on freestanding compilers. */
33651 #ifdef __STDC__
33652 # include <limits.h>
33653 #else
33654 # include <assert.h>
33655 #endif
33657 #undef $ac_func
33659 /* Override any gcc2 internal prototype to avoid an error. */
33660 #ifdef __cplusplus
33661 extern "C"
33663 #endif
33664 /* We use char because int might match the return type of a gcc2
33665 builtin and then its argument prototype would still apply. */
33666 char $ac_func ();
33667 /* The GNU C library defines this for functions which it implements
33668 to always fail with ENOSYS. Some functions are actually named
33669 something starting with __ and the normal name is an alias. */
33670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33671 choke me
33672 #else
33673 char (*f) () = $ac_func;
33674 #endif
33675 #ifdef __cplusplus
33677 #endif
33680 main ()
33682 return f != $ac_func;
33684 return 0;
33686 _ACEOF
33687 rm -f conftest.$ac_objext conftest$ac_exeext
33688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33689 (eval $ac_link) 2>conftest.er1
33690 ac_status=$?
33691 grep -v '^ *+' conftest.er1 >conftest.err
33692 rm -f conftest.er1
33693 cat conftest.err >&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } &&
33696 { ac_try='test -z "$ac_c_werror_flag"
33697 || test ! -s conftest.err'
33698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699 (eval $ac_try) 2>&5
33700 ac_status=$?
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); }; } &&
33703 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33709 eval "$as_ac_var=yes"
33710 else
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.$ac_ext >&5
33714 eval "$as_ac_var=no"
33716 rm -f conftest.err conftest.$ac_objext \
33717 conftest$ac_exeext conftest.$ac_ext
33719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33721 if test `eval echo '${'$as_ac_var'}'` = yes; then
33722 cat >>confdefs.h <<_ACEOF
33723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33724 _ACEOF
33727 done
33737 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33738 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33739 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33740 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33742 else
33746 ac_ext=cc
33747 ac_cpp='$CXXCPP $CPPFLAGS'
33748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33752 cat >conftest.$ac_ext <<_ACEOF
33753 /* confdefs.h. */
33754 _ACEOF
33755 cat confdefs.h >>conftest.$ac_ext
33756 cat >>conftest.$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33758 #include <math.h>
33760 main ()
33762 copysign(0, 0);
33764 return 0;
33766 _ACEOF
33767 rm -f conftest.$ac_objext
33768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33769 (eval $ac_compile) 2>conftest.er1
33770 ac_status=$?
33771 grep -v '^ *+' conftest.er1 >conftest.err
33772 rm -f conftest.er1
33773 cat conftest.err >&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } &&
33776 { ac_try='test -z "$ac_cxx_werror_flag"
33777 || test ! -s conftest.err'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33780 ac_status=$?
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; } &&
33783 { ac_try='test -s conftest.$ac_objext'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33786 ac_status=$?
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; }; then
33789 glibcxx_cv_func_copysign_use=yes
33790 else
33791 echo "$as_me: failed program was:" >&5
33792 sed 's/^/| /' conftest.$ac_ext >&5
33794 glibcxx_cv_func_copysign_use=no
33796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33797 ac_ext=c
33798 ac_cpp='$CPP $CPPFLAGS'
33799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33808 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33810 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33812 for ac_func in copysign
33814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33815 echo "$as_me:$LINENO: checking for $ac_func" >&5
33816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33817 if eval "test \"\${$as_ac_var+set}\" = set"; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820 if test x$gcc_no_link = xyes; then
33821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33823 { (exit 1); exit 1; }; }
33825 cat >conftest.$ac_ext <<_ACEOF
33826 /* confdefs.h. */
33827 _ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33833 #define $ac_func innocuous_$ac_func
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33840 #ifdef __STDC__
33841 # include <limits.h>
33842 #else
33843 # include <assert.h>
33844 #endif
33846 #undef $ac_func
33848 /* Override any gcc2 internal prototype to avoid an error. */
33849 #ifdef __cplusplus
33850 extern "C"
33852 #endif
33853 /* We use char because int might match the return type of a gcc2
33854 builtin and then its argument prototype would still apply. */
33855 char $ac_func ();
33856 /* The GNU C library defines this for functions which it implements
33857 to always fail with ENOSYS. Some functions are actually named
33858 something starting with __ and the normal name is an alias. */
33859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33860 choke me
33861 #else
33862 char (*f) () = $ac_func;
33863 #endif
33864 #ifdef __cplusplus
33866 #endif
33869 main ()
33871 return f != $ac_func;
33873 return 0;
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33903 eval "$as_ac_var=no"
33905 rm -f conftest.err conftest.$ac_objext \
33906 conftest$ac_exeext conftest.$ac_ext
33908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33910 if test `eval echo '${'$as_ac_var'}'` = yes; then
33911 cat >>confdefs.h <<_ACEOF
33912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33913 _ACEOF
33916 done
33918 else
33920 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33921 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33922 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33923 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33924 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 else
33929 ac_ext=cc
33930 ac_cpp='$CXXCPP $CPPFLAGS'
33931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33935 cat >conftest.$ac_ext <<_ACEOF
33936 /* confdefs.h. */
33937 _ACEOF
33938 cat confdefs.h >>conftest.$ac_ext
33939 cat >>conftest.$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33941 #include <math.h>
33943 main ()
33945 _copysign(0, 0);
33947 return 0;
33949 _ACEOF
33950 rm -f conftest.$ac_objext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33952 (eval $ac_compile) 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } &&
33959 { ac_try='test -z "$ac_cxx_werror_flag"
33960 || test ! -s conftest.err'
33961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 (eval $ac_try) 2>&5
33963 ac_status=$?
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); }; } &&
33966 { ac_try='test -s conftest.$ac_objext'
33967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968 (eval $ac_try) 2>&5
33969 ac_status=$?
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); }; }; then
33972 glibcxx_cv_func__copysign_use=yes
33973 else
33974 echo "$as_me: failed program was:" >&5
33975 sed 's/^/| /' conftest.$ac_ext >&5
33977 glibcxx_cv_func__copysign_use=no
33979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33980 ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33991 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33993 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33995 for ac_func in _copysign
33997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33998 echo "$as_me:$LINENO: checking for $ac_func" >&5
33999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34000 if eval "test \"\${$as_ac_var+set}\" = set"; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 else
34003 if test x$gcc_no_link = xyes; then
34004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34006 { (exit 1); exit 1; }; }
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34016 #define $ac_func innocuous_$ac_func
34018 /* System header to define __stub macros and hopefully few prototypes,
34019 which can conflict with char $ac_func (); below.
34020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34021 <limits.h> exists even on freestanding compilers. */
34023 #ifdef __STDC__
34024 # include <limits.h>
34025 #else
34026 # include <assert.h>
34027 #endif
34029 #undef $ac_func
34031 /* Override any gcc2 internal prototype to avoid an error. */
34032 #ifdef __cplusplus
34033 extern "C"
34035 #endif
34036 /* We use char because int might match the return type of a gcc2
34037 builtin and then its argument prototype would still apply. */
34038 char $ac_func ();
34039 /* The GNU C library defines this for functions which it implements
34040 to always fail with ENOSYS. Some functions are actually named
34041 something starting with __ and the normal name is an alias. */
34042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34043 choke me
34044 #else
34045 char (*f) () = $ac_func;
34046 #endif
34047 #ifdef __cplusplus
34049 #endif
34052 main ()
34054 return f != $ac_func;
34056 return 0;
34058 _ACEOF
34059 rm -f conftest.$ac_objext conftest$ac_exeext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34061 (eval $ac_link) 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } &&
34068 { ac_try='test -z "$ac_c_werror_flag"
34069 || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34072 ac_status=$?
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34081 eval "$as_ac_var=yes"
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34086 eval "$as_ac_var=no"
34088 rm -f conftest.err conftest.$ac_objext \
34089 conftest$ac_exeext conftest.$ac_ext
34091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34093 if test `eval echo '${'$as_ac_var'}'` = yes; then
34094 cat >>confdefs.h <<_ACEOF
34095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34096 _ACEOF
34099 done
34109 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34110 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34111 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34112 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 else
34118 ac_ext=cc
34119 ac_cpp='$CXXCPP $CPPFLAGS'
34120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34124 cat >conftest.$ac_ext <<_ACEOF
34125 /* confdefs.h. */
34126 _ACEOF
34127 cat confdefs.h >>conftest.$ac_ext
34128 cat >>conftest.$ac_ext <<_ACEOF
34129 /* end confdefs.h. */
34130 #include <math.h>
34132 main ()
34134 sincos(0, 0, 0);
34136 return 0;
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try='test -z "$ac_cxx_werror_flag"
34149 || test ! -s conftest.err'
34150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151 (eval $ac_try) 2>&5
34152 ac_status=$?
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; } &&
34155 { ac_try='test -s conftest.$ac_objext'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34158 ac_status=$?
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; }; then
34161 glibcxx_cv_func_sincos_use=yes
34162 else
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34166 glibcxx_cv_func_sincos_use=no
34168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34180 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34182 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34184 for ac_func in sincos
34186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34187 echo "$as_me:$LINENO: checking for $ac_func" >&5
34188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34189 if eval "test \"\${$as_ac_var+set}\" = set"; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 else
34192 if test x$gcc_no_link = xyes; then
34193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34195 { (exit 1); exit 1; }; }
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34205 #define $ac_func innocuous_$ac_func
34207 /* System header to define __stub macros and hopefully few prototypes,
34208 which can conflict with char $ac_func (); below.
34209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34210 <limits.h> exists even on freestanding compilers. */
34212 #ifdef __STDC__
34213 # include <limits.h>
34214 #else
34215 # include <assert.h>
34216 #endif
34218 #undef $ac_func
34220 /* Override any gcc2 internal prototype to avoid an error. */
34221 #ifdef __cplusplus
34222 extern "C"
34224 #endif
34225 /* We use char because int might match the return type of a gcc2
34226 builtin and then its argument prototype would still apply. */
34227 char $ac_func ();
34228 /* The GNU C library defines this for functions which it implements
34229 to always fail with ENOSYS. Some functions are actually named
34230 something starting with __ and the normal name is an alias. */
34231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34232 choke me
34233 #else
34234 char (*f) () = $ac_func;
34235 #endif
34236 #ifdef __cplusplus
34238 #endif
34241 main ()
34243 return f != $ac_func;
34245 return 0;
34247 _ACEOF
34248 rm -f conftest.$ac_objext conftest$ac_exeext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34250 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34275 eval "$as_ac_var=no"
34277 rm -f conftest.err conftest.$ac_objext \
34278 conftest$ac_exeext conftest.$ac_ext
34280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34282 if test `eval echo '${'$as_ac_var'}'` = yes; then
34283 cat >>confdefs.h <<_ACEOF
34284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34285 _ACEOF
34288 done
34290 else
34292 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34293 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34294 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34295 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34301 ac_ext=cc
34302 ac_cpp='$CXXCPP $CPPFLAGS'
34303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307 cat >conftest.$ac_ext <<_ACEOF
34308 /* confdefs.h. */
34309 _ACEOF
34310 cat confdefs.h >>conftest.$ac_ext
34311 cat >>conftest.$ac_ext <<_ACEOF
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 _sincos(0, 0, 0);
34319 return 0;
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324 (eval $ac_compile) 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try='test -z "$ac_cxx_werror_flag"
34332 || test ! -s conftest.err'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34335 ac_status=$?
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; } &&
34338 { ac_try='test -s conftest.$ac_objext'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; }; then
34344 glibcxx_cv_func__sincos_use=yes
34345 else
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34349 glibcxx_cv_func__sincos_use=no
34351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34363 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34365 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34367 for ac_func in _sincos
34369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34370 echo "$as_me:$LINENO: checking for $ac_func" >&5
34371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34372 if eval "test \"\${$as_ac_var+set}\" = set"; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375 if test x$gcc_no_link = xyes; then
34376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34378 { (exit 1); exit 1; }; }
34380 cat >conftest.$ac_ext <<_ACEOF
34381 /* confdefs.h. */
34382 _ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h. */
34386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34388 #define $ac_func innocuous_$ac_func
34390 /* System header to define __stub macros and hopefully few prototypes,
34391 which can conflict with char $ac_func (); below.
34392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34393 <limits.h> exists even on freestanding compilers. */
34395 #ifdef __STDC__
34396 # include <limits.h>
34397 #else
34398 # include <assert.h>
34399 #endif
34401 #undef $ac_func
34403 /* Override any gcc2 internal prototype to avoid an error. */
34404 #ifdef __cplusplus
34405 extern "C"
34407 #endif
34408 /* We use char because int might match the return type of a gcc2
34409 builtin and then its argument prototype would still apply. */
34410 char $ac_func ();
34411 /* The GNU C library defines this for functions which it implements
34412 to always fail with ENOSYS. Some functions are actually named
34413 something starting with __ and the normal name is an alias. */
34414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34415 choke me
34416 #else
34417 char (*f) () = $ac_func;
34418 #endif
34419 #ifdef __cplusplus
34421 #endif
34424 main ()
34426 return f != $ac_func;
34428 return 0;
34430 _ACEOF
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433 (eval $ac_link) 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } &&
34440 { ac_try='test -z "$ac_c_werror_flag"
34441 || test ! -s conftest.err'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34444 ac_status=$?
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; } &&
34447 { ac_try='test -s conftest$ac_exeext'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; }; then
34453 eval "$as_ac_var=yes"
34454 else
34455 echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.$ac_ext >&5
34458 eval "$as_ac_var=no"
34460 rm -f conftest.err conftest.$ac_objext \
34461 conftest$ac_exeext conftest.$ac_ext
34463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34465 if test `eval echo '${'$as_ac_var'}'` = yes; then
34466 cat >>confdefs.h <<_ACEOF
34467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 _ACEOF
34471 done
34481 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34482 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34483 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34484 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 else
34490 ac_ext=cc
34491 ac_cpp='$CXXCPP $CPPFLAGS'
34492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502 #include <math.h>
34503 #ifdef HAVE_IEEEFP_H
34504 #include <ieeefp.h>
34505 #endif
34508 main ()
34510 fpclass(0);
34512 return 0;
34514 _ACEOF
34515 rm -f conftest.$ac_objext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34517 (eval $ac_compile) 2>conftest.er1
34518 ac_status=$?
34519 grep -v '^ *+' conftest.er1 >conftest.err
34520 rm -f conftest.er1
34521 cat conftest.err >&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } &&
34524 { ac_try='test -z "$ac_cxx_werror_flag"
34525 || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try='test -s conftest.$ac_objext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537 glibcxx_cv_func_fpclass_use=yes
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34542 glibcxx_cv_func_fpclass_use=no
34544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34545 ac_ext=c
34546 ac_cpp='$CPP $CPPFLAGS'
34547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34556 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34558 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34560 for ac_func in fpclass
34562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34563 echo "$as_me:$LINENO: checking for $ac_func" >&5
34564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34565 if eval "test \"\${$as_ac_var+set}\" = set"; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 else
34568 if test x$gcc_no_link = xyes; then
34569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34571 { (exit 1); exit 1; }; }
34573 cat >conftest.$ac_ext <<_ACEOF
34574 /* confdefs.h. */
34575 _ACEOF
34576 cat confdefs.h >>conftest.$ac_ext
34577 cat >>conftest.$ac_ext <<_ACEOF
34578 /* end confdefs.h. */
34579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34581 #define $ac_func innocuous_$ac_func
34583 /* System header to define __stub macros and hopefully few prototypes,
34584 which can conflict with char $ac_func (); below.
34585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34586 <limits.h> exists even on freestanding compilers. */
34588 #ifdef __STDC__
34589 # include <limits.h>
34590 #else
34591 # include <assert.h>
34592 #endif
34594 #undef $ac_func
34596 /* Override any gcc2 internal prototype to avoid an error. */
34597 #ifdef __cplusplus
34598 extern "C"
34600 #endif
34601 /* We use char because int might match the return type of a gcc2
34602 builtin and then its argument prototype would still apply. */
34603 char $ac_func ();
34604 /* The GNU C library defines this for functions which it implements
34605 to always fail with ENOSYS. Some functions are actually named
34606 something starting with __ and the normal name is an alias. */
34607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34608 choke me
34609 #else
34610 char (*f) () = $ac_func;
34611 #endif
34612 #ifdef __cplusplus
34614 #endif
34617 main ()
34619 return f != $ac_func;
34621 return 0;
34623 _ACEOF
34624 rm -f conftest.$ac_objext conftest$ac_exeext
34625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34626 (eval $ac_link) 2>conftest.er1
34627 ac_status=$?
34628 grep -v '^ *+' conftest.er1 >conftest.err
34629 rm -f conftest.er1
34630 cat conftest.err >&5
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); } &&
34633 { ac_try='test -z "$ac_c_werror_flag"
34634 || test ! -s conftest.err'
34635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636 (eval $ac_try) 2>&5
34637 ac_status=$?
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); }; } &&
34640 { ac_try='test -s conftest$ac_exeext'
34641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34642 (eval $ac_try) 2>&5
34643 ac_status=$?
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); }; }; then
34646 eval "$as_ac_var=yes"
34647 else
34648 echo "$as_me: failed program was:" >&5
34649 sed 's/^/| /' conftest.$ac_ext >&5
34651 eval "$as_ac_var=no"
34653 rm -f conftest.err conftest.$ac_objext \
34654 conftest$ac_exeext conftest.$ac_ext
34656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34658 if test `eval echo '${'$as_ac_var'}'` = yes; then
34659 cat >>confdefs.h <<_ACEOF
34660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34661 _ACEOF
34664 done
34666 else
34668 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34669 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34670 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34671 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34677 ac_ext=cc
34678 ac_cpp='$CXXCPP $CPPFLAGS'
34679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34683 cat >conftest.$ac_ext <<_ACEOF
34684 /* confdefs.h. */
34685 _ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689 #include <math.h>
34690 #ifdef HAVE_IEEEFP_H
34691 #include <ieeefp.h>
34692 #endif
34695 main ()
34697 _fpclass(0);
34699 return 0;
34701 _ACEOF
34702 rm -f conftest.$ac_objext
34703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34704 (eval $ac_compile) 2>conftest.er1
34705 ac_status=$?
34706 grep -v '^ *+' conftest.er1 >conftest.err
34707 rm -f conftest.er1
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try='test -z "$ac_cxx_werror_flag"
34712 || test ! -s conftest.err'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34715 ac_status=$?
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; } &&
34718 { ac_try='test -s conftest.$ac_objext'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }; then
34724 glibcxx_cv_func__fpclass_use=yes
34725 else
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.$ac_ext >&5
34729 glibcxx_cv_func__fpclass_use=no
34731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34732 ac_ext=c
34733 ac_cpp='$CPP $CPPFLAGS'
34734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34743 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34745 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34747 for ac_func in _fpclass
34749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34750 echo "$as_me:$LINENO: checking for $ac_func" >&5
34751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34752 if eval "test \"\${$as_ac_var+set}\" = set"; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755 if test x$gcc_no_link = xyes; then
34756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34758 { (exit 1); exit 1; }; }
34760 cat >conftest.$ac_ext <<_ACEOF
34761 /* confdefs.h. */
34762 _ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34768 #define $ac_func innocuous_$ac_func
34770 /* System header to define __stub macros and hopefully few prototypes,
34771 which can conflict with char $ac_func (); below.
34772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34773 <limits.h> exists even on freestanding compilers. */
34775 #ifdef __STDC__
34776 # include <limits.h>
34777 #else
34778 # include <assert.h>
34779 #endif
34781 #undef $ac_func
34783 /* Override any gcc2 internal prototype to avoid an error. */
34784 #ifdef __cplusplus
34785 extern "C"
34787 #endif
34788 /* We use char because int might match the return type of a gcc2
34789 builtin and then its argument prototype would still apply. */
34790 char $ac_func ();
34791 /* The GNU C library defines this for functions which it implements
34792 to always fail with ENOSYS. Some functions are actually named
34793 something starting with __ and the normal name is an alias. */
34794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34795 choke me
34796 #else
34797 char (*f) () = $ac_func;
34798 #endif
34799 #ifdef __cplusplus
34801 #endif
34804 main ()
34806 return f != $ac_func;
34808 return 0;
34810 _ACEOF
34811 rm -f conftest.$ac_objext conftest$ac_exeext
34812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34813 (eval $ac_link) 2>conftest.er1
34814 ac_status=$?
34815 grep -v '^ *+' conftest.er1 >conftest.err
34816 rm -f conftest.er1
34817 cat conftest.err >&5
34818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819 (exit $ac_status); } &&
34820 { ac_try='test -z "$ac_c_werror_flag"
34821 || test ! -s conftest.err'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; } &&
34827 { ac_try='test -s conftest$ac_exeext'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; }; then
34833 eval "$as_ac_var=yes"
34834 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34838 eval "$as_ac_var=no"
34840 rm -f conftest.err conftest.$ac_objext \
34841 conftest$ac_exeext conftest.$ac_ext
34843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34845 if test `eval echo '${'$as_ac_var'}'` = yes; then
34846 cat >>confdefs.h <<_ACEOF
34847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34848 _ACEOF
34851 done
34861 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34862 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34863 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34864 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34866 else
34870 ac_ext=cc
34871 ac_cpp='$CXXCPP $CPPFLAGS'
34872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34876 cat >conftest.$ac_ext <<_ACEOF
34877 /* confdefs.h. */
34878 _ACEOF
34879 cat confdefs.h >>conftest.$ac_ext
34880 cat >>conftest.$ac_ext <<_ACEOF
34881 /* end confdefs.h. */
34882 #include <math.h>
34883 #ifdef HAVE_IEEEFP_H
34884 #include <ieeefp.h>
34885 #endif
34888 main ()
34890 qfpclass(0);
34892 return 0;
34894 _ACEOF
34895 rm -f conftest.$ac_objext
34896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34897 (eval $ac_compile) 2>conftest.er1
34898 ac_status=$?
34899 grep -v '^ *+' conftest.er1 >conftest.err
34900 rm -f conftest.er1
34901 cat conftest.err >&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); } &&
34904 { ac_try='test -z "$ac_cxx_werror_flag"
34905 || test ! -s conftest.err'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; } &&
34911 { ac_try='test -s conftest.$ac_objext'
34912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34913 (eval $ac_try) 2>&5
34914 ac_status=$?
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); }; }; then
34917 glibcxx_cv_func_qfpclass_use=yes
34918 else
34919 echo "$as_me: failed program was:" >&5
34920 sed 's/^/| /' conftest.$ac_ext >&5
34922 glibcxx_cv_func_qfpclass_use=no
34924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34925 ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34936 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34938 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34940 for ac_func in qfpclass
34942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34943 echo "$as_me:$LINENO: checking for $ac_func" >&5
34944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34945 if eval "test \"\${$as_ac_var+set}\" = set"; then
34946 echo $ECHO_N "(cached) $ECHO_C" >&6
34947 else
34948 if test x$gcc_no_link = xyes; then
34949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34951 { (exit 1); exit 1; }; }
34953 cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h. */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34961 #define $ac_func innocuous_$ac_func
34963 /* System header to define __stub macros and hopefully few prototypes,
34964 which can conflict with char $ac_func (); below.
34965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34966 <limits.h> exists even on freestanding compilers. */
34968 #ifdef __STDC__
34969 # include <limits.h>
34970 #else
34971 # include <assert.h>
34972 #endif
34974 #undef $ac_func
34976 /* Override any gcc2 internal prototype to avoid an error. */
34977 #ifdef __cplusplus
34978 extern "C"
34980 #endif
34981 /* We use char because int might match the return type of a gcc2
34982 builtin and then its argument prototype would still apply. */
34983 char $ac_func ();
34984 /* The GNU C library defines this for functions which it implements
34985 to always fail with ENOSYS. Some functions are actually named
34986 something starting with __ and the normal name is an alias. */
34987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34988 choke me
34989 #else
34990 char (*f) () = $ac_func;
34991 #endif
34992 #ifdef __cplusplus
34994 #endif
34997 main ()
34999 return f != $ac_func;
35001 return 0;
35003 _ACEOF
35004 rm -f conftest.$ac_objext conftest$ac_exeext
35005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35006 (eval $ac_link) 2>conftest.er1
35007 ac_status=$?
35008 grep -v '^ *+' conftest.er1 >conftest.err
35009 rm -f conftest.er1
35010 cat conftest.err >&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } &&
35013 { ac_try='test -z "$ac_c_werror_flag"
35014 || test ! -s conftest.err'
35015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35016 (eval $ac_try) 2>&5
35017 ac_status=$?
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); }; } &&
35020 { ac_try='test -s conftest$ac_exeext'
35021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022 (eval $ac_try) 2>&5
35023 ac_status=$?
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; }; then
35026 eval "$as_ac_var=yes"
35027 else
35028 echo "$as_me: failed program was:" >&5
35029 sed 's/^/| /' conftest.$ac_ext >&5
35031 eval "$as_ac_var=no"
35033 rm -f conftest.err conftest.$ac_objext \
35034 conftest$ac_exeext conftest.$ac_ext
35036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35038 if test `eval echo '${'$as_ac_var'}'` = yes; then
35039 cat >>confdefs.h <<_ACEOF
35040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35041 _ACEOF
35044 done
35046 else
35048 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35049 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35050 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35051 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 else
35057 ac_ext=cc
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35063 cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h. */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 #ifdef HAVE_IEEEFP_H
35071 #include <ieeefp.h>
35072 #endif
35075 main ()
35077 _qfpclass(0);
35079 return 0;
35081 _ACEOF
35082 rm -f conftest.$ac_objext
35083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35084 (eval $ac_compile) 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } &&
35091 { ac_try='test -z "$ac_cxx_werror_flag"
35092 || test ! -s conftest.err'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; } &&
35098 { ac_try='test -s conftest.$ac_objext'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35101 ac_status=$?
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; }; then
35104 glibcxx_cv_func__qfpclass_use=yes
35105 else
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35109 glibcxx_cv_func__qfpclass_use=no
35111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35112 ac_ext=c
35113 ac_cpp='$CPP $CPPFLAGS'
35114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35123 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35127 for ac_func in _qfpclass
35129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35132 if eval "test \"\${$as_ac_var+set}\" = set"; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135 if test x$gcc_no_link = xyes; then
35136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35138 { (exit 1); exit 1; }; }
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h. */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35148 #define $ac_func innocuous_$ac_func
35150 /* System header to define __stub macros and hopefully few prototypes,
35151 which can conflict with char $ac_func (); below.
35152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153 <limits.h> exists even on freestanding compilers. */
35155 #ifdef __STDC__
35156 # include <limits.h>
35157 #else
35158 # include <assert.h>
35159 #endif
35161 #undef $ac_func
35163 /* Override any gcc2 internal prototype to avoid an error. */
35164 #ifdef __cplusplus
35165 extern "C"
35167 #endif
35168 /* We use char because int might match the return type of a gcc2
35169 builtin and then its argument prototype would still apply. */
35170 char $ac_func ();
35171 /* The GNU C library defines this for functions which it implements
35172 to always fail with ENOSYS. Some functions are actually named
35173 something starting with __ and the normal name is an alias. */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35175 choke me
35176 #else
35177 char (*f) () = $ac_func;
35178 #endif
35179 #ifdef __cplusplus
35181 #endif
35184 main ()
35186 return f != $ac_func;
35188 return 0;
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193 (eval $ac_link) 2>conftest.er1
35194 ac_status=$?
35195 grep -v '^ *+' conftest.er1 >conftest.err
35196 rm -f conftest.er1
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try='test -z "$ac_c_werror_flag"
35201 || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35213 eval "$as_ac_var=yes"
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35218 eval "$as_ac_var=no"
35220 rm -f conftest.err conftest.$ac_objext \
35221 conftest$ac_exeext conftest.$ac_ext
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35228 _ACEOF
35231 done
35241 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35242 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35243 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35244 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 else
35250 ac_ext=cc
35251 ac_cpp='$CXXCPP $CPPFLAGS'
35252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35256 cat >conftest.$ac_ext <<_ACEOF
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262 #include <math.h>
35264 main ()
35266 hypot(0, 0);
35268 return 0;
35270 _ACEOF
35271 rm -f conftest.$ac_objext
35272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35273 (eval $ac_compile) 2>conftest.er1
35274 ac_status=$?
35275 grep -v '^ *+' conftest.er1 >conftest.err
35276 rm -f conftest.er1
35277 cat conftest.err >&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); } &&
35280 { ac_try='test -z "$ac_cxx_werror_flag"
35281 || test ! -s conftest.err'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35284 ac_status=$?
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; } &&
35287 { ac_try='test -s conftest.$ac_objext'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35290 ac_status=$?
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; }; then
35293 glibcxx_cv_func_hypot_use=yes
35294 else
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35298 glibcxx_cv_func_hypot_use=no
35300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35301 ac_ext=c
35302 ac_cpp='$CPP $CPPFLAGS'
35303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35312 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35314 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35316 for ac_func in hypot
35318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35319 echo "$as_me:$LINENO: checking for $ac_func" >&5
35320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35321 if eval "test \"\${$as_ac_var+set}\" = set"; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324 if test x$gcc_no_link = xyes; then
35325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35327 { (exit 1); exit 1; }; }
35329 cat >conftest.$ac_ext <<_ACEOF
35330 /* confdefs.h. */
35331 _ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35337 #define $ac_func innocuous_$ac_func
35339 /* System header to define __stub macros and hopefully few prototypes,
35340 which can conflict with char $ac_func (); below.
35341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35342 <limits.h> exists even on freestanding compilers. */
35344 #ifdef __STDC__
35345 # include <limits.h>
35346 #else
35347 # include <assert.h>
35348 #endif
35350 #undef $ac_func
35352 /* Override any gcc2 internal prototype to avoid an error. */
35353 #ifdef __cplusplus
35354 extern "C"
35356 #endif
35357 /* We use char because int might match the return type of a gcc2
35358 builtin and then its argument prototype would still apply. */
35359 char $ac_func ();
35360 /* The GNU C library defines this for functions which it implements
35361 to always fail with ENOSYS. Some functions are actually named
35362 something starting with __ and the normal name is an alias. */
35363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35364 choke me
35365 #else
35366 char (*f) () = $ac_func;
35367 #endif
35368 #ifdef __cplusplus
35370 #endif
35373 main ()
35375 return f != $ac_func;
35377 return 0;
35379 _ACEOF
35380 rm -f conftest.$ac_objext conftest$ac_exeext
35381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35382 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35407 eval "$as_ac_var=no"
35409 rm -f conftest.err conftest.$ac_objext \
35410 conftest$ac_exeext conftest.$ac_ext
35412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35414 if test `eval echo '${'$as_ac_var'}'` = yes; then
35415 cat >>confdefs.h <<_ACEOF
35416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35417 _ACEOF
35420 done
35422 else
35424 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35425 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35426 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35427 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35429 else
35433 ac_ext=cc
35434 ac_cpp='$CXXCPP $CPPFLAGS'
35435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35439 cat >conftest.$ac_ext <<_ACEOF
35440 /* confdefs.h. */
35441 _ACEOF
35442 cat confdefs.h >>conftest.$ac_ext
35443 cat >>conftest.$ac_ext <<_ACEOF
35444 /* end confdefs.h. */
35445 #include <math.h>
35447 main ()
35449 _hypot(0, 0);
35451 return 0;
35453 _ACEOF
35454 rm -f conftest.$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try='test -z "$ac_cxx_werror_flag"
35464 || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35473 ac_status=$?
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 glibcxx_cv_func__hypot_use=yes
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35481 glibcxx_cv_func__hypot_use=no
35483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35484 ac_ext=c
35485 ac_cpp='$CPP $CPPFLAGS'
35486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35495 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35497 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35499 for ac_func in _hypot
35501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35502 echo "$as_me:$LINENO: checking for $ac_func" >&5
35503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35504 if eval "test \"\${$as_ac_var+set}\" = set"; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507 if test x$gcc_no_link = xyes; then
35508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35510 { (exit 1); exit 1; }; }
35512 cat >conftest.$ac_ext <<_ACEOF
35513 /* confdefs.h. */
35514 _ACEOF
35515 cat confdefs.h >>conftest.$ac_ext
35516 cat >>conftest.$ac_ext <<_ACEOF
35517 /* end confdefs.h. */
35518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35520 #define $ac_func innocuous_$ac_func
35522 /* System header to define __stub macros and hopefully few prototypes,
35523 which can conflict with char $ac_func (); below.
35524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35525 <limits.h> exists even on freestanding compilers. */
35527 #ifdef __STDC__
35528 # include <limits.h>
35529 #else
35530 # include <assert.h>
35531 #endif
35533 #undef $ac_func
35535 /* Override any gcc2 internal prototype to avoid an error. */
35536 #ifdef __cplusplus
35537 extern "C"
35539 #endif
35540 /* We use char because int might match the return type of a gcc2
35541 builtin and then its argument prototype would still apply. */
35542 char $ac_func ();
35543 /* The GNU C library defines this for functions which it implements
35544 to always fail with ENOSYS. Some functions are actually named
35545 something starting with __ and the normal name is an alias. */
35546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35547 choke me
35548 #else
35549 char (*f) () = $ac_func;
35550 #endif
35551 #ifdef __cplusplus
35553 #endif
35556 main ()
35558 return f != $ac_func;
35560 return 0;
35562 _ACEOF
35563 rm -f conftest.$ac_objext conftest$ac_exeext
35564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35565 (eval $ac_link) 2>conftest.er1
35566 ac_status=$?
35567 grep -v '^ *+' conftest.er1 >conftest.err
35568 rm -f conftest.er1
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } &&
35572 { ac_try='test -z "$ac_c_werror_flag"
35573 || test ! -s conftest.err'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35576 ac_status=$?
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; } &&
35579 { ac_try='test -s conftest$ac_exeext'
35580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35581 (eval $ac_try) 2>&5
35582 ac_status=$?
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; }; then
35585 eval "$as_ac_var=yes"
35586 else
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.$ac_ext >&5
35590 eval "$as_ac_var=no"
35592 rm -f conftest.err conftest.$ac_objext \
35593 conftest$ac_exeext conftest.$ac_ext
35595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35597 if test `eval echo '${'$as_ac_var'}'` = yes; then
35598 cat >>confdefs.h <<_ACEOF
35599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35600 _ACEOF
35603 done
35613 echo "$as_me:$LINENO: checking for float trig functions" >&5
35614 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35615 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35617 else
35621 ac_ext=cc
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35627 cat >conftest.$ac_ext <<_ACEOF
35628 /* confdefs.h. */
35629 _ACEOF
35630 cat confdefs.h >>conftest.$ac_ext
35631 cat >>conftest.$ac_ext <<_ACEOF
35632 /* end confdefs.h. */
35633 #include <math.h>
35635 main ()
35637 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35639 return 0;
35641 _ACEOF
35642 rm -f conftest.$ac_objext
35643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35644 (eval $ac_compile) 2>conftest.er1
35645 ac_status=$?
35646 grep -v '^ *+' conftest.er1 >conftest.err
35647 rm -f conftest.er1
35648 cat conftest.err >&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } &&
35651 { ac_try='test -z "$ac_cxx_werror_flag"
35652 || test ! -s conftest.err'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35655 ac_status=$?
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; } &&
35658 { ac_try='test -s conftest.$ac_objext'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35661 ac_status=$?
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; }; then
35664 glibcxx_cv_func_float_trig_use=yes
35665 else
35666 echo "$as_me: failed program was:" >&5
35667 sed 's/^/| /' conftest.$ac_ext >&5
35669 glibcxx_cv_func_float_trig_use=no
35671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35672 ac_ext=c
35673 ac_cpp='$CPP $CPPFLAGS'
35674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35681 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35682 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35692 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35695 echo "$as_me:$LINENO: checking for $ac_func" >&5
35696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35697 if eval "test \"\${$as_ac_var+set}\" = set"; then
35698 echo $ECHO_N "(cached) $ECHO_C" >&6
35699 else
35700 if test x$gcc_no_link = xyes; then
35701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35703 { (exit 1); exit 1; }; }
35705 cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h. */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35713 #define $ac_func innocuous_$ac_func
35715 /* System header to define __stub macros and hopefully few prototypes,
35716 which can conflict with char $ac_func (); below.
35717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35718 <limits.h> exists even on freestanding compilers. */
35720 #ifdef __STDC__
35721 # include <limits.h>
35722 #else
35723 # include <assert.h>
35724 #endif
35726 #undef $ac_func
35728 /* Override any gcc2 internal prototype to avoid an error. */
35729 #ifdef __cplusplus
35730 extern "C"
35732 #endif
35733 /* We use char because int might match the return type of a gcc2
35734 builtin and then its argument prototype would still apply. */
35735 char $ac_func ();
35736 /* The GNU C library defines this for functions which it implements
35737 to always fail with ENOSYS. Some functions are actually named
35738 something starting with __ and the normal name is an alias. */
35739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35740 choke me
35741 #else
35742 char (*f) () = $ac_func;
35743 #endif
35744 #ifdef __cplusplus
35746 #endif
35749 main ()
35751 return f != $ac_func;
35753 return 0;
35755 _ACEOF
35756 rm -f conftest.$ac_objext conftest$ac_exeext
35757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35758 (eval $ac_link) 2>conftest.er1
35759 ac_status=$?
35760 grep -v '^ *+' conftest.er1 >conftest.err
35761 rm -f conftest.er1
35762 cat conftest.err >&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); } &&
35765 { ac_try='test -z "$ac_c_werror_flag"
35766 || test ! -s conftest.err'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35769 ac_status=$?
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; } &&
35772 { ac_try='test -s conftest$ac_exeext'
35773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35774 (eval $ac_try) 2>&5
35775 ac_status=$?
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); }; }; then
35778 eval "$as_ac_var=yes"
35779 else
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.$ac_ext >&5
35783 eval "$as_ac_var=no"
35785 rm -f conftest.err conftest.$ac_objext \
35786 conftest$ac_exeext conftest.$ac_ext
35788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35790 if test `eval echo '${'$as_ac_var'}'` = yes; then
35791 cat >>confdefs.h <<_ACEOF
35792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35793 _ACEOF
35796 done
35798 else
35799 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35800 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35801 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35802 echo $ECHO_N "(cached) $ECHO_C" >&6
35803 else
35807 ac_ext=cc
35808 ac_cpp='$CXXCPP $CPPFLAGS'
35809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35813 cat >conftest.$ac_ext <<_ACEOF
35814 /* confdefs.h. */
35815 _ACEOF
35816 cat confdefs.h >>conftest.$ac_ext
35817 cat >>conftest.$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35819 #include <math.h>
35821 main ()
35823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35825 return 0;
35827 _ACEOF
35828 rm -f conftest.$ac_objext
35829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35830 (eval $ac_compile) 2>conftest.er1
35831 ac_status=$?
35832 grep -v '^ *+' conftest.er1 >conftest.err
35833 rm -f conftest.er1
35834 cat conftest.err >&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } &&
35837 { ac_try='test -z "$ac_cxx_werror_flag"
35838 || test ! -s conftest.err'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; } &&
35844 { ac_try='test -s conftest.$ac_objext'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35847 ac_status=$?
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; }; then
35850 glibcxx_cv_func__float_trig_use=yes
35851 else
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.$ac_ext >&5
35855 glibcxx_cv_func__float_trig_use=no
35857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35858 ac_ext=c
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35867 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35868 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35878 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35881 echo "$as_me:$LINENO: checking for $ac_func" >&5
35882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35883 if eval "test \"\${$as_ac_var+set}\" = set"; then
35884 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 else
35886 if test x$gcc_no_link = xyes; then
35887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35889 { (exit 1); exit 1; }; }
35891 cat >conftest.$ac_ext <<_ACEOF
35892 /* confdefs.h. */
35893 _ACEOF
35894 cat confdefs.h >>conftest.$ac_ext
35895 cat >>conftest.$ac_ext <<_ACEOF
35896 /* end confdefs.h. */
35897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35899 #define $ac_func innocuous_$ac_func
35901 /* System header to define __stub macros and hopefully few prototypes,
35902 which can conflict with char $ac_func (); below.
35903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35904 <limits.h> exists even on freestanding compilers. */
35906 #ifdef __STDC__
35907 # include <limits.h>
35908 #else
35909 # include <assert.h>
35910 #endif
35912 #undef $ac_func
35914 /* Override any gcc2 internal prototype to avoid an error. */
35915 #ifdef __cplusplus
35916 extern "C"
35918 #endif
35919 /* We use char because int might match the return type of a gcc2
35920 builtin and then its argument prototype would still apply. */
35921 char $ac_func ();
35922 /* The GNU C library defines this for functions which it implements
35923 to always fail with ENOSYS. Some functions are actually named
35924 something starting with __ and the normal name is an alias. */
35925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35926 choke me
35927 #else
35928 char (*f) () = $ac_func;
35929 #endif
35930 #ifdef __cplusplus
35932 #endif
35935 main ()
35937 return f != $ac_func;
35939 return 0;
35941 _ACEOF
35942 rm -f conftest.$ac_objext conftest$ac_exeext
35943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35944 (eval $ac_link) 2>conftest.er1
35945 ac_status=$?
35946 grep -v '^ *+' conftest.er1 >conftest.err
35947 rm -f conftest.er1
35948 cat conftest.err >&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } &&
35951 { ac_try='test -z "$ac_c_werror_flag"
35952 || test ! -s conftest.err'
35953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954 (eval $ac_try) 2>&5
35955 ac_status=$?
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); }; } &&
35958 { ac_try='test -s conftest$ac_exeext'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35961 ac_status=$?
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; }; then
35964 eval "$as_ac_var=yes"
35965 else
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35969 eval "$as_ac_var=no"
35971 rm -f conftest.err conftest.$ac_objext \
35972 conftest$ac_exeext conftest.$ac_ext
35974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35976 if test `eval echo '${'$as_ac_var'}'` = yes; then
35977 cat >>confdefs.h <<_ACEOF
35978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35979 _ACEOF
35982 done
36000 echo "$as_me:$LINENO: checking for float round functions" >&5
36001 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36002 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36003 echo $ECHO_N "(cached) $ECHO_C" >&6
36004 else
36008 ac_ext=cc
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36014 cat >conftest.$ac_ext <<_ACEOF
36015 /* confdefs.h. */
36016 _ACEOF
36017 cat confdefs.h >>conftest.$ac_ext
36018 cat >>conftest.$ac_ext <<_ACEOF
36019 /* end confdefs.h. */
36020 #include <math.h>
36022 main ()
36024 ceilf (0); floorf (0);
36026 return 0;
36028 _ACEOF
36029 rm -f conftest.$ac_objext
36030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36031 (eval $ac_compile) 2>conftest.er1
36032 ac_status=$?
36033 grep -v '^ *+' conftest.er1 >conftest.err
36034 rm -f conftest.er1
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } &&
36038 { ac_try='test -z "$ac_cxx_werror_flag"
36039 || test ! -s conftest.err'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36042 ac_status=$?
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; } &&
36045 { ac_try='test -s conftest.$ac_objext'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; }; then
36051 glibcxx_cv_func_float_round_use=yes
36052 else
36053 echo "$as_me: failed program was:" >&5
36054 sed 's/^/| /' conftest.$ac_ext >&5
36056 glibcxx_cv_func_float_round_use=no
36058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36059 ac_ext=c
36060 ac_cpp='$CPP $CPPFLAGS'
36061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36068 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36069 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36072 for ac_func in ceilf floorf
36074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36075 echo "$as_me:$LINENO: checking for $ac_func" >&5
36076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36077 if eval "test \"\${$as_ac_var+set}\" = set"; then
36078 echo $ECHO_N "(cached) $ECHO_C" >&6
36079 else
36080 if test x$gcc_no_link = xyes; then
36081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36083 { (exit 1); exit 1; }; }
36085 cat >conftest.$ac_ext <<_ACEOF
36086 /* confdefs.h. */
36087 _ACEOF
36088 cat confdefs.h >>conftest.$ac_ext
36089 cat >>conftest.$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36093 #define $ac_func innocuous_$ac_func
36095 /* System header to define __stub macros and hopefully few prototypes,
36096 which can conflict with char $ac_func (); below.
36097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36098 <limits.h> exists even on freestanding compilers. */
36100 #ifdef __STDC__
36101 # include <limits.h>
36102 #else
36103 # include <assert.h>
36104 #endif
36106 #undef $ac_func
36108 /* Override any gcc2 internal prototype to avoid an error. */
36109 #ifdef __cplusplus
36110 extern "C"
36112 #endif
36113 /* We use char because int might match the return type of a gcc2
36114 builtin and then its argument prototype would still apply. */
36115 char $ac_func ();
36116 /* The GNU C library defines this for functions which it implements
36117 to always fail with ENOSYS. Some functions are actually named
36118 something starting with __ and the normal name is an alias. */
36119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36120 choke me
36121 #else
36122 char (*f) () = $ac_func;
36123 #endif
36124 #ifdef __cplusplus
36126 #endif
36129 main ()
36131 return f != $ac_func;
36133 return 0;
36135 _ACEOF
36136 rm -f conftest.$ac_objext conftest$ac_exeext
36137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36138 (eval $ac_link) 2>conftest.er1
36139 ac_status=$?
36140 grep -v '^ *+' conftest.er1 >conftest.err
36141 rm -f conftest.er1
36142 cat conftest.err >&5
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); } &&
36145 { ac_try='test -z "$ac_c_werror_flag"
36146 || test ! -s conftest.err'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36149 ac_status=$?
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; } &&
36152 { ac_try='test -s conftest$ac_exeext'
36153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36154 (eval $ac_try) 2>&5
36155 ac_status=$?
36156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36157 (exit $ac_status); }; }; then
36158 eval "$as_ac_var=yes"
36159 else
36160 echo "$as_me: failed program was:" >&5
36161 sed 's/^/| /' conftest.$ac_ext >&5
36163 eval "$as_ac_var=no"
36165 rm -f conftest.err conftest.$ac_objext \
36166 conftest$ac_exeext conftest.$ac_ext
36168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36170 if test `eval echo '${'$as_ac_var'}'` = yes; then
36171 cat >>confdefs.h <<_ACEOF
36172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36173 _ACEOF
36176 done
36178 else
36179 echo "$as_me:$LINENO: checking for _float round functions" >&5
36180 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36181 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36183 else
36187 ac_ext=cc
36188 ac_cpp='$CXXCPP $CPPFLAGS'
36189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36193 cat >conftest.$ac_ext <<_ACEOF
36194 /* confdefs.h. */
36195 _ACEOF
36196 cat confdefs.h >>conftest.$ac_ext
36197 cat >>conftest.$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 #include <math.h>
36201 main ()
36203 _ceilf (0); _floorf (0);
36205 return 0;
36207 _ACEOF
36208 rm -f conftest.$ac_objext
36209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36210 (eval $ac_compile) 2>conftest.er1
36211 ac_status=$?
36212 grep -v '^ *+' conftest.er1 >conftest.err
36213 rm -f conftest.er1
36214 cat conftest.err >&5
36215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216 (exit $ac_status); } &&
36217 { ac_try='test -z "$ac_cxx_werror_flag"
36218 || test ! -s conftest.err'
36219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36220 (eval $ac_try) 2>&5
36221 ac_status=$?
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); }; } &&
36224 { ac_try='test -s conftest.$ac_objext'
36225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36226 (eval $ac_try) 2>&5
36227 ac_status=$?
36228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); }; }; then
36230 glibcxx_cv_func__float_round_use=yes
36231 else
36232 echo "$as_me: failed program was:" >&5
36233 sed 's/^/| /' conftest.$ac_ext >&5
36235 glibcxx_cv_func__float_round_use=no
36237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36238 ac_ext=c
36239 ac_cpp='$CPP $CPPFLAGS'
36240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36247 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36248 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36251 for ac_func in _ceilf _floorf
36253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36254 echo "$as_me:$LINENO: checking for $ac_func" >&5
36255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36256 if eval "test \"\${$as_ac_var+set}\" = set"; then
36257 echo $ECHO_N "(cached) $ECHO_C" >&6
36258 else
36259 if test x$gcc_no_link = xyes; then
36260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36262 { (exit 1); exit 1; }; }
36264 cat >conftest.$ac_ext <<_ACEOF
36265 /* confdefs.h. */
36266 _ACEOF
36267 cat confdefs.h >>conftest.$ac_ext
36268 cat >>conftest.$ac_ext <<_ACEOF
36269 /* end confdefs.h. */
36270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36272 #define $ac_func innocuous_$ac_func
36274 /* System header to define __stub macros and hopefully few prototypes,
36275 which can conflict with char $ac_func (); below.
36276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36277 <limits.h> exists even on freestanding compilers. */
36279 #ifdef __STDC__
36280 # include <limits.h>
36281 #else
36282 # include <assert.h>
36283 #endif
36285 #undef $ac_func
36287 /* Override any gcc2 internal prototype to avoid an error. */
36288 #ifdef __cplusplus
36289 extern "C"
36291 #endif
36292 /* We use char because int might match the return type of a gcc2
36293 builtin and then its argument prototype would still apply. */
36294 char $ac_func ();
36295 /* The GNU C library defines this for functions which it implements
36296 to always fail with ENOSYS. Some functions are actually named
36297 something starting with __ and the normal name is an alias. */
36298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36299 choke me
36300 #else
36301 char (*f) () = $ac_func;
36302 #endif
36303 #ifdef __cplusplus
36305 #endif
36308 main ()
36310 return f != $ac_func;
36312 return 0;
36314 _ACEOF
36315 rm -f conftest.$ac_objext conftest$ac_exeext
36316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36317 (eval $ac_link) 2>conftest.er1
36318 ac_status=$?
36319 grep -v '^ *+' conftest.er1 >conftest.err
36320 rm -f conftest.er1
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } &&
36324 { ac_try='test -z "$ac_c_werror_flag"
36325 || test ! -s conftest.err'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36328 ac_status=$?
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; } &&
36331 { ac_try='test -s conftest$ac_exeext'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36334 ac_status=$?
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; }; then
36337 eval "$as_ac_var=yes"
36338 else
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.$ac_ext >&5
36342 eval "$as_ac_var=no"
36344 rm -f conftest.err conftest.$ac_objext \
36345 conftest$ac_exeext conftest.$ac_ext
36347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36349 if test `eval echo '${'$as_ac_var'}'` = yes; then
36350 cat >>confdefs.h <<_ACEOF
36351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36352 _ACEOF
36355 done
36367 echo "$as_me:$LINENO: checking for expf declaration" >&5
36368 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36369 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36370 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36372 else
36376 ac_ext=cc
36377 ac_cpp='$CXXCPP $CPPFLAGS'
36378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382 cat >conftest.$ac_ext <<_ACEOF
36383 /* confdefs.h. */
36384 _ACEOF
36385 cat confdefs.h >>conftest.$ac_ext
36386 cat >>conftest.$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388 #include <math.h>
36389 #ifdef HAVE_IEEEFP_H
36390 #include <ieeefp.h>
36391 #endif
36394 main ()
36396 expf(0);
36398 return 0;
36400 _ACEOF
36401 rm -f conftest.$ac_objext
36402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36403 (eval $ac_compile) 2>conftest.er1
36404 ac_status=$?
36405 grep -v '^ *+' conftest.er1 >conftest.err
36406 rm -f conftest.er1
36407 cat conftest.err >&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); } &&
36410 { ac_try='test -z "$ac_cxx_werror_flag"
36411 || test ! -s conftest.err'
36412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413 (eval $ac_try) 2>&5
36414 ac_status=$?
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); }; } &&
36417 { ac_try='test -s conftest.$ac_objext'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36420 ac_status=$?
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; }; then
36423 glibcxx_cv_func_expf_use=yes
36424 else
36425 echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36428 glibcxx_cv_func_expf_use=no
36430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36442 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36444 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36446 for ac_func in expf
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36451 if eval "test \"\${$as_ac_var+set}\" = set"; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454 if test x$gcc_no_link = xyes; then
36455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36457 { (exit 1); exit 1; }; }
36459 cat >conftest.$ac_ext <<_ACEOF
36460 /* confdefs.h. */
36461 _ACEOF
36462 cat confdefs.h >>conftest.$ac_ext
36463 cat >>conftest.$ac_ext <<_ACEOF
36464 /* end confdefs.h. */
36465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36467 #define $ac_func innocuous_$ac_func
36469 /* System header to define __stub macros and hopefully few prototypes,
36470 which can conflict with char $ac_func (); below.
36471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36472 <limits.h> exists even on freestanding compilers. */
36474 #ifdef __STDC__
36475 # include <limits.h>
36476 #else
36477 # include <assert.h>
36478 #endif
36480 #undef $ac_func
36482 /* Override any gcc2 internal prototype to avoid an error. */
36483 #ifdef __cplusplus
36484 extern "C"
36486 #endif
36487 /* We use char because int might match the return type of a gcc2
36488 builtin and then its argument prototype would still apply. */
36489 char $ac_func ();
36490 /* The GNU C library defines this for functions which it implements
36491 to always fail with ENOSYS. Some functions are actually named
36492 something starting with __ and the normal name is an alias. */
36493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36494 choke me
36495 #else
36496 char (*f) () = $ac_func;
36497 #endif
36498 #ifdef __cplusplus
36500 #endif
36503 main ()
36505 return f != $ac_func;
36507 return 0;
36509 _ACEOF
36510 rm -f conftest.$ac_objext conftest$ac_exeext
36511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36512 (eval $ac_link) 2>conftest.er1
36513 ac_status=$?
36514 grep -v '^ *+' conftest.er1 >conftest.err
36515 rm -f conftest.er1
36516 cat conftest.err >&5
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); } &&
36519 { ac_try='test -z "$ac_c_werror_flag"
36520 || test ! -s conftest.err'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; } &&
36526 { ac_try='test -s conftest$ac_exeext'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; }; then
36532 eval "$as_ac_var=yes"
36533 else
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36537 eval "$as_ac_var=no"
36539 rm -f conftest.err conftest.$ac_objext \
36540 conftest$ac_exeext conftest.$ac_ext
36542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36544 if test `eval echo '${'$as_ac_var'}'` = yes; then
36545 cat >>confdefs.h <<_ACEOF
36546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36547 _ACEOF
36550 done
36552 else
36554 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36555 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36556 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36557 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36559 else
36563 ac_ext=cc
36564 ac_cpp='$CXXCPP $CPPFLAGS'
36565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36569 cat >conftest.$ac_ext <<_ACEOF
36570 /* confdefs.h. */
36571 _ACEOF
36572 cat confdefs.h >>conftest.$ac_ext
36573 cat >>conftest.$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 #include <math.h>
36576 #ifdef HAVE_IEEEFP_H
36577 #include <ieeefp.h>
36578 #endif
36581 main ()
36583 _expf(0);
36585 return 0;
36587 _ACEOF
36588 rm -f conftest.$ac_objext
36589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36590 (eval $ac_compile) 2>conftest.er1
36591 ac_status=$?
36592 grep -v '^ *+' conftest.er1 >conftest.err
36593 rm -f conftest.er1
36594 cat conftest.err >&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); } &&
36597 { ac_try='test -z "$ac_cxx_werror_flag"
36598 || test ! -s conftest.err'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36601 ac_status=$?
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; } &&
36604 { ac_try='test -s conftest.$ac_objext'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36607 ac_status=$?
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; }; then
36610 glibcxx_cv_func__expf_use=yes
36611 else
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.$ac_ext >&5
36615 glibcxx_cv_func__expf_use=no
36617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36618 ac_ext=c
36619 ac_cpp='$CPP $CPPFLAGS'
36620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36629 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36631 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36633 for ac_func in _expf
36635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 echo "$as_me:$LINENO: checking for $ac_func" >&5
36637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36638 if eval "test \"\${$as_ac_var+set}\" = set"; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36641 if test x$gcc_no_link = xyes; then
36642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36644 { (exit 1); exit 1; }; }
36646 cat >conftest.$ac_ext <<_ACEOF
36647 /* confdefs.h. */
36648 _ACEOF
36649 cat confdefs.h >>conftest.$ac_ext
36650 cat >>conftest.$ac_ext <<_ACEOF
36651 /* end confdefs.h. */
36652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36654 #define $ac_func innocuous_$ac_func
36656 /* System header to define __stub macros and hopefully few prototypes,
36657 which can conflict with char $ac_func (); below.
36658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36659 <limits.h> exists even on freestanding compilers. */
36661 #ifdef __STDC__
36662 # include <limits.h>
36663 #else
36664 # include <assert.h>
36665 #endif
36667 #undef $ac_func
36669 /* Override any gcc2 internal prototype to avoid an error. */
36670 #ifdef __cplusplus
36671 extern "C"
36673 #endif
36674 /* We use char because int might match the return type of a gcc2
36675 builtin and then its argument prototype would still apply. */
36676 char $ac_func ();
36677 /* The GNU C library defines this for functions which it implements
36678 to always fail with ENOSYS. Some functions are actually named
36679 something starting with __ and the normal name is an alias. */
36680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36681 choke me
36682 #else
36683 char (*f) () = $ac_func;
36684 #endif
36685 #ifdef __cplusplus
36687 #endif
36690 main ()
36692 return f != $ac_func;
36694 return 0;
36696 _ACEOF
36697 rm -f conftest.$ac_objext conftest$ac_exeext
36698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36699 (eval $ac_link) 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } &&
36706 { ac_try='test -z "$ac_c_werror_flag"
36707 || test ! -s conftest.err'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; } &&
36713 { ac_try='test -s conftest$ac_exeext'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36716 ac_status=$?
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; }; then
36719 eval "$as_ac_var=yes"
36720 else
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.$ac_ext >&5
36724 eval "$as_ac_var=no"
36726 rm -f conftest.err conftest.$ac_objext \
36727 conftest$ac_exeext conftest.$ac_ext
36729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36731 if test `eval echo '${'$as_ac_var'}'` = yes; then
36732 cat >>confdefs.h <<_ACEOF
36733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 _ACEOF
36737 done
36747 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36748 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36749 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36750 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36751 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 else
36756 ac_ext=cc
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768 #include <math.h>
36769 #ifdef HAVE_IEEEFP_H
36770 #include <ieeefp.h>
36771 #endif
36774 main ()
36776 isnanf(0);
36778 return 0;
36780 _ACEOF
36781 rm -f conftest.$ac_objext
36782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36783 (eval $ac_compile) 2>conftest.er1
36784 ac_status=$?
36785 grep -v '^ *+' conftest.er1 >conftest.err
36786 rm -f conftest.er1
36787 cat conftest.err >&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } &&
36790 { ac_try='test -z "$ac_cxx_werror_flag"
36791 || test ! -s conftest.err'
36792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793 (eval $ac_try) 2>&5
36794 ac_status=$?
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); }; } &&
36797 { ac_try='test -s conftest.$ac_objext'
36798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799 (eval $ac_try) 2>&5
36800 ac_status=$?
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); }; }; then
36803 glibcxx_cv_func_isnanf_use=yes
36804 else
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36808 glibcxx_cv_func_isnanf_use=no
36810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36811 ac_ext=c
36812 ac_cpp='$CPP $CPPFLAGS'
36813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36822 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36824 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36826 for ac_func in isnanf
36828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36829 echo "$as_me:$LINENO: checking for $ac_func" >&5
36830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36831 if eval "test \"\${$as_ac_var+set}\" = set"; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834 if test x$gcc_no_link = xyes; then
36835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36837 { (exit 1); exit 1; }; }
36839 cat >conftest.$ac_ext <<_ACEOF
36840 /* confdefs.h. */
36841 _ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36847 #define $ac_func innocuous_$ac_func
36849 /* System header to define __stub macros and hopefully few prototypes,
36850 which can conflict with char $ac_func (); below.
36851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36852 <limits.h> exists even on freestanding compilers. */
36854 #ifdef __STDC__
36855 # include <limits.h>
36856 #else
36857 # include <assert.h>
36858 #endif
36860 #undef $ac_func
36862 /* Override any gcc2 internal prototype to avoid an error. */
36863 #ifdef __cplusplus
36864 extern "C"
36866 #endif
36867 /* We use char because int might match the return type of a gcc2
36868 builtin and then its argument prototype would still apply. */
36869 char $ac_func ();
36870 /* The GNU C library defines this for functions which it implements
36871 to always fail with ENOSYS. Some functions are actually named
36872 something starting with __ and the normal name is an alias. */
36873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36874 choke me
36875 #else
36876 char (*f) () = $ac_func;
36877 #endif
36878 #ifdef __cplusplus
36880 #endif
36883 main ()
36885 return f != $ac_func;
36887 return 0;
36889 _ACEOF
36890 rm -f conftest.$ac_objext conftest$ac_exeext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36892 (eval $ac_link) 2>conftest.er1
36893 ac_status=$?
36894 grep -v '^ *+' conftest.er1 >conftest.err
36895 rm -f conftest.er1
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try='test -z "$ac_c_werror_flag"
36900 || test ! -s conftest.err'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36903 ac_status=$?
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; } &&
36906 { ac_try='test -s conftest$ac_exeext'
36907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36908 (eval $ac_try) 2>&5
36909 ac_status=$?
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); }; }; then
36912 eval "$as_ac_var=yes"
36913 else
36914 echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36917 eval "$as_ac_var=no"
36919 rm -f conftest.err conftest.$ac_objext \
36920 conftest$ac_exeext conftest.$ac_ext
36922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36927 _ACEOF
36930 done
36932 else
36934 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36935 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36936 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36937 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36943 ac_ext=cc
36944 ac_cpp='$CXXCPP $CPPFLAGS'
36945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36949 cat >conftest.$ac_ext <<_ACEOF
36950 /* confdefs.h. */
36951 _ACEOF
36952 cat confdefs.h >>conftest.$ac_ext
36953 cat >>conftest.$ac_ext <<_ACEOF
36954 /* end confdefs.h. */
36955 #include <math.h>
36956 #ifdef HAVE_IEEEFP_H
36957 #include <ieeefp.h>
36958 #endif
36961 main ()
36963 _isnanf(0);
36965 return 0;
36967 _ACEOF
36968 rm -f conftest.$ac_objext
36969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36970 (eval $ac_compile) 2>conftest.er1
36971 ac_status=$?
36972 grep -v '^ *+' conftest.er1 >conftest.err
36973 rm -f conftest.er1
36974 cat conftest.err >&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } &&
36977 { ac_try='test -z "$ac_cxx_werror_flag"
36978 || test ! -s conftest.err'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36981 ac_status=$?
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; } &&
36984 { ac_try='test -s conftest.$ac_objext'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36987 ac_status=$?
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; }; then
36990 glibcxx_cv_func__isnanf_use=yes
36991 else
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36995 glibcxx_cv_func__isnanf_use=no
36997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36998 ac_ext=c
36999 ac_cpp='$CPP $CPPFLAGS'
37000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37009 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37011 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37013 for ac_func in _isnanf
37015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37016 echo "$as_me:$LINENO: checking for $ac_func" >&5
37017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37018 if eval "test \"\${$as_ac_var+set}\" = set"; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37021 if test x$gcc_no_link = xyes; then
37022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37024 { (exit 1); exit 1; }; }
37026 cat >conftest.$ac_ext <<_ACEOF
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37034 #define $ac_func innocuous_$ac_func
37036 /* System header to define __stub macros and hopefully few prototypes,
37037 which can conflict with char $ac_func (); below.
37038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37039 <limits.h> exists even on freestanding compilers. */
37041 #ifdef __STDC__
37042 # include <limits.h>
37043 #else
37044 # include <assert.h>
37045 #endif
37047 #undef $ac_func
37049 /* Override any gcc2 internal prototype to avoid an error. */
37050 #ifdef __cplusplus
37051 extern "C"
37053 #endif
37054 /* We use char because int might match the return type of a gcc2
37055 builtin and then its argument prototype would still apply. */
37056 char $ac_func ();
37057 /* The GNU C library defines this for functions which it implements
37058 to always fail with ENOSYS. Some functions are actually named
37059 something starting with __ and the normal name is an alias. */
37060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37061 choke me
37062 #else
37063 char (*f) () = $ac_func;
37064 #endif
37065 #ifdef __cplusplus
37067 #endif
37070 main ()
37072 return f != $ac_func;
37074 return 0;
37076 _ACEOF
37077 rm -f conftest.$ac_objext conftest$ac_exeext
37078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37079 (eval $ac_link) 2>conftest.er1
37080 ac_status=$?
37081 grep -v '^ *+' conftest.er1 >conftest.err
37082 rm -f conftest.er1
37083 cat conftest.err >&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); } &&
37086 { ac_try='test -z "$ac_c_werror_flag"
37087 || test ! -s conftest.err'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try='test -s conftest$ac_exeext'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; }; then
37099 eval "$as_ac_var=yes"
37100 else
37101 echo "$as_me: failed program was:" >&5
37102 sed 's/^/| /' conftest.$ac_ext >&5
37104 eval "$as_ac_var=no"
37106 rm -f conftest.err conftest.$ac_objext \
37107 conftest$ac_exeext conftest.$ac_ext
37109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37111 if test `eval echo '${'$as_ac_var'}'` = yes; then
37112 cat >>confdefs.h <<_ACEOF
37113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37114 _ACEOF
37117 done
37127 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37128 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37129 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37130 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37136 ac_ext=cc
37137 ac_cpp='$CXXCPP $CPPFLAGS'
37138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37142 cat >conftest.$ac_ext <<_ACEOF
37143 /* confdefs.h. */
37144 _ACEOF
37145 cat confdefs.h >>conftest.$ac_ext
37146 cat >>conftest.$ac_ext <<_ACEOF
37147 /* end confdefs.h. */
37148 #include <math.h>
37149 #ifdef HAVE_IEEEFP_H
37150 #include <ieeefp.h>
37151 #endif
37154 main ()
37156 isinff(0);
37158 return 0;
37160 _ACEOF
37161 rm -f conftest.$ac_objext
37162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37163 (eval $ac_compile) 2>conftest.er1
37164 ac_status=$?
37165 grep -v '^ *+' conftest.er1 >conftest.err
37166 rm -f conftest.er1
37167 cat conftest.err >&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } &&
37170 { ac_try='test -z "$ac_cxx_werror_flag"
37171 || test ! -s conftest.err'
37172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37173 (eval $ac_try) 2>&5
37174 ac_status=$?
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); }; } &&
37177 { ac_try='test -s conftest.$ac_objext'
37178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37179 (eval $ac_try) 2>&5
37180 ac_status=$?
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); }; }; then
37183 glibcxx_cv_func_isinff_use=yes
37184 else
37185 echo "$as_me: failed program was:" >&5
37186 sed 's/^/| /' conftest.$ac_ext >&5
37188 glibcxx_cv_func_isinff_use=no
37190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37191 ac_ext=c
37192 ac_cpp='$CPP $CPPFLAGS'
37193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37202 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37204 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37206 for ac_func in isinff
37208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37209 echo "$as_me:$LINENO: checking for $ac_func" >&5
37210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37211 if eval "test \"\${$as_ac_var+set}\" = set"; then
37212 echo $ECHO_N "(cached) $ECHO_C" >&6
37213 else
37214 if test x$gcc_no_link = xyes; then
37215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37217 { (exit 1); exit 1; }; }
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37234 #ifdef __STDC__
37235 # include <limits.h>
37236 #else
37237 # include <assert.h>
37238 #endif
37240 #undef $ac_func
37242 /* Override any gcc2 internal prototype to avoid an error. */
37243 #ifdef __cplusplus
37244 extern "C"
37246 #endif
37247 /* We use char because int might match the return type of a gcc2
37248 builtin and then its argument prototype would still apply. */
37249 char $ac_func ();
37250 /* The GNU C library defines this for functions which it implements
37251 to always fail with ENOSYS. Some functions are actually named
37252 something starting with __ and the normal name is an alias. */
37253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37254 choke me
37255 #else
37256 char (*f) () = $ac_func;
37257 #endif
37258 #ifdef __cplusplus
37260 #endif
37263 main ()
37265 return f != $ac_func;
37267 return 0;
37269 _ACEOF
37270 rm -f conftest.$ac_objext conftest$ac_exeext
37271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37272 (eval $ac_link) 2>conftest.er1
37273 ac_status=$?
37274 grep -v '^ *+' conftest.er1 >conftest.err
37275 rm -f conftest.er1
37276 cat conftest.err >&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } &&
37279 { ac_try='test -z "$ac_c_werror_flag"
37280 || test ! -s conftest.err'
37281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37282 (eval $ac_try) 2>&5
37283 ac_status=$?
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); }; } &&
37286 { ac_try='test -s conftest$ac_exeext'
37287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37288 (eval $ac_try) 2>&5
37289 ac_status=$?
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); }; }; then
37292 eval "$as_ac_var=yes"
37293 else
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.$ac_ext >&5
37297 eval "$as_ac_var=no"
37299 rm -f conftest.err conftest.$ac_objext \
37300 conftest$ac_exeext conftest.$ac_ext
37302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37304 if test `eval echo '${'$as_ac_var'}'` = yes; then
37305 cat >>confdefs.h <<_ACEOF
37306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37307 _ACEOF
37310 done
37312 else
37314 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37315 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37316 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37317 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37318 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 else
37323 ac_ext=cc
37324 ac_cpp='$CXXCPP $CPPFLAGS'
37325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37329 cat >conftest.$ac_ext <<_ACEOF
37330 /* confdefs.h. */
37331 _ACEOF
37332 cat confdefs.h >>conftest.$ac_ext
37333 cat >>conftest.$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37335 #include <math.h>
37336 #ifdef HAVE_IEEEFP_H
37337 #include <ieeefp.h>
37338 #endif
37341 main ()
37343 _isinff(0);
37345 return 0;
37347 _ACEOF
37348 rm -f conftest.$ac_objext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37350 (eval $ac_compile) 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try='test -z "$ac_cxx_werror_flag"
37358 || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest.$ac_objext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 glibcxx_cv_func__isinff_use=yes
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37375 glibcxx_cv_func__isinff_use=no
37377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37378 ac_ext=c
37379 ac_cpp='$CPP $CPPFLAGS'
37380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37389 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37393 for ac_func in _isinff
37395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37396 echo "$as_me:$LINENO: checking for $ac_func" >&5
37397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37398 if eval "test \"\${$as_ac_var+set}\" = set"; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37401 if test x$gcc_no_link = xyes; then
37402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37404 { (exit 1); exit 1; }; }
37406 cat >conftest.$ac_ext <<_ACEOF
37407 /* confdefs.h. */
37408 _ACEOF
37409 cat confdefs.h >>conftest.$ac_ext
37410 cat >>conftest.$ac_ext <<_ACEOF
37411 /* end confdefs.h. */
37412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37414 #define $ac_func innocuous_$ac_func
37416 /* System header to define __stub macros and hopefully few prototypes,
37417 which can conflict with char $ac_func (); below.
37418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37419 <limits.h> exists even on freestanding compilers. */
37421 #ifdef __STDC__
37422 # include <limits.h>
37423 #else
37424 # include <assert.h>
37425 #endif
37427 #undef $ac_func
37429 /* Override any gcc2 internal prototype to avoid an error. */
37430 #ifdef __cplusplus
37431 extern "C"
37433 #endif
37434 /* We use char because int might match the return type of a gcc2
37435 builtin and then its argument prototype would still apply. */
37436 char $ac_func ();
37437 /* The GNU C library defines this for functions which it implements
37438 to always fail with ENOSYS. Some functions are actually named
37439 something starting with __ and the normal name is an alias. */
37440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37441 choke me
37442 #else
37443 char (*f) () = $ac_func;
37444 #endif
37445 #ifdef __cplusplus
37447 #endif
37450 main ()
37452 return f != $ac_func;
37454 return 0;
37456 _ACEOF
37457 rm -f conftest.$ac_objext conftest$ac_exeext
37458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37459 (eval $ac_link) 2>conftest.er1
37460 ac_status=$?
37461 grep -v '^ *+' conftest.er1 >conftest.err
37462 rm -f conftest.er1
37463 cat conftest.err >&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); } &&
37466 { ac_try='test -z "$ac_c_werror_flag"
37467 || test ! -s conftest.err'
37468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469 (eval $ac_try) 2>&5
37470 ac_status=$?
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); }; } &&
37473 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37479 eval "$as_ac_var=yes"
37480 else
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.$ac_ext >&5
37484 eval "$as_ac_var=no"
37486 rm -f conftest.err conftest.$ac_objext \
37487 conftest$ac_exeext conftest.$ac_ext
37489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37491 if test `eval echo '${'$as_ac_var'}'` = yes; then
37492 cat >>confdefs.h <<_ACEOF
37493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37494 _ACEOF
37497 done
37507 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37508 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37509 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37510 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37516 ac_ext=cc
37517 ac_cpp='$CXXCPP $CPPFLAGS'
37518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522 cat >conftest.$ac_ext <<_ACEOF
37523 /* confdefs.h. */
37524 _ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37528 #include <math.h>
37530 main ()
37532 atan2f(0, 0);
37534 return 0;
37536 _ACEOF
37537 rm -f conftest.$ac_objext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37539 (eval $ac_compile) 2>conftest.er1
37540 ac_status=$?
37541 grep -v '^ *+' conftest.er1 >conftest.err
37542 rm -f conftest.er1
37543 cat conftest.err >&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try='test -z "$ac_cxx_werror_flag"
37547 || test ! -s conftest.err'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; } &&
37553 { ac_try='test -s conftest.$ac_objext'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; }; then
37559 glibcxx_cv_func_atan2f_use=yes
37560 else
37561 echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37564 glibcxx_cv_func_atan2f_use=no
37566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37578 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37580 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37582 for ac_func in atan2f
37584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37585 echo "$as_me:$LINENO: checking for $ac_func" >&5
37586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37587 if eval "test \"\${$as_ac_var+set}\" = set"; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590 if test x$gcc_no_link = xyes; then
37591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37593 { (exit 1); exit 1; }; }
37595 cat >conftest.$ac_ext <<_ACEOF
37596 /* confdefs.h. */
37597 _ACEOF
37598 cat confdefs.h >>conftest.$ac_ext
37599 cat >>conftest.$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37603 #define $ac_func innocuous_$ac_func
37605 /* System header to define __stub macros and hopefully few prototypes,
37606 which can conflict with char $ac_func (); below.
37607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37608 <limits.h> exists even on freestanding compilers. */
37610 #ifdef __STDC__
37611 # include <limits.h>
37612 #else
37613 # include <assert.h>
37614 #endif
37616 #undef $ac_func
37618 /* Override any gcc2 internal prototype to avoid an error. */
37619 #ifdef __cplusplus
37620 extern "C"
37622 #endif
37623 /* We use char because int might match the return type of a gcc2
37624 builtin and then its argument prototype would still apply. */
37625 char $ac_func ();
37626 /* The GNU C library defines this for functions which it implements
37627 to always fail with ENOSYS. Some functions are actually named
37628 something starting with __ and the normal name is an alias. */
37629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37630 choke me
37631 #else
37632 char (*f) () = $ac_func;
37633 #endif
37634 #ifdef __cplusplus
37636 #endif
37639 main ()
37641 return f != $ac_func;
37643 return 0;
37645 _ACEOF
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37648 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37673 eval "$as_ac_var=no"
37675 rm -f conftest.err conftest.$ac_objext \
37676 conftest$ac_exeext conftest.$ac_ext
37678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37680 if test `eval echo '${'$as_ac_var'}'` = yes; then
37681 cat >>confdefs.h <<_ACEOF
37682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37683 _ACEOF
37686 done
37688 else
37690 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37691 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37692 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37693 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37699 ac_ext=cc
37700 ac_cpp='$CXXCPP $CPPFLAGS'
37701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705 cat >conftest.$ac_ext <<_ACEOF
37706 /* confdefs.h. */
37707 _ACEOF
37708 cat confdefs.h >>conftest.$ac_ext
37709 cat >>conftest.$ac_ext <<_ACEOF
37710 /* end confdefs.h. */
37711 #include <math.h>
37713 main ()
37715 _atan2f(0, 0);
37717 return 0;
37719 _ACEOF
37720 rm -f conftest.$ac_objext
37721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37722 (eval $ac_compile) 2>conftest.er1
37723 ac_status=$?
37724 grep -v '^ *+' conftest.er1 >conftest.err
37725 rm -f conftest.er1
37726 cat conftest.err >&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); } &&
37729 { ac_try='test -z "$ac_cxx_werror_flag"
37730 || test ! -s conftest.err'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37733 ac_status=$?
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; } &&
37736 { ac_try='test -s conftest.$ac_objext'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; }; then
37742 glibcxx_cv_func__atan2f_use=yes
37743 else
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.$ac_ext >&5
37747 glibcxx_cv_func__atan2f_use=no
37749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37761 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37763 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37765 for ac_func in _atan2f
37767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37768 echo "$as_me:$LINENO: checking for $ac_func" >&5
37769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37770 if eval "test \"\${$as_ac_var+set}\" = set"; then
37771 echo $ECHO_N "(cached) $ECHO_C" >&6
37772 else
37773 if test x$gcc_no_link = xyes; then
37774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37776 { (exit 1); exit 1; }; }
37778 cat >conftest.$ac_ext <<_ACEOF
37779 /* confdefs.h. */
37780 _ACEOF
37781 cat confdefs.h >>conftest.$ac_ext
37782 cat >>conftest.$ac_ext <<_ACEOF
37783 /* end confdefs.h. */
37784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37786 #define $ac_func innocuous_$ac_func
37788 /* System header to define __stub macros and hopefully few prototypes,
37789 which can conflict with char $ac_func (); below.
37790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37791 <limits.h> exists even on freestanding compilers. */
37793 #ifdef __STDC__
37794 # include <limits.h>
37795 #else
37796 # include <assert.h>
37797 #endif
37799 #undef $ac_func
37801 /* Override any gcc2 internal prototype to avoid an error. */
37802 #ifdef __cplusplus
37803 extern "C"
37805 #endif
37806 /* We use char because int might match the return type of a gcc2
37807 builtin and then its argument prototype would still apply. */
37808 char $ac_func ();
37809 /* The GNU C library defines this for functions which it implements
37810 to always fail with ENOSYS. Some functions are actually named
37811 something starting with __ and the normal name is an alias. */
37812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37813 choke me
37814 #else
37815 char (*f) () = $ac_func;
37816 #endif
37817 #ifdef __cplusplus
37819 #endif
37822 main ()
37824 return f != $ac_func;
37826 return 0;
37828 _ACEOF
37829 rm -f conftest.$ac_objext conftest$ac_exeext
37830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37831 (eval $ac_link) 2>conftest.er1
37832 ac_status=$?
37833 grep -v '^ *+' conftest.er1 >conftest.err
37834 rm -f conftest.er1
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } &&
37838 { ac_try='test -z "$ac_c_werror_flag"
37839 || test ! -s conftest.err'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37842 ac_status=$?
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; } &&
37845 { ac_try='test -s conftest$ac_exeext'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; }; then
37851 eval "$as_ac_var=yes"
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37856 eval "$as_ac_var=no"
37858 rm -f conftest.err conftest.$ac_objext \
37859 conftest$ac_exeext conftest.$ac_ext
37861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37863 if test `eval echo '${'$as_ac_var'}'` = yes; then
37864 cat >>confdefs.h <<_ACEOF
37865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37866 _ACEOF
37869 done
37879 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37880 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37881 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37882 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37883 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 else
37888 ac_ext=cc
37889 ac_cpp='$CXXCPP $CPPFLAGS'
37890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37894 cat >conftest.$ac_ext <<_ACEOF
37895 /* confdefs.h. */
37896 _ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900 #include <math.h>
37901 #ifdef HAVE_IEEEFP_H
37902 #include <ieeefp.h>
37903 #endif
37906 main ()
37908 fabsf(0);
37910 return 0;
37912 _ACEOF
37913 rm -f conftest.$ac_objext
37914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37915 (eval $ac_compile) 2>conftest.er1
37916 ac_status=$?
37917 grep -v '^ *+' conftest.er1 >conftest.err
37918 rm -f conftest.er1
37919 cat conftest.err >&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } &&
37922 { ac_try='test -z "$ac_cxx_werror_flag"
37923 || test ! -s conftest.err'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37926 ac_status=$?
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; } &&
37929 { ac_try='test -s conftest.$ac_objext'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; }; then
37935 glibcxx_cv_func_fabsf_use=yes
37936 else
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37940 glibcxx_cv_func_fabsf_use=no
37942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37943 ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37954 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37956 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37958 for ac_func in fabsf
37960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37961 echo "$as_me:$LINENO: checking for $ac_func" >&5
37962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37963 if eval "test \"\${$as_ac_var+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 else
37966 if test x$gcc_no_link = xyes; then
37967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37969 { (exit 1); exit 1; }; }
37971 cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h. */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37979 #define $ac_func innocuous_$ac_func
37981 /* System header to define __stub macros and hopefully few prototypes,
37982 which can conflict with char $ac_func (); below.
37983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37984 <limits.h> exists even on freestanding compilers. */
37986 #ifdef __STDC__
37987 # include <limits.h>
37988 #else
37989 # include <assert.h>
37990 #endif
37992 #undef $ac_func
37994 /* Override any gcc2 internal prototype to avoid an error. */
37995 #ifdef __cplusplus
37996 extern "C"
37998 #endif
37999 /* We use char because int might match the return type of a gcc2
38000 builtin and then its argument prototype would still apply. */
38001 char $ac_func ();
38002 /* The GNU C library defines this for functions which it implements
38003 to always fail with ENOSYS. Some functions are actually named
38004 something starting with __ and the normal name is an alias. */
38005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38006 choke me
38007 #else
38008 char (*f) () = $ac_func;
38009 #endif
38010 #ifdef __cplusplus
38012 #endif
38015 main ()
38017 return f != $ac_func;
38019 return 0;
38021 _ACEOF
38022 rm -f conftest.$ac_objext conftest$ac_exeext
38023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38024 (eval $ac_link) 2>conftest.er1
38025 ac_status=$?
38026 grep -v '^ *+' conftest.er1 >conftest.err
38027 rm -f conftest.er1
38028 cat conftest.err >&5
38029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38030 (exit $ac_status); } &&
38031 { ac_try='test -z "$ac_c_werror_flag"
38032 || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 eval "$as_ac_var=yes"
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38049 eval "$as_ac_var=no"
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38059 _ACEOF
38062 done
38064 else
38066 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38067 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38068 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38069 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38075 ac_ext=cc
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 #include <math.h>
38088 #ifdef HAVE_IEEEFP_H
38089 #include <ieeefp.h>
38090 #endif
38093 main ()
38095 _fabsf(0);
38097 return 0;
38099 _ACEOF
38100 rm -f conftest.$ac_objext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38102 (eval $ac_compile) 2>conftest.er1
38103 ac_status=$?
38104 grep -v '^ *+' conftest.er1 >conftest.err
38105 rm -f conftest.er1
38106 cat conftest.err >&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try='test -z "$ac_cxx_werror_flag"
38110 || test ! -s conftest.err'
38111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112 (eval $ac_try) 2>&5
38113 ac_status=$?
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); }; } &&
38116 { ac_try='test -s conftest.$ac_objext'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38119 ac_status=$?
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; }; then
38122 glibcxx_cv_func__fabsf_use=yes
38123 else
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.$ac_ext >&5
38127 glibcxx_cv_func__fabsf_use=no
38129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38141 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38143 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38145 for ac_func in _fabsf
38147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38148 echo "$as_me:$LINENO: checking for $ac_func" >&5
38149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38150 if eval "test \"\${$as_ac_var+set}\" = set"; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 else
38153 if test x$gcc_no_link = xyes; then
38154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38156 { (exit 1); exit 1; }; }
38158 cat >conftest.$ac_ext <<_ACEOF
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38166 #define $ac_func innocuous_$ac_func
38168 /* System header to define __stub macros and hopefully few prototypes,
38169 which can conflict with char $ac_func (); below.
38170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38171 <limits.h> exists even on freestanding compilers. */
38173 #ifdef __STDC__
38174 # include <limits.h>
38175 #else
38176 # include <assert.h>
38177 #endif
38179 #undef $ac_func
38181 /* Override any gcc2 internal prototype to avoid an error. */
38182 #ifdef __cplusplus
38183 extern "C"
38185 #endif
38186 /* We use char because int might match the return type of a gcc2
38187 builtin and then its argument prototype would still apply. */
38188 char $ac_func ();
38189 /* The GNU C library defines this for functions which it implements
38190 to always fail with ENOSYS. Some functions are actually named
38191 something starting with __ and the normal name is an alias. */
38192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38193 choke me
38194 #else
38195 char (*f) () = $ac_func;
38196 #endif
38197 #ifdef __cplusplus
38199 #endif
38202 main ()
38204 return f != $ac_func;
38206 return 0;
38208 _ACEOF
38209 rm -f conftest.$ac_objext conftest$ac_exeext
38210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38211 (eval $ac_link) 2>conftest.er1
38212 ac_status=$?
38213 grep -v '^ *+' conftest.er1 >conftest.err
38214 rm -f conftest.er1
38215 cat conftest.err >&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); } &&
38218 { ac_try='test -z "$ac_c_werror_flag"
38219 || test ! -s conftest.err'
38220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38221 (eval $ac_try) 2>&5
38222 ac_status=$?
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); }; } &&
38225 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38231 eval "$as_ac_var=yes"
38232 else
38233 echo "$as_me: failed program was:" >&5
38234 sed 's/^/| /' conftest.$ac_ext >&5
38236 eval "$as_ac_var=no"
38238 rm -f conftest.err conftest.$ac_objext \
38239 conftest$ac_exeext conftest.$ac_ext
38241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38243 if test `eval echo '${'$as_ac_var'}'` = yes; then
38244 cat >>confdefs.h <<_ACEOF
38245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38246 _ACEOF
38249 done
38259 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38260 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38261 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38262 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38263 echo $ECHO_N "(cached) $ECHO_C" >&6
38264 else
38268 ac_ext=cc
38269 ac_cpp='$CXXCPP $CPPFLAGS'
38270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38274 cat >conftest.$ac_ext <<_ACEOF
38275 /* confdefs.h. */
38276 _ACEOF
38277 cat confdefs.h >>conftest.$ac_ext
38278 cat >>conftest.$ac_ext <<_ACEOF
38279 /* end confdefs.h. */
38280 #include <math.h>
38282 main ()
38284 fmodf(0, 0);
38286 return 0;
38288 _ACEOF
38289 rm -f conftest.$ac_objext
38290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38291 (eval $ac_compile) 2>conftest.er1
38292 ac_status=$?
38293 grep -v '^ *+' conftest.er1 >conftest.err
38294 rm -f conftest.er1
38295 cat conftest.err >&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); } &&
38298 { ac_try='test -z "$ac_cxx_werror_flag"
38299 || test ! -s conftest.err'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; } &&
38305 { ac_try='test -s conftest.$ac_objext'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38308 ac_status=$?
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; }; then
38311 glibcxx_cv_func_fmodf_use=yes
38312 else
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.$ac_ext >&5
38316 glibcxx_cv_func_fmodf_use=no
38318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38319 ac_ext=c
38320 ac_cpp='$CPP $CPPFLAGS'
38321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38330 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38332 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38334 for ac_func in fmodf
38336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38337 echo "$as_me:$LINENO: checking for $ac_func" >&5
38338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38339 if eval "test \"\${$as_ac_var+set}\" = set"; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 if test x$gcc_no_link = xyes; then
38343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38345 { (exit 1); exit 1; }; }
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38355 #define $ac_func innocuous_$ac_func
38357 /* System header to define __stub macros and hopefully few prototypes,
38358 which can conflict with char $ac_func (); below.
38359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38360 <limits.h> exists even on freestanding compilers. */
38362 #ifdef __STDC__
38363 # include <limits.h>
38364 #else
38365 # include <assert.h>
38366 #endif
38368 #undef $ac_func
38370 /* Override any gcc2 internal prototype to avoid an error. */
38371 #ifdef __cplusplus
38372 extern "C"
38374 #endif
38375 /* We use char because int might match the return type of a gcc2
38376 builtin and then its argument prototype would still apply. */
38377 char $ac_func ();
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38382 choke me
38383 #else
38384 char (*f) () = $ac_func;
38385 #endif
38386 #ifdef __cplusplus
38388 #endif
38391 main ()
38393 return f != $ac_func;
38395 return 0;
38397 _ACEOF
38398 rm -f conftest.$ac_objext conftest$ac_exeext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38400 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38425 eval "$as_ac_var=no"
38427 rm -f conftest.err conftest.$ac_objext \
38428 conftest$ac_exeext conftest.$ac_ext
38430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38432 if test `eval echo '${'$as_ac_var'}'` = yes; then
38433 cat >>confdefs.h <<_ACEOF
38434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38435 _ACEOF
38438 done
38440 else
38442 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38443 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38444 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38445 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38451 ac_ext=cc
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 #include <math.h>
38465 main ()
38467 _fmodf(0, 0);
38469 return 0;
38471 _ACEOF
38472 rm -f conftest.$ac_objext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38474 (eval $ac_compile) 2>conftest.er1
38475 ac_status=$?
38476 grep -v '^ *+' conftest.er1 >conftest.err
38477 rm -f conftest.er1
38478 cat conftest.err >&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try='test -z "$ac_cxx_werror_flag"
38482 || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38485 ac_status=$?
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try='test -s conftest.$ac_objext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 glibcxx_cv_func__fmodf_use=yes
38495 else
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.$ac_ext >&5
38499 glibcxx_cv_func__fmodf_use=no
38501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38502 ac_ext=c
38503 ac_cpp='$CPP $CPPFLAGS'
38504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38513 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38515 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38517 for ac_func in _fmodf
38519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38520 echo "$as_me:$LINENO: checking for $ac_func" >&5
38521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38522 if eval "test \"\${$as_ac_var+set}\" = set"; then
38523 echo $ECHO_N "(cached) $ECHO_C" >&6
38524 else
38525 if test x$gcc_no_link = xyes; then
38526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38528 { (exit 1); exit 1; }; }
38530 cat >conftest.$ac_ext <<_ACEOF
38531 /* confdefs.h. */
38532 _ACEOF
38533 cat confdefs.h >>conftest.$ac_ext
38534 cat >>conftest.$ac_ext <<_ACEOF
38535 /* end confdefs.h. */
38536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38538 #define $ac_func innocuous_$ac_func
38540 /* System header to define __stub macros and hopefully few prototypes,
38541 which can conflict with char $ac_func (); below.
38542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38543 <limits.h> exists even on freestanding compilers. */
38545 #ifdef __STDC__
38546 # include <limits.h>
38547 #else
38548 # include <assert.h>
38549 #endif
38551 #undef $ac_func
38553 /* Override any gcc2 internal prototype to avoid an error. */
38554 #ifdef __cplusplus
38555 extern "C"
38557 #endif
38558 /* We use char because int might match the return type of a gcc2
38559 builtin and then its argument prototype would still apply. */
38560 char $ac_func ();
38561 /* The GNU C library defines this for functions which it implements
38562 to always fail with ENOSYS. Some functions are actually named
38563 something starting with __ and the normal name is an alias. */
38564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38565 choke me
38566 #else
38567 char (*f) () = $ac_func;
38568 #endif
38569 #ifdef __cplusplus
38571 #endif
38574 main ()
38576 return f != $ac_func;
38578 return 0;
38580 _ACEOF
38581 rm -f conftest.$ac_objext conftest$ac_exeext
38582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38583 (eval $ac_link) 2>conftest.er1
38584 ac_status=$?
38585 grep -v '^ *+' conftest.er1 >conftest.err
38586 rm -f conftest.er1
38587 cat conftest.err >&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); } &&
38590 { ac_try='test -z "$ac_c_werror_flag"
38591 || test ! -s conftest.err'
38592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593 (eval $ac_try) 2>&5
38594 ac_status=$?
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); }; } &&
38597 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38603 eval "$as_ac_var=yes"
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38608 eval "$as_ac_var=no"
38610 rm -f conftest.err conftest.$ac_objext \
38611 conftest$ac_exeext conftest.$ac_ext
38613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38615 if test `eval echo '${'$as_ac_var'}'` = yes; then
38616 cat >>confdefs.h <<_ACEOF
38617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38618 _ACEOF
38621 done
38631 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38632 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38633 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38634 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38635 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 else
38640 ac_ext=cc
38641 ac_cpp='$CXXCPP $CPPFLAGS'
38642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646 cat >conftest.$ac_ext <<_ACEOF
38647 /* confdefs.h. */
38648 _ACEOF
38649 cat confdefs.h >>conftest.$ac_ext
38650 cat >>conftest.$ac_ext <<_ACEOF
38651 /* end confdefs.h. */
38652 #include <math.h>
38654 main ()
38656 frexpf(0, 0);
38658 return 0;
38660 _ACEOF
38661 rm -f conftest.$ac_objext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38663 (eval $ac_compile) 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } &&
38670 { ac_try='test -z "$ac_cxx_werror_flag"
38671 || test ! -s conftest.err'
38672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38673 (eval $ac_try) 2>&5
38674 ac_status=$?
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); }; } &&
38677 { ac_try='test -s conftest.$ac_objext'
38678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38679 (eval $ac_try) 2>&5
38680 ac_status=$?
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); }; }; then
38683 glibcxx_cv_func_frexpf_use=yes
38684 else
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38688 glibcxx_cv_func_frexpf_use=no
38690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38691 ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38702 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38704 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38706 for ac_func in frexpf
38708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38709 echo "$as_me:$LINENO: checking for $ac_func" >&5
38710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38711 if eval "test \"\${$as_ac_var+set}\" = set"; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38714 if test x$gcc_no_link = xyes; then
38715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38717 { (exit 1); exit 1; }; }
38719 cat >conftest.$ac_ext <<_ACEOF
38720 /* confdefs.h. */
38721 _ACEOF
38722 cat confdefs.h >>conftest.$ac_ext
38723 cat >>conftest.$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38727 #define $ac_func innocuous_$ac_func
38729 /* System header to define __stub macros and hopefully few prototypes,
38730 which can conflict with char $ac_func (); below.
38731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38732 <limits.h> exists even on freestanding compilers. */
38734 #ifdef __STDC__
38735 # include <limits.h>
38736 #else
38737 # include <assert.h>
38738 #endif
38740 #undef $ac_func
38742 /* Override any gcc2 internal prototype to avoid an error. */
38743 #ifdef __cplusplus
38744 extern "C"
38746 #endif
38747 /* We use char because int might match the return type of a gcc2
38748 builtin and then its argument prototype would still apply. */
38749 char $ac_func ();
38750 /* The GNU C library defines this for functions which it implements
38751 to always fail with ENOSYS. Some functions are actually named
38752 something starting with __ and the normal name is an alias. */
38753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38754 choke me
38755 #else
38756 char (*f) () = $ac_func;
38757 #endif
38758 #ifdef __cplusplus
38760 #endif
38763 main ()
38765 return f != $ac_func;
38767 return 0;
38769 _ACEOF
38770 rm -f conftest.$ac_objext conftest$ac_exeext
38771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38772 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
38793 else
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.$ac_ext >&5
38797 eval "$as_ac_var=no"
38799 rm -f conftest.err conftest.$ac_objext \
38800 conftest$ac_exeext conftest.$ac_ext
38802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38804 if test `eval echo '${'$as_ac_var'}'` = yes; then
38805 cat >>confdefs.h <<_ACEOF
38806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38807 _ACEOF
38810 done
38812 else
38814 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38815 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38816 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38817 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 else
38823 ac_ext=cc
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <math.h>
38837 main ()
38839 _frexpf(0, 0);
38841 return 0;
38843 _ACEOF
38844 rm -f conftest.$ac_objext
38845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38846 (eval $ac_compile) 2>conftest.er1
38847 ac_status=$?
38848 grep -v '^ *+' conftest.er1 >conftest.err
38849 rm -f conftest.er1
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } &&
38853 { ac_try='test -z "$ac_cxx_werror_flag"
38854 || test ! -s conftest.err'
38855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38856 (eval $ac_try) 2>&5
38857 ac_status=$?
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); }; } &&
38860 { ac_try='test -s conftest.$ac_objext'
38861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38862 (eval $ac_try) 2>&5
38863 ac_status=$?
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); }; }; then
38866 glibcxx_cv_func__frexpf_use=yes
38867 else
38868 echo "$as_me: failed program was:" >&5
38869 sed 's/^/| /' conftest.$ac_ext >&5
38871 glibcxx_cv_func__frexpf_use=no
38873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38874 ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38885 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38887 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38889 for ac_func in _frexpf
38891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38892 echo "$as_me:$LINENO: checking for $ac_func" >&5
38893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38894 if eval "test \"\${$as_ac_var+set}\" = set"; then
38895 echo $ECHO_N "(cached) $ECHO_C" >&6
38896 else
38897 if test x$gcc_no_link = xyes; then
38898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38900 { (exit 1); exit 1; }; }
38902 cat >conftest.$ac_ext <<_ACEOF
38903 /* confdefs.h. */
38904 _ACEOF
38905 cat confdefs.h >>conftest.$ac_ext
38906 cat >>conftest.$ac_ext <<_ACEOF
38907 /* end confdefs.h. */
38908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38910 #define $ac_func innocuous_$ac_func
38912 /* System header to define __stub macros and hopefully few prototypes,
38913 which can conflict with char $ac_func (); below.
38914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38915 <limits.h> exists even on freestanding compilers. */
38917 #ifdef __STDC__
38918 # include <limits.h>
38919 #else
38920 # include <assert.h>
38921 #endif
38923 #undef $ac_func
38925 /* Override any gcc2 internal prototype to avoid an error. */
38926 #ifdef __cplusplus
38927 extern "C"
38929 #endif
38930 /* We use char because int might match the return type of a gcc2
38931 builtin and then its argument prototype would still apply. */
38932 char $ac_func ();
38933 /* The GNU C library defines this for functions which it implements
38934 to always fail with ENOSYS. Some functions are actually named
38935 something starting with __ and the normal name is an alias. */
38936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38937 choke me
38938 #else
38939 char (*f) () = $ac_func;
38940 #endif
38941 #ifdef __cplusplus
38943 #endif
38946 main ()
38948 return f != $ac_func;
38950 return 0;
38952 _ACEOF
38953 rm -f conftest.$ac_objext conftest$ac_exeext
38954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38955 (eval $ac_link) 2>conftest.er1
38956 ac_status=$?
38957 grep -v '^ *+' conftest.er1 >conftest.err
38958 rm -f conftest.er1
38959 cat conftest.err >&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } &&
38962 { ac_try='test -z "$ac_c_werror_flag"
38963 || test ! -s conftest.err'
38964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965 (eval $ac_try) 2>&5
38966 ac_status=$?
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; } &&
38969 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38975 eval "$as_ac_var=yes"
38976 else
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.$ac_ext >&5
38980 eval "$as_ac_var=no"
38982 rm -f conftest.err conftest.$ac_objext \
38983 conftest$ac_exeext conftest.$ac_ext
38985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38987 if test `eval echo '${'$as_ac_var'}'` = yes; then
38988 cat >>confdefs.h <<_ACEOF
38989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38990 _ACEOF
38993 done
39003 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39004 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39005 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39006 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39007 echo $ECHO_N "(cached) $ECHO_C" >&6
39008 else
39012 ac_ext=cc
39013 ac_cpp='$CXXCPP $CPPFLAGS'
39014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39018 cat >conftest.$ac_ext <<_ACEOF
39019 /* confdefs.h. */
39020 _ACEOF
39021 cat confdefs.h >>conftest.$ac_ext
39022 cat >>conftest.$ac_ext <<_ACEOF
39023 /* end confdefs.h. */
39024 #include <math.h>
39026 main ()
39028 hypotf(0, 0);
39030 return 0;
39032 _ACEOF
39033 rm -f conftest.$ac_objext
39034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39035 (eval $ac_compile) 2>conftest.er1
39036 ac_status=$?
39037 grep -v '^ *+' conftest.er1 >conftest.err
39038 rm -f conftest.er1
39039 cat conftest.err >&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); } &&
39042 { ac_try='test -z "$ac_cxx_werror_flag"
39043 || test ! -s conftest.err'
39044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39045 (eval $ac_try) 2>&5
39046 ac_status=$?
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); }; } &&
39049 { ac_try='test -s conftest.$ac_objext'
39050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39051 (eval $ac_try) 2>&5
39052 ac_status=$?
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); }; }; then
39055 glibcxx_cv_func_hypotf_use=yes
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39060 glibcxx_cv_func_hypotf_use=no
39062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39063 ac_ext=c
39064 ac_cpp='$CPP $CPPFLAGS'
39065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39074 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39076 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39078 for ac_func in hypotf
39080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39081 echo "$as_me:$LINENO: checking for $ac_func" >&5
39082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39083 if eval "test \"\${$as_ac_var+set}\" = set"; then
39084 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086 if test x$gcc_no_link = xyes; then
39087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39089 { (exit 1); exit 1; }; }
39091 cat >conftest.$ac_ext <<_ACEOF
39092 /* confdefs.h. */
39093 _ACEOF
39094 cat confdefs.h >>conftest.$ac_ext
39095 cat >>conftest.$ac_ext <<_ACEOF
39096 /* end confdefs.h. */
39097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39099 #define $ac_func innocuous_$ac_func
39101 /* System header to define __stub macros and hopefully few prototypes,
39102 which can conflict with char $ac_func (); below.
39103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39104 <limits.h> exists even on freestanding compilers. */
39106 #ifdef __STDC__
39107 # include <limits.h>
39108 #else
39109 # include <assert.h>
39110 #endif
39112 #undef $ac_func
39114 /* Override any gcc2 internal prototype to avoid an error. */
39115 #ifdef __cplusplus
39116 extern "C"
39118 #endif
39119 /* We use char because int might match the return type of a gcc2
39120 builtin and then its argument prototype would still apply. */
39121 char $ac_func ();
39122 /* The GNU C library defines this for functions which it implements
39123 to always fail with ENOSYS. Some functions are actually named
39124 something starting with __ and the normal name is an alias. */
39125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39126 choke me
39127 #else
39128 char (*f) () = $ac_func;
39129 #endif
39130 #ifdef __cplusplus
39132 #endif
39135 main ()
39137 return f != $ac_func;
39139 return 0;
39141 _ACEOF
39142 rm -f conftest.$ac_objext conftest$ac_exeext
39143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39144 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
39165 else
39166 echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39169 eval "$as_ac_var=no"
39171 rm -f conftest.err conftest.$ac_objext \
39172 conftest$ac_exeext conftest.$ac_ext
39174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39176 if test `eval echo '${'$as_ac_var'}'` = yes; then
39177 cat >>confdefs.h <<_ACEOF
39178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39179 _ACEOF
39182 done
39184 else
39186 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39187 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39188 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39189 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 else
39195 ac_ext=cc
39196 ac_cpp='$CXXCPP $CPPFLAGS'
39197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39201 cat >conftest.$ac_ext <<_ACEOF
39202 /* confdefs.h. */
39203 _ACEOF
39204 cat confdefs.h >>conftest.$ac_ext
39205 cat >>conftest.$ac_ext <<_ACEOF
39206 /* end confdefs.h. */
39207 #include <math.h>
39209 main ()
39211 _hypotf(0, 0);
39213 return 0;
39215 _ACEOF
39216 rm -f conftest.$ac_objext
39217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39218 (eval $ac_compile) 2>conftest.er1
39219 ac_status=$?
39220 grep -v '^ *+' conftest.er1 >conftest.err
39221 rm -f conftest.er1
39222 cat conftest.err >&5
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); } &&
39225 { ac_try='test -z "$ac_cxx_werror_flag"
39226 || test ! -s conftest.err'
39227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39228 (eval $ac_try) 2>&5
39229 ac_status=$?
39230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39231 (exit $ac_status); }; } &&
39232 { ac_try='test -s conftest.$ac_objext'
39233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39234 (eval $ac_try) 2>&5
39235 ac_status=$?
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); }; }; then
39238 glibcxx_cv_func__hypotf_use=yes
39239 else
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39243 glibcxx_cv_func__hypotf_use=no
39245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39246 ac_ext=c
39247 ac_cpp='$CPP $CPPFLAGS'
39248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39257 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39259 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39261 for ac_func in _hypotf
39263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39264 echo "$as_me:$LINENO: checking for $ac_func" >&5
39265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39266 if eval "test \"\${$as_ac_var+set}\" = set"; then
39267 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 else
39269 if test x$gcc_no_link = xyes; then
39270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39272 { (exit 1); exit 1; }; }
39274 cat >conftest.$ac_ext <<_ACEOF
39275 /* confdefs.h. */
39276 _ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define $ac_func innocuous_$ac_func
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char $ac_func (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39289 #ifdef __STDC__
39290 # include <limits.h>
39291 #else
39292 # include <assert.h>
39293 #endif
39295 #undef $ac_func
39297 /* Override any gcc2 internal prototype to avoid an error. */
39298 #ifdef __cplusplus
39299 extern "C"
39301 #endif
39302 /* We use char because int might match the return type of a gcc2
39303 builtin and then its argument prototype would still apply. */
39304 char $ac_func ();
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39309 choke me
39310 #else
39311 char (*f) () = $ac_func;
39312 #endif
39313 #ifdef __cplusplus
39315 #endif
39318 main ()
39320 return f != $ac_func;
39322 return 0;
39324 _ACEOF
39325 rm -f conftest.$ac_objext conftest$ac_exeext
39326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39327 (eval $ac_link) 2>conftest.er1
39328 ac_status=$?
39329 grep -v '^ *+' conftest.er1 >conftest.err
39330 rm -f conftest.er1
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } &&
39334 { ac_try='test -z "$ac_c_werror_flag"
39335 || test ! -s conftest.err'
39336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337 (eval $ac_try) 2>&5
39338 ac_status=$?
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); }; } &&
39341 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39347 eval "$as_ac_var=yes"
39348 else
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.$ac_ext >&5
39352 eval "$as_ac_var=no"
39354 rm -f conftest.err conftest.$ac_objext \
39355 conftest$ac_exeext conftest.$ac_ext
39357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39359 if test `eval echo '${'$as_ac_var'}'` = yes; then
39360 cat >>confdefs.h <<_ACEOF
39361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39362 _ACEOF
39365 done
39375 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39376 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39377 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39378 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39379 echo $ECHO_N "(cached) $ECHO_C" >&6
39380 else
39384 ac_ext=cc
39385 ac_cpp='$CXXCPP $CPPFLAGS'
39386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39390 cat >conftest.$ac_ext <<_ACEOF
39391 /* confdefs.h. */
39392 _ACEOF
39393 cat confdefs.h >>conftest.$ac_ext
39394 cat >>conftest.$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 #include <math.h>
39398 main ()
39400 ldexpf(0, 0);
39402 return 0;
39404 _ACEOF
39405 rm -f conftest.$ac_objext
39406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39407 (eval $ac_compile) 2>conftest.er1
39408 ac_status=$?
39409 grep -v '^ *+' conftest.er1 >conftest.err
39410 rm -f conftest.er1
39411 cat conftest.err >&5
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); } &&
39414 { ac_try='test -z "$ac_cxx_werror_flag"
39415 || test ! -s conftest.err'
39416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39417 (eval $ac_try) 2>&5
39418 ac_status=$?
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); }; } &&
39421 { ac_try='test -s conftest.$ac_objext'
39422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423 (eval $ac_try) 2>&5
39424 ac_status=$?
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); }; }; then
39427 glibcxx_cv_func_ldexpf_use=yes
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39432 glibcxx_cv_func_ldexpf_use=no
39434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39446 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39448 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39450 for ac_func in ldexpf
39452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39453 echo "$as_me:$LINENO: checking for $ac_func" >&5
39454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39455 if eval "test \"\${$as_ac_var+set}\" = set"; then
39456 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 else
39458 if test x$gcc_no_link = xyes; then
39459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39461 { (exit 1); exit 1; }; }
39463 cat >conftest.$ac_ext <<_ACEOF
39464 /* confdefs.h. */
39465 _ACEOF
39466 cat confdefs.h >>conftest.$ac_ext
39467 cat >>conftest.$ac_ext <<_ACEOF
39468 /* end confdefs.h. */
39469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39471 #define $ac_func innocuous_$ac_func
39473 /* System header to define __stub macros and hopefully few prototypes,
39474 which can conflict with char $ac_func (); below.
39475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39476 <limits.h> exists even on freestanding compilers. */
39478 #ifdef __STDC__
39479 # include <limits.h>
39480 #else
39481 # include <assert.h>
39482 #endif
39484 #undef $ac_func
39486 /* Override any gcc2 internal prototype to avoid an error. */
39487 #ifdef __cplusplus
39488 extern "C"
39490 #endif
39491 /* We use char because int might match the return type of a gcc2
39492 builtin and then its argument prototype would still apply. */
39493 char $ac_func ();
39494 /* The GNU C library defines this for functions which it implements
39495 to always fail with ENOSYS. Some functions are actually named
39496 something starting with __ and the normal name is an alias. */
39497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39498 choke me
39499 #else
39500 char (*f) () = $ac_func;
39501 #endif
39502 #ifdef __cplusplus
39504 #endif
39507 main ()
39509 return f != $ac_func;
39511 return 0;
39513 _ACEOF
39514 rm -f conftest.$ac_objext conftest$ac_exeext
39515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39516 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
39537 else
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39541 eval "$as_ac_var=no"
39543 rm -f conftest.err conftest.$ac_objext \
39544 conftest$ac_exeext conftest.$ac_ext
39546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39548 if test `eval echo '${'$as_ac_var'}'` = yes; then
39549 cat >>confdefs.h <<_ACEOF
39550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39551 _ACEOF
39554 done
39556 else
39558 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39559 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39560 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39561 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39562 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 else
39567 ac_ext=cc
39568 ac_cpp='$CXXCPP $CPPFLAGS'
39569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 #include <math.h>
39581 main ()
39583 _ldexpf(0, 0);
39585 return 0;
39587 _ACEOF
39588 rm -f conftest.$ac_objext
39589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39590 (eval $ac_compile) 2>conftest.er1
39591 ac_status=$?
39592 grep -v '^ *+' conftest.er1 >conftest.err
39593 rm -f conftest.er1
39594 cat conftest.err >&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); } &&
39597 { ac_try='test -z "$ac_cxx_werror_flag"
39598 || test ! -s conftest.err'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39601 ac_status=$?
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; } &&
39604 { ac_try='test -s conftest.$ac_objext'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 glibcxx_cv_func__ldexpf_use=yes
39611 else
39612 echo "$as_me: failed program was:" >&5
39613 sed 's/^/| /' conftest.$ac_ext >&5
39615 glibcxx_cv_func__ldexpf_use=no
39617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39618 ac_ext=c
39619 ac_cpp='$CPP $CPPFLAGS'
39620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39629 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39631 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39633 for ac_func in _ldexpf
39635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39636 echo "$as_me:$LINENO: checking for $ac_func" >&5
39637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39638 if eval "test \"\${$as_ac_var+set}\" = set"; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 else
39641 if test x$gcc_no_link = xyes; then
39642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39644 { (exit 1); exit 1; }; }
39646 cat >conftest.$ac_ext <<_ACEOF
39647 /* confdefs.h. */
39648 _ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h. */
39652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39654 #define $ac_func innocuous_$ac_func
39656 /* System header to define __stub macros and hopefully few prototypes,
39657 which can conflict with char $ac_func (); below.
39658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39659 <limits.h> exists even on freestanding compilers. */
39661 #ifdef __STDC__
39662 # include <limits.h>
39663 #else
39664 # include <assert.h>
39665 #endif
39667 #undef $ac_func
39669 /* Override any gcc2 internal prototype to avoid an error. */
39670 #ifdef __cplusplus
39671 extern "C"
39673 #endif
39674 /* We use char because int might match the return type of a gcc2
39675 builtin and then its argument prototype would still apply. */
39676 char $ac_func ();
39677 /* The GNU C library defines this for functions which it implements
39678 to always fail with ENOSYS. Some functions are actually named
39679 something starting with __ and the normal name is an alias. */
39680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39681 choke me
39682 #else
39683 char (*f) () = $ac_func;
39684 #endif
39685 #ifdef __cplusplus
39687 #endif
39690 main ()
39692 return f != $ac_func;
39694 return 0;
39696 _ACEOF
39697 rm -f conftest.$ac_objext conftest$ac_exeext
39698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39699 (eval $ac_link) 2>conftest.er1
39700 ac_status=$?
39701 grep -v '^ *+' conftest.er1 >conftest.err
39702 rm -f conftest.er1
39703 cat conftest.err >&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } &&
39706 { ac_try='test -z "$ac_c_werror_flag"
39707 || test ! -s conftest.err'
39708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39709 (eval $ac_try) 2>&5
39710 ac_status=$?
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); }; } &&
39713 { ac_try='test -s conftest$ac_exeext'
39714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39715 (eval $ac_try) 2>&5
39716 ac_status=$?
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); }; }; then
39719 eval "$as_ac_var=yes"
39720 else
39721 echo "$as_me: failed program was:" >&5
39722 sed 's/^/| /' conftest.$ac_ext >&5
39724 eval "$as_ac_var=no"
39726 rm -f conftest.err conftest.$ac_objext \
39727 conftest$ac_exeext conftest.$ac_ext
39729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39731 if test `eval echo '${'$as_ac_var'}'` = yes; then
39732 cat >>confdefs.h <<_ACEOF
39733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39734 _ACEOF
39737 done
39747 echo "$as_me:$LINENO: checking for logf declaration" >&5
39748 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39749 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39750 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 else
39756 ac_ext=cc
39757 ac_cpp='$CXXCPP $CPPFLAGS'
39758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39762 cat >conftest.$ac_ext <<_ACEOF
39763 /* confdefs.h. */
39764 _ACEOF
39765 cat confdefs.h >>conftest.$ac_ext
39766 cat >>conftest.$ac_ext <<_ACEOF
39767 /* end confdefs.h. */
39768 #include <math.h>
39769 #ifdef HAVE_IEEEFP_H
39770 #include <ieeefp.h>
39771 #endif
39774 main ()
39776 logf(0);
39778 return 0;
39780 _ACEOF
39781 rm -f conftest.$ac_objext
39782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39783 (eval $ac_compile) 2>conftest.er1
39784 ac_status=$?
39785 grep -v '^ *+' conftest.er1 >conftest.err
39786 rm -f conftest.er1
39787 cat conftest.err >&5
39788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789 (exit $ac_status); } &&
39790 { ac_try='test -z "$ac_cxx_werror_flag"
39791 || test ! -s conftest.err'
39792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39793 (eval $ac_try) 2>&5
39794 ac_status=$?
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); }; } &&
39797 { ac_try='test -s conftest.$ac_objext'
39798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39799 (eval $ac_try) 2>&5
39800 ac_status=$?
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); }; }; then
39803 glibcxx_cv_func_logf_use=yes
39804 else
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39808 glibcxx_cv_func_logf_use=no
39810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39811 ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39822 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39824 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39826 for ac_func in logf
39828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39829 echo "$as_me:$LINENO: checking for $ac_func" >&5
39830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39831 if eval "test \"\${$as_ac_var+set}\" = set"; then
39832 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 else
39834 if test x$gcc_no_link = xyes; then
39835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39837 { (exit 1); exit 1; }; }
39839 cat >conftest.$ac_ext <<_ACEOF
39840 /* confdefs.h. */
39841 _ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39847 #define $ac_func innocuous_$ac_func
39849 /* System header to define __stub macros and hopefully few prototypes,
39850 which can conflict with char $ac_func (); below.
39851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39852 <limits.h> exists even on freestanding compilers. */
39854 #ifdef __STDC__
39855 # include <limits.h>
39856 #else
39857 # include <assert.h>
39858 #endif
39860 #undef $ac_func
39862 /* Override any gcc2 internal prototype to avoid an error. */
39863 #ifdef __cplusplus
39864 extern "C"
39866 #endif
39867 /* We use char because int might match the return type of a gcc2
39868 builtin and then its argument prototype would still apply. */
39869 char $ac_func ();
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39874 choke me
39875 #else
39876 char (*f) () = $ac_func;
39877 #endif
39878 #ifdef __cplusplus
39880 #endif
39883 main ()
39885 return f != $ac_func;
39887 return 0;
39889 _ACEOF
39890 rm -f conftest.$ac_objext conftest$ac_exeext
39891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39892 (eval $ac_link) 2>conftest.er1
39893 ac_status=$?
39894 grep -v '^ *+' conftest.er1 >conftest.err
39895 rm -f conftest.er1
39896 cat conftest.err >&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } &&
39899 { ac_try='test -z "$ac_c_werror_flag"
39900 || test ! -s conftest.err'
39901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39902 (eval $ac_try) 2>&5
39903 ac_status=$?
39904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39905 (exit $ac_status); }; } &&
39906 { ac_try='test -s conftest$ac_exeext'
39907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39908 (eval $ac_try) 2>&5
39909 ac_status=$?
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); }; }; then
39912 eval "$as_ac_var=yes"
39913 else
39914 echo "$as_me: failed program was:" >&5
39915 sed 's/^/| /' conftest.$ac_ext >&5
39917 eval "$as_ac_var=no"
39919 rm -f conftest.err conftest.$ac_objext \
39920 conftest$ac_exeext conftest.$ac_ext
39922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39924 if test `eval echo '${'$as_ac_var'}'` = yes; then
39925 cat >>confdefs.h <<_ACEOF
39926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39927 _ACEOF
39930 done
39932 else
39934 echo "$as_me:$LINENO: checking for _logf declaration" >&5
39935 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39936 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39937 if test "${glibcxx_cv_func__logf_use+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 else
39943 ac_ext=cc
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39949 cat >conftest.$ac_ext <<_ACEOF
39950 /* confdefs.h. */
39951 _ACEOF
39952 cat confdefs.h >>conftest.$ac_ext
39953 cat >>conftest.$ac_ext <<_ACEOF
39954 /* end confdefs.h. */
39955 #include <math.h>
39956 #ifdef HAVE_IEEEFP_H
39957 #include <ieeefp.h>
39958 #endif
39961 main ()
39963 _logf(0);
39965 return 0;
39967 _ACEOF
39968 rm -f conftest.$ac_objext
39969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39970 (eval $ac_compile) 2>conftest.er1
39971 ac_status=$?
39972 grep -v '^ *+' conftest.er1 >conftest.err
39973 rm -f conftest.er1
39974 cat conftest.err >&5
39975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39976 (exit $ac_status); } &&
39977 { ac_try='test -z "$ac_cxx_werror_flag"
39978 || test ! -s conftest.err'
39979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39980 (eval $ac_try) 2>&5
39981 ac_status=$?
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); }; } &&
39984 { ac_try='test -s conftest.$ac_objext'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39987 ac_status=$?
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; }; then
39990 glibcxx_cv_func__logf_use=yes
39991 else
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.$ac_ext >&5
39995 glibcxx_cv_func__logf_use=no
39997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39998 ac_ext=c
39999 ac_cpp='$CPP $CPPFLAGS'
40000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40009 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40011 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40013 for ac_func in _logf
40015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40016 echo "$as_me:$LINENO: checking for $ac_func" >&5
40017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40018 if eval "test \"\${$as_ac_var+set}\" = set"; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40021 if test x$gcc_no_link = xyes; then
40022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40024 { (exit 1); exit 1; }; }
40026 cat >conftest.$ac_ext <<_ACEOF
40027 /* confdefs.h. */
40028 _ACEOF
40029 cat confdefs.h >>conftest.$ac_ext
40030 cat >>conftest.$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40034 #define $ac_func innocuous_$ac_func
40036 /* System header to define __stub macros and hopefully few prototypes,
40037 which can conflict with char $ac_func (); below.
40038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40039 <limits.h> exists even on freestanding compilers. */
40041 #ifdef __STDC__
40042 # include <limits.h>
40043 #else
40044 # include <assert.h>
40045 #endif
40047 #undef $ac_func
40049 /* Override any gcc2 internal prototype to avoid an error. */
40050 #ifdef __cplusplus
40051 extern "C"
40053 #endif
40054 /* We use char because int might match the return type of a gcc2
40055 builtin and then its argument prototype would still apply. */
40056 char $ac_func ();
40057 /* The GNU C library defines this for functions which it implements
40058 to always fail with ENOSYS. Some functions are actually named
40059 something starting with __ and the normal name is an alias. */
40060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40061 choke me
40062 #else
40063 char (*f) () = $ac_func;
40064 #endif
40065 #ifdef __cplusplus
40067 #endif
40070 main ()
40072 return f != $ac_func;
40074 return 0;
40076 _ACEOF
40077 rm -f conftest.$ac_objext conftest$ac_exeext
40078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40079 (eval $ac_link) 2>conftest.er1
40080 ac_status=$?
40081 grep -v '^ *+' conftest.er1 >conftest.err
40082 rm -f conftest.er1
40083 cat conftest.err >&5
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); } &&
40086 { ac_try='test -z "$ac_c_werror_flag"
40087 || test ! -s conftest.err'
40088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089 (eval $ac_try) 2>&5
40090 ac_status=$?
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); }; } &&
40093 { ac_try='test -s conftest$ac_exeext'
40094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40095 (eval $ac_try) 2>&5
40096 ac_status=$?
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); }; }; then
40099 eval "$as_ac_var=yes"
40100 else
40101 echo "$as_me: failed program was:" >&5
40102 sed 's/^/| /' conftest.$ac_ext >&5
40104 eval "$as_ac_var=no"
40106 rm -f conftest.err conftest.$ac_objext \
40107 conftest$ac_exeext conftest.$ac_ext
40109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40111 if test `eval echo '${'$as_ac_var'}'` = yes; then
40112 cat >>confdefs.h <<_ACEOF
40113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40114 _ACEOF
40117 done
40127 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40128 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40129 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40130 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40136 ac_ext=cc
40137 ac_cpp='$CXXCPP $CPPFLAGS'
40138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40142 cat >conftest.$ac_ext <<_ACEOF
40143 /* confdefs.h. */
40144 _ACEOF
40145 cat confdefs.h >>conftest.$ac_ext
40146 cat >>conftest.$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40148 #include <math.h>
40149 #ifdef HAVE_IEEEFP_H
40150 #include <ieeefp.h>
40151 #endif
40154 main ()
40156 log10f(0);
40158 return 0;
40160 _ACEOF
40161 rm -f conftest.$ac_objext
40162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40163 (eval $ac_compile) 2>conftest.er1
40164 ac_status=$?
40165 grep -v '^ *+' conftest.er1 >conftest.err
40166 rm -f conftest.er1
40167 cat conftest.err >&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } &&
40170 { ac_try='test -z "$ac_cxx_werror_flag"
40171 || test ! -s conftest.err'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40174 ac_status=$?
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try='test -s conftest.$ac_objext'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; }; then
40183 glibcxx_cv_func_log10f_use=yes
40184 else
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40188 glibcxx_cv_func_log10f_use=no
40190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40191 ac_ext=c
40192 ac_cpp='$CPP $CPPFLAGS'
40193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40202 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40204 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40206 for ac_func in log10f
40208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40209 echo "$as_me:$LINENO: checking for $ac_func" >&5
40210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40211 if eval "test \"\${$as_ac_var+set}\" = set"; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 else
40214 if test x$gcc_no_link = xyes; then
40215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40217 { (exit 1); exit 1; }; }
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40227 #define $ac_func innocuous_$ac_func
40229 /* System header to define __stub macros and hopefully few prototypes,
40230 which can conflict with char $ac_func (); below.
40231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40232 <limits.h> exists even on freestanding compilers. */
40234 #ifdef __STDC__
40235 # include <limits.h>
40236 #else
40237 # include <assert.h>
40238 #endif
40240 #undef $ac_func
40242 /* Override any gcc2 internal prototype to avoid an error. */
40243 #ifdef __cplusplus
40244 extern "C"
40246 #endif
40247 /* We use char because int might match the return type of a gcc2
40248 builtin and then its argument prototype would still apply. */
40249 char $ac_func ();
40250 /* The GNU C library defines this for functions which it implements
40251 to always fail with ENOSYS. Some functions are actually named
40252 something starting with __ and the normal name is an alias. */
40253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40254 choke me
40255 #else
40256 char (*f) () = $ac_func;
40257 #endif
40258 #ifdef __cplusplus
40260 #endif
40263 main ()
40265 return f != $ac_func;
40267 return 0;
40269 _ACEOF
40270 rm -f conftest.$ac_objext conftest$ac_exeext
40271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40272 (eval $ac_link) 2>conftest.er1
40273 ac_status=$?
40274 grep -v '^ *+' conftest.er1 >conftest.err
40275 rm -f conftest.er1
40276 cat conftest.err >&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } &&
40279 { ac_try='test -z "$ac_c_werror_flag"
40280 || test ! -s conftest.err'
40281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40282 (eval $ac_try) 2>&5
40283 ac_status=$?
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); }; } &&
40286 { ac_try='test -s conftest$ac_exeext'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40289 ac_status=$?
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; }; then
40292 eval "$as_ac_var=yes"
40293 else
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.$ac_ext >&5
40297 eval "$as_ac_var=no"
40299 rm -f conftest.err conftest.$ac_objext \
40300 conftest$ac_exeext conftest.$ac_ext
40302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40304 if test `eval echo '${'$as_ac_var'}'` = yes; then
40305 cat >>confdefs.h <<_ACEOF
40306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40307 _ACEOF
40310 done
40312 else
40314 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40315 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40316 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40317 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40318 echo $ECHO_N "(cached) $ECHO_C" >&6
40319 else
40323 ac_ext=cc
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40329 cat >conftest.$ac_ext <<_ACEOF
40330 /* confdefs.h. */
40331 _ACEOF
40332 cat confdefs.h >>conftest.$ac_ext
40333 cat >>conftest.$ac_ext <<_ACEOF
40334 /* end confdefs.h. */
40335 #include <math.h>
40336 #ifdef HAVE_IEEEFP_H
40337 #include <ieeefp.h>
40338 #endif
40341 main ()
40343 _log10f(0);
40345 return 0;
40347 _ACEOF
40348 rm -f conftest.$ac_objext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40350 (eval $ac_compile) 2>conftest.er1
40351 ac_status=$?
40352 grep -v '^ *+' conftest.er1 >conftest.err
40353 rm -f conftest.er1
40354 cat conftest.err >&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } &&
40357 { ac_try='test -z "$ac_cxx_werror_flag"
40358 || test ! -s conftest.err'
40359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360 (eval $ac_try) 2>&5
40361 ac_status=$?
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); }; } &&
40364 { ac_try='test -s conftest.$ac_objext'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; }; then
40370 glibcxx_cv_func__log10f_use=yes
40371 else
40372 echo "$as_me: failed program was:" >&5
40373 sed 's/^/| /' conftest.$ac_ext >&5
40375 glibcxx_cv_func__log10f_use=no
40377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40378 ac_ext=c
40379 ac_cpp='$CPP $CPPFLAGS'
40380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40389 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40391 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40393 for ac_func in _log10f
40395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40396 echo "$as_me:$LINENO: checking for $ac_func" >&5
40397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40398 if eval "test \"\${$as_ac_var+set}\" = set"; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 else
40401 if test x$gcc_no_link = xyes; then
40402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40404 { (exit 1); exit 1; }; }
40406 cat >conftest.$ac_ext <<_ACEOF
40407 /* confdefs.h. */
40408 _ACEOF
40409 cat confdefs.h >>conftest.$ac_ext
40410 cat >>conftest.$ac_ext <<_ACEOF
40411 /* end confdefs.h. */
40412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40414 #define $ac_func innocuous_$ac_func
40416 /* System header to define __stub macros and hopefully few prototypes,
40417 which can conflict with char $ac_func (); below.
40418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40419 <limits.h> exists even on freestanding compilers. */
40421 #ifdef __STDC__
40422 # include <limits.h>
40423 #else
40424 # include <assert.h>
40425 #endif
40427 #undef $ac_func
40429 /* Override any gcc2 internal prototype to avoid an error. */
40430 #ifdef __cplusplus
40431 extern "C"
40433 #endif
40434 /* We use char because int might match the return type of a gcc2
40435 builtin and then its argument prototype would still apply. */
40436 char $ac_func ();
40437 /* The GNU C library defines this for functions which it implements
40438 to always fail with ENOSYS. Some functions are actually named
40439 something starting with __ and the normal name is an alias. */
40440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40441 choke me
40442 #else
40443 char (*f) () = $ac_func;
40444 #endif
40445 #ifdef __cplusplus
40447 #endif
40450 main ()
40452 return f != $ac_func;
40454 return 0;
40456 _ACEOF
40457 rm -f conftest.$ac_objext conftest$ac_exeext
40458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40459 (eval $ac_link) 2>conftest.er1
40460 ac_status=$?
40461 grep -v '^ *+' conftest.er1 >conftest.err
40462 rm -f conftest.er1
40463 cat conftest.err >&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); } &&
40466 { ac_try='test -z "$ac_c_werror_flag"
40467 || test ! -s conftest.err'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40470 ac_status=$?
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; } &&
40473 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40479 eval "$as_ac_var=yes"
40480 else
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.$ac_ext >&5
40484 eval "$as_ac_var=no"
40486 rm -f conftest.err conftest.$ac_objext \
40487 conftest$ac_exeext conftest.$ac_ext
40489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40491 if test `eval echo '${'$as_ac_var'}'` = yes; then
40492 cat >>confdefs.h <<_ACEOF
40493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40494 _ACEOF
40497 done
40507 echo "$as_me:$LINENO: checking for modff declaration" >&5
40508 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40509 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40510 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40511 echo $ECHO_N "(cached) $ECHO_C" >&6
40512 else
40516 ac_ext=cc
40517 ac_cpp='$CXXCPP $CPPFLAGS'
40518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40522 cat >conftest.$ac_ext <<_ACEOF
40523 /* confdefs.h. */
40524 _ACEOF
40525 cat confdefs.h >>conftest.$ac_ext
40526 cat >>conftest.$ac_ext <<_ACEOF
40527 /* end confdefs.h. */
40528 #include <math.h>
40530 main ()
40532 modff(0, 0);
40534 return 0;
40536 _ACEOF
40537 rm -f conftest.$ac_objext
40538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40539 (eval $ac_compile) 2>conftest.er1
40540 ac_status=$?
40541 grep -v '^ *+' conftest.er1 >conftest.err
40542 rm -f conftest.er1
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } &&
40546 { ac_try='test -z "$ac_cxx_werror_flag"
40547 || test ! -s conftest.err'
40548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40549 (eval $ac_try) 2>&5
40550 ac_status=$?
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); }; } &&
40553 { ac_try='test -s conftest.$ac_objext'
40554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40555 (eval $ac_try) 2>&5
40556 ac_status=$?
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); }; }; then
40559 glibcxx_cv_func_modff_use=yes
40560 else
40561 echo "$as_me: failed program was:" >&5
40562 sed 's/^/| /' conftest.$ac_ext >&5
40564 glibcxx_cv_func_modff_use=no
40566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40567 ac_ext=c
40568 ac_cpp='$CPP $CPPFLAGS'
40569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40578 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40580 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40582 for ac_func in modff
40584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40585 echo "$as_me:$LINENO: checking for $ac_func" >&5
40586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40587 if eval "test \"\${$as_ac_var+set}\" = set"; then
40588 echo $ECHO_N "(cached) $ECHO_C" >&6
40589 else
40590 if test x$gcc_no_link = xyes; then
40591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40593 { (exit 1); exit 1; }; }
40595 cat >conftest.$ac_ext <<_ACEOF
40596 /* confdefs.h. */
40597 _ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h. */
40601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40603 #define $ac_func innocuous_$ac_func
40605 /* System header to define __stub macros and hopefully few prototypes,
40606 which can conflict with char $ac_func (); below.
40607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40608 <limits.h> exists even on freestanding compilers. */
40610 #ifdef __STDC__
40611 # include <limits.h>
40612 #else
40613 # include <assert.h>
40614 #endif
40616 #undef $ac_func
40618 /* Override any gcc2 internal prototype to avoid an error. */
40619 #ifdef __cplusplus
40620 extern "C"
40622 #endif
40623 /* We use char because int might match the return type of a gcc2
40624 builtin and then its argument prototype would still apply. */
40625 char $ac_func ();
40626 /* The GNU C library defines this for functions which it implements
40627 to always fail with ENOSYS. Some functions are actually named
40628 something starting with __ and the normal name is an alias. */
40629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40630 choke me
40631 #else
40632 char (*f) () = $ac_func;
40633 #endif
40634 #ifdef __cplusplus
40636 #endif
40639 main ()
40641 return f != $ac_func;
40643 return 0;
40645 _ACEOF
40646 rm -f conftest.$ac_objext conftest$ac_exeext
40647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40648 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
40669 else
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40673 eval "$as_ac_var=no"
40675 rm -f conftest.err conftest.$ac_objext \
40676 conftest$ac_exeext conftest.$ac_ext
40678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40680 if test `eval echo '${'$as_ac_var'}'` = yes; then
40681 cat >>confdefs.h <<_ACEOF
40682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40683 _ACEOF
40686 done
40688 else
40690 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40691 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40692 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40693 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 else
40699 ac_ext=cc
40700 ac_cpp='$CXXCPP $CPPFLAGS'
40701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40705 cat >conftest.$ac_ext <<_ACEOF
40706 /* confdefs.h. */
40707 _ACEOF
40708 cat confdefs.h >>conftest.$ac_ext
40709 cat >>conftest.$ac_ext <<_ACEOF
40710 /* end confdefs.h. */
40711 #include <math.h>
40713 main ()
40715 _modff(0, 0);
40717 return 0;
40719 _ACEOF
40720 rm -f conftest.$ac_objext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40722 (eval $ac_compile) 2>conftest.er1
40723 ac_status=$?
40724 grep -v '^ *+' conftest.er1 >conftest.err
40725 rm -f conftest.er1
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } &&
40729 { ac_try='test -z "$ac_cxx_werror_flag"
40730 || test ! -s conftest.err'
40731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40732 (eval $ac_try) 2>&5
40733 ac_status=$?
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); }; } &&
40736 { ac_try='test -s conftest.$ac_objext'
40737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738 (eval $ac_try) 2>&5
40739 ac_status=$?
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); }; }; then
40742 glibcxx_cv_func__modff_use=yes
40743 else
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40747 glibcxx_cv_func__modff_use=no
40749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40750 ac_ext=c
40751 ac_cpp='$CPP $CPPFLAGS'
40752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40761 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40763 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40765 for ac_func in _modff
40767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40768 echo "$as_me:$LINENO: checking for $ac_func" >&5
40769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40770 if eval "test \"\${$as_ac_var+set}\" = set"; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 else
40773 if test x$gcc_no_link = xyes; then
40774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40776 { (exit 1); exit 1; }; }
40778 cat >conftest.$ac_ext <<_ACEOF
40779 /* confdefs.h. */
40780 _ACEOF
40781 cat confdefs.h >>conftest.$ac_ext
40782 cat >>conftest.$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40786 #define $ac_func innocuous_$ac_func
40788 /* System header to define __stub macros and hopefully few prototypes,
40789 which can conflict with char $ac_func (); below.
40790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40791 <limits.h> exists even on freestanding compilers. */
40793 #ifdef __STDC__
40794 # include <limits.h>
40795 #else
40796 # include <assert.h>
40797 #endif
40799 #undef $ac_func
40801 /* Override any gcc2 internal prototype to avoid an error. */
40802 #ifdef __cplusplus
40803 extern "C"
40805 #endif
40806 /* We use char because int might match the return type of a gcc2
40807 builtin and then its argument prototype would still apply. */
40808 char $ac_func ();
40809 /* The GNU C library defines this for functions which it implements
40810 to always fail with ENOSYS. Some functions are actually named
40811 something starting with __ and the normal name is an alias. */
40812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40813 choke me
40814 #else
40815 char (*f) () = $ac_func;
40816 #endif
40817 #ifdef __cplusplus
40819 #endif
40822 main ()
40824 return f != $ac_func;
40826 return 0;
40828 _ACEOF
40829 rm -f conftest.$ac_objext conftest$ac_exeext
40830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40831 (eval $ac_link) 2>conftest.er1
40832 ac_status=$?
40833 grep -v '^ *+' conftest.er1 >conftest.err
40834 rm -f conftest.er1
40835 cat conftest.err >&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); } &&
40838 { ac_try='test -z "$ac_c_werror_flag"
40839 || test ! -s conftest.err'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; } &&
40845 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40851 eval "$as_ac_var=yes"
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40856 eval "$as_ac_var=no"
40858 rm -f conftest.err conftest.$ac_objext \
40859 conftest$ac_exeext conftest.$ac_ext
40861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40863 if test `eval echo '${'$as_ac_var'}'` = yes; then
40864 cat >>confdefs.h <<_ACEOF
40865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40866 _ACEOF
40869 done
40879 echo "$as_me:$LINENO: checking for modf declaration" >&5
40880 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40881 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40882 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40883 echo $ECHO_N "(cached) $ECHO_C" >&6
40884 else
40888 ac_ext=cc
40889 ac_cpp='$CXXCPP $CPPFLAGS'
40890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894 cat >conftest.$ac_ext <<_ACEOF
40895 /* confdefs.h. */
40896 _ACEOF
40897 cat confdefs.h >>conftest.$ac_ext
40898 cat >>conftest.$ac_ext <<_ACEOF
40899 /* end confdefs.h. */
40900 #include <math.h>
40902 main ()
40904 modf(0, 0);
40906 return 0;
40908 _ACEOF
40909 rm -f conftest.$ac_objext
40910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40911 (eval $ac_compile) 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } &&
40918 { ac_try='test -z "$ac_cxx_werror_flag"
40919 || test ! -s conftest.err'
40920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40921 (eval $ac_try) 2>&5
40922 ac_status=$?
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); }; } &&
40925 { ac_try='test -s conftest.$ac_objext'
40926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40927 (eval $ac_try) 2>&5
40928 ac_status=$?
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); }; }; then
40931 glibcxx_cv_func_modf_use=yes
40932 else
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.$ac_ext >&5
40936 glibcxx_cv_func_modf_use=no
40938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40939 ac_ext=c
40940 ac_cpp='$CPP $CPPFLAGS'
40941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40950 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40952 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40954 for ac_func in modf
40956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40957 echo "$as_me:$LINENO: checking for $ac_func" >&5
40958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40959 if eval "test \"\${$as_ac_var+set}\" = set"; then
40960 echo $ECHO_N "(cached) $ECHO_C" >&6
40961 else
40962 if test x$gcc_no_link = xyes; then
40963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40965 { (exit 1); exit 1; }; }
40967 cat >conftest.$ac_ext <<_ACEOF
40968 /* confdefs.h. */
40969 _ACEOF
40970 cat confdefs.h >>conftest.$ac_ext
40971 cat >>conftest.$ac_ext <<_ACEOF
40972 /* end confdefs.h. */
40973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40975 #define $ac_func innocuous_$ac_func
40977 /* System header to define __stub macros and hopefully few prototypes,
40978 which can conflict with char $ac_func (); below.
40979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40980 <limits.h> exists even on freestanding compilers. */
40982 #ifdef __STDC__
40983 # include <limits.h>
40984 #else
40985 # include <assert.h>
40986 #endif
40988 #undef $ac_func
40990 /* Override any gcc2 internal prototype to avoid an error. */
40991 #ifdef __cplusplus
40992 extern "C"
40994 #endif
40995 /* We use char because int might match the return type of a gcc2
40996 builtin and then its argument prototype would still apply. */
40997 char $ac_func ();
40998 /* The GNU C library defines this for functions which it implements
40999 to always fail with ENOSYS. Some functions are actually named
41000 something starting with __ and the normal name is an alias. */
41001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41002 choke me
41003 #else
41004 char (*f) () = $ac_func;
41005 #endif
41006 #ifdef __cplusplus
41008 #endif
41011 main ()
41013 return f != $ac_func;
41015 return 0;
41017 _ACEOF
41018 rm -f conftest.$ac_objext conftest$ac_exeext
41019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41020 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
41041 else
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.$ac_ext >&5
41045 eval "$as_ac_var=no"
41047 rm -f conftest.err conftest.$ac_objext \
41048 conftest$ac_exeext conftest.$ac_ext
41050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41052 if test `eval echo '${'$as_ac_var'}'` = yes; then
41053 cat >>confdefs.h <<_ACEOF
41054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41055 _ACEOF
41058 done
41060 else
41062 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41063 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41064 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41065 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41067 else
41071 ac_ext=cc
41072 ac_cpp='$CXXCPP $CPPFLAGS'
41073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41077 cat >conftest.$ac_ext <<_ACEOF
41078 /* confdefs.h. */
41079 _ACEOF
41080 cat confdefs.h >>conftest.$ac_ext
41081 cat >>conftest.$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41083 #include <math.h>
41085 main ()
41087 _modf(0, 0);
41089 return 0;
41091 _ACEOF
41092 rm -f conftest.$ac_objext
41093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41094 (eval $ac_compile) 2>conftest.er1
41095 ac_status=$?
41096 grep -v '^ *+' conftest.er1 >conftest.err
41097 rm -f conftest.er1
41098 cat conftest.err >&5
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); } &&
41101 { ac_try='test -z "$ac_cxx_werror_flag"
41102 || test ! -s conftest.err'
41103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41104 (eval $ac_try) 2>&5
41105 ac_status=$?
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); }; } &&
41108 { ac_try='test -s conftest.$ac_objext'
41109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41110 (eval $ac_try) 2>&5
41111 ac_status=$?
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); }; }; then
41114 glibcxx_cv_func__modf_use=yes
41115 else
41116 echo "$as_me: failed program was:" >&5
41117 sed 's/^/| /' conftest.$ac_ext >&5
41119 glibcxx_cv_func__modf_use=no
41121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41122 ac_ext=c
41123 ac_cpp='$CPP $CPPFLAGS'
41124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41133 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41135 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41137 for ac_func in _modf
41139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41140 echo "$as_me:$LINENO: checking for $ac_func" >&5
41141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41142 if eval "test \"\${$as_ac_var+set}\" = set"; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41144 else
41145 if test x$gcc_no_link = xyes; then
41146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41148 { (exit 1); exit 1; }; }
41150 cat >conftest.$ac_ext <<_ACEOF
41151 /* confdefs.h. */
41152 _ACEOF
41153 cat confdefs.h >>conftest.$ac_ext
41154 cat >>conftest.$ac_ext <<_ACEOF
41155 /* end confdefs.h. */
41156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41158 #define $ac_func innocuous_$ac_func
41160 /* System header to define __stub macros and hopefully few prototypes,
41161 which can conflict with char $ac_func (); below.
41162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41163 <limits.h> exists even on freestanding compilers. */
41165 #ifdef __STDC__
41166 # include <limits.h>
41167 #else
41168 # include <assert.h>
41169 #endif
41171 #undef $ac_func
41173 /* Override any gcc2 internal prototype to avoid an error. */
41174 #ifdef __cplusplus
41175 extern "C"
41177 #endif
41178 /* We use char because int might match the return type of a gcc2
41179 builtin and then its argument prototype would still apply. */
41180 char $ac_func ();
41181 /* The GNU C library defines this for functions which it implements
41182 to always fail with ENOSYS. Some functions are actually named
41183 something starting with __ and the normal name is an alias. */
41184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41185 choke me
41186 #else
41187 char (*f) () = $ac_func;
41188 #endif
41189 #ifdef __cplusplus
41191 #endif
41194 main ()
41196 return f != $ac_func;
41198 return 0;
41200 _ACEOF
41201 rm -f conftest.$ac_objext conftest$ac_exeext
41202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41203 (eval $ac_link) 2>conftest.er1
41204 ac_status=$?
41205 grep -v '^ *+' conftest.er1 >conftest.err
41206 rm -f conftest.er1
41207 cat conftest.err >&5
41208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41209 (exit $ac_status); } &&
41210 { ac_try='test -z "$ac_c_werror_flag"
41211 || test ! -s conftest.err'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; } &&
41217 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41223 eval "$as_ac_var=yes"
41224 else
41225 echo "$as_me: failed program was:" >&5
41226 sed 's/^/| /' conftest.$ac_ext >&5
41228 eval "$as_ac_var=no"
41230 rm -f conftest.err conftest.$ac_objext \
41231 conftest$ac_exeext conftest.$ac_ext
41233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41235 if test `eval echo '${'$as_ac_var'}'` = yes; then
41236 cat >>confdefs.h <<_ACEOF
41237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41238 _ACEOF
41241 done
41251 echo "$as_me:$LINENO: checking for powf declaration" >&5
41252 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41253 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41254 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41255 echo $ECHO_N "(cached) $ECHO_C" >&6
41256 else
41260 ac_ext=cc
41261 ac_cpp='$CXXCPP $CPPFLAGS'
41262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41266 cat >conftest.$ac_ext <<_ACEOF
41267 /* confdefs.h. */
41268 _ACEOF
41269 cat confdefs.h >>conftest.$ac_ext
41270 cat >>conftest.$ac_ext <<_ACEOF
41271 /* end confdefs.h. */
41272 #include <math.h>
41274 main ()
41276 powf(0, 0);
41278 return 0;
41280 _ACEOF
41281 rm -f conftest.$ac_objext
41282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41283 (eval $ac_compile) 2>conftest.er1
41284 ac_status=$?
41285 grep -v '^ *+' conftest.er1 >conftest.err
41286 rm -f conftest.er1
41287 cat conftest.err >&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } &&
41290 { ac_try='test -z "$ac_cxx_werror_flag"
41291 || test ! -s conftest.err'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41294 ac_status=$?
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; } &&
41297 { ac_try='test -s conftest.$ac_objext'
41298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41299 (eval $ac_try) 2>&5
41300 ac_status=$?
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); }; }; then
41303 glibcxx_cv_func_powf_use=yes
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41308 glibcxx_cv_func_powf_use=no
41310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41311 ac_ext=c
41312 ac_cpp='$CPP $CPPFLAGS'
41313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41322 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41324 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41326 for ac_func in powf
41328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41329 echo "$as_me:$LINENO: checking for $ac_func" >&5
41330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41331 if eval "test \"\${$as_ac_var+set}\" = set"; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41334 if test x$gcc_no_link = xyes; then
41335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41337 { (exit 1); exit 1; }; }
41339 cat >conftest.$ac_ext <<_ACEOF
41340 /* confdefs.h. */
41341 _ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define $ac_func innocuous_$ac_func
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char $ac_func (); below.
41351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41352 <limits.h> exists even on freestanding compilers. */
41354 #ifdef __STDC__
41355 # include <limits.h>
41356 #else
41357 # include <assert.h>
41358 #endif
41360 #undef $ac_func
41362 /* Override any gcc2 internal prototype to avoid an error. */
41363 #ifdef __cplusplus
41364 extern "C"
41366 #endif
41367 /* We use char because int might match the return type of a gcc2
41368 builtin and then its argument prototype would still apply. */
41369 char $ac_func ();
41370 /* The GNU C library defines this for functions which it implements
41371 to always fail with ENOSYS. Some functions are actually named
41372 something starting with __ and the normal name is an alias. */
41373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41374 choke me
41375 #else
41376 char (*f) () = $ac_func;
41377 #endif
41378 #ifdef __cplusplus
41380 #endif
41383 main ()
41385 return f != $ac_func;
41387 return 0;
41389 _ACEOF
41390 rm -f conftest.$ac_objext conftest$ac_exeext
41391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41392 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
41413 else
41414 echo "$as_me: failed program was:" >&5
41415 sed 's/^/| /' conftest.$ac_ext >&5
41417 eval "$as_ac_var=no"
41419 rm -f conftest.err conftest.$ac_objext \
41420 conftest$ac_exeext conftest.$ac_ext
41422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41424 if test `eval echo '${'$as_ac_var'}'` = yes; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41427 _ACEOF
41430 done
41432 else
41434 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41435 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41436 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41437 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41438 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 else
41443 ac_ext=cc
41444 ac_cpp='$CXXCPP $CPPFLAGS'
41445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41449 cat >conftest.$ac_ext <<_ACEOF
41450 /* confdefs.h. */
41451 _ACEOF
41452 cat confdefs.h >>conftest.$ac_ext
41453 cat >>conftest.$ac_ext <<_ACEOF
41454 /* end confdefs.h. */
41455 #include <math.h>
41457 main ()
41459 _powf(0, 0);
41461 return 0;
41463 _ACEOF
41464 rm -f conftest.$ac_objext
41465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41466 (eval $ac_compile) 2>conftest.er1
41467 ac_status=$?
41468 grep -v '^ *+' conftest.er1 >conftest.err
41469 rm -f conftest.er1
41470 cat conftest.err >&5
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); } &&
41473 { ac_try='test -z "$ac_cxx_werror_flag"
41474 || test ! -s conftest.err'
41475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41476 (eval $ac_try) 2>&5
41477 ac_status=$?
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); }; } &&
41480 { ac_try='test -s conftest.$ac_objext'
41481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41482 (eval $ac_try) 2>&5
41483 ac_status=$?
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); }; }; then
41486 glibcxx_cv_func__powf_use=yes
41487 else
41488 echo "$as_me: failed program was:" >&5
41489 sed 's/^/| /' conftest.$ac_ext >&5
41491 glibcxx_cv_func__powf_use=no
41493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41494 ac_ext=c
41495 ac_cpp='$CPP $CPPFLAGS'
41496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41505 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41507 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41509 for ac_func in _powf
41511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41512 echo "$as_me:$LINENO: checking for $ac_func" >&5
41513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41514 if eval "test \"\${$as_ac_var+set}\" = set"; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 else
41517 if test x$gcc_no_link = xyes; then
41518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41520 { (exit 1); exit 1; }; }
41522 cat >conftest.$ac_ext <<_ACEOF
41523 /* confdefs.h. */
41524 _ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41530 #define $ac_func innocuous_$ac_func
41532 /* System header to define __stub macros and hopefully few prototypes,
41533 which can conflict with char $ac_func (); below.
41534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41535 <limits.h> exists even on freestanding compilers. */
41537 #ifdef __STDC__
41538 # include <limits.h>
41539 #else
41540 # include <assert.h>
41541 #endif
41543 #undef $ac_func
41545 /* Override any gcc2 internal prototype to avoid an error. */
41546 #ifdef __cplusplus
41547 extern "C"
41549 #endif
41550 /* We use char because int might match the return type of a gcc2
41551 builtin and then its argument prototype would still apply. */
41552 char $ac_func ();
41553 /* The GNU C library defines this for functions which it implements
41554 to always fail with ENOSYS. Some functions are actually named
41555 something starting with __ and the normal name is an alias. */
41556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41557 choke me
41558 #else
41559 char (*f) () = $ac_func;
41560 #endif
41561 #ifdef __cplusplus
41563 #endif
41566 main ()
41568 return f != $ac_func;
41570 return 0;
41572 _ACEOF
41573 rm -f conftest.$ac_objext conftest$ac_exeext
41574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41575 (eval $ac_link) 2>conftest.er1
41576 ac_status=$?
41577 grep -v '^ *+' conftest.er1 >conftest.err
41578 rm -f conftest.er1
41579 cat conftest.err >&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); } &&
41582 { ac_try='test -z "$ac_c_werror_flag"
41583 || test ! -s conftest.err'
41584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41585 (eval $ac_try) 2>&5
41586 ac_status=$?
41587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41588 (exit $ac_status); }; } &&
41589 { ac_try='test -s conftest$ac_exeext'
41590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591 (eval $ac_try) 2>&5
41592 ac_status=$?
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; }; then
41595 eval "$as_ac_var=yes"
41596 else
41597 echo "$as_me: failed program was:" >&5
41598 sed 's/^/| /' conftest.$ac_ext >&5
41600 eval "$as_ac_var=no"
41602 rm -f conftest.err conftest.$ac_objext \
41603 conftest$ac_exeext conftest.$ac_ext
41605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41607 if test `eval echo '${'$as_ac_var'}'` = yes; then
41608 cat >>confdefs.h <<_ACEOF
41609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41610 _ACEOF
41613 done
41623 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41624 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41625 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41626 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 else
41632 ac_ext=cc
41633 ac_cpp='$CXXCPP $CPPFLAGS'
41634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638 cat >conftest.$ac_ext <<_ACEOF
41639 /* confdefs.h. */
41640 _ACEOF
41641 cat confdefs.h >>conftest.$ac_ext
41642 cat >>conftest.$ac_ext <<_ACEOF
41643 /* end confdefs.h. */
41644 #include <math.h>
41645 #ifdef HAVE_IEEEFP_H
41646 #include <ieeefp.h>
41647 #endif
41650 main ()
41652 sqrtf(0);
41654 return 0;
41656 _ACEOF
41657 rm -f conftest.$ac_objext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41659 (eval $ac_compile) 2>conftest.er1
41660 ac_status=$?
41661 grep -v '^ *+' conftest.er1 >conftest.err
41662 rm -f conftest.er1
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try='test -z "$ac_cxx_werror_flag"
41667 || test ! -s conftest.err'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41670 ac_status=$?
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; } &&
41673 { ac_try='test -s conftest.$ac_objext'
41674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41675 (eval $ac_try) 2>&5
41676 ac_status=$?
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); }; }; then
41679 glibcxx_cv_func_sqrtf_use=yes
41680 else
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41684 glibcxx_cv_func_sqrtf_use=no
41686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41687 ac_ext=c
41688 ac_cpp='$CPP $CPPFLAGS'
41689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41698 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41700 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41702 for ac_func in sqrtf
41704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41705 echo "$as_me:$LINENO: checking for $ac_func" >&5
41706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41707 if eval "test \"\${$as_ac_var+set}\" = set"; then
41708 echo $ECHO_N "(cached) $ECHO_C" >&6
41709 else
41710 if test x$gcc_no_link = xyes; then
41711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41713 { (exit 1); exit 1; }; }
41715 cat >conftest.$ac_ext <<_ACEOF
41716 /* confdefs.h. */
41717 _ACEOF
41718 cat confdefs.h >>conftest.$ac_ext
41719 cat >>conftest.$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41723 #define $ac_func innocuous_$ac_func
41725 /* System header to define __stub macros and hopefully few prototypes,
41726 which can conflict with char $ac_func (); below.
41727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41728 <limits.h> exists even on freestanding compilers. */
41730 #ifdef __STDC__
41731 # include <limits.h>
41732 #else
41733 # include <assert.h>
41734 #endif
41736 #undef $ac_func
41738 /* Override any gcc2 internal prototype to avoid an error. */
41739 #ifdef __cplusplus
41740 extern "C"
41742 #endif
41743 /* We use char because int might match the return type of a gcc2
41744 builtin and then its argument prototype would still apply. */
41745 char $ac_func ();
41746 /* The GNU C library defines this for functions which it implements
41747 to always fail with ENOSYS. Some functions are actually named
41748 something starting with __ and the normal name is an alias. */
41749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41750 choke me
41751 #else
41752 char (*f) () = $ac_func;
41753 #endif
41754 #ifdef __cplusplus
41756 #endif
41759 main ()
41761 return f != $ac_func;
41763 return 0;
41765 _ACEOF
41766 rm -f conftest.$ac_objext conftest$ac_exeext
41767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41768 (eval $ac_link) 2>conftest.er1
41769 ac_status=$?
41770 grep -v '^ *+' conftest.er1 >conftest.err
41771 rm -f conftest.er1
41772 cat conftest.err >&5
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); } &&
41775 { ac_try='test -z "$ac_c_werror_flag"
41776 || test ! -s conftest.err'
41777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41778 (eval $ac_try) 2>&5
41779 ac_status=$?
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); }; } &&
41782 { ac_try='test -s conftest$ac_exeext'
41783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41784 (eval $ac_try) 2>&5
41785 ac_status=$?
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); }; }; then
41788 eval "$as_ac_var=yes"
41789 else
41790 echo "$as_me: failed program was:" >&5
41791 sed 's/^/| /' conftest.$ac_ext >&5
41793 eval "$as_ac_var=no"
41795 rm -f conftest.err conftest.$ac_objext \
41796 conftest$ac_exeext conftest.$ac_ext
41798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41800 if test `eval echo '${'$as_ac_var'}'` = yes; then
41801 cat >>confdefs.h <<_ACEOF
41802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41803 _ACEOF
41806 done
41808 else
41810 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41811 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41812 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41813 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41814 echo $ECHO_N "(cached) $ECHO_C" >&6
41815 else
41819 ac_ext=cc
41820 ac_cpp='$CXXCPP $CPPFLAGS'
41821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41825 cat >conftest.$ac_ext <<_ACEOF
41826 /* confdefs.h. */
41827 _ACEOF
41828 cat confdefs.h >>conftest.$ac_ext
41829 cat >>conftest.$ac_ext <<_ACEOF
41830 /* end confdefs.h. */
41831 #include <math.h>
41832 #ifdef HAVE_IEEEFP_H
41833 #include <ieeefp.h>
41834 #endif
41837 main ()
41839 _sqrtf(0);
41841 return 0;
41843 _ACEOF
41844 rm -f conftest.$ac_objext
41845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41846 (eval $ac_compile) 2>conftest.er1
41847 ac_status=$?
41848 grep -v '^ *+' conftest.er1 >conftest.err
41849 rm -f conftest.er1
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } &&
41853 { ac_try='test -z "$ac_cxx_werror_flag"
41854 || test ! -s conftest.err'
41855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41856 (eval $ac_try) 2>&5
41857 ac_status=$?
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); }; } &&
41860 { ac_try='test -s conftest.$ac_objext'
41861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41862 (eval $ac_try) 2>&5
41863 ac_status=$?
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); }; }; then
41866 glibcxx_cv_func__sqrtf_use=yes
41867 else
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 glibcxx_cv_func__sqrtf_use=no
41873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41874 ac_ext=c
41875 ac_cpp='$CPP $CPPFLAGS'
41876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41885 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41887 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41889 for ac_func in _sqrtf
41891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41892 echo "$as_me:$LINENO: checking for $ac_func" >&5
41893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41894 if eval "test \"\${$as_ac_var+set}\" = set"; then
41895 echo $ECHO_N "(cached) $ECHO_C" >&6
41896 else
41897 if test x$gcc_no_link = xyes; then
41898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41900 { (exit 1); exit 1; }; }
41902 cat >conftest.$ac_ext <<_ACEOF
41903 /* confdefs.h. */
41904 _ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h. */
41908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41910 #define $ac_func innocuous_$ac_func
41912 /* System header to define __stub macros and hopefully few prototypes,
41913 which can conflict with char $ac_func (); below.
41914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41915 <limits.h> exists even on freestanding compilers. */
41917 #ifdef __STDC__
41918 # include <limits.h>
41919 #else
41920 # include <assert.h>
41921 #endif
41923 #undef $ac_func
41925 /* Override any gcc2 internal prototype to avoid an error. */
41926 #ifdef __cplusplus
41927 extern "C"
41929 #endif
41930 /* We use char because int might match the return type of a gcc2
41931 builtin and then its argument prototype would still apply. */
41932 char $ac_func ();
41933 /* The GNU C library defines this for functions which it implements
41934 to always fail with ENOSYS. Some functions are actually named
41935 something starting with __ and the normal name is an alias. */
41936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41937 choke me
41938 #else
41939 char (*f) () = $ac_func;
41940 #endif
41941 #ifdef __cplusplus
41943 #endif
41946 main ()
41948 return f != $ac_func;
41950 return 0;
41952 _ACEOF
41953 rm -f conftest.$ac_objext conftest$ac_exeext
41954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41955 (eval $ac_link) 2>conftest.er1
41956 ac_status=$?
41957 grep -v '^ *+' conftest.er1 >conftest.err
41958 rm -f conftest.er1
41959 cat conftest.err >&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); } &&
41962 { ac_try='test -z "$ac_c_werror_flag"
41963 || test ! -s conftest.err'
41964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41965 (eval $ac_try) 2>&5
41966 ac_status=$?
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); }; } &&
41969 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41975 eval "$as_ac_var=yes"
41976 else
41977 echo "$as_me: failed program was:" >&5
41978 sed 's/^/| /' conftest.$ac_ext >&5
41980 eval "$as_ac_var=no"
41982 rm -f conftest.err conftest.$ac_objext \
41983 conftest$ac_exeext conftest.$ac_ext
41985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41987 if test `eval echo '${'$as_ac_var'}'` = yes; then
41988 cat >>confdefs.h <<_ACEOF
41989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41990 _ACEOF
41993 done
42003 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42004 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42005 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42006 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42007 echo $ECHO_N "(cached) $ECHO_C" >&6
42008 else
42012 ac_ext=cc
42013 ac_cpp='$CXXCPP $CPPFLAGS'
42014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018 cat >conftest.$ac_ext <<_ACEOF
42019 /* confdefs.h. */
42020 _ACEOF
42021 cat confdefs.h >>conftest.$ac_ext
42022 cat >>conftest.$ac_ext <<_ACEOF
42023 /* end confdefs.h. */
42024 #include <math.h>
42026 main ()
42028 sincosf(0, 0, 0);
42030 return 0;
42032 _ACEOF
42033 rm -f conftest.$ac_objext
42034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42035 (eval $ac_compile) 2>conftest.er1
42036 ac_status=$?
42037 grep -v '^ *+' conftest.er1 >conftest.err
42038 rm -f conftest.er1
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } &&
42042 { ac_try='test -z "$ac_cxx_werror_flag"
42043 || test ! -s conftest.err'
42044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42045 (eval $ac_try) 2>&5
42046 ac_status=$?
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; } &&
42049 { ac_try='test -s conftest.$ac_objext'
42050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42051 (eval $ac_try) 2>&5
42052 ac_status=$?
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); }; }; then
42055 glibcxx_cv_func_sincosf_use=yes
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42060 glibcxx_cv_func_sincosf_use=no
42062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42074 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42076 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42078 for ac_func in sincosf
42080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42081 echo "$as_me:$LINENO: checking for $ac_func" >&5
42082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42083 if eval "test \"\${$as_ac_var+set}\" = set"; then
42084 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 else
42086 if test x$gcc_no_link = xyes; then
42087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42089 { (exit 1); exit 1; }; }
42091 cat >conftest.$ac_ext <<_ACEOF
42092 /* confdefs.h. */
42093 _ACEOF
42094 cat confdefs.h >>conftest.$ac_ext
42095 cat >>conftest.$ac_ext <<_ACEOF
42096 /* end confdefs.h. */
42097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42099 #define $ac_func innocuous_$ac_func
42101 /* System header to define __stub macros and hopefully few prototypes,
42102 which can conflict with char $ac_func (); below.
42103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42104 <limits.h> exists even on freestanding compilers. */
42106 #ifdef __STDC__
42107 # include <limits.h>
42108 #else
42109 # include <assert.h>
42110 #endif
42112 #undef $ac_func
42114 /* Override any gcc2 internal prototype to avoid an error. */
42115 #ifdef __cplusplus
42116 extern "C"
42118 #endif
42119 /* We use char because int might match the return type of a gcc2
42120 builtin and then its argument prototype would still apply. */
42121 char $ac_func ();
42122 /* The GNU C library defines this for functions which it implements
42123 to always fail with ENOSYS. Some functions are actually named
42124 something starting with __ and the normal name is an alias. */
42125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42126 choke me
42127 #else
42128 char (*f) () = $ac_func;
42129 #endif
42130 #ifdef __cplusplus
42132 #endif
42135 main ()
42137 return f != $ac_func;
42139 return 0;
42141 _ACEOF
42142 rm -f conftest.$ac_objext conftest$ac_exeext
42143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42144 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
42165 else
42166 echo "$as_me: failed program was:" >&5
42167 sed 's/^/| /' conftest.$ac_ext >&5
42169 eval "$as_ac_var=no"
42171 rm -f conftest.err conftest.$ac_objext \
42172 conftest$ac_exeext conftest.$ac_ext
42174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42176 if test `eval echo '${'$as_ac_var'}'` = yes; then
42177 cat >>confdefs.h <<_ACEOF
42178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42179 _ACEOF
42182 done
42184 else
42186 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42187 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42188 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42189 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42190 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 else
42195 ac_ext=cc
42196 ac_cpp='$CXXCPP $CPPFLAGS'
42197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42201 cat >conftest.$ac_ext <<_ACEOF
42202 /* confdefs.h. */
42203 _ACEOF
42204 cat confdefs.h >>conftest.$ac_ext
42205 cat >>conftest.$ac_ext <<_ACEOF
42206 /* end confdefs.h. */
42207 #include <math.h>
42209 main ()
42211 _sincosf(0, 0, 0);
42213 return 0;
42215 _ACEOF
42216 rm -f conftest.$ac_objext
42217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42218 (eval $ac_compile) 2>conftest.er1
42219 ac_status=$?
42220 grep -v '^ *+' conftest.er1 >conftest.err
42221 rm -f conftest.er1
42222 cat conftest.err >&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); } &&
42225 { ac_try='test -z "$ac_cxx_werror_flag"
42226 || test ! -s conftest.err'
42227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42228 (eval $ac_try) 2>&5
42229 ac_status=$?
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); }; } &&
42232 { ac_try='test -s conftest.$ac_objext'
42233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42234 (eval $ac_try) 2>&5
42235 ac_status=$?
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); }; }; then
42238 glibcxx_cv_func__sincosf_use=yes
42239 else
42240 echo "$as_me: failed program was:" >&5
42241 sed 's/^/| /' conftest.$ac_ext >&5
42243 glibcxx_cv_func__sincosf_use=no
42245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42246 ac_ext=c
42247 ac_cpp='$CPP $CPPFLAGS'
42248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42257 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42259 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42261 for ac_func in _sincosf
42263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42264 echo "$as_me:$LINENO: checking for $ac_func" >&5
42265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42266 if eval "test \"\${$as_ac_var+set}\" = set"; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 else
42269 if test x$gcc_no_link = xyes; then
42270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42272 { (exit 1); exit 1; }; }
42274 cat >conftest.$ac_ext <<_ACEOF
42275 /* confdefs.h. */
42276 _ACEOF
42277 cat confdefs.h >>conftest.$ac_ext
42278 cat >>conftest.$ac_ext <<_ACEOF
42279 /* end confdefs.h. */
42280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42282 #define $ac_func innocuous_$ac_func
42284 /* System header to define __stub macros and hopefully few prototypes,
42285 which can conflict with char $ac_func (); below.
42286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42287 <limits.h> exists even on freestanding compilers. */
42289 #ifdef __STDC__
42290 # include <limits.h>
42291 #else
42292 # include <assert.h>
42293 #endif
42295 #undef $ac_func
42297 /* Override any gcc2 internal prototype to avoid an error. */
42298 #ifdef __cplusplus
42299 extern "C"
42301 #endif
42302 /* We use char because int might match the return type of a gcc2
42303 builtin and then its argument prototype would still apply. */
42304 char $ac_func ();
42305 /* The GNU C library defines this for functions which it implements
42306 to always fail with ENOSYS. Some functions are actually named
42307 something starting with __ and the normal name is an alias. */
42308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42309 choke me
42310 #else
42311 char (*f) () = $ac_func;
42312 #endif
42313 #ifdef __cplusplus
42315 #endif
42318 main ()
42320 return f != $ac_func;
42322 return 0;
42324 _ACEOF
42325 rm -f conftest.$ac_objext conftest$ac_exeext
42326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42327 (eval $ac_link) 2>conftest.er1
42328 ac_status=$?
42329 grep -v '^ *+' conftest.er1 >conftest.err
42330 rm -f conftest.er1
42331 cat conftest.err >&5
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); } &&
42334 { ac_try='test -z "$ac_c_werror_flag"
42335 || test ! -s conftest.err'
42336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337 (eval $ac_try) 2>&5
42338 ac_status=$?
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); }; } &&
42341 { ac_try='test -s conftest$ac_exeext'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42344 ac_status=$?
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; }; then
42347 eval "$as_ac_var=yes"
42348 else
42349 echo "$as_me: failed program was:" >&5
42350 sed 's/^/| /' conftest.$ac_ext >&5
42352 eval "$as_ac_var=no"
42354 rm -f conftest.err conftest.$ac_objext \
42355 conftest$ac_exeext conftest.$ac_ext
42357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42359 if test `eval echo '${'$as_ac_var'}'` = yes; then
42360 cat >>confdefs.h <<_ACEOF
42361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42362 _ACEOF
42365 done
42375 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42376 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42377 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42378 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42379 echo $ECHO_N "(cached) $ECHO_C" >&6
42380 else
42384 ac_ext=cc
42385 ac_cpp='$CXXCPP $CPPFLAGS'
42386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42390 cat >conftest.$ac_ext <<_ACEOF
42391 /* confdefs.h. */
42392 _ACEOF
42393 cat confdefs.h >>conftest.$ac_ext
42394 cat >>conftest.$ac_ext <<_ACEOF
42395 /* end confdefs.h. */
42396 #include <math.h>
42397 #ifdef HAVE_IEEEFP_H
42398 #include <ieeefp.h>
42399 #endif
42402 main ()
42404 finitef(0);
42406 return 0;
42408 _ACEOF
42409 rm -f conftest.$ac_objext
42410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42411 (eval $ac_compile) 2>conftest.er1
42412 ac_status=$?
42413 grep -v '^ *+' conftest.er1 >conftest.err
42414 rm -f conftest.er1
42415 cat conftest.err >&5
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); } &&
42418 { ac_try='test -z "$ac_cxx_werror_flag"
42419 || test ! -s conftest.err'
42420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42421 (eval $ac_try) 2>&5
42422 ac_status=$?
42423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42424 (exit $ac_status); }; } &&
42425 { ac_try='test -s conftest.$ac_objext'
42426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42427 (eval $ac_try) 2>&5
42428 ac_status=$?
42429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42430 (exit $ac_status); }; }; then
42431 glibcxx_cv_func_finitef_use=yes
42432 else
42433 echo "$as_me: failed program was:" >&5
42434 sed 's/^/| /' conftest.$ac_ext >&5
42436 glibcxx_cv_func_finitef_use=no
42438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42439 ac_ext=c
42440 ac_cpp='$CPP $CPPFLAGS'
42441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42450 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42452 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42454 for ac_func in finitef
42456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42457 echo "$as_me:$LINENO: checking for $ac_func" >&5
42458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42459 if eval "test \"\${$as_ac_var+set}\" = set"; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42461 else
42462 if test x$gcc_no_link = xyes; then
42463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42465 { (exit 1); exit 1; }; }
42467 cat >conftest.$ac_ext <<_ACEOF
42468 /* confdefs.h. */
42469 _ACEOF
42470 cat confdefs.h >>conftest.$ac_ext
42471 cat >>conftest.$ac_ext <<_ACEOF
42472 /* end confdefs.h. */
42473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42475 #define $ac_func innocuous_$ac_func
42477 /* System header to define __stub macros and hopefully few prototypes,
42478 which can conflict with char $ac_func (); below.
42479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42480 <limits.h> exists even on freestanding compilers. */
42482 #ifdef __STDC__
42483 # include <limits.h>
42484 #else
42485 # include <assert.h>
42486 #endif
42488 #undef $ac_func
42490 /* Override any gcc2 internal prototype to avoid an error. */
42491 #ifdef __cplusplus
42492 extern "C"
42494 #endif
42495 /* We use char because int might match the return type of a gcc2
42496 builtin and then its argument prototype would still apply. */
42497 char $ac_func ();
42498 /* The GNU C library defines this for functions which it implements
42499 to always fail with ENOSYS. Some functions are actually named
42500 something starting with __ and the normal name is an alias. */
42501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42502 choke me
42503 #else
42504 char (*f) () = $ac_func;
42505 #endif
42506 #ifdef __cplusplus
42508 #endif
42511 main ()
42513 return f != $ac_func;
42515 return 0;
42517 _ACEOF
42518 rm -f conftest.$ac_objext conftest$ac_exeext
42519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42520 (eval $ac_link) 2>conftest.er1
42521 ac_status=$?
42522 grep -v '^ *+' conftest.er1 >conftest.err
42523 rm -f conftest.er1
42524 cat conftest.err >&5
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); } &&
42527 { ac_try='test -z "$ac_c_werror_flag"
42528 || test ! -s conftest.err'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42531 ac_status=$?
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; } &&
42534 { ac_try='test -s conftest$ac_exeext'
42535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42536 (eval $ac_try) 2>&5
42537 ac_status=$?
42538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42539 (exit $ac_status); }; }; then
42540 eval "$as_ac_var=yes"
42541 else
42542 echo "$as_me: failed program was:" >&5
42543 sed 's/^/| /' conftest.$ac_ext >&5
42545 eval "$as_ac_var=no"
42547 rm -f conftest.err conftest.$ac_objext \
42548 conftest$ac_exeext conftest.$ac_ext
42550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42552 if test `eval echo '${'$as_ac_var'}'` = yes; then
42553 cat >>confdefs.h <<_ACEOF
42554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42555 _ACEOF
42558 done
42560 else
42562 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42563 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42564 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42565 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42566 echo $ECHO_N "(cached) $ECHO_C" >&6
42567 else
42571 ac_ext=cc
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42577 cat >conftest.$ac_ext <<_ACEOF
42578 /* confdefs.h. */
42579 _ACEOF
42580 cat confdefs.h >>conftest.$ac_ext
42581 cat >>conftest.$ac_ext <<_ACEOF
42582 /* end confdefs.h. */
42583 #include <math.h>
42584 #ifdef HAVE_IEEEFP_H
42585 #include <ieeefp.h>
42586 #endif
42589 main ()
42591 _finitef(0);
42593 return 0;
42595 _ACEOF
42596 rm -f conftest.$ac_objext
42597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42598 (eval $ac_compile) 2>conftest.er1
42599 ac_status=$?
42600 grep -v '^ *+' conftest.er1 >conftest.err
42601 rm -f conftest.er1
42602 cat conftest.err >&5
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); } &&
42605 { ac_try='test -z "$ac_cxx_werror_flag"
42606 || test ! -s conftest.err'
42607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42608 (eval $ac_try) 2>&5
42609 ac_status=$?
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); }; } &&
42612 { ac_try='test -s conftest.$ac_objext'
42613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42614 (eval $ac_try) 2>&5
42615 ac_status=$?
42616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42617 (exit $ac_status); }; }; then
42618 glibcxx_cv_func__finitef_use=yes
42619 else
42620 echo "$as_me: failed program was:" >&5
42621 sed 's/^/| /' conftest.$ac_ext >&5
42623 glibcxx_cv_func__finitef_use=no
42625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42626 ac_ext=c
42627 ac_cpp='$CPP $CPPFLAGS'
42628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42637 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42639 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42641 for ac_func in _finitef
42643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42644 echo "$as_me:$LINENO: checking for $ac_func" >&5
42645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42646 if eval "test \"\${$as_ac_var+set}\" = set"; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42649 if test x$gcc_no_link = xyes; then
42650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42652 { (exit 1); exit 1; }; }
42654 cat >conftest.$ac_ext <<_ACEOF
42655 /* confdefs.h. */
42656 _ACEOF
42657 cat confdefs.h >>conftest.$ac_ext
42658 cat >>conftest.$ac_ext <<_ACEOF
42659 /* end confdefs.h. */
42660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42662 #define $ac_func innocuous_$ac_func
42664 /* System header to define __stub macros and hopefully few prototypes,
42665 which can conflict with char $ac_func (); below.
42666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42667 <limits.h> exists even on freestanding compilers. */
42669 #ifdef __STDC__
42670 # include <limits.h>
42671 #else
42672 # include <assert.h>
42673 #endif
42675 #undef $ac_func
42677 /* Override any gcc2 internal prototype to avoid an error. */
42678 #ifdef __cplusplus
42679 extern "C"
42681 #endif
42682 /* We use char because int might match the return type of a gcc2
42683 builtin and then its argument prototype would still apply. */
42684 char $ac_func ();
42685 /* The GNU C library defines this for functions which it implements
42686 to always fail with ENOSYS. Some functions are actually named
42687 something starting with __ and the normal name is an alias. */
42688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42689 choke me
42690 #else
42691 char (*f) () = $ac_func;
42692 #endif
42693 #ifdef __cplusplus
42695 #endif
42698 main ()
42700 return f != $ac_func;
42702 return 0;
42704 _ACEOF
42705 rm -f conftest.$ac_objext conftest$ac_exeext
42706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42707 (eval $ac_link) 2>conftest.er1
42708 ac_status=$?
42709 grep -v '^ *+' conftest.er1 >conftest.err
42710 rm -f conftest.er1
42711 cat conftest.err >&5
42712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42713 (exit $ac_status); } &&
42714 { ac_try='test -z "$ac_c_werror_flag"
42715 || test ! -s conftest.err'
42716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717 (eval $ac_try) 2>&5
42718 ac_status=$?
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; } &&
42721 { ac_try='test -s conftest$ac_exeext'
42722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42723 (eval $ac_try) 2>&5
42724 ac_status=$?
42725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42726 (exit $ac_status); }; }; then
42727 eval "$as_ac_var=yes"
42728 else
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42732 eval "$as_ac_var=no"
42734 rm -f conftest.err conftest.$ac_objext \
42735 conftest$ac_exeext conftest.$ac_ext
42737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42739 if test `eval echo '${'$as_ac_var'}'` = yes; then
42740 cat >>confdefs.h <<_ACEOF
42741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42742 _ACEOF
42745 done
42755 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42756 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42757 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42758 echo $ECHO_N "(cached) $ECHO_C" >&6
42759 else
42763 ac_ext=cc
42764 ac_cpp='$CXXCPP $CPPFLAGS'
42765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42769 cat >conftest.$ac_ext <<_ACEOF
42770 /* confdefs.h. */
42771 _ACEOF
42772 cat confdefs.h >>conftest.$ac_ext
42773 cat >>conftest.$ac_ext <<_ACEOF
42774 /* end confdefs.h. */
42775 #include <math.h>
42777 main ()
42779 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42781 return 0;
42783 _ACEOF
42784 rm -f conftest.$ac_objext
42785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42786 (eval $ac_compile) 2>conftest.er1
42787 ac_status=$?
42788 grep -v '^ *+' conftest.er1 >conftest.err
42789 rm -f conftest.er1
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } &&
42793 { ac_try='test -z "$ac_cxx_werror_flag"
42794 || test ! -s conftest.err'
42795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796 (eval $ac_try) 2>&5
42797 ac_status=$?
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; } &&
42800 { ac_try='test -s conftest.$ac_objext'
42801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42802 (eval $ac_try) 2>&5
42803 ac_status=$?
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); }; }; then
42806 glibcxx_cv_func_long_double_trig_use=yes
42807 else
42808 echo "$as_me: failed program was:" >&5
42809 sed 's/^/| /' conftest.$ac_ext >&5
42811 glibcxx_cv_func_long_double_trig_use=no
42813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42814 ac_ext=c
42815 ac_cpp='$CPP $CPPFLAGS'
42816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42823 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42824 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42834 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42837 echo "$as_me:$LINENO: checking for $ac_func" >&5
42838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42839 if eval "test \"\${$as_ac_var+set}\" = set"; then
42840 echo $ECHO_N "(cached) $ECHO_C" >&6
42841 else
42842 if test x$gcc_no_link = xyes; then
42843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42845 { (exit 1); exit 1; }; }
42847 cat >conftest.$ac_ext <<_ACEOF
42848 /* confdefs.h. */
42849 _ACEOF
42850 cat confdefs.h >>conftest.$ac_ext
42851 cat >>conftest.$ac_ext <<_ACEOF
42852 /* end confdefs.h. */
42853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42855 #define $ac_func innocuous_$ac_func
42857 /* System header to define __stub macros and hopefully few prototypes,
42858 which can conflict with char $ac_func (); below.
42859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42860 <limits.h> exists even on freestanding compilers. */
42862 #ifdef __STDC__
42863 # include <limits.h>
42864 #else
42865 # include <assert.h>
42866 #endif
42868 #undef $ac_func
42870 /* Override any gcc2 internal prototype to avoid an error. */
42871 #ifdef __cplusplus
42872 extern "C"
42874 #endif
42875 /* We use char because int might match the return type of a gcc2
42876 builtin and then its argument prototype would still apply. */
42877 char $ac_func ();
42878 /* The GNU C library defines this for functions which it implements
42879 to always fail with ENOSYS. Some functions are actually named
42880 something starting with __ and the normal name is an alias. */
42881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42882 choke me
42883 #else
42884 char (*f) () = $ac_func;
42885 #endif
42886 #ifdef __cplusplus
42888 #endif
42891 main ()
42893 return f != $ac_func;
42895 return 0;
42897 _ACEOF
42898 rm -f conftest.$ac_objext conftest$ac_exeext
42899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42900 (eval $ac_link) 2>conftest.er1
42901 ac_status=$?
42902 grep -v '^ *+' conftest.er1 >conftest.err
42903 rm -f conftest.er1
42904 cat conftest.err >&5
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); } &&
42907 { ac_try='test -z "$ac_c_werror_flag"
42908 || test ! -s conftest.err'
42909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42910 (eval $ac_try) 2>&5
42911 ac_status=$?
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); }; } &&
42914 { ac_try='test -s conftest$ac_exeext'
42915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42916 (eval $ac_try) 2>&5
42917 ac_status=$?
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); }; }; then
42920 eval "$as_ac_var=yes"
42921 else
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42925 eval "$as_ac_var=no"
42927 rm -f conftest.err conftest.$ac_objext \
42928 conftest$ac_exeext conftest.$ac_ext
42930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42932 if test `eval echo '${'$as_ac_var'}'` = yes; then
42933 cat >>confdefs.h <<_ACEOF
42934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42935 _ACEOF
42938 done
42940 else
42941 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42942 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42943 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42945 else
42949 ac_ext=cc
42950 ac_cpp='$CXXCPP $CPPFLAGS'
42951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42955 cat >conftest.$ac_ext <<_ACEOF
42956 /* confdefs.h. */
42957 _ACEOF
42958 cat confdefs.h >>conftest.$ac_ext
42959 cat >>conftest.$ac_ext <<_ACEOF
42960 /* end confdefs.h. */
42961 #include <math.h>
42963 main ()
42965 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42967 return 0;
42969 _ACEOF
42970 rm -f conftest.$ac_objext
42971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42972 (eval $ac_compile) 2>conftest.er1
42973 ac_status=$?
42974 grep -v '^ *+' conftest.er1 >conftest.err
42975 rm -f conftest.er1
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } &&
42979 { ac_try='test -z "$ac_cxx_werror_flag"
42980 || test ! -s conftest.err'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42983 ac_status=$?
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; } &&
42986 { ac_try='test -s conftest.$ac_objext'
42987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42988 (eval $ac_try) 2>&5
42989 ac_status=$?
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); }; }; then
42992 glibcxx_cv_func__long_double_trig_use=yes
42993 else
42994 echo "$as_me: failed program was:" >&5
42995 sed 's/^/| /' conftest.$ac_ext >&5
42997 glibcxx_cv_func__long_double_trig_use=no
42999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43000 ac_ext=c
43001 ac_cpp='$CPP $CPPFLAGS'
43002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43009 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43010 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43020 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43023 echo "$as_me:$LINENO: checking for $ac_func" >&5
43024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43025 if eval "test \"\${$as_ac_var+set}\" = set"; then
43026 echo $ECHO_N "(cached) $ECHO_C" >&6
43027 else
43028 if test x$gcc_no_link = xyes; then
43029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43031 { (exit 1); exit 1; }; }
43033 cat >conftest.$ac_ext <<_ACEOF
43034 /* confdefs.h. */
43035 _ACEOF
43036 cat confdefs.h >>conftest.$ac_ext
43037 cat >>conftest.$ac_ext <<_ACEOF
43038 /* end confdefs.h. */
43039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43041 #define $ac_func innocuous_$ac_func
43043 /* System header to define __stub macros and hopefully few prototypes,
43044 which can conflict with char $ac_func (); below.
43045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43046 <limits.h> exists even on freestanding compilers. */
43048 #ifdef __STDC__
43049 # include <limits.h>
43050 #else
43051 # include <assert.h>
43052 #endif
43054 #undef $ac_func
43056 /* Override any gcc2 internal prototype to avoid an error. */
43057 #ifdef __cplusplus
43058 extern "C"
43060 #endif
43061 /* We use char because int might match the return type of a gcc2
43062 builtin and then its argument prototype would still apply. */
43063 char $ac_func ();
43064 /* The GNU C library defines this for functions which it implements
43065 to always fail with ENOSYS. Some functions are actually named
43066 something starting with __ and the normal name is an alias. */
43067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43068 choke me
43069 #else
43070 char (*f) () = $ac_func;
43071 #endif
43072 #ifdef __cplusplus
43074 #endif
43077 main ()
43079 return f != $ac_func;
43081 return 0;
43083 _ACEOF
43084 rm -f conftest.$ac_objext conftest$ac_exeext
43085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43086 (eval $ac_link) 2>conftest.er1
43087 ac_status=$?
43088 grep -v '^ *+' conftest.er1 >conftest.err
43089 rm -f conftest.er1
43090 cat conftest.err >&5
43091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43092 (exit $ac_status); } &&
43093 { ac_try='test -z "$ac_c_werror_flag"
43094 || test ! -s conftest.err'
43095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43096 (eval $ac_try) 2>&5
43097 ac_status=$?
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); }; } &&
43100 { ac_try='test -s conftest$ac_exeext'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43103 ac_status=$?
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; }; then
43106 eval "$as_ac_var=yes"
43107 else
43108 echo "$as_me: failed program was:" >&5
43109 sed 's/^/| /' conftest.$ac_ext >&5
43111 eval "$as_ac_var=no"
43113 rm -f conftest.err conftest.$ac_objext \
43114 conftest$ac_exeext conftest.$ac_ext
43116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43118 if test `eval echo '${'$as_ac_var'}'` = yes; then
43119 cat >>confdefs.h <<_ACEOF
43120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43121 _ACEOF
43124 done
43142 echo "$as_me:$LINENO: checking for long double round functions" >&5
43143 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43144 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43145 echo $ECHO_N "(cached) $ECHO_C" >&6
43146 else
43150 ac_ext=cc
43151 ac_cpp='$CXXCPP $CPPFLAGS'
43152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43156 cat >conftest.$ac_ext <<_ACEOF
43157 /* confdefs.h. */
43158 _ACEOF
43159 cat confdefs.h >>conftest.$ac_ext
43160 cat >>conftest.$ac_ext <<_ACEOF
43161 /* end confdefs.h. */
43162 #include <math.h>
43164 main ()
43166 ceill (0); floorl (0);
43168 return 0;
43170 _ACEOF
43171 rm -f conftest.$ac_objext
43172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43173 (eval $ac_compile) 2>conftest.er1
43174 ac_status=$?
43175 grep -v '^ *+' conftest.er1 >conftest.err
43176 rm -f conftest.er1
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } &&
43180 { ac_try='test -z "$ac_cxx_werror_flag"
43181 || test ! -s conftest.err'
43182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183 (eval $ac_try) 2>&5
43184 ac_status=$?
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; } &&
43187 { ac_try='test -s conftest.$ac_objext'
43188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43189 (eval $ac_try) 2>&5
43190 ac_status=$?
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); }; }; then
43193 glibcxx_cv_func_long_double_round_use=yes
43194 else
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43198 glibcxx_cv_func_long_double_round_use=no
43200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43201 ac_ext=c
43202 ac_cpp='$CPP $CPPFLAGS'
43203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43210 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43211 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43214 for ac_func in ceill floorl
43216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43217 echo "$as_me:$LINENO: checking for $ac_func" >&5
43218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43219 if eval "test \"\${$as_ac_var+set}\" = set"; then
43220 echo $ECHO_N "(cached) $ECHO_C" >&6
43221 else
43222 if test x$gcc_no_link = xyes; then
43223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43225 { (exit 1); exit 1; }; }
43227 cat >conftest.$ac_ext <<_ACEOF
43228 /* confdefs.h. */
43229 _ACEOF
43230 cat confdefs.h >>conftest.$ac_ext
43231 cat >>conftest.$ac_ext <<_ACEOF
43232 /* end confdefs.h. */
43233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43235 #define $ac_func innocuous_$ac_func
43237 /* System header to define __stub macros and hopefully few prototypes,
43238 which can conflict with char $ac_func (); below.
43239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43240 <limits.h> exists even on freestanding compilers. */
43242 #ifdef __STDC__
43243 # include <limits.h>
43244 #else
43245 # include <assert.h>
43246 #endif
43248 #undef $ac_func
43250 /* Override any gcc2 internal prototype to avoid an error. */
43251 #ifdef __cplusplus
43252 extern "C"
43254 #endif
43255 /* We use char because int might match the return type of a gcc2
43256 builtin and then its argument prototype would still apply. */
43257 char $ac_func ();
43258 /* The GNU C library defines this for functions which it implements
43259 to always fail with ENOSYS. Some functions are actually named
43260 something starting with __ and the normal name is an alias. */
43261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43262 choke me
43263 #else
43264 char (*f) () = $ac_func;
43265 #endif
43266 #ifdef __cplusplus
43268 #endif
43271 main ()
43273 return f != $ac_func;
43275 return 0;
43277 _ACEOF
43278 rm -f conftest.$ac_objext conftest$ac_exeext
43279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43280 (eval $ac_link) 2>conftest.er1
43281 ac_status=$?
43282 grep -v '^ *+' conftest.er1 >conftest.err
43283 rm -f conftest.er1
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } &&
43287 { ac_try='test -z "$ac_c_werror_flag"
43288 || test ! -s conftest.err'
43289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43290 (eval $ac_try) 2>&5
43291 ac_status=$?
43292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293 (exit $ac_status); }; } &&
43294 { ac_try='test -s conftest$ac_exeext'
43295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43296 (eval $ac_try) 2>&5
43297 ac_status=$?
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); }; }; then
43300 eval "$as_ac_var=yes"
43301 else
43302 echo "$as_me: failed program was:" >&5
43303 sed 's/^/| /' conftest.$ac_ext >&5
43305 eval "$as_ac_var=no"
43307 rm -f conftest.err conftest.$ac_objext \
43308 conftest$ac_exeext conftest.$ac_ext
43310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43312 if test `eval echo '${'$as_ac_var'}'` = yes; then
43313 cat >>confdefs.h <<_ACEOF
43314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43315 _ACEOF
43318 done
43320 else
43321 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43322 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43323 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43324 echo $ECHO_N "(cached) $ECHO_C" >&6
43325 else
43329 ac_ext=cc
43330 ac_cpp='$CXXCPP $CPPFLAGS'
43331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43335 cat >conftest.$ac_ext <<_ACEOF
43336 /* confdefs.h. */
43337 _ACEOF
43338 cat confdefs.h >>conftest.$ac_ext
43339 cat >>conftest.$ac_ext <<_ACEOF
43340 /* end confdefs.h. */
43341 #include <math.h>
43343 main ()
43345 _ceill (0); _floorl (0);
43347 return 0;
43349 _ACEOF
43350 rm -f conftest.$ac_objext
43351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43352 (eval $ac_compile) 2>conftest.er1
43353 ac_status=$?
43354 grep -v '^ *+' conftest.er1 >conftest.err
43355 rm -f conftest.er1
43356 cat conftest.err >&5
43357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358 (exit $ac_status); } &&
43359 { ac_try='test -z "$ac_cxx_werror_flag"
43360 || test ! -s conftest.err'
43361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43362 (eval $ac_try) 2>&5
43363 ac_status=$?
43364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43365 (exit $ac_status); }; } &&
43366 { ac_try='test -s conftest.$ac_objext'
43367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43368 (eval $ac_try) 2>&5
43369 ac_status=$?
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); }; }; then
43372 glibcxx_cv_func__long_double_round_use=yes
43373 else
43374 echo "$as_me: failed program was:" >&5
43375 sed 's/^/| /' conftest.$ac_ext >&5
43377 glibcxx_cv_func__long_double_round_use=no
43379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43380 ac_ext=c
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43389 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43390 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43393 for ac_func in _ceill _floorl
43395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43396 echo "$as_me:$LINENO: checking for $ac_func" >&5
43397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43398 if eval "test \"\${$as_ac_var+set}\" = set"; then
43399 echo $ECHO_N "(cached) $ECHO_C" >&6
43400 else
43401 if test x$gcc_no_link = xyes; then
43402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43404 { (exit 1); exit 1; }; }
43406 cat >conftest.$ac_ext <<_ACEOF
43407 /* confdefs.h. */
43408 _ACEOF
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43414 #define $ac_func innocuous_$ac_func
43416 /* System header to define __stub macros and hopefully few prototypes,
43417 which can conflict with char $ac_func (); below.
43418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43419 <limits.h> exists even on freestanding compilers. */
43421 #ifdef __STDC__
43422 # include <limits.h>
43423 #else
43424 # include <assert.h>
43425 #endif
43427 #undef $ac_func
43429 /* Override any gcc2 internal prototype to avoid an error. */
43430 #ifdef __cplusplus
43431 extern "C"
43433 #endif
43434 /* We use char because int might match the return type of a gcc2
43435 builtin and then its argument prototype would still apply. */
43436 char $ac_func ();
43437 /* The GNU C library defines this for functions which it implements
43438 to always fail with ENOSYS. Some functions are actually named
43439 something starting with __ and the normal name is an alias. */
43440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43441 choke me
43442 #else
43443 char (*f) () = $ac_func;
43444 #endif
43445 #ifdef __cplusplus
43447 #endif
43450 main ()
43452 return f != $ac_func;
43454 return 0;
43456 _ACEOF
43457 rm -f conftest.$ac_objext conftest$ac_exeext
43458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43459 (eval $ac_link) 2>conftest.er1
43460 ac_status=$?
43461 grep -v '^ *+' conftest.er1 >conftest.err
43462 rm -f conftest.er1
43463 cat conftest.err >&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); } &&
43466 { ac_try='test -z "$ac_c_werror_flag"
43467 || test ! -s conftest.err'
43468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43469 (eval $ac_try) 2>&5
43470 ac_status=$?
43471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472 (exit $ac_status); }; } &&
43473 { ac_try='test -s conftest$ac_exeext'
43474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43475 (eval $ac_try) 2>&5
43476 ac_status=$?
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); }; }; then
43479 eval "$as_ac_var=yes"
43480 else
43481 echo "$as_me: failed program was:" >&5
43482 sed 's/^/| /' conftest.$ac_ext >&5
43484 eval "$as_ac_var=no"
43486 rm -f conftest.err conftest.$ac_objext \
43487 conftest$ac_exeext conftest.$ac_ext
43489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43491 if test `eval echo '${'$as_ac_var'}'` = yes; then
43492 cat >>confdefs.h <<_ACEOF
43493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43494 _ACEOF
43497 done
43509 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43510 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43511 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43512 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43513 echo $ECHO_N "(cached) $ECHO_C" >&6
43514 else
43518 ac_ext=cc
43519 ac_cpp='$CXXCPP $CPPFLAGS'
43520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43524 cat >conftest.$ac_ext <<_ACEOF
43525 /* confdefs.h. */
43526 _ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 #include <math.h>
43531 #ifdef HAVE_IEEEFP_H
43532 #include <ieeefp.h>
43533 #endif
43536 main ()
43538 isnanl(0);
43540 return 0;
43542 _ACEOF
43543 rm -f conftest.$ac_objext
43544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43545 (eval $ac_compile) 2>conftest.er1
43546 ac_status=$?
43547 grep -v '^ *+' conftest.er1 >conftest.err
43548 rm -f conftest.er1
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } &&
43552 { ac_try='test -z "$ac_cxx_werror_flag"
43553 || test ! -s conftest.err'
43554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43555 (eval $ac_try) 2>&5
43556 ac_status=$?
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); }; } &&
43559 { ac_try='test -s conftest.$ac_objext'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43562 ac_status=$?
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; }; then
43565 glibcxx_cv_func_isnanl_use=yes
43566 else
43567 echo "$as_me: failed program was:" >&5
43568 sed 's/^/| /' conftest.$ac_ext >&5
43570 glibcxx_cv_func_isnanl_use=no
43572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43584 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43586 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43588 for ac_func in isnanl
43590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43591 echo "$as_me:$LINENO: checking for $ac_func" >&5
43592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43593 if eval "test \"\${$as_ac_var+set}\" = set"; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 else
43596 if test x$gcc_no_link = xyes; then
43597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43599 { (exit 1); exit 1; }; }
43601 cat >conftest.$ac_ext <<_ACEOF
43602 /* confdefs.h. */
43603 _ACEOF
43604 cat confdefs.h >>conftest.$ac_ext
43605 cat >>conftest.$ac_ext <<_ACEOF
43606 /* end confdefs.h. */
43607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43609 #define $ac_func innocuous_$ac_func
43611 /* System header to define __stub macros and hopefully few prototypes,
43612 which can conflict with char $ac_func (); below.
43613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43614 <limits.h> exists even on freestanding compilers. */
43616 #ifdef __STDC__
43617 # include <limits.h>
43618 #else
43619 # include <assert.h>
43620 #endif
43622 #undef $ac_func
43624 /* Override any gcc2 internal prototype to avoid an error. */
43625 #ifdef __cplusplus
43626 extern "C"
43628 #endif
43629 /* We use char because int might match the return type of a gcc2
43630 builtin and then its argument prototype would still apply. */
43631 char $ac_func ();
43632 /* The GNU C library defines this for functions which it implements
43633 to always fail with ENOSYS. Some functions are actually named
43634 something starting with __ and the normal name is an alias. */
43635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43636 choke me
43637 #else
43638 char (*f) () = $ac_func;
43639 #endif
43640 #ifdef __cplusplus
43642 #endif
43645 main ()
43647 return f != $ac_func;
43649 return 0;
43651 _ACEOF
43652 rm -f conftest.$ac_objext conftest$ac_exeext
43653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43654 (eval $ac_link) 2>conftest.er1
43655 ac_status=$?
43656 grep -v '^ *+' conftest.er1 >conftest.err
43657 rm -f conftest.er1
43658 cat conftest.err >&5
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); } &&
43661 { ac_try='test -z "$ac_c_werror_flag"
43662 || test ! -s conftest.err'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; } &&
43668 { ac_try='test -s conftest$ac_exeext'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43671 ac_status=$?
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; }; then
43674 eval "$as_ac_var=yes"
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43679 eval "$as_ac_var=no"
43681 rm -f conftest.err conftest.$ac_objext \
43682 conftest$ac_exeext conftest.$ac_ext
43684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43686 if test `eval echo '${'$as_ac_var'}'` = yes; then
43687 cat >>confdefs.h <<_ACEOF
43688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43689 _ACEOF
43692 done
43694 else
43696 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43697 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43698 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43699 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43700 echo $ECHO_N "(cached) $ECHO_C" >&6
43701 else
43705 ac_ext=cc
43706 ac_cpp='$CXXCPP $CPPFLAGS'
43707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h. */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h. */
43717 #include <math.h>
43718 #ifdef HAVE_IEEEFP_H
43719 #include <ieeefp.h>
43720 #endif
43723 main ()
43725 _isnanl(0);
43727 return 0;
43729 _ACEOF
43730 rm -f conftest.$ac_objext
43731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43732 (eval $ac_compile) 2>conftest.er1
43733 ac_status=$?
43734 grep -v '^ *+' conftest.er1 >conftest.err
43735 rm -f conftest.er1
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } &&
43739 { ac_try='test -z "$ac_cxx_werror_flag"
43740 || test ! -s conftest.err'
43741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43742 (eval $ac_try) 2>&5
43743 ac_status=$?
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; } &&
43746 { ac_try='test -s conftest.$ac_objext'
43747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43748 (eval $ac_try) 2>&5
43749 ac_status=$?
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; }; then
43752 glibcxx_cv_func__isnanl_use=yes
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43757 glibcxx_cv_func__isnanl_use=no
43759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43760 ac_ext=c
43761 ac_cpp='$CPP $CPPFLAGS'
43762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43771 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43773 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43775 for ac_func in _isnanl
43777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43778 echo "$as_me:$LINENO: checking for $ac_func" >&5
43779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43780 if eval "test \"\${$as_ac_var+set}\" = set"; then
43781 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 else
43783 if test x$gcc_no_link = xyes; then
43784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43786 { (exit 1); exit 1; }; }
43788 cat >conftest.$ac_ext <<_ACEOF
43789 /* confdefs.h. */
43790 _ACEOF
43791 cat confdefs.h >>conftest.$ac_ext
43792 cat >>conftest.$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43796 #define $ac_func innocuous_$ac_func
43798 /* System header to define __stub macros and hopefully few prototypes,
43799 which can conflict with char $ac_func (); below.
43800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43801 <limits.h> exists even on freestanding compilers. */
43803 #ifdef __STDC__
43804 # include <limits.h>
43805 #else
43806 # include <assert.h>
43807 #endif
43809 #undef $ac_func
43811 /* Override any gcc2 internal prototype to avoid an error. */
43812 #ifdef __cplusplus
43813 extern "C"
43815 #endif
43816 /* We use char because int might match the return type of a gcc2
43817 builtin and then its argument prototype would still apply. */
43818 char $ac_func ();
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43823 choke me
43824 #else
43825 char (*f) () = $ac_func;
43826 #endif
43827 #ifdef __cplusplus
43829 #endif
43832 main ()
43834 return f != $ac_func;
43836 return 0;
43838 _ACEOF
43839 rm -f conftest.$ac_objext conftest$ac_exeext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43841 (eval $ac_link) 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try='test -z "$ac_c_werror_flag"
43849 || test ! -s conftest.err'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; } &&
43855 { ac_try='test -s conftest$ac_exeext'
43856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857 (eval $ac_try) 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; }; then
43861 eval "$as_ac_var=yes"
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 eval "$as_ac_var=no"
43868 rm -f conftest.err conftest.$ac_objext \
43869 conftest$ac_exeext conftest.$ac_ext
43871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43873 if test `eval echo '${'$as_ac_var'}'` = yes; then
43874 cat >>confdefs.h <<_ACEOF
43875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43876 _ACEOF
43879 done
43889 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43890 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43891 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43892 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43898 ac_ext=cc
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904 cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h. */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h. */
43910 #include <math.h>
43911 #ifdef HAVE_IEEEFP_H
43912 #include <ieeefp.h>
43913 #endif
43916 main ()
43918 isinfl(0);
43920 return 0;
43922 _ACEOF
43923 rm -f conftest.$ac_objext
43924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43925 (eval $ac_compile) 2>conftest.er1
43926 ac_status=$?
43927 grep -v '^ *+' conftest.er1 >conftest.err
43928 rm -f conftest.er1
43929 cat conftest.err >&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); } &&
43932 { ac_try='test -z "$ac_cxx_werror_flag"
43933 || test ! -s conftest.err'
43934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43935 (eval $ac_try) 2>&5
43936 ac_status=$?
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); }; } &&
43939 { ac_try='test -s conftest.$ac_objext'
43940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43941 (eval $ac_try) 2>&5
43942 ac_status=$?
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; }; then
43945 glibcxx_cv_func_isinfl_use=yes
43946 else
43947 echo "$as_me: failed program was:" >&5
43948 sed 's/^/| /' conftest.$ac_ext >&5
43950 glibcxx_cv_func_isinfl_use=no
43952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43953 ac_ext=c
43954 ac_cpp='$CPP $CPPFLAGS'
43955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43964 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43966 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43968 for ac_func in isinfl
43970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43971 echo "$as_me:$LINENO: checking for $ac_func" >&5
43972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43973 if eval "test \"\${$as_ac_var+set}\" = set"; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43976 if test x$gcc_no_link = xyes; then
43977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43979 { (exit 1); exit 1; }; }
43981 cat >conftest.$ac_ext <<_ACEOF
43982 /* confdefs.h. */
43983 _ACEOF
43984 cat confdefs.h >>conftest.$ac_ext
43985 cat >>conftest.$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43989 #define $ac_func innocuous_$ac_func
43991 /* System header to define __stub macros and hopefully few prototypes,
43992 which can conflict with char $ac_func (); below.
43993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43994 <limits.h> exists even on freestanding compilers. */
43996 #ifdef __STDC__
43997 # include <limits.h>
43998 #else
43999 # include <assert.h>
44000 #endif
44002 #undef $ac_func
44004 /* Override any gcc2 internal prototype to avoid an error. */
44005 #ifdef __cplusplus
44006 extern "C"
44008 #endif
44009 /* We use char because int might match the return type of a gcc2
44010 builtin and then its argument prototype would still apply. */
44011 char $ac_func ();
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44016 choke me
44017 #else
44018 char (*f) () = $ac_func;
44019 #endif
44020 #ifdef __cplusplus
44022 #endif
44025 main ()
44027 return f != $ac_func;
44029 return 0;
44031 _ACEOF
44032 rm -f conftest.$ac_objext conftest$ac_exeext
44033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44034 (eval $ac_link) 2>conftest.er1
44035 ac_status=$?
44036 grep -v '^ *+' conftest.er1 >conftest.err
44037 rm -f conftest.er1
44038 cat conftest.err >&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } &&
44041 { ac_try='test -z "$ac_c_werror_flag"
44042 || test ! -s conftest.err'
44043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044 (eval $ac_try) 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; } &&
44048 { ac_try='test -s conftest$ac_exeext'
44049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44050 (eval $ac_try) 2>&5
44051 ac_status=$?
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); }; }; then
44054 eval "$as_ac_var=yes"
44055 else
44056 echo "$as_me: failed program was:" >&5
44057 sed 's/^/| /' conftest.$ac_ext >&5
44059 eval "$as_ac_var=no"
44061 rm -f conftest.err conftest.$ac_objext \
44062 conftest$ac_exeext conftest.$ac_ext
44064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44066 if test `eval echo '${'$as_ac_var'}'` = yes; then
44067 cat >>confdefs.h <<_ACEOF
44068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44069 _ACEOF
44072 done
44074 else
44076 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44077 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44078 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44079 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44080 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 else
44085 ac_ext=cc
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097 #include <math.h>
44098 #ifdef HAVE_IEEEFP_H
44099 #include <ieeefp.h>
44100 #endif
44103 main ()
44105 _isinfl(0);
44107 return 0;
44109 _ACEOF
44110 rm -f conftest.$ac_objext
44111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44112 (eval $ac_compile) 2>conftest.er1
44113 ac_status=$?
44114 grep -v '^ *+' conftest.er1 >conftest.err
44115 rm -f conftest.er1
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } &&
44119 { ac_try='test -z "$ac_cxx_werror_flag"
44120 || test ! -s conftest.err'
44121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44122 (eval $ac_try) 2>&5
44123 ac_status=$?
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); }; } &&
44126 { ac_try='test -s conftest.$ac_objext'
44127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44128 (eval $ac_try) 2>&5
44129 ac_status=$?
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); }; }; then
44132 glibcxx_cv_func__isinfl_use=yes
44133 else
44134 echo "$as_me: failed program was:" >&5
44135 sed 's/^/| /' conftest.$ac_ext >&5
44137 glibcxx_cv_func__isinfl_use=no
44139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44140 ac_ext=c
44141 ac_cpp='$CPP $CPPFLAGS'
44142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44151 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44153 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44155 for ac_func in _isinfl
44157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44158 echo "$as_me:$LINENO: checking for $ac_func" >&5
44159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44160 if eval "test \"\${$as_ac_var+set}\" = set"; then
44161 echo $ECHO_N "(cached) $ECHO_C" >&6
44162 else
44163 if test x$gcc_no_link = xyes; then
44164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44166 { (exit 1); exit 1; }; }
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44176 #define $ac_func innocuous_$ac_func
44178 /* System header to define __stub macros and hopefully few prototypes,
44179 which can conflict with char $ac_func (); below.
44180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44181 <limits.h> exists even on freestanding compilers. */
44183 #ifdef __STDC__
44184 # include <limits.h>
44185 #else
44186 # include <assert.h>
44187 #endif
44189 #undef $ac_func
44191 /* Override any gcc2 internal prototype to avoid an error. */
44192 #ifdef __cplusplus
44193 extern "C"
44195 #endif
44196 /* We use char because int might match the return type of a gcc2
44197 builtin and then its argument prototype would still apply. */
44198 char $ac_func ();
44199 /* The GNU C library defines this for functions which it implements
44200 to always fail with ENOSYS. Some functions are actually named
44201 something starting with __ and the normal name is an alias. */
44202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44203 choke me
44204 #else
44205 char (*f) () = $ac_func;
44206 #endif
44207 #ifdef __cplusplus
44209 #endif
44212 main ()
44214 return f != $ac_func;
44216 return 0;
44218 _ACEOF
44219 rm -f conftest.$ac_objext conftest$ac_exeext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44221 (eval $ac_link) 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try='test -z "$ac_c_werror_flag"
44229 || test ! -s conftest.err'
44230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44231 (eval $ac_try) 2>&5
44232 ac_status=$?
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); }; } &&
44235 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44241 eval "$as_ac_var=yes"
44242 else
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44246 eval "$as_ac_var=no"
44248 rm -f conftest.err conftest.$ac_objext \
44249 conftest$ac_exeext conftest.$ac_ext
44251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44253 if test `eval echo '${'$as_ac_var'}'` = yes; then
44254 cat >>confdefs.h <<_ACEOF
44255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44256 _ACEOF
44259 done
44269 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44270 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44271 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44272 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44273 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 else
44278 ac_ext=cc
44279 ac_cpp='$CXXCPP $CPPFLAGS'
44280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44284 cat >conftest.$ac_ext <<_ACEOF
44285 /* confdefs.h. */
44286 _ACEOF
44287 cat confdefs.h >>conftest.$ac_ext
44288 cat >>conftest.$ac_ext <<_ACEOF
44289 /* end confdefs.h. */
44290 #include <math.h>
44292 main ()
44294 copysignl(0, 0);
44296 return 0;
44298 _ACEOF
44299 rm -f conftest.$ac_objext
44300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44301 (eval $ac_compile) 2>conftest.er1
44302 ac_status=$?
44303 grep -v '^ *+' conftest.er1 >conftest.err
44304 rm -f conftest.er1
44305 cat conftest.err >&5
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); } &&
44308 { ac_try='test -z "$ac_cxx_werror_flag"
44309 || test ! -s conftest.err'
44310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44311 (eval $ac_try) 2>&5
44312 ac_status=$?
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); }; } &&
44315 { ac_try='test -s conftest.$ac_objext'
44316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44317 (eval $ac_try) 2>&5
44318 ac_status=$?
44319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44320 (exit $ac_status); }; }; then
44321 glibcxx_cv_func_copysignl_use=yes
44322 else
44323 echo "$as_me: failed program was:" >&5
44324 sed 's/^/| /' conftest.$ac_ext >&5
44326 glibcxx_cv_func_copysignl_use=no
44328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44329 ac_ext=c
44330 ac_cpp='$CPP $CPPFLAGS'
44331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44340 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44342 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44344 for ac_func in copysignl
44346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44347 echo "$as_me:$LINENO: checking for $ac_func" >&5
44348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44349 if eval "test \"\${$as_ac_var+set}\" = set"; then
44350 echo $ECHO_N "(cached) $ECHO_C" >&6
44351 else
44352 if test x$gcc_no_link = xyes; then
44353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44355 { (exit 1); exit 1; }; }
44357 cat >conftest.$ac_ext <<_ACEOF
44358 /* confdefs.h. */
44359 _ACEOF
44360 cat confdefs.h >>conftest.$ac_ext
44361 cat >>conftest.$ac_ext <<_ACEOF
44362 /* end confdefs.h. */
44363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44365 #define $ac_func innocuous_$ac_func
44367 /* System header to define __stub macros and hopefully few prototypes,
44368 which can conflict with char $ac_func (); below.
44369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44370 <limits.h> exists even on freestanding compilers. */
44372 #ifdef __STDC__
44373 # include <limits.h>
44374 #else
44375 # include <assert.h>
44376 #endif
44378 #undef $ac_func
44380 /* Override any gcc2 internal prototype to avoid an error. */
44381 #ifdef __cplusplus
44382 extern "C"
44384 #endif
44385 /* We use char because int might match the return type of a gcc2
44386 builtin and then its argument prototype would still apply. */
44387 char $ac_func ();
44388 /* The GNU C library defines this for functions which it implements
44389 to always fail with ENOSYS. Some functions are actually named
44390 something starting with __ and the normal name is an alias. */
44391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44392 choke me
44393 #else
44394 char (*f) () = $ac_func;
44395 #endif
44396 #ifdef __cplusplus
44398 #endif
44401 main ()
44403 return f != $ac_func;
44405 return 0;
44407 _ACEOF
44408 rm -f conftest.$ac_objext conftest$ac_exeext
44409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44410 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
44431 else
44432 echo "$as_me: failed program was:" >&5
44433 sed 's/^/| /' conftest.$ac_ext >&5
44435 eval "$as_ac_var=no"
44437 rm -f conftest.err conftest.$ac_objext \
44438 conftest$ac_exeext conftest.$ac_ext
44440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44442 if test `eval echo '${'$as_ac_var'}'` = yes; then
44443 cat >>confdefs.h <<_ACEOF
44444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44445 _ACEOF
44448 done
44450 else
44452 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44453 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44454 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44455 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44456 echo $ECHO_N "(cached) $ECHO_C" >&6
44457 else
44461 ac_ext=cc
44462 ac_cpp='$CXXCPP $CPPFLAGS'
44463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44467 cat >conftest.$ac_ext <<_ACEOF
44468 /* confdefs.h. */
44469 _ACEOF
44470 cat confdefs.h >>conftest.$ac_ext
44471 cat >>conftest.$ac_ext <<_ACEOF
44472 /* end confdefs.h. */
44473 #include <math.h>
44475 main ()
44477 _copysignl(0, 0);
44479 return 0;
44481 _ACEOF
44482 rm -f conftest.$ac_objext
44483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44484 (eval $ac_compile) 2>conftest.er1
44485 ac_status=$?
44486 grep -v '^ *+' conftest.er1 >conftest.err
44487 rm -f conftest.er1
44488 cat conftest.err >&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } &&
44491 { ac_try='test -z "$ac_cxx_werror_flag"
44492 || test ! -s conftest.err'
44493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494 (eval $ac_try) 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; } &&
44498 { ac_try='test -s conftest.$ac_objext'
44499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44500 (eval $ac_try) 2>&5
44501 ac_status=$?
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); }; }; then
44504 glibcxx_cv_func__copysignl_use=yes
44505 else
44506 echo "$as_me: failed program was:" >&5
44507 sed 's/^/| /' conftest.$ac_ext >&5
44509 glibcxx_cv_func__copysignl_use=no
44511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44512 ac_ext=c
44513 ac_cpp='$CPP $CPPFLAGS'
44514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44522 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44523 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44525 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44527 for ac_func in _copysignl
44529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44530 echo "$as_me:$LINENO: checking for $ac_func" >&5
44531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44532 if eval "test \"\${$as_ac_var+set}\" = set"; then
44533 echo $ECHO_N "(cached) $ECHO_C" >&6
44534 else
44535 if test x$gcc_no_link = xyes; then
44536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44538 { (exit 1); exit 1; }; }
44540 cat >conftest.$ac_ext <<_ACEOF
44541 /* confdefs.h. */
44542 _ACEOF
44543 cat confdefs.h >>conftest.$ac_ext
44544 cat >>conftest.$ac_ext <<_ACEOF
44545 /* end confdefs.h. */
44546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44548 #define $ac_func innocuous_$ac_func
44550 /* System header to define __stub macros and hopefully few prototypes,
44551 which can conflict with char $ac_func (); below.
44552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44553 <limits.h> exists even on freestanding compilers. */
44555 #ifdef __STDC__
44556 # include <limits.h>
44557 #else
44558 # include <assert.h>
44559 #endif
44561 #undef $ac_func
44563 /* Override any gcc2 internal prototype to avoid an error. */
44564 #ifdef __cplusplus
44565 extern "C"
44567 #endif
44568 /* We use char because int might match the return type of a gcc2
44569 builtin and then its argument prototype would still apply. */
44570 char $ac_func ();
44571 /* The GNU C library defines this for functions which it implements
44572 to always fail with ENOSYS. Some functions are actually named
44573 something starting with __ and the normal name is an alias. */
44574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44575 choke me
44576 #else
44577 char (*f) () = $ac_func;
44578 #endif
44579 #ifdef __cplusplus
44581 #endif
44584 main ()
44586 return f != $ac_func;
44588 return 0;
44590 _ACEOF
44591 rm -f conftest.$ac_objext conftest$ac_exeext
44592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44593 (eval $ac_link) 2>conftest.er1
44594 ac_status=$?
44595 grep -v '^ *+' conftest.er1 >conftest.err
44596 rm -f conftest.er1
44597 cat conftest.err >&5
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); } &&
44600 { ac_try='test -z "$ac_c_werror_flag"
44601 || test ! -s conftest.err'
44602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44603 (eval $ac_try) 2>&5
44604 ac_status=$?
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); }; } &&
44607 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44613 eval "$as_ac_var=yes"
44614 else
44615 echo "$as_me: failed program was:" >&5
44616 sed 's/^/| /' conftest.$ac_ext >&5
44618 eval "$as_ac_var=no"
44620 rm -f conftest.err conftest.$ac_objext \
44621 conftest$ac_exeext conftest.$ac_ext
44623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44625 if test `eval echo '${'$as_ac_var'}'` = yes; then
44626 cat >>confdefs.h <<_ACEOF
44627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44628 _ACEOF
44631 done
44641 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44642 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44643 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44644 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44645 echo $ECHO_N "(cached) $ECHO_C" >&6
44646 else
44650 ac_ext=cc
44651 ac_cpp='$CXXCPP $CPPFLAGS'
44652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656 cat >conftest.$ac_ext <<_ACEOF
44657 /* confdefs.h. */
44658 _ACEOF
44659 cat confdefs.h >>conftest.$ac_ext
44660 cat >>conftest.$ac_ext <<_ACEOF
44661 /* end confdefs.h. */
44662 #include <math.h>
44664 main ()
44666 atan2l(0, 0);
44668 return 0;
44670 _ACEOF
44671 rm -f conftest.$ac_objext
44672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44673 (eval $ac_compile) 2>conftest.er1
44674 ac_status=$?
44675 grep -v '^ *+' conftest.er1 >conftest.err
44676 rm -f conftest.er1
44677 cat conftest.err >&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); } &&
44680 { ac_try='test -z "$ac_cxx_werror_flag"
44681 || test ! -s conftest.err'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44684 ac_status=$?
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; } &&
44687 { ac_try='test -s conftest.$ac_objext'
44688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44689 (eval $ac_try) 2>&5
44690 ac_status=$?
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); }; }; then
44693 glibcxx_cv_func_atan2l_use=yes
44694 else
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44698 glibcxx_cv_func_atan2l_use=no
44700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44701 ac_ext=c
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44712 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44714 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44716 for ac_func in atan2l
44718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44719 echo "$as_me:$LINENO: checking for $ac_func" >&5
44720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44721 if eval "test \"\${$as_ac_var+set}\" = set"; then
44722 echo $ECHO_N "(cached) $ECHO_C" >&6
44723 else
44724 if test x$gcc_no_link = xyes; then
44725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44727 { (exit 1); exit 1; }; }
44729 cat >conftest.$ac_ext <<_ACEOF
44730 /* confdefs.h. */
44731 _ACEOF
44732 cat confdefs.h >>conftest.$ac_ext
44733 cat >>conftest.$ac_ext <<_ACEOF
44734 /* end confdefs.h. */
44735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44737 #define $ac_func innocuous_$ac_func
44739 /* System header to define __stub macros and hopefully few prototypes,
44740 which can conflict with char $ac_func (); below.
44741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44742 <limits.h> exists even on freestanding compilers. */
44744 #ifdef __STDC__
44745 # include <limits.h>
44746 #else
44747 # include <assert.h>
44748 #endif
44750 #undef $ac_func
44752 /* Override any gcc2 internal prototype to avoid an error. */
44753 #ifdef __cplusplus
44754 extern "C"
44756 #endif
44757 /* We use char because int might match the return type of a gcc2
44758 builtin and then its argument prototype would still apply. */
44759 char $ac_func ();
44760 /* The GNU C library defines this for functions which it implements
44761 to always fail with ENOSYS. Some functions are actually named
44762 something starting with __ and the normal name is an alias. */
44763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44764 choke me
44765 #else
44766 char (*f) () = $ac_func;
44767 #endif
44768 #ifdef __cplusplus
44770 #endif
44773 main ()
44775 return f != $ac_func;
44777 return 0;
44779 _ACEOF
44780 rm -f conftest.$ac_objext conftest$ac_exeext
44781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44782 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
44803 else
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44807 eval "$as_ac_var=no"
44809 rm -f conftest.err conftest.$ac_objext \
44810 conftest$ac_exeext conftest.$ac_ext
44812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44814 if test `eval echo '${'$as_ac_var'}'` = yes; then
44815 cat >>confdefs.h <<_ACEOF
44816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44817 _ACEOF
44820 done
44822 else
44824 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44825 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44826 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44827 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44828 echo $ECHO_N "(cached) $ECHO_C" >&6
44829 else
44833 ac_ext=cc
44834 ac_cpp='$CXXCPP $CPPFLAGS'
44835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44839 cat >conftest.$ac_ext <<_ACEOF
44840 /* confdefs.h. */
44841 _ACEOF
44842 cat confdefs.h >>conftest.$ac_ext
44843 cat >>conftest.$ac_ext <<_ACEOF
44844 /* end confdefs.h. */
44845 #include <math.h>
44847 main ()
44849 _atan2l(0, 0);
44851 return 0;
44853 _ACEOF
44854 rm -f conftest.$ac_objext
44855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44856 (eval $ac_compile) 2>conftest.er1
44857 ac_status=$?
44858 grep -v '^ *+' conftest.er1 >conftest.err
44859 rm -f conftest.er1
44860 cat conftest.err >&5
44861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862 (exit $ac_status); } &&
44863 { ac_try='test -z "$ac_cxx_werror_flag"
44864 || test ! -s conftest.err'
44865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44866 (eval $ac_try) 2>&5
44867 ac_status=$?
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); }; } &&
44870 { ac_try='test -s conftest.$ac_objext'
44871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44872 (eval $ac_try) 2>&5
44873 ac_status=$?
44874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44875 (exit $ac_status); }; }; then
44876 glibcxx_cv_func__atan2l_use=yes
44877 else
44878 echo "$as_me: failed program was:" >&5
44879 sed 's/^/| /' conftest.$ac_ext >&5
44881 glibcxx_cv_func__atan2l_use=no
44883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44884 ac_ext=c
44885 ac_cpp='$CPP $CPPFLAGS'
44886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44894 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44895 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44897 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44899 for ac_func in _atan2l
44901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44902 echo "$as_me:$LINENO: checking for $ac_func" >&5
44903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44904 if eval "test \"\${$as_ac_var+set}\" = set"; then
44905 echo $ECHO_N "(cached) $ECHO_C" >&6
44906 else
44907 if test x$gcc_no_link = xyes; then
44908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44910 { (exit 1); exit 1; }; }
44912 cat >conftest.$ac_ext <<_ACEOF
44913 /* confdefs.h. */
44914 _ACEOF
44915 cat confdefs.h >>conftest.$ac_ext
44916 cat >>conftest.$ac_ext <<_ACEOF
44917 /* end confdefs.h. */
44918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44920 #define $ac_func innocuous_$ac_func
44922 /* System header to define __stub macros and hopefully few prototypes,
44923 which can conflict with char $ac_func (); below.
44924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44925 <limits.h> exists even on freestanding compilers. */
44927 #ifdef __STDC__
44928 # include <limits.h>
44929 #else
44930 # include <assert.h>
44931 #endif
44933 #undef $ac_func
44935 /* Override any gcc2 internal prototype to avoid an error. */
44936 #ifdef __cplusplus
44937 extern "C"
44939 #endif
44940 /* We use char because int might match the return type of a gcc2
44941 builtin and then its argument prototype would still apply. */
44942 char $ac_func ();
44943 /* The GNU C library defines this for functions which it implements
44944 to always fail with ENOSYS. Some functions are actually named
44945 something starting with __ and the normal name is an alias. */
44946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44947 choke me
44948 #else
44949 char (*f) () = $ac_func;
44950 #endif
44951 #ifdef __cplusplus
44953 #endif
44956 main ()
44958 return f != $ac_func;
44960 return 0;
44962 _ACEOF
44963 rm -f conftest.$ac_objext conftest$ac_exeext
44964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44965 (eval $ac_link) 2>conftest.er1
44966 ac_status=$?
44967 grep -v '^ *+' conftest.er1 >conftest.err
44968 rm -f conftest.er1
44969 cat conftest.err >&5
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); } &&
44972 { ac_try='test -z "$ac_c_werror_flag"
44973 || test ! -s conftest.err'
44974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44975 (eval $ac_try) 2>&5
44976 ac_status=$?
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); }; } &&
44979 { ac_try='test -s conftest$ac_exeext'
44980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44981 (eval $ac_try) 2>&5
44982 ac_status=$?
44983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984 (exit $ac_status); }; }; then
44985 eval "$as_ac_var=yes"
44986 else
44987 echo "$as_me: failed program was:" >&5
44988 sed 's/^/| /' conftest.$ac_ext >&5
44990 eval "$as_ac_var=no"
44992 rm -f conftest.err conftest.$ac_objext \
44993 conftest$ac_exeext conftest.$ac_ext
44995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44997 if test `eval echo '${'$as_ac_var'}'` = yes; then
44998 cat >>confdefs.h <<_ACEOF
44999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45000 _ACEOF
45003 done
45013 echo "$as_me:$LINENO: checking for expl declaration" >&5
45014 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45015 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45016 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45017 echo $ECHO_N "(cached) $ECHO_C" >&6
45018 else
45022 ac_ext=cc
45023 ac_cpp='$CXXCPP $CPPFLAGS'
45024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45028 cat >conftest.$ac_ext <<_ACEOF
45029 /* confdefs.h. */
45030 _ACEOF
45031 cat confdefs.h >>conftest.$ac_ext
45032 cat >>conftest.$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45034 #include <math.h>
45035 #ifdef HAVE_IEEEFP_H
45036 #include <ieeefp.h>
45037 #endif
45040 main ()
45042 expl(0);
45044 return 0;
45046 _ACEOF
45047 rm -f conftest.$ac_objext
45048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45049 (eval $ac_compile) 2>conftest.er1
45050 ac_status=$?
45051 grep -v '^ *+' conftest.er1 >conftest.err
45052 rm -f conftest.er1
45053 cat conftest.err >&5
45054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055 (exit $ac_status); } &&
45056 { ac_try='test -z "$ac_cxx_werror_flag"
45057 || test ! -s conftest.err'
45058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45059 (eval $ac_try) 2>&5
45060 ac_status=$?
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); }; } &&
45063 { ac_try='test -s conftest.$ac_objext'
45064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45065 (eval $ac_try) 2>&5
45066 ac_status=$?
45067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068 (exit $ac_status); }; }; then
45069 glibcxx_cv_func_expl_use=yes
45070 else
45071 echo "$as_me: failed program was:" >&5
45072 sed 's/^/| /' conftest.$ac_ext >&5
45074 glibcxx_cv_func_expl_use=no
45076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45077 ac_ext=c
45078 ac_cpp='$CPP $CPPFLAGS'
45079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45088 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45090 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45092 for ac_func in expl
45094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45095 echo "$as_me:$LINENO: checking for $ac_func" >&5
45096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45097 if eval "test \"\${$as_ac_var+set}\" = set"; then
45098 echo $ECHO_N "(cached) $ECHO_C" >&6
45099 else
45100 if test x$gcc_no_link = xyes; then
45101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45103 { (exit 1); exit 1; }; }
45105 cat >conftest.$ac_ext <<_ACEOF
45106 /* confdefs.h. */
45107 _ACEOF
45108 cat confdefs.h >>conftest.$ac_ext
45109 cat >>conftest.$ac_ext <<_ACEOF
45110 /* end confdefs.h. */
45111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45113 #define $ac_func innocuous_$ac_func
45115 /* System header to define __stub macros and hopefully few prototypes,
45116 which can conflict with char $ac_func (); below.
45117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45118 <limits.h> exists even on freestanding compilers. */
45120 #ifdef __STDC__
45121 # include <limits.h>
45122 #else
45123 # include <assert.h>
45124 #endif
45126 #undef $ac_func
45128 /* Override any gcc2 internal prototype to avoid an error. */
45129 #ifdef __cplusplus
45130 extern "C"
45132 #endif
45133 /* We use char because int might match the return type of a gcc2
45134 builtin and then its argument prototype would still apply. */
45135 char $ac_func ();
45136 /* The GNU C library defines this for functions which it implements
45137 to always fail with ENOSYS. Some functions are actually named
45138 something starting with __ and the normal name is an alias. */
45139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45140 choke me
45141 #else
45142 char (*f) () = $ac_func;
45143 #endif
45144 #ifdef __cplusplus
45146 #endif
45149 main ()
45151 return f != $ac_func;
45153 return 0;
45155 _ACEOF
45156 rm -f conftest.$ac_objext conftest$ac_exeext
45157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45158 (eval $ac_link) 2>conftest.er1
45159 ac_status=$?
45160 grep -v '^ *+' conftest.er1 >conftest.err
45161 rm -f conftest.er1
45162 cat conftest.err >&5
45163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164 (exit $ac_status); } &&
45165 { ac_try='test -z "$ac_c_werror_flag"
45166 || test ! -s conftest.err'
45167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45168 (eval $ac_try) 2>&5
45169 ac_status=$?
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; } &&
45172 { ac_try='test -s conftest$ac_exeext'
45173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45174 (eval $ac_try) 2>&5
45175 ac_status=$?
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); }; }; then
45178 eval "$as_ac_var=yes"
45179 else
45180 echo "$as_me: failed program was:" >&5
45181 sed 's/^/| /' conftest.$ac_ext >&5
45183 eval "$as_ac_var=no"
45185 rm -f conftest.err conftest.$ac_objext \
45186 conftest$ac_exeext conftest.$ac_ext
45188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45190 if test `eval echo '${'$as_ac_var'}'` = yes; then
45191 cat >>confdefs.h <<_ACEOF
45192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45193 _ACEOF
45196 done
45198 else
45200 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45201 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45202 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45203 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45204 echo $ECHO_N "(cached) $ECHO_C" >&6
45205 else
45209 ac_ext=cc
45210 ac_cpp='$CXXCPP $CPPFLAGS'
45211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45215 cat >conftest.$ac_ext <<_ACEOF
45216 /* confdefs.h. */
45217 _ACEOF
45218 cat confdefs.h >>conftest.$ac_ext
45219 cat >>conftest.$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45221 #include <math.h>
45222 #ifdef HAVE_IEEEFP_H
45223 #include <ieeefp.h>
45224 #endif
45227 main ()
45229 _expl(0);
45231 return 0;
45233 _ACEOF
45234 rm -f conftest.$ac_objext
45235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45236 (eval $ac_compile) 2>conftest.er1
45237 ac_status=$?
45238 grep -v '^ *+' conftest.er1 >conftest.err
45239 rm -f conftest.er1
45240 cat conftest.err >&5
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); } &&
45243 { ac_try='test -z "$ac_cxx_werror_flag"
45244 || test ! -s conftest.err'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; } &&
45250 { ac_try='test -s conftest.$ac_objext'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; }; then
45256 glibcxx_cv_func__expl_use=yes
45257 else
45258 echo "$as_me: failed program was:" >&5
45259 sed 's/^/| /' conftest.$ac_ext >&5
45261 glibcxx_cv_func__expl_use=no
45263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45264 ac_ext=c
45265 ac_cpp='$CPP $CPPFLAGS'
45266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45275 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45277 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45279 for ac_func in _expl
45281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45282 echo "$as_me:$LINENO: checking for $ac_func" >&5
45283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45284 if eval "test \"\${$as_ac_var+set}\" = set"; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 else
45287 if test x$gcc_no_link = xyes; then
45288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45290 { (exit 1); exit 1; }; }
45292 cat >conftest.$ac_ext <<_ACEOF
45293 /* confdefs.h. */
45294 _ACEOF
45295 cat confdefs.h >>conftest.$ac_ext
45296 cat >>conftest.$ac_ext <<_ACEOF
45297 /* end confdefs.h. */
45298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45300 #define $ac_func innocuous_$ac_func
45302 /* System header to define __stub macros and hopefully few prototypes,
45303 which can conflict with char $ac_func (); below.
45304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45305 <limits.h> exists even on freestanding compilers. */
45307 #ifdef __STDC__
45308 # include <limits.h>
45309 #else
45310 # include <assert.h>
45311 #endif
45313 #undef $ac_func
45315 /* Override any gcc2 internal prototype to avoid an error. */
45316 #ifdef __cplusplus
45317 extern "C"
45319 #endif
45320 /* We use char because int might match the return type of a gcc2
45321 builtin and then its argument prototype would still apply. */
45322 char $ac_func ();
45323 /* The GNU C library defines this for functions which it implements
45324 to always fail with ENOSYS. Some functions are actually named
45325 something starting with __ and the normal name is an alias. */
45326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45327 choke me
45328 #else
45329 char (*f) () = $ac_func;
45330 #endif
45331 #ifdef __cplusplus
45333 #endif
45336 main ()
45338 return f != $ac_func;
45340 return 0;
45342 _ACEOF
45343 rm -f conftest.$ac_objext conftest$ac_exeext
45344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45345 (eval $ac_link) 2>conftest.er1
45346 ac_status=$?
45347 grep -v '^ *+' conftest.er1 >conftest.err
45348 rm -f conftest.er1
45349 cat conftest.err >&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } &&
45352 { ac_try='test -z "$ac_c_werror_flag"
45353 || test ! -s conftest.err'
45354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355 (eval $ac_try) 2>&5
45356 ac_status=$?
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; } &&
45359 { ac_try='test -s conftest$ac_exeext'
45360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45361 (eval $ac_try) 2>&5
45362 ac_status=$?
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); }; }; then
45365 eval "$as_ac_var=yes"
45366 else
45367 echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.$ac_ext >&5
45370 eval "$as_ac_var=no"
45372 rm -f conftest.err conftest.$ac_objext \
45373 conftest$ac_exeext conftest.$ac_ext
45375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45377 if test `eval echo '${'$as_ac_var'}'` = yes; then
45378 cat >>confdefs.h <<_ACEOF
45379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45380 _ACEOF
45383 done
45393 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45394 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45395 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45396 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45397 echo $ECHO_N "(cached) $ECHO_C" >&6
45398 else
45402 ac_ext=cc
45403 ac_cpp='$CXXCPP $CPPFLAGS'
45404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45408 cat >conftest.$ac_ext <<_ACEOF
45409 /* confdefs.h. */
45410 _ACEOF
45411 cat confdefs.h >>conftest.$ac_ext
45412 cat >>conftest.$ac_ext <<_ACEOF
45413 /* end confdefs.h. */
45414 #include <math.h>
45415 #ifdef HAVE_IEEEFP_H
45416 #include <ieeefp.h>
45417 #endif
45420 main ()
45422 fabsl(0);
45424 return 0;
45426 _ACEOF
45427 rm -f conftest.$ac_objext
45428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45429 (eval $ac_compile) 2>conftest.er1
45430 ac_status=$?
45431 grep -v '^ *+' conftest.er1 >conftest.err
45432 rm -f conftest.er1
45433 cat conftest.err >&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); } &&
45436 { ac_try='test -z "$ac_cxx_werror_flag"
45437 || test ! -s conftest.err'
45438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45439 (eval $ac_try) 2>&5
45440 ac_status=$?
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); }; } &&
45443 { ac_try='test -s conftest.$ac_objext'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; }; then
45449 glibcxx_cv_func_fabsl_use=yes
45450 else
45451 echo "$as_me: failed program was:" >&5
45452 sed 's/^/| /' conftest.$ac_ext >&5
45454 glibcxx_cv_func_fabsl_use=no
45456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45468 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45470 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45472 for ac_func in fabsl
45474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45475 echo "$as_me:$LINENO: checking for $ac_func" >&5
45476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45477 if eval "test \"\${$as_ac_var+set}\" = set"; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45480 if test x$gcc_no_link = xyes; then
45481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45483 { (exit 1); exit 1; }; }
45485 cat >conftest.$ac_ext <<_ACEOF
45486 /* confdefs.h. */
45487 _ACEOF
45488 cat confdefs.h >>conftest.$ac_ext
45489 cat >>conftest.$ac_ext <<_ACEOF
45490 /* end confdefs.h. */
45491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45493 #define $ac_func innocuous_$ac_func
45495 /* System header to define __stub macros and hopefully few prototypes,
45496 which can conflict with char $ac_func (); below.
45497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45498 <limits.h> exists even on freestanding compilers. */
45500 #ifdef __STDC__
45501 # include <limits.h>
45502 #else
45503 # include <assert.h>
45504 #endif
45506 #undef $ac_func
45508 /* Override any gcc2 internal prototype to avoid an error. */
45509 #ifdef __cplusplus
45510 extern "C"
45512 #endif
45513 /* We use char because int might match the return type of a gcc2
45514 builtin and then its argument prototype would still apply. */
45515 char $ac_func ();
45516 /* The GNU C library defines this for functions which it implements
45517 to always fail with ENOSYS. Some functions are actually named
45518 something starting with __ and the normal name is an alias. */
45519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45520 choke me
45521 #else
45522 char (*f) () = $ac_func;
45523 #endif
45524 #ifdef __cplusplus
45526 #endif
45529 main ()
45531 return f != $ac_func;
45533 return 0;
45535 _ACEOF
45536 rm -f conftest.$ac_objext conftest$ac_exeext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45538 (eval $ac_link) 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try='test -z "$ac_c_werror_flag"
45546 || test ! -s conftest.err'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; } &&
45552 { ac_try='test -s conftest$ac_exeext'
45553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45554 (eval $ac_try) 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; }; then
45558 eval "$as_ac_var=yes"
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45563 eval "$as_ac_var=no"
45565 rm -f conftest.err conftest.$ac_objext \
45566 conftest$ac_exeext conftest.$ac_ext
45568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45570 if test `eval echo '${'$as_ac_var'}'` = yes; then
45571 cat >>confdefs.h <<_ACEOF
45572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45573 _ACEOF
45576 done
45578 else
45580 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45581 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45582 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45583 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45589 ac_ext=cc
45590 ac_cpp='$CXXCPP $CPPFLAGS'
45591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45595 cat >conftest.$ac_ext <<_ACEOF
45596 /* confdefs.h. */
45597 _ACEOF
45598 cat confdefs.h >>conftest.$ac_ext
45599 cat >>conftest.$ac_ext <<_ACEOF
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 #ifdef HAVE_IEEEFP_H
45603 #include <ieeefp.h>
45604 #endif
45607 main ()
45609 _fabsl(0);
45611 return 0;
45613 _ACEOF
45614 rm -f conftest.$ac_objext
45615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45616 (eval $ac_compile) 2>conftest.er1
45617 ac_status=$?
45618 grep -v '^ *+' conftest.er1 >conftest.err
45619 rm -f conftest.er1
45620 cat conftest.err >&5
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); } &&
45623 { ac_try='test -z "$ac_cxx_werror_flag"
45624 || test ! -s conftest.err'
45625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45626 (eval $ac_try) 2>&5
45627 ac_status=$?
45628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45629 (exit $ac_status); }; } &&
45630 { ac_try='test -s conftest.$ac_objext'
45631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45632 (eval $ac_try) 2>&5
45633 ac_status=$?
45634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45635 (exit $ac_status); }; }; then
45636 glibcxx_cv_func__fabsl_use=yes
45637 else
45638 echo "$as_me: failed program was:" >&5
45639 sed 's/^/| /' conftest.$ac_ext >&5
45641 glibcxx_cv_func__fabsl_use=no
45643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45644 ac_ext=c
45645 ac_cpp='$CPP $CPPFLAGS'
45646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45655 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45657 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45659 for ac_func in _fabsl
45661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45662 echo "$as_me:$LINENO: checking for $ac_func" >&5
45663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45664 if eval "test \"\${$as_ac_var+set}\" = set"; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 else
45667 if test x$gcc_no_link = xyes; then
45668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45670 { (exit 1); exit 1; }; }
45672 cat >conftest.$ac_ext <<_ACEOF
45673 /* confdefs.h. */
45674 _ACEOF
45675 cat confdefs.h >>conftest.$ac_ext
45676 cat >>conftest.$ac_ext <<_ACEOF
45677 /* end confdefs.h. */
45678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45680 #define $ac_func innocuous_$ac_func
45682 /* System header to define __stub macros and hopefully few prototypes,
45683 which can conflict with char $ac_func (); below.
45684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45685 <limits.h> exists even on freestanding compilers. */
45687 #ifdef __STDC__
45688 # include <limits.h>
45689 #else
45690 # include <assert.h>
45691 #endif
45693 #undef $ac_func
45695 /* Override any gcc2 internal prototype to avoid an error. */
45696 #ifdef __cplusplus
45697 extern "C"
45699 #endif
45700 /* We use char because int might match the return type of a gcc2
45701 builtin and then its argument prototype would still apply. */
45702 char $ac_func ();
45703 /* The GNU C library defines this for functions which it implements
45704 to always fail with ENOSYS. Some functions are actually named
45705 something starting with __ and the normal name is an alias. */
45706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45707 choke me
45708 #else
45709 char (*f) () = $ac_func;
45710 #endif
45711 #ifdef __cplusplus
45713 #endif
45716 main ()
45718 return f != $ac_func;
45720 return 0;
45722 _ACEOF
45723 rm -f conftest.$ac_objext conftest$ac_exeext
45724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45725 (eval $ac_link) 2>conftest.er1
45726 ac_status=$?
45727 grep -v '^ *+' conftest.er1 >conftest.err
45728 rm -f conftest.er1
45729 cat conftest.err >&5
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); } &&
45732 { ac_try='test -z "$ac_c_werror_flag"
45733 || test ! -s conftest.err'
45734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45735 (eval $ac_try) 2>&5
45736 ac_status=$?
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); }; } &&
45739 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45745 eval "$as_ac_var=yes"
45746 else
45747 echo "$as_me: failed program was:" >&5
45748 sed 's/^/| /' conftest.$ac_ext >&5
45750 eval "$as_ac_var=no"
45752 rm -f conftest.err conftest.$ac_objext \
45753 conftest$ac_exeext conftest.$ac_ext
45755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45757 if test `eval echo '${'$as_ac_var'}'` = yes; then
45758 cat >>confdefs.h <<_ACEOF
45759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45760 _ACEOF
45763 done
45773 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45774 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45775 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45776 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45777 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 else
45782 ac_ext=cc
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45788 cat >conftest.$ac_ext <<_ACEOF
45789 /* confdefs.h. */
45790 _ACEOF
45791 cat confdefs.h >>conftest.$ac_ext
45792 cat >>conftest.$ac_ext <<_ACEOF
45793 /* end confdefs.h. */
45794 #include <math.h>
45796 main ()
45798 fmodl(0, 0);
45800 return 0;
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45805 (eval $ac_compile) 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } &&
45812 { ac_try='test -z "$ac_cxx_werror_flag"
45813 || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 glibcxx_cv_func_fmodl_use=yes
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45830 glibcxx_cv_func_fmodl_use=no
45832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45844 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45846 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45848 for ac_func in fmodl
45850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45851 echo "$as_me:$LINENO: checking for $ac_func" >&5
45852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45853 if eval "test \"\${$as_ac_var+set}\" = set"; then
45854 echo $ECHO_N "(cached) $ECHO_C" >&6
45855 else
45856 if test x$gcc_no_link = xyes; then
45857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45859 { (exit 1); exit 1; }; }
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45869 #define $ac_func innocuous_$ac_func
45871 /* System header to define __stub macros and hopefully few prototypes,
45872 which can conflict with char $ac_func (); below.
45873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45874 <limits.h> exists even on freestanding compilers. */
45876 #ifdef __STDC__
45877 # include <limits.h>
45878 #else
45879 # include <assert.h>
45880 #endif
45882 #undef $ac_func
45884 /* Override any gcc2 internal prototype to avoid an error. */
45885 #ifdef __cplusplus
45886 extern "C"
45888 #endif
45889 /* We use char because int might match the return type of a gcc2
45890 builtin and then its argument prototype would still apply. */
45891 char $ac_func ();
45892 /* The GNU C library defines this for functions which it implements
45893 to always fail with ENOSYS. Some functions are actually named
45894 something starting with __ and the normal name is an alias. */
45895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45896 choke me
45897 #else
45898 char (*f) () = $ac_func;
45899 #endif
45900 #ifdef __cplusplus
45902 #endif
45905 main ()
45907 return f != $ac_func;
45909 return 0;
45911 _ACEOF
45912 rm -f conftest.$ac_objext conftest$ac_exeext
45913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45914 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
45935 else
45936 echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45939 eval "$as_ac_var=no"
45941 rm -f conftest.err conftest.$ac_objext \
45942 conftest$ac_exeext conftest.$ac_ext
45944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45946 if test `eval echo '${'$as_ac_var'}'` = yes; then
45947 cat >>confdefs.h <<_ACEOF
45948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45949 _ACEOF
45952 done
45954 else
45956 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45957 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45958 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45959 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45965 ac_ext=cc
45966 ac_cpp='$CXXCPP $CPPFLAGS'
45967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45971 cat >conftest.$ac_ext <<_ACEOF
45972 /* confdefs.h. */
45973 _ACEOF
45974 cat confdefs.h >>conftest.$ac_ext
45975 cat >>conftest.$ac_ext <<_ACEOF
45976 /* end confdefs.h. */
45977 #include <math.h>
45979 main ()
45981 _fmodl(0, 0);
45983 return 0;
45985 _ACEOF
45986 rm -f conftest.$ac_objext
45987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45988 (eval $ac_compile) 2>conftest.er1
45989 ac_status=$?
45990 grep -v '^ *+' conftest.er1 >conftest.err
45991 rm -f conftest.er1
45992 cat conftest.err >&5
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); } &&
45995 { ac_try='test -z "$ac_cxx_werror_flag"
45996 || test ! -s conftest.err'
45997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45998 (eval $ac_try) 2>&5
45999 ac_status=$?
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); }; } &&
46002 { ac_try='test -s conftest.$ac_objext'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; }; then
46008 glibcxx_cv_func__fmodl_use=yes
46009 else
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46013 glibcxx_cv_func__fmodl_use=no
46015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46016 ac_ext=c
46017 ac_cpp='$CPP $CPPFLAGS'
46018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46027 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46029 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46031 for ac_func in _fmodl
46033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46034 echo "$as_me:$LINENO: checking for $ac_func" >&5
46035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46036 if eval "test \"\${$as_ac_var+set}\" = set"; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 else
46039 if test x$gcc_no_link = xyes; then
46040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46042 { (exit 1); exit 1; }; }
46044 cat >conftest.$ac_ext <<_ACEOF
46045 /* confdefs.h. */
46046 _ACEOF
46047 cat confdefs.h >>conftest.$ac_ext
46048 cat >>conftest.$ac_ext <<_ACEOF
46049 /* end confdefs.h. */
46050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46052 #define $ac_func innocuous_$ac_func
46054 /* System header to define __stub macros and hopefully few prototypes,
46055 which can conflict with char $ac_func (); below.
46056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46057 <limits.h> exists even on freestanding compilers. */
46059 #ifdef __STDC__
46060 # include <limits.h>
46061 #else
46062 # include <assert.h>
46063 #endif
46065 #undef $ac_func
46067 /* Override any gcc2 internal prototype to avoid an error. */
46068 #ifdef __cplusplus
46069 extern "C"
46071 #endif
46072 /* We use char because int might match the return type of a gcc2
46073 builtin and then its argument prototype would still apply. */
46074 char $ac_func ();
46075 /* The GNU C library defines this for functions which it implements
46076 to always fail with ENOSYS. Some functions are actually named
46077 something starting with __ and the normal name is an alias. */
46078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46079 choke me
46080 #else
46081 char (*f) () = $ac_func;
46082 #endif
46083 #ifdef __cplusplus
46085 #endif
46088 main ()
46090 return f != $ac_func;
46092 return 0;
46094 _ACEOF
46095 rm -f conftest.$ac_objext conftest$ac_exeext
46096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46097 (eval $ac_link) 2>conftest.er1
46098 ac_status=$?
46099 grep -v '^ *+' conftest.er1 >conftest.err
46100 rm -f conftest.er1
46101 cat conftest.err >&5
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); } &&
46104 { ac_try='test -z "$ac_c_werror_flag"
46105 || test ! -s conftest.err'
46106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46107 (eval $ac_try) 2>&5
46108 ac_status=$?
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); }; } &&
46111 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46117 eval "$as_ac_var=yes"
46118 else
46119 echo "$as_me: failed program was:" >&5
46120 sed 's/^/| /' conftest.$ac_ext >&5
46122 eval "$as_ac_var=no"
46124 rm -f conftest.err conftest.$ac_objext \
46125 conftest$ac_exeext conftest.$ac_ext
46127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46129 if test `eval echo '${'$as_ac_var'}'` = yes; then
46130 cat >>confdefs.h <<_ACEOF
46131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46132 _ACEOF
46135 done
46145 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46146 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46147 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46148 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46149 echo $ECHO_N "(cached) $ECHO_C" >&6
46150 else
46154 ac_ext=cc
46155 ac_cpp='$CXXCPP $CPPFLAGS'
46156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46160 cat >conftest.$ac_ext <<_ACEOF
46161 /* confdefs.h. */
46162 _ACEOF
46163 cat confdefs.h >>conftest.$ac_ext
46164 cat >>conftest.$ac_ext <<_ACEOF
46165 /* end confdefs.h. */
46166 #include <math.h>
46168 main ()
46170 frexpl(0, 0);
46172 return 0;
46174 _ACEOF
46175 rm -f conftest.$ac_objext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46177 (eval $ac_compile) 2>conftest.er1
46178 ac_status=$?
46179 grep -v '^ *+' conftest.er1 >conftest.err
46180 rm -f conftest.er1
46181 cat conftest.err >&5
46182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183 (exit $ac_status); } &&
46184 { ac_try='test -z "$ac_cxx_werror_flag"
46185 || test ! -s conftest.err'
46186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187 (eval $ac_try) 2>&5
46188 ac_status=$?
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); }; } &&
46191 { ac_try='test -s conftest.$ac_objext'
46192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193 (eval $ac_try) 2>&5
46194 ac_status=$?
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); }; }; then
46197 glibcxx_cv_func_frexpl_use=yes
46198 else
46199 echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46202 glibcxx_cv_func_frexpl_use=no
46204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46205 ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46216 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46218 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46220 for ac_func in frexpl
46222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46223 echo "$as_me:$LINENO: checking for $ac_func" >&5
46224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46225 if eval "test \"\${$as_ac_var+set}\" = set"; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228 if test x$gcc_no_link = xyes; then
46229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46231 { (exit 1); exit 1; }; }
46233 cat >conftest.$ac_ext <<_ACEOF
46234 /* confdefs.h. */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46241 #define $ac_func innocuous_$ac_func
46243 /* System header to define __stub macros and hopefully few prototypes,
46244 which can conflict with char $ac_func (); below.
46245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46246 <limits.h> exists even on freestanding compilers. */
46248 #ifdef __STDC__
46249 # include <limits.h>
46250 #else
46251 # include <assert.h>
46252 #endif
46254 #undef $ac_func
46256 /* Override any gcc2 internal prototype to avoid an error. */
46257 #ifdef __cplusplus
46258 extern "C"
46260 #endif
46261 /* We use char because int might match the return type of a gcc2
46262 builtin and then its argument prototype would still apply. */
46263 char $ac_func ();
46264 /* The GNU C library defines this for functions which it implements
46265 to always fail with ENOSYS. Some functions are actually named
46266 something starting with __ and the normal name is an alias. */
46267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46268 choke me
46269 #else
46270 char (*f) () = $ac_func;
46271 #endif
46272 #ifdef __cplusplus
46274 #endif
46277 main ()
46279 return f != $ac_func;
46281 return 0;
46283 _ACEOF
46284 rm -f conftest.$ac_objext conftest$ac_exeext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46286 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46311 eval "$as_ac_var=no"
46313 rm -f conftest.err conftest.$ac_objext \
46314 conftest$ac_exeext conftest.$ac_ext
46316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46318 if test `eval echo '${'$as_ac_var'}'` = yes; then
46319 cat >>confdefs.h <<_ACEOF
46320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46321 _ACEOF
46324 done
46326 else
46328 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46329 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46330 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46331 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46332 echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46337 ac_ext=cc
46338 ac_cpp='$CXXCPP $CPPFLAGS'
46339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46343 cat >conftest.$ac_ext <<_ACEOF
46344 /* confdefs.h. */
46345 _ACEOF
46346 cat confdefs.h >>conftest.$ac_ext
46347 cat >>conftest.$ac_ext <<_ACEOF
46348 /* end confdefs.h. */
46349 #include <math.h>
46351 main ()
46353 _frexpl(0, 0);
46355 return 0;
46357 _ACEOF
46358 rm -f conftest.$ac_objext
46359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46360 (eval $ac_compile) 2>conftest.er1
46361 ac_status=$?
46362 grep -v '^ *+' conftest.er1 >conftest.err
46363 rm -f conftest.er1
46364 cat conftest.err >&5
46365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366 (exit $ac_status); } &&
46367 { ac_try='test -z "$ac_cxx_werror_flag"
46368 || test ! -s conftest.err'
46369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370 (eval $ac_try) 2>&5
46371 ac_status=$?
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; } &&
46374 { ac_try='test -s conftest.$ac_objext'
46375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46376 (eval $ac_try) 2>&5
46377 ac_status=$?
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); }; }; then
46380 glibcxx_cv_func__frexpl_use=yes
46381 else
46382 echo "$as_me: failed program was:" >&5
46383 sed 's/^/| /' conftest.$ac_ext >&5
46385 glibcxx_cv_func__frexpl_use=no
46387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46388 ac_ext=c
46389 ac_cpp='$CPP $CPPFLAGS'
46390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46399 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46401 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46403 for ac_func in _frexpl
46405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46406 echo "$as_me:$LINENO: checking for $ac_func" >&5
46407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46408 if eval "test \"\${$as_ac_var+set}\" = set"; then
46409 echo $ECHO_N "(cached) $ECHO_C" >&6
46410 else
46411 if test x$gcc_no_link = xyes; then
46412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46414 { (exit 1); exit 1; }; }
46416 cat >conftest.$ac_ext <<_ACEOF
46417 /* confdefs.h. */
46418 _ACEOF
46419 cat confdefs.h >>conftest.$ac_ext
46420 cat >>conftest.$ac_ext <<_ACEOF
46421 /* end confdefs.h. */
46422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46424 #define $ac_func innocuous_$ac_func
46426 /* System header to define __stub macros and hopefully few prototypes,
46427 which can conflict with char $ac_func (); below.
46428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46429 <limits.h> exists even on freestanding compilers. */
46431 #ifdef __STDC__
46432 # include <limits.h>
46433 #else
46434 # include <assert.h>
46435 #endif
46437 #undef $ac_func
46439 /* Override any gcc2 internal prototype to avoid an error. */
46440 #ifdef __cplusplus
46441 extern "C"
46443 #endif
46444 /* We use char because int might match the return type of a gcc2
46445 builtin and then its argument prototype would still apply. */
46446 char $ac_func ();
46447 /* The GNU C library defines this for functions which it implements
46448 to always fail with ENOSYS. Some functions are actually named
46449 something starting with __ and the normal name is an alias. */
46450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46451 choke me
46452 #else
46453 char (*f) () = $ac_func;
46454 #endif
46455 #ifdef __cplusplus
46457 #endif
46460 main ()
46462 return f != $ac_func;
46464 return 0;
46466 _ACEOF
46467 rm -f conftest.$ac_objext conftest$ac_exeext
46468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46469 (eval $ac_link) 2>conftest.er1
46470 ac_status=$?
46471 grep -v '^ *+' conftest.er1 >conftest.err
46472 rm -f conftest.er1
46473 cat conftest.err >&5
46474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475 (exit $ac_status); } &&
46476 { ac_try='test -z "$ac_c_werror_flag"
46477 || test ! -s conftest.err'
46478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46479 (eval $ac_try) 2>&5
46480 ac_status=$?
46481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46482 (exit $ac_status); }; } &&
46483 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46489 eval "$as_ac_var=yes"
46490 else
46491 echo "$as_me: failed program was:" >&5
46492 sed 's/^/| /' conftest.$ac_ext >&5
46494 eval "$as_ac_var=no"
46496 rm -f conftest.err conftest.$ac_objext \
46497 conftest$ac_exeext conftest.$ac_ext
46499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46501 if test `eval echo '${'$as_ac_var'}'` = yes; then
46502 cat >>confdefs.h <<_ACEOF
46503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46504 _ACEOF
46507 done
46517 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46518 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46519 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46520 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46521 echo $ECHO_N "(cached) $ECHO_C" >&6
46522 else
46526 ac_ext=cc
46527 ac_cpp='$CXXCPP $CPPFLAGS'
46528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46532 cat >conftest.$ac_ext <<_ACEOF
46533 /* confdefs.h. */
46534 _ACEOF
46535 cat confdefs.h >>conftest.$ac_ext
46536 cat >>conftest.$ac_ext <<_ACEOF
46537 /* end confdefs.h. */
46538 #include <math.h>
46540 main ()
46542 hypotl(0, 0);
46544 return 0;
46546 _ACEOF
46547 rm -f conftest.$ac_objext
46548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46549 (eval $ac_compile) 2>conftest.er1
46550 ac_status=$?
46551 grep -v '^ *+' conftest.er1 >conftest.err
46552 rm -f conftest.er1
46553 cat conftest.err >&5
46554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46555 (exit $ac_status); } &&
46556 { ac_try='test -z "$ac_cxx_werror_flag"
46557 || test ! -s conftest.err'
46558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46559 (eval $ac_try) 2>&5
46560 ac_status=$?
46561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562 (exit $ac_status); }; } &&
46563 { ac_try='test -s conftest.$ac_objext'
46564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46565 (eval $ac_try) 2>&5
46566 ac_status=$?
46567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46568 (exit $ac_status); }; }; then
46569 glibcxx_cv_func_hypotl_use=yes
46570 else
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.$ac_ext >&5
46574 glibcxx_cv_func_hypotl_use=no
46576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46577 ac_ext=c
46578 ac_cpp='$CPP $CPPFLAGS'
46579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46588 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46590 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46592 for ac_func in hypotl
46594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46595 echo "$as_me:$LINENO: checking for $ac_func" >&5
46596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46597 if eval "test \"\${$as_ac_var+set}\" = set"; then
46598 echo $ECHO_N "(cached) $ECHO_C" >&6
46599 else
46600 if test x$gcc_no_link = xyes; then
46601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46603 { (exit 1); exit 1; }; }
46605 cat >conftest.$ac_ext <<_ACEOF
46606 /* confdefs.h. */
46607 _ACEOF
46608 cat confdefs.h >>conftest.$ac_ext
46609 cat >>conftest.$ac_ext <<_ACEOF
46610 /* end confdefs.h. */
46611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46613 #define $ac_func innocuous_$ac_func
46615 /* System header to define __stub macros and hopefully few prototypes,
46616 which can conflict with char $ac_func (); below.
46617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46618 <limits.h> exists even on freestanding compilers. */
46620 #ifdef __STDC__
46621 # include <limits.h>
46622 #else
46623 # include <assert.h>
46624 #endif
46626 #undef $ac_func
46628 /* Override any gcc2 internal prototype to avoid an error. */
46629 #ifdef __cplusplus
46630 extern "C"
46632 #endif
46633 /* We use char because int might match the return type of a gcc2
46634 builtin and then its argument prototype would still apply. */
46635 char $ac_func ();
46636 /* The GNU C library defines this for functions which it implements
46637 to always fail with ENOSYS. Some functions are actually named
46638 something starting with __ and the normal name is an alias. */
46639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46640 choke me
46641 #else
46642 char (*f) () = $ac_func;
46643 #endif
46644 #ifdef __cplusplus
46646 #endif
46649 main ()
46651 return f != $ac_func;
46653 return 0;
46655 _ACEOF
46656 rm -f conftest.$ac_objext conftest$ac_exeext
46657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46658 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
46679 else
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46683 eval "$as_ac_var=no"
46685 rm -f conftest.err conftest.$ac_objext \
46686 conftest$ac_exeext conftest.$ac_ext
46688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46690 if test `eval echo '${'$as_ac_var'}'` = yes; then
46691 cat >>confdefs.h <<_ACEOF
46692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46693 _ACEOF
46696 done
46698 else
46700 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46701 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46704 echo $ECHO_N "(cached) $ECHO_C" >&6
46705 else
46709 ac_ext=cc
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46715 cat >conftest.$ac_ext <<_ACEOF
46716 /* confdefs.h. */
46717 _ACEOF
46718 cat confdefs.h >>conftest.$ac_ext
46719 cat >>conftest.$ac_ext <<_ACEOF
46720 /* end confdefs.h. */
46721 #include <math.h>
46723 main ()
46725 _hypotl(0, 0);
46727 return 0;
46729 _ACEOF
46730 rm -f conftest.$ac_objext
46731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46732 (eval $ac_compile) 2>conftest.er1
46733 ac_status=$?
46734 grep -v '^ *+' conftest.er1 >conftest.err
46735 rm -f conftest.er1
46736 cat conftest.err >&5
46737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46738 (exit $ac_status); } &&
46739 { ac_try='test -z "$ac_cxx_werror_flag"
46740 || test ! -s conftest.err'
46741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46742 (eval $ac_try) 2>&5
46743 ac_status=$?
46744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745 (exit $ac_status); }; } &&
46746 { ac_try='test -s conftest.$ac_objext'
46747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46748 (eval $ac_try) 2>&5
46749 ac_status=$?
46750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46751 (exit $ac_status); }; }; then
46752 glibcxx_cv_func__hypotl_use=yes
46753 else
46754 echo "$as_me: failed program was:" >&5
46755 sed 's/^/| /' conftest.$ac_ext >&5
46757 glibcxx_cv_func__hypotl_use=no
46759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46760 ac_ext=c
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46771 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46773 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46775 for ac_func in _hypotl
46777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46778 echo "$as_me:$LINENO: checking for $ac_func" >&5
46779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46780 if eval "test \"\${$as_ac_var+set}\" = set"; then
46781 echo $ECHO_N "(cached) $ECHO_C" >&6
46782 else
46783 if test x$gcc_no_link = xyes; then
46784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46786 { (exit 1); exit 1; }; }
46788 cat >conftest.$ac_ext <<_ACEOF
46789 /* confdefs.h. */
46790 _ACEOF
46791 cat confdefs.h >>conftest.$ac_ext
46792 cat >>conftest.$ac_ext <<_ACEOF
46793 /* end confdefs.h. */
46794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46796 #define $ac_func innocuous_$ac_func
46798 /* System header to define __stub macros and hopefully few prototypes,
46799 which can conflict with char $ac_func (); below.
46800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46801 <limits.h> exists even on freestanding compilers. */
46803 #ifdef __STDC__
46804 # include <limits.h>
46805 #else
46806 # include <assert.h>
46807 #endif
46809 #undef $ac_func
46811 /* Override any gcc2 internal prototype to avoid an error. */
46812 #ifdef __cplusplus
46813 extern "C"
46815 #endif
46816 /* We use char because int might match the return type of a gcc2
46817 builtin and then its argument prototype would still apply. */
46818 char $ac_func ();
46819 /* The GNU C library defines this for functions which it implements
46820 to always fail with ENOSYS. Some functions are actually named
46821 something starting with __ and the normal name is an alias. */
46822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46823 choke me
46824 #else
46825 char (*f) () = $ac_func;
46826 #endif
46827 #ifdef __cplusplus
46829 #endif
46832 main ()
46834 return f != $ac_func;
46836 return 0;
46838 _ACEOF
46839 rm -f conftest.$ac_objext conftest$ac_exeext
46840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46841 (eval $ac_link) 2>conftest.er1
46842 ac_status=$?
46843 grep -v '^ *+' conftest.er1 >conftest.err
46844 rm -f conftest.er1
46845 cat conftest.err >&5
46846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46847 (exit $ac_status); } &&
46848 { ac_try='test -z "$ac_c_werror_flag"
46849 || test ! -s conftest.err'
46850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46851 (eval $ac_try) 2>&5
46852 ac_status=$?
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); }; } &&
46855 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46861 eval "$as_ac_var=yes"
46862 else
46863 echo "$as_me: failed program was:" >&5
46864 sed 's/^/| /' conftest.$ac_ext >&5
46866 eval "$as_ac_var=no"
46868 rm -f conftest.err conftest.$ac_objext \
46869 conftest$ac_exeext conftest.$ac_ext
46871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46873 if test `eval echo '${'$as_ac_var'}'` = yes; then
46874 cat >>confdefs.h <<_ACEOF
46875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46876 _ACEOF
46879 done
46889 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46890 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46891 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46892 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46893 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 else
46898 ac_ext=cc
46899 ac_cpp='$CXXCPP $CPPFLAGS'
46900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46904 cat >conftest.$ac_ext <<_ACEOF
46905 /* confdefs.h. */
46906 _ACEOF
46907 cat confdefs.h >>conftest.$ac_ext
46908 cat >>conftest.$ac_ext <<_ACEOF
46909 /* end confdefs.h. */
46910 #include <math.h>
46912 main ()
46914 ldexpl(0, 0);
46916 return 0;
46918 _ACEOF
46919 rm -f conftest.$ac_objext
46920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46921 (eval $ac_compile) 2>conftest.er1
46922 ac_status=$?
46923 grep -v '^ *+' conftest.er1 >conftest.err
46924 rm -f conftest.er1
46925 cat conftest.err >&5
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); } &&
46928 { ac_try='test -z "$ac_cxx_werror_flag"
46929 || test ! -s conftest.err'
46930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46931 (eval $ac_try) 2>&5
46932 ac_status=$?
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); }; } &&
46935 { ac_try='test -s conftest.$ac_objext'
46936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46937 (eval $ac_try) 2>&5
46938 ac_status=$?
46939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46940 (exit $ac_status); }; }; then
46941 glibcxx_cv_func_ldexpl_use=yes
46942 else
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.$ac_ext >&5
46946 glibcxx_cv_func_ldexpl_use=no
46948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46949 ac_ext=c
46950 ac_cpp='$CPP $CPPFLAGS'
46951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46960 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46962 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46964 for ac_func in ldexpl
46966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46967 echo "$as_me:$LINENO: checking for $ac_func" >&5
46968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46969 if eval "test \"\${$as_ac_var+set}\" = set"; then
46970 echo $ECHO_N "(cached) $ECHO_C" >&6
46971 else
46972 if test x$gcc_no_link = xyes; then
46973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46975 { (exit 1); exit 1; }; }
46977 cat >conftest.$ac_ext <<_ACEOF
46978 /* confdefs.h. */
46979 _ACEOF
46980 cat confdefs.h >>conftest.$ac_ext
46981 cat >>conftest.$ac_ext <<_ACEOF
46982 /* end confdefs.h. */
46983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46985 #define $ac_func innocuous_$ac_func
46987 /* System header to define __stub macros and hopefully few prototypes,
46988 which can conflict with char $ac_func (); below.
46989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46990 <limits.h> exists even on freestanding compilers. */
46992 #ifdef __STDC__
46993 # include <limits.h>
46994 #else
46995 # include <assert.h>
46996 #endif
46998 #undef $ac_func
47000 /* Override any gcc2 internal prototype to avoid an error. */
47001 #ifdef __cplusplus
47002 extern "C"
47004 #endif
47005 /* We use char because int might match the return type of a gcc2
47006 builtin and then its argument prototype would still apply. */
47007 char $ac_func ();
47008 /* The GNU C library defines this for functions which it implements
47009 to always fail with ENOSYS. Some functions are actually named
47010 something starting with __ and the normal name is an alias. */
47011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47012 choke me
47013 #else
47014 char (*f) () = $ac_func;
47015 #endif
47016 #ifdef __cplusplus
47018 #endif
47021 main ()
47023 return f != $ac_func;
47025 return 0;
47027 _ACEOF
47028 rm -f conftest.$ac_objext conftest$ac_exeext
47029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47030 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
47051 else
47052 echo "$as_me: failed program was:" >&5
47053 sed 's/^/| /' conftest.$ac_ext >&5
47055 eval "$as_ac_var=no"
47057 rm -f conftest.err conftest.$ac_objext \
47058 conftest$ac_exeext conftest.$ac_ext
47060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47062 if test `eval echo '${'$as_ac_var'}'` = yes; then
47063 cat >>confdefs.h <<_ACEOF
47064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47065 _ACEOF
47068 done
47070 else
47072 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47073 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47074 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47075 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47076 echo $ECHO_N "(cached) $ECHO_C" >&6
47077 else
47081 ac_ext=cc
47082 ac_cpp='$CXXCPP $CPPFLAGS'
47083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087 cat >conftest.$ac_ext <<_ACEOF
47088 /* confdefs.h. */
47089 _ACEOF
47090 cat confdefs.h >>conftest.$ac_ext
47091 cat >>conftest.$ac_ext <<_ACEOF
47092 /* end confdefs.h. */
47093 #include <math.h>
47095 main ()
47097 _ldexpl(0, 0);
47099 return 0;
47101 _ACEOF
47102 rm -f conftest.$ac_objext
47103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47104 (eval $ac_compile) 2>conftest.er1
47105 ac_status=$?
47106 grep -v '^ *+' conftest.er1 >conftest.err
47107 rm -f conftest.er1
47108 cat conftest.err >&5
47109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47110 (exit $ac_status); } &&
47111 { ac_try='test -z "$ac_cxx_werror_flag"
47112 || test ! -s conftest.err'
47113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47114 (eval $ac_try) 2>&5
47115 ac_status=$?
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); }; } &&
47118 { ac_try='test -s conftest.$ac_objext'
47119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47120 (eval $ac_try) 2>&5
47121 ac_status=$?
47122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123 (exit $ac_status); }; }; then
47124 glibcxx_cv_func__ldexpl_use=yes
47125 else
47126 echo "$as_me: failed program was:" >&5
47127 sed 's/^/| /' conftest.$ac_ext >&5
47129 glibcxx_cv_func__ldexpl_use=no
47131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47132 ac_ext=c
47133 ac_cpp='$CPP $CPPFLAGS'
47134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47143 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47145 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47147 for ac_func in _ldexpl
47149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47150 echo "$as_me:$LINENO: checking for $ac_func" >&5
47151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47152 if eval "test \"\${$as_ac_var+set}\" = set"; then
47153 echo $ECHO_N "(cached) $ECHO_C" >&6
47154 else
47155 if test x$gcc_no_link = xyes; then
47156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47158 { (exit 1); exit 1; }; }
47160 cat >conftest.$ac_ext <<_ACEOF
47161 /* confdefs.h. */
47162 _ACEOF
47163 cat confdefs.h >>conftest.$ac_ext
47164 cat >>conftest.$ac_ext <<_ACEOF
47165 /* end confdefs.h. */
47166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47168 #define $ac_func innocuous_$ac_func
47170 /* System header to define __stub macros and hopefully few prototypes,
47171 which can conflict with char $ac_func (); below.
47172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47173 <limits.h> exists even on freestanding compilers. */
47175 #ifdef __STDC__
47176 # include <limits.h>
47177 #else
47178 # include <assert.h>
47179 #endif
47181 #undef $ac_func
47183 /* Override any gcc2 internal prototype to avoid an error. */
47184 #ifdef __cplusplus
47185 extern "C"
47187 #endif
47188 /* We use char because int might match the return type of a gcc2
47189 builtin and then its argument prototype would still apply. */
47190 char $ac_func ();
47191 /* The GNU C library defines this for functions which it implements
47192 to always fail with ENOSYS. Some functions are actually named
47193 something starting with __ and the normal name is an alias. */
47194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47195 choke me
47196 #else
47197 char (*f) () = $ac_func;
47198 #endif
47199 #ifdef __cplusplus
47201 #endif
47204 main ()
47206 return f != $ac_func;
47208 return 0;
47210 _ACEOF
47211 rm -f conftest.$ac_objext conftest$ac_exeext
47212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47213 (eval $ac_link) 2>conftest.er1
47214 ac_status=$?
47215 grep -v '^ *+' conftest.er1 >conftest.err
47216 rm -f conftest.er1
47217 cat conftest.err >&5
47218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219 (exit $ac_status); } &&
47220 { ac_try='test -z "$ac_c_werror_flag"
47221 || test ! -s conftest.err'
47222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47223 (eval $ac_try) 2>&5
47224 ac_status=$?
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); }; } &&
47227 { ac_try='test -s conftest$ac_exeext'
47228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47229 (eval $ac_try) 2>&5
47230 ac_status=$?
47231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47232 (exit $ac_status); }; }; then
47233 eval "$as_ac_var=yes"
47234 else
47235 echo "$as_me: failed program was:" >&5
47236 sed 's/^/| /' conftest.$ac_ext >&5
47238 eval "$as_ac_var=no"
47240 rm -f conftest.err conftest.$ac_objext \
47241 conftest$ac_exeext conftest.$ac_ext
47243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47245 if test `eval echo '${'$as_ac_var'}'` = yes; then
47246 cat >>confdefs.h <<_ACEOF
47247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47248 _ACEOF
47251 done
47261 echo "$as_me:$LINENO: checking for logl declaration" >&5
47262 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47263 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47264 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47265 echo $ECHO_N "(cached) $ECHO_C" >&6
47266 else
47270 ac_ext=cc
47271 ac_cpp='$CXXCPP $CPPFLAGS'
47272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47276 cat >conftest.$ac_ext <<_ACEOF
47277 /* confdefs.h. */
47278 _ACEOF
47279 cat confdefs.h >>conftest.$ac_ext
47280 cat >>conftest.$ac_ext <<_ACEOF
47281 /* end confdefs.h. */
47282 #include <math.h>
47283 #ifdef HAVE_IEEEFP_H
47284 #include <ieeefp.h>
47285 #endif
47288 main ()
47290 logl(0);
47292 return 0;
47294 _ACEOF
47295 rm -f conftest.$ac_objext
47296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47297 (eval $ac_compile) 2>conftest.er1
47298 ac_status=$?
47299 grep -v '^ *+' conftest.er1 >conftest.err
47300 rm -f conftest.er1
47301 cat conftest.err >&5
47302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303 (exit $ac_status); } &&
47304 { ac_try='test -z "$ac_cxx_werror_flag"
47305 || test ! -s conftest.err'
47306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47307 (eval $ac_try) 2>&5
47308 ac_status=$?
47309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 (exit $ac_status); }; } &&
47311 { ac_try='test -s conftest.$ac_objext'
47312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47313 (eval $ac_try) 2>&5
47314 ac_status=$?
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); }; }; then
47317 glibcxx_cv_func_logl_use=yes
47318 else
47319 echo "$as_me: failed program was:" >&5
47320 sed 's/^/| /' conftest.$ac_ext >&5
47322 glibcxx_cv_func_logl_use=no
47324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47325 ac_ext=c
47326 ac_cpp='$CPP $CPPFLAGS'
47327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47336 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47338 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47340 for ac_func in logl
47342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47343 echo "$as_me:$LINENO: checking for $ac_func" >&5
47344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47345 if eval "test \"\${$as_ac_var+set}\" = set"; then
47346 echo $ECHO_N "(cached) $ECHO_C" >&6
47347 else
47348 if test x$gcc_no_link = xyes; then
47349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47351 { (exit 1); exit 1; }; }
47353 cat >conftest.$ac_ext <<_ACEOF
47354 /* confdefs.h. */
47355 _ACEOF
47356 cat confdefs.h >>conftest.$ac_ext
47357 cat >>conftest.$ac_ext <<_ACEOF
47358 /* end confdefs.h. */
47359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47361 #define $ac_func innocuous_$ac_func
47363 /* System header to define __stub macros and hopefully few prototypes,
47364 which can conflict with char $ac_func (); below.
47365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47366 <limits.h> exists even on freestanding compilers. */
47368 #ifdef __STDC__
47369 # include <limits.h>
47370 #else
47371 # include <assert.h>
47372 #endif
47374 #undef $ac_func
47376 /* Override any gcc2 internal prototype to avoid an error. */
47377 #ifdef __cplusplus
47378 extern "C"
47380 #endif
47381 /* We use char because int might match the return type of a gcc2
47382 builtin and then its argument prototype would still apply. */
47383 char $ac_func ();
47384 /* The GNU C library defines this for functions which it implements
47385 to always fail with ENOSYS. Some functions are actually named
47386 something starting with __ and the normal name is an alias. */
47387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47388 choke me
47389 #else
47390 char (*f) () = $ac_func;
47391 #endif
47392 #ifdef __cplusplus
47394 #endif
47397 main ()
47399 return f != $ac_func;
47401 return 0;
47403 _ACEOF
47404 rm -f conftest.$ac_objext conftest$ac_exeext
47405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47406 (eval $ac_link) 2>conftest.er1
47407 ac_status=$?
47408 grep -v '^ *+' conftest.er1 >conftest.err
47409 rm -f conftest.er1
47410 cat conftest.err >&5
47411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412 (exit $ac_status); } &&
47413 { ac_try='test -z "$ac_c_werror_flag"
47414 || test ! -s conftest.err'
47415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47416 (eval $ac_try) 2>&5
47417 ac_status=$?
47418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47419 (exit $ac_status); }; } &&
47420 { ac_try='test -s conftest$ac_exeext'
47421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47422 (eval $ac_try) 2>&5
47423 ac_status=$?
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); }; }; then
47426 eval "$as_ac_var=yes"
47427 else
47428 echo "$as_me: failed program was:" >&5
47429 sed 's/^/| /' conftest.$ac_ext >&5
47431 eval "$as_ac_var=no"
47433 rm -f conftest.err conftest.$ac_objext \
47434 conftest$ac_exeext conftest.$ac_ext
47436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47438 if test `eval echo '${'$as_ac_var'}'` = yes; then
47439 cat >>confdefs.h <<_ACEOF
47440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47441 _ACEOF
47444 done
47446 else
47448 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47449 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47450 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47451 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47452 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 else
47457 ac_ext=cc
47458 ac_cpp='$CXXCPP $CPPFLAGS'
47459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47463 cat >conftest.$ac_ext <<_ACEOF
47464 /* confdefs.h. */
47465 _ACEOF
47466 cat confdefs.h >>conftest.$ac_ext
47467 cat >>conftest.$ac_ext <<_ACEOF
47468 /* end confdefs.h. */
47469 #include <math.h>
47470 #ifdef HAVE_IEEEFP_H
47471 #include <ieeefp.h>
47472 #endif
47475 main ()
47477 _logl(0);
47479 return 0;
47481 _ACEOF
47482 rm -f conftest.$ac_objext
47483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47484 (eval $ac_compile) 2>conftest.er1
47485 ac_status=$?
47486 grep -v '^ *+' conftest.er1 >conftest.err
47487 rm -f conftest.er1
47488 cat conftest.err >&5
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); } &&
47491 { ac_try='test -z "$ac_cxx_werror_flag"
47492 || test ! -s conftest.err'
47493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47494 (eval $ac_try) 2>&5
47495 ac_status=$?
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); }; } &&
47498 { ac_try='test -s conftest.$ac_objext'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47501 ac_status=$?
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; }; then
47504 glibcxx_cv_func__logl_use=yes
47505 else
47506 echo "$as_me: failed program was:" >&5
47507 sed 's/^/| /' conftest.$ac_ext >&5
47509 glibcxx_cv_func__logl_use=no
47511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47512 ac_ext=c
47513 ac_cpp='$CPP $CPPFLAGS'
47514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47522 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47523 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47525 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47527 for ac_func in _logl
47529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47530 echo "$as_me:$LINENO: checking for $ac_func" >&5
47531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47532 if eval "test \"\${$as_ac_var+set}\" = set"; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47534 else
47535 if test x$gcc_no_link = xyes; then
47536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47538 { (exit 1); exit 1; }; }
47540 cat >conftest.$ac_ext <<_ACEOF
47541 /* confdefs.h. */
47542 _ACEOF
47543 cat confdefs.h >>conftest.$ac_ext
47544 cat >>conftest.$ac_ext <<_ACEOF
47545 /* end confdefs.h. */
47546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47548 #define $ac_func innocuous_$ac_func
47550 /* System header to define __stub macros and hopefully few prototypes,
47551 which can conflict with char $ac_func (); below.
47552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47553 <limits.h> exists even on freestanding compilers. */
47555 #ifdef __STDC__
47556 # include <limits.h>
47557 #else
47558 # include <assert.h>
47559 #endif
47561 #undef $ac_func
47563 /* Override any gcc2 internal prototype to avoid an error. */
47564 #ifdef __cplusplus
47565 extern "C"
47567 #endif
47568 /* We use char because int might match the return type of a gcc2
47569 builtin and then its argument prototype would still apply. */
47570 char $ac_func ();
47571 /* The GNU C library defines this for functions which it implements
47572 to always fail with ENOSYS. Some functions are actually named
47573 something starting with __ and the normal name is an alias. */
47574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47575 choke me
47576 #else
47577 char (*f) () = $ac_func;
47578 #endif
47579 #ifdef __cplusplus
47581 #endif
47584 main ()
47586 return f != $ac_func;
47588 return 0;
47590 _ACEOF
47591 rm -f conftest.$ac_objext conftest$ac_exeext
47592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47593 (eval $ac_link) 2>conftest.er1
47594 ac_status=$?
47595 grep -v '^ *+' conftest.er1 >conftest.err
47596 rm -f conftest.er1
47597 cat conftest.err >&5
47598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47599 (exit $ac_status); } &&
47600 { ac_try='test -z "$ac_c_werror_flag"
47601 || test ! -s conftest.err'
47602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47603 (eval $ac_try) 2>&5
47604 ac_status=$?
47605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47606 (exit $ac_status); }; } &&
47607 { ac_try='test -s conftest$ac_exeext'
47608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47609 (eval $ac_try) 2>&5
47610 ac_status=$?
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); }; }; then
47613 eval "$as_ac_var=yes"
47614 else
47615 echo "$as_me: failed program was:" >&5
47616 sed 's/^/| /' conftest.$ac_ext >&5
47618 eval "$as_ac_var=no"
47620 rm -f conftest.err conftest.$ac_objext \
47621 conftest$ac_exeext conftest.$ac_ext
47623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47625 if test `eval echo '${'$as_ac_var'}'` = yes; then
47626 cat >>confdefs.h <<_ACEOF
47627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47628 _ACEOF
47631 done
47641 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47642 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47643 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47644 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47645 echo $ECHO_N "(cached) $ECHO_C" >&6
47646 else
47650 ac_ext=cc
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656 cat >conftest.$ac_ext <<_ACEOF
47657 /* confdefs.h. */
47658 _ACEOF
47659 cat confdefs.h >>conftest.$ac_ext
47660 cat >>conftest.$ac_ext <<_ACEOF
47661 /* end confdefs.h. */
47662 #include <math.h>
47663 #ifdef HAVE_IEEEFP_H
47664 #include <ieeefp.h>
47665 #endif
47668 main ()
47670 log10l(0);
47672 return 0;
47674 _ACEOF
47675 rm -f conftest.$ac_objext
47676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47677 (eval $ac_compile) 2>conftest.er1
47678 ac_status=$?
47679 grep -v '^ *+' conftest.er1 >conftest.err
47680 rm -f conftest.er1
47681 cat conftest.err >&5
47682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47683 (exit $ac_status); } &&
47684 { ac_try='test -z "$ac_cxx_werror_flag"
47685 || test ! -s conftest.err'
47686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47687 (eval $ac_try) 2>&5
47688 ac_status=$?
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); }; } &&
47691 { ac_try='test -s conftest.$ac_objext'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47694 ac_status=$?
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; }; then
47697 glibcxx_cv_func_log10l_use=yes
47698 else
47699 echo "$as_me: failed program was:" >&5
47700 sed 's/^/| /' conftest.$ac_ext >&5
47702 glibcxx_cv_func_log10l_use=no
47704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47705 ac_ext=c
47706 ac_cpp='$CPP $CPPFLAGS'
47707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47716 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47718 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47720 for ac_func in log10l
47722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47723 echo "$as_me:$LINENO: checking for $ac_func" >&5
47724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47725 if eval "test \"\${$as_ac_var+set}\" = set"; then
47726 echo $ECHO_N "(cached) $ECHO_C" >&6
47727 else
47728 if test x$gcc_no_link = xyes; then
47729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47731 { (exit 1); exit 1; }; }
47733 cat >conftest.$ac_ext <<_ACEOF
47734 /* confdefs.h. */
47735 _ACEOF
47736 cat confdefs.h >>conftest.$ac_ext
47737 cat >>conftest.$ac_ext <<_ACEOF
47738 /* end confdefs.h. */
47739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47741 #define $ac_func innocuous_$ac_func
47743 /* System header to define __stub macros and hopefully few prototypes,
47744 which can conflict with char $ac_func (); below.
47745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47746 <limits.h> exists even on freestanding compilers. */
47748 #ifdef __STDC__
47749 # include <limits.h>
47750 #else
47751 # include <assert.h>
47752 #endif
47754 #undef $ac_func
47756 /* Override any gcc2 internal prototype to avoid an error. */
47757 #ifdef __cplusplus
47758 extern "C"
47760 #endif
47761 /* We use char because int might match the return type of a gcc2
47762 builtin and then its argument prototype would still apply. */
47763 char $ac_func ();
47764 /* The GNU C library defines this for functions which it implements
47765 to always fail with ENOSYS. Some functions are actually named
47766 something starting with __ and the normal name is an alias. */
47767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47768 choke me
47769 #else
47770 char (*f) () = $ac_func;
47771 #endif
47772 #ifdef __cplusplus
47774 #endif
47777 main ()
47779 return f != $ac_func;
47781 return 0;
47783 _ACEOF
47784 rm -f conftest.$ac_objext conftest$ac_exeext
47785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47786 (eval $ac_link) 2>conftest.er1
47787 ac_status=$?
47788 grep -v '^ *+' conftest.er1 >conftest.err
47789 rm -f conftest.er1
47790 cat conftest.err >&5
47791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47792 (exit $ac_status); } &&
47793 { ac_try='test -z "$ac_c_werror_flag"
47794 || test ! -s conftest.err'
47795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47796 (eval $ac_try) 2>&5
47797 ac_status=$?
47798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47799 (exit $ac_status); }; } &&
47800 { ac_try='test -s conftest$ac_exeext'
47801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47802 (eval $ac_try) 2>&5
47803 ac_status=$?
47804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47805 (exit $ac_status); }; }; then
47806 eval "$as_ac_var=yes"
47807 else
47808 echo "$as_me: failed program was:" >&5
47809 sed 's/^/| /' conftest.$ac_ext >&5
47811 eval "$as_ac_var=no"
47813 rm -f conftest.err conftest.$ac_objext \
47814 conftest$ac_exeext conftest.$ac_ext
47816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47818 if test `eval echo '${'$as_ac_var'}'` = yes; then
47819 cat >>confdefs.h <<_ACEOF
47820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47821 _ACEOF
47824 done
47826 else
47828 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47829 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47830 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47831 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47832 echo $ECHO_N "(cached) $ECHO_C" >&6
47833 else
47837 ac_ext=cc
47838 ac_cpp='$CXXCPP $CPPFLAGS'
47839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47843 cat >conftest.$ac_ext <<_ACEOF
47844 /* confdefs.h. */
47845 _ACEOF
47846 cat confdefs.h >>conftest.$ac_ext
47847 cat >>conftest.$ac_ext <<_ACEOF
47848 /* end confdefs.h. */
47849 #include <math.h>
47850 #ifdef HAVE_IEEEFP_H
47851 #include <ieeefp.h>
47852 #endif
47855 main ()
47857 _log10l(0);
47859 return 0;
47861 _ACEOF
47862 rm -f conftest.$ac_objext
47863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47864 (eval $ac_compile) 2>conftest.er1
47865 ac_status=$?
47866 grep -v '^ *+' conftest.er1 >conftest.err
47867 rm -f conftest.er1
47868 cat conftest.err >&5
47869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47870 (exit $ac_status); } &&
47871 { ac_try='test -z "$ac_cxx_werror_flag"
47872 || test ! -s conftest.err'
47873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874 (eval $ac_try) 2>&5
47875 ac_status=$?
47876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877 (exit $ac_status); }; } &&
47878 { ac_try='test -s conftest.$ac_objext'
47879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47880 (eval $ac_try) 2>&5
47881 ac_status=$?
47882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47883 (exit $ac_status); }; }; then
47884 glibcxx_cv_func__log10l_use=yes
47885 else
47886 echo "$as_me: failed program was:" >&5
47887 sed 's/^/| /' conftest.$ac_ext >&5
47889 glibcxx_cv_func__log10l_use=no
47891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47892 ac_ext=c
47893 ac_cpp='$CPP $CPPFLAGS'
47894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47903 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47905 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47907 for ac_func in _log10l
47909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47910 echo "$as_me:$LINENO: checking for $ac_func" >&5
47911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47912 if eval "test \"\${$as_ac_var+set}\" = set"; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47915 if test x$gcc_no_link = xyes; then
47916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47918 { (exit 1); exit 1; }; }
47920 cat >conftest.$ac_ext <<_ACEOF
47921 /* confdefs.h. */
47922 _ACEOF
47923 cat confdefs.h >>conftest.$ac_ext
47924 cat >>conftest.$ac_ext <<_ACEOF
47925 /* end confdefs.h. */
47926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47928 #define $ac_func innocuous_$ac_func
47930 /* System header to define __stub macros and hopefully few prototypes,
47931 which can conflict with char $ac_func (); below.
47932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47933 <limits.h> exists even on freestanding compilers. */
47935 #ifdef __STDC__
47936 # include <limits.h>
47937 #else
47938 # include <assert.h>
47939 #endif
47941 #undef $ac_func
47943 /* Override any gcc2 internal prototype to avoid an error. */
47944 #ifdef __cplusplus
47945 extern "C"
47947 #endif
47948 /* We use char because int might match the return type of a gcc2
47949 builtin and then its argument prototype would still apply. */
47950 char $ac_func ();
47951 /* The GNU C library defines this for functions which it implements
47952 to always fail with ENOSYS. Some functions are actually named
47953 something starting with __ and the normal name is an alias. */
47954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47955 choke me
47956 #else
47957 char (*f) () = $ac_func;
47958 #endif
47959 #ifdef __cplusplus
47961 #endif
47964 main ()
47966 return f != $ac_func;
47968 return 0;
47970 _ACEOF
47971 rm -f conftest.$ac_objext conftest$ac_exeext
47972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47973 (eval $ac_link) 2>conftest.er1
47974 ac_status=$?
47975 grep -v '^ *+' conftest.er1 >conftest.err
47976 rm -f conftest.er1
47977 cat conftest.err >&5
47978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47979 (exit $ac_status); } &&
47980 { ac_try='test -z "$ac_c_werror_flag"
47981 || test ! -s conftest.err'
47982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47983 (eval $ac_try) 2>&5
47984 ac_status=$?
47985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986 (exit $ac_status); }; } &&
47987 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
47993 eval "$as_ac_var=yes"
47994 else
47995 echo "$as_me: failed program was:" >&5
47996 sed 's/^/| /' conftest.$ac_ext >&5
47998 eval "$as_ac_var=no"
48000 rm -f conftest.err conftest.$ac_objext \
48001 conftest$ac_exeext conftest.$ac_ext
48003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48005 if test `eval echo '${'$as_ac_var'}'` = yes; then
48006 cat >>confdefs.h <<_ACEOF
48007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48008 _ACEOF
48011 done
48021 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48022 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48023 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48024 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48026 else
48030 ac_ext=cc
48031 ac_cpp='$CXXCPP $CPPFLAGS'
48032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48036 cat >conftest.$ac_ext <<_ACEOF
48037 /* confdefs.h. */
48038 _ACEOF
48039 cat confdefs.h >>conftest.$ac_ext
48040 cat >>conftest.$ac_ext <<_ACEOF
48041 /* end confdefs.h. */
48042 #include <math.h>
48044 main ()
48046 modfl(0, 0);
48048 return 0;
48050 _ACEOF
48051 rm -f conftest.$ac_objext
48052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48053 (eval $ac_compile) 2>conftest.er1
48054 ac_status=$?
48055 grep -v '^ *+' conftest.er1 >conftest.err
48056 rm -f conftest.er1
48057 cat conftest.err >&5
48058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48059 (exit $ac_status); } &&
48060 { ac_try='test -z "$ac_cxx_werror_flag"
48061 || test ! -s conftest.err'
48062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48063 (eval $ac_try) 2>&5
48064 ac_status=$?
48065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066 (exit $ac_status); }; } &&
48067 { ac_try='test -s conftest.$ac_objext'
48068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48069 (eval $ac_try) 2>&5
48070 ac_status=$?
48071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48072 (exit $ac_status); }; }; then
48073 glibcxx_cv_func_modfl_use=yes
48074 else
48075 echo "$as_me: failed program was:" >&5
48076 sed 's/^/| /' conftest.$ac_ext >&5
48078 glibcxx_cv_func_modfl_use=no
48080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48081 ac_ext=c
48082 ac_cpp='$CPP $CPPFLAGS'
48083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48092 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48094 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48096 for ac_func in modfl
48098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48099 echo "$as_me:$LINENO: checking for $ac_func" >&5
48100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48101 if eval "test \"\${$as_ac_var+set}\" = set"; then
48102 echo $ECHO_N "(cached) $ECHO_C" >&6
48103 else
48104 if test x$gcc_no_link = xyes; then
48105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48107 { (exit 1); exit 1; }; }
48109 cat >conftest.$ac_ext <<_ACEOF
48110 /* confdefs.h. */
48111 _ACEOF
48112 cat confdefs.h >>conftest.$ac_ext
48113 cat >>conftest.$ac_ext <<_ACEOF
48114 /* end confdefs.h. */
48115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48117 #define $ac_func innocuous_$ac_func
48119 /* System header to define __stub macros and hopefully few prototypes,
48120 which can conflict with char $ac_func (); below.
48121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48122 <limits.h> exists even on freestanding compilers. */
48124 #ifdef __STDC__
48125 # include <limits.h>
48126 #else
48127 # include <assert.h>
48128 #endif
48130 #undef $ac_func
48132 /* Override any gcc2 internal prototype to avoid an error. */
48133 #ifdef __cplusplus
48134 extern "C"
48136 #endif
48137 /* We use char because int might match the return type of a gcc2
48138 builtin and then its argument prototype would still apply. */
48139 char $ac_func ();
48140 /* The GNU C library defines this for functions which it implements
48141 to always fail with ENOSYS. Some functions are actually named
48142 something starting with __ and the normal name is an alias. */
48143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48144 choke me
48145 #else
48146 char (*f) () = $ac_func;
48147 #endif
48148 #ifdef __cplusplus
48150 #endif
48153 main ()
48155 return f != $ac_func;
48157 return 0;
48159 _ACEOF
48160 rm -f conftest.$ac_objext conftest$ac_exeext
48161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48162 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
48183 else
48184 echo "$as_me: failed program was:" >&5
48185 sed 's/^/| /' conftest.$ac_ext >&5
48187 eval "$as_ac_var=no"
48189 rm -f conftest.err conftest.$ac_objext \
48190 conftest$ac_exeext conftest.$ac_ext
48192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48194 if test `eval echo '${'$as_ac_var'}'` = yes; then
48195 cat >>confdefs.h <<_ACEOF
48196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48197 _ACEOF
48200 done
48202 else
48204 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48205 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48206 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48207 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48208 echo $ECHO_N "(cached) $ECHO_C" >&6
48209 else
48213 ac_ext=cc
48214 ac_cpp='$CXXCPP $CPPFLAGS'
48215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48219 cat >conftest.$ac_ext <<_ACEOF
48220 /* confdefs.h. */
48221 _ACEOF
48222 cat confdefs.h >>conftest.$ac_ext
48223 cat >>conftest.$ac_ext <<_ACEOF
48224 /* end confdefs.h. */
48225 #include <math.h>
48227 main ()
48229 _modfl(0, 0);
48231 return 0;
48233 _ACEOF
48234 rm -f conftest.$ac_objext
48235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48236 (eval $ac_compile) 2>conftest.er1
48237 ac_status=$?
48238 grep -v '^ *+' conftest.er1 >conftest.err
48239 rm -f conftest.er1
48240 cat conftest.err >&5
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); } &&
48243 { ac_try='test -z "$ac_cxx_werror_flag"
48244 || test ! -s conftest.err'
48245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246 (eval $ac_try) 2>&5
48247 ac_status=$?
48248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249 (exit $ac_status); }; } &&
48250 { ac_try='test -s conftest.$ac_objext'
48251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48252 (eval $ac_try) 2>&5
48253 ac_status=$?
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); }; }; then
48256 glibcxx_cv_func__modfl_use=yes
48257 else
48258 echo "$as_me: failed program was:" >&5
48259 sed 's/^/| /' conftest.$ac_ext >&5
48261 glibcxx_cv_func__modfl_use=no
48263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48264 ac_ext=c
48265 ac_cpp='$CPP $CPPFLAGS'
48266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48275 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48277 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48279 for ac_func in _modfl
48281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48282 echo "$as_me:$LINENO: checking for $ac_func" >&5
48283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48284 if eval "test \"\${$as_ac_var+set}\" = set"; then
48285 echo $ECHO_N "(cached) $ECHO_C" >&6
48286 else
48287 if test x$gcc_no_link = xyes; then
48288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48290 { (exit 1); exit 1; }; }
48292 cat >conftest.$ac_ext <<_ACEOF
48293 /* confdefs.h. */
48294 _ACEOF
48295 cat confdefs.h >>conftest.$ac_ext
48296 cat >>conftest.$ac_ext <<_ACEOF
48297 /* end confdefs.h. */
48298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48300 #define $ac_func innocuous_$ac_func
48302 /* System header to define __stub macros and hopefully few prototypes,
48303 which can conflict with char $ac_func (); below.
48304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48305 <limits.h> exists even on freestanding compilers. */
48307 #ifdef __STDC__
48308 # include <limits.h>
48309 #else
48310 # include <assert.h>
48311 #endif
48313 #undef $ac_func
48315 /* Override any gcc2 internal prototype to avoid an error. */
48316 #ifdef __cplusplus
48317 extern "C"
48319 #endif
48320 /* We use char because int might match the return type of a gcc2
48321 builtin and then its argument prototype would still apply. */
48322 char $ac_func ();
48323 /* The GNU C library defines this for functions which it implements
48324 to always fail with ENOSYS. Some functions are actually named
48325 something starting with __ and the normal name is an alias. */
48326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48327 choke me
48328 #else
48329 char (*f) () = $ac_func;
48330 #endif
48331 #ifdef __cplusplus
48333 #endif
48336 main ()
48338 return f != $ac_func;
48340 return 0;
48342 _ACEOF
48343 rm -f conftest.$ac_objext conftest$ac_exeext
48344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48345 (eval $ac_link) 2>conftest.er1
48346 ac_status=$?
48347 grep -v '^ *+' conftest.er1 >conftest.err
48348 rm -f conftest.er1
48349 cat conftest.err >&5
48350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48351 (exit $ac_status); } &&
48352 { ac_try='test -z "$ac_c_werror_flag"
48353 || test ! -s conftest.err'
48354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48355 (eval $ac_try) 2>&5
48356 ac_status=$?
48357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48358 (exit $ac_status); }; } &&
48359 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48365 eval "$as_ac_var=yes"
48366 else
48367 echo "$as_me: failed program was:" >&5
48368 sed 's/^/| /' conftest.$ac_ext >&5
48370 eval "$as_ac_var=no"
48372 rm -f conftest.err conftest.$ac_objext \
48373 conftest$ac_exeext conftest.$ac_ext
48375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48377 if test `eval echo '${'$as_ac_var'}'` = yes; then
48378 cat >>confdefs.h <<_ACEOF
48379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48380 _ACEOF
48383 done
48393 echo "$as_me:$LINENO: checking for powl declaration" >&5
48394 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48395 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48396 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48397 echo $ECHO_N "(cached) $ECHO_C" >&6
48398 else
48402 ac_ext=cc
48403 ac_cpp='$CXXCPP $CPPFLAGS'
48404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408 cat >conftest.$ac_ext <<_ACEOF
48409 /* confdefs.h. */
48410 _ACEOF
48411 cat confdefs.h >>conftest.$ac_ext
48412 cat >>conftest.$ac_ext <<_ACEOF
48413 /* end confdefs.h. */
48414 #include <math.h>
48416 main ()
48418 powl(0, 0);
48420 return 0;
48422 _ACEOF
48423 rm -f conftest.$ac_objext
48424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48425 (eval $ac_compile) 2>conftest.er1
48426 ac_status=$?
48427 grep -v '^ *+' conftest.er1 >conftest.err
48428 rm -f conftest.er1
48429 cat conftest.err >&5
48430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48431 (exit $ac_status); } &&
48432 { ac_try='test -z "$ac_cxx_werror_flag"
48433 || test ! -s conftest.err'
48434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48435 (eval $ac_try) 2>&5
48436 ac_status=$?
48437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438 (exit $ac_status); }; } &&
48439 { ac_try='test -s conftest.$ac_objext'
48440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48441 (eval $ac_try) 2>&5
48442 ac_status=$?
48443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444 (exit $ac_status); }; }; then
48445 glibcxx_cv_func_powl_use=yes
48446 else
48447 echo "$as_me: failed program was:" >&5
48448 sed 's/^/| /' conftest.$ac_ext >&5
48450 glibcxx_cv_func_powl_use=no
48452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48464 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48466 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48468 for ac_func in powl
48470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48471 echo "$as_me:$LINENO: checking for $ac_func" >&5
48472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48473 if eval "test \"\${$as_ac_var+set}\" = set"; then
48474 echo $ECHO_N "(cached) $ECHO_C" >&6
48475 else
48476 if test x$gcc_no_link = xyes; then
48477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48479 { (exit 1); exit 1; }; }
48481 cat >conftest.$ac_ext <<_ACEOF
48482 /* confdefs.h. */
48483 _ACEOF
48484 cat confdefs.h >>conftest.$ac_ext
48485 cat >>conftest.$ac_ext <<_ACEOF
48486 /* end confdefs.h. */
48487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48489 #define $ac_func innocuous_$ac_func
48491 /* System header to define __stub macros and hopefully few prototypes,
48492 which can conflict with char $ac_func (); below.
48493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48494 <limits.h> exists even on freestanding compilers. */
48496 #ifdef __STDC__
48497 # include <limits.h>
48498 #else
48499 # include <assert.h>
48500 #endif
48502 #undef $ac_func
48504 /* Override any gcc2 internal prototype to avoid an error. */
48505 #ifdef __cplusplus
48506 extern "C"
48508 #endif
48509 /* We use char because int might match the return type of a gcc2
48510 builtin and then its argument prototype would still apply. */
48511 char $ac_func ();
48512 /* The GNU C library defines this for functions which it implements
48513 to always fail with ENOSYS. Some functions are actually named
48514 something starting with __ and the normal name is an alias. */
48515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48516 choke me
48517 #else
48518 char (*f) () = $ac_func;
48519 #endif
48520 #ifdef __cplusplus
48522 #endif
48525 main ()
48527 return f != $ac_func;
48529 return 0;
48531 _ACEOF
48532 rm -f conftest.$ac_objext conftest$ac_exeext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48534 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
48555 else
48556 echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48559 eval "$as_ac_var=no"
48561 rm -f conftest.err conftest.$ac_objext \
48562 conftest$ac_exeext conftest.$ac_ext
48564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48566 if test `eval echo '${'$as_ac_var'}'` = yes; then
48567 cat >>confdefs.h <<_ACEOF
48568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48569 _ACEOF
48572 done
48574 else
48576 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48577 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48578 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48579 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48580 echo $ECHO_N "(cached) $ECHO_C" >&6
48581 else
48585 ac_ext=cc
48586 ac_cpp='$CXXCPP $CPPFLAGS'
48587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48591 cat >conftest.$ac_ext <<_ACEOF
48592 /* confdefs.h. */
48593 _ACEOF
48594 cat confdefs.h >>conftest.$ac_ext
48595 cat >>conftest.$ac_ext <<_ACEOF
48596 /* end confdefs.h. */
48597 #include <math.h>
48599 main ()
48601 _powl(0, 0);
48603 return 0;
48605 _ACEOF
48606 rm -f conftest.$ac_objext
48607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48608 (eval $ac_compile) 2>conftest.er1
48609 ac_status=$?
48610 grep -v '^ *+' conftest.er1 >conftest.err
48611 rm -f conftest.er1
48612 cat conftest.err >&5
48613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48614 (exit $ac_status); } &&
48615 { ac_try='test -z "$ac_cxx_werror_flag"
48616 || test ! -s conftest.err'
48617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48618 (eval $ac_try) 2>&5
48619 ac_status=$?
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); }; } &&
48622 { ac_try='test -s conftest.$ac_objext'
48623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48624 (eval $ac_try) 2>&5
48625 ac_status=$?
48626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627 (exit $ac_status); }; }; then
48628 glibcxx_cv_func__powl_use=yes
48629 else
48630 echo "$as_me: failed program was:" >&5
48631 sed 's/^/| /' conftest.$ac_ext >&5
48633 glibcxx_cv_func__powl_use=no
48635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48636 ac_ext=c
48637 ac_cpp='$CPP $CPPFLAGS'
48638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48647 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48649 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48651 for ac_func in _powl
48653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48654 echo "$as_me:$LINENO: checking for $ac_func" >&5
48655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48656 if eval "test \"\${$as_ac_var+set}\" = set"; then
48657 echo $ECHO_N "(cached) $ECHO_C" >&6
48658 else
48659 if test x$gcc_no_link = xyes; then
48660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48662 { (exit 1); exit 1; }; }
48664 cat >conftest.$ac_ext <<_ACEOF
48665 /* confdefs.h. */
48666 _ACEOF
48667 cat confdefs.h >>conftest.$ac_ext
48668 cat >>conftest.$ac_ext <<_ACEOF
48669 /* end confdefs.h. */
48670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48672 #define $ac_func innocuous_$ac_func
48674 /* System header to define __stub macros and hopefully few prototypes,
48675 which can conflict with char $ac_func (); below.
48676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48677 <limits.h> exists even on freestanding compilers. */
48679 #ifdef __STDC__
48680 # include <limits.h>
48681 #else
48682 # include <assert.h>
48683 #endif
48685 #undef $ac_func
48687 /* Override any gcc2 internal prototype to avoid an error. */
48688 #ifdef __cplusplus
48689 extern "C"
48691 #endif
48692 /* We use char because int might match the return type of a gcc2
48693 builtin and then its argument prototype would still apply. */
48694 char $ac_func ();
48695 /* The GNU C library defines this for functions which it implements
48696 to always fail with ENOSYS. Some functions are actually named
48697 something starting with __ and the normal name is an alias. */
48698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48699 choke me
48700 #else
48701 char (*f) () = $ac_func;
48702 #endif
48703 #ifdef __cplusplus
48705 #endif
48708 main ()
48710 return f != $ac_func;
48712 return 0;
48714 _ACEOF
48715 rm -f conftest.$ac_objext conftest$ac_exeext
48716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48717 (eval $ac_link) 2>conftest.er1
48718 ac_status=$?
48719 grep -v '^ *+' conftest.er1 >conftest.err
48720 rm -f conftest.er1
48721 cat conftest.err >&5
48722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48723 (exit $ac_status); } &&
48724 { ac_try='test -z "$ac_c_werror_flag"
48725 || test ! -s conftest.err'
48726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48727 (eval $ac_try) 2>&5
48728 ac_status=$?
48729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48730 (exit $ac_status); }; } &&
48731 { ac_try='test -s conftest$ac_exeext'
48732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48733 (eval $ac_try) 2>&5
48734 ac_status=$?
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); }; }; then
48737 eval "$as_ac_var=yes"
48738 else
48739 echo "$as_me: failed program was:" >&5
48740 sed 's/^/| /' conftest.$ac_ext >&5
48742 eval "$as_ac_var=no"
48744 rm -f conftest.err conftest.$ac_objext \
48745 conftest$ac_exeext conftest.$ac_ext
48747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48749 if test `eval echo '${'$as_ac_var'}'` = yes; then
48750 cat >>confdefs.h <<_ACEOF
48751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48752 _ACEOF
48755 done
48765 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48766 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48767 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48768 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48769 echo $ECHO_N "(cached) $ECHO_C" >&6
48770 else
48774 ac_ext=cc
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48780 cat >conftest.$ac_ext <<_ACEOF
48781 /* confdefs.h. */
48782 _ACEOF
48783 cat confdefs.h >>conftest.$ac_ext
48784 cat >>conftest.$ac_ext <<_ACEOF
48785 /* end confdefs.h. */
48786 #include <math.h>
48787 #ifdef HAVE_IEEEFP_H
48788 #include <ieeefp.h>
48789 #endif
48792 main ()
48794 sqrtl(0);
48796 return 0;
48798 _ACEOF
48799 rm -f conftest.$ac_objext
48800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48801 (eval $ac_compile) 2>conftest.er1
48802 ac_status=$?
48803 grep -v '^ *+' conftest.er1 >conftest.err
48804 rm -f conftest.er1
48805 cat conftest.err >&5
48806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48807 (exit $ac_status); } &&
48808 { ac_try='test -z "$ac_cxx_werror_flag"
48809 || test ! -s conftest.err'
48810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48811 (eval $ac_try) 2>&5
48812 ac_status=$?
48813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814 (exit $ac_status); }; } &&
48815 { ac_try='test -s conftest.$ac_objext'
48816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48817 (eval $ac_try) 2>&5
48818 ac_status=$?
48819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820 (exit $ac_status); }; }; then
48821 glibcxx_cv_func_sqrtl_use=yes
48822 else
48823 echo "$as_me: failed program was:" >&5
48824 sed 's/^/| /' conftest.$ac_ext >&5
48826 glibcxx_cv_func_sqrtl_use=no
48828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_ext=c
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48840 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48842 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48844 for ac_func in sqrtl
48846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48847 echo "$as_me:$LINENO: checking for $ac_func" >&5
48848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48849 if eval "test \"\${$as_ac_var+set}\" = set"; then
48850 echo $ECHO_N "(cached) $ECHO_C" >&6
48851 else
48852 if test x$gcc_no_link = xyes; then
48853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48855 { (exit 1); exit 1; }; }
48857 cat >conftest.$ac_ext <<_ACEOF
48858 /* confdefs.h. */
48859 _ACEOF
48860 cat confdefs.h >>conftest.$ac_ext
48861 cat >>conftest.$ac_ext <<_ACEOF
48862 /* end confdefs.h. */
48863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48865 #define $ac_func innocuous_$ac_func
48867 /* System header to define __stub macros and hopefully few prototypes,
48868 which can conflict with char $ac_func (); below.
48869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48870 <limits.h> exists even on freestanding compilers. */
48872 #ifdef __STDC__
48873 # include <limits.h>
48874 #else
48875 # include <assert.h>
48876 #endif
48878 #undef $ac_func
48880 /* Override any gcc2 internal prototype to avoid an error. */
48881 #ifdef __cplusplus
48882 extern "C"
48884 #endif
48885 /* We use char because int might match the return type of a gcc2
48886 builtin and then its argument prototype would still apply. */
48887 char $ac_func ();
48888 /* The GNU C library defines this for functions which it implements
48889 to always fail with ENOSYS. Some functions are actually named
48890 something starting with __ and the normal name is an alias. */
48891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48892 choke me
48893 #else
48894 char (*f) () = $ac_func;
48895 #endif
48896 #ifdef __cplusplus
48898 #endif
48901 main ()
48903 return f != $ac_func;
48905 return 0;
48907 _ACEOF
48908 rm -f conftest.$ac_objext conftest$ac_exeext
48909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48910 (eval $ac_link) 2>conftest.er1
48911 ac_status=$?
48912 grep -v '^ *+' conftest.er1 >conftest.err
48913 rm -f conftest.er1
48914 cat conftest.err >&5
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); } &&
48917 { ac_try='test -z "$ac_c_werror_flag"
48918 || test ! -s conftest.err'
48919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48920 (eval $ac_try) 2>&5
48921 ac_status=$?
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; } &&
48924 { ac_try='test -s conftest$ac_exeext'
48925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48926 (eval $ac_try) 2>&5
48927 ac_status=$?
48928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48929 (exit $ac_status); }; }; then
48930 eval "$as_ac_var=yes"
48931 else
48932 echo "$as_me: failed program was:" >&5
48933 sed 's/^/| /' conftest.$ac_ext >&5
48935 eval "$as_ac_var=no"
48937 rm -f conftest.err conftest.$ac_objext \
48938 conftest$ac_exeext conftest.$ac_ext
48940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48942 if test `eval echo '${'$as_ac_var'}'` = yes; then
48943 cat >>confdefs.h <<_ACEOF
48944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48945 _ACEOF
48948 done
48950 else
48952 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48953 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48954 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48955 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48957 else
48961 ac_ext=cc
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967 cat >conftest.$ac_ext <<_ACEOF
48968 /* confdefs.h. */
48969 _ACEOF
48970 cat confdefs.h >>conftest.$ac_ext
48971 cat >>conftest.$ac_ext <<_ACEOF
48972 /* end confdefs.h. */
48973 #include <math.h>
48974 #ifdef HAVE_IEEEFP_H
48975 #include <ieeefp.h>
48976 #endif
48979 main ()
48981 _sqrtl(0);
48983 return 0;
48985 _ACEOF
48986 rm -f conftest.$ac_objext
48987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48988 (eval $ac_compile) 2>conftest.er1
48989 ac_status=$?
48990 grep -v '^ *+' conftest.er1 >conftest.err
48991 rm -f conftest.er1
48992 cat conftest.err >&5
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); } &&
48995 { ac_try='test -z "$ac_cxx_werror_flag"
48996 || test ! -s conftest.err'
48997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998 (eval $ac_try) 2>&5
48999 ac_status=$?
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); }; } &&
49002 { ac_try='test -s conftest.$ac_objext'
49003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49004 (eval $ac_try) 2>&5
49005 ac_status=$?
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); }; }; then
49008 glibcxx_cv_func__sqrtl_use=yes
49009 else
49010 echo "$as_me: failed program was:" >&5
49011 sed 's/^/| /' conftest.$ac_ext >&5
49013 glibcxx_cv_func__sqrtl_use=no
49015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49016 ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49027 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49029 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49031 for ac_func in _sqrtl
49033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49034 echo "$as_me:$LINENO: checking for $ac_func" >&5
49035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49036 if eval "test \"\${$as_ac_var+set}\" = set"; then
49037 echo $ECHO_N "(cached) $ECHO_C" >&6
49038 else
49039 if test x$gcc_no_link = xyes; then
49040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49042 { (exit 1); exit 1; }; }
49044 cat >conftest.$ac_ext <<_ACEOF
49045 /* confdefs.h. */
49046 _ACEOF
49047 cat confdefs.h >>conftest.$ac_ext
49048 cat >>conftest.$ac_ext <<_ACEOF
49049 /* end confdefs.h. */
49050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49052 #define $ac_func innocuous_$ac_func
49054 /* System header to define __stub macros and hopefully few prototypes,
49055 which can conflict with char $ac_func (); below.
49056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49057 <limits.h> exists even on freestanding compilers. */
49059 #ifdef __STDC__
49060 # include <limits.h>
49061 #else
49062 # include <assert.h>
49063 #endif
49065 #undef $ac_func
49067 /* Override any gcc2 internal prototype to avoid an error. */
49068 #ifdef __cplusplus
49069 extern "C"
49071 #endif
49072 /* We use char because int might match the return type of a gcc2
49073 builtin and then its argument prototype would still apply. */
49074 char $ac_func ();
49075 /* The GNU C library defines this for functions which it implements
49076 to always fail with ENOSYS. Some functions are actually named
49077 something starting with __ and the normal name is an alias. */
49078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49079 choke me
49080 #else
49081 char (*f) () = $ac_func;
49082 #endif
49083 #ifdef __cplusplus
49085 #endif
49088 main ()
49090 return f != $ac_func;
49092 return 0;
49094 _ACEOF
49095 rm -f conftest.$ac_objext conftest$ac_exeext
49096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49097 (eval $ac_link) 2>conftest.er1
49098 ac_status=$?
49099 grep -v '^ *+' conftest.er1 >conftest.err
49100 rm -f conftest.er1
49101 cat conftest.err >&5
49102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49103 (exit $ac_status); } &&
49104 { ac_try='test -z "$ac_c_werror_flag"
49105 || test ! -s conftest.err'
49106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49107 (eval $ac_try) 2>&5
49108 ac_status=$?
49109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49110 (exit $ac_status); }; } &&
49111 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
49117 eval "$as_ac_var=yes"
49118 else
49119 echo "$as_me: failed program was:" >&5
49120 sed 's/^/| /' conftest.$ac_ext >&5
49122 eval "$as_ac_var=no"
49124 rm -f conftest.err conftest.$ac_objext \
49125 conftest$ac_exeext conftest.$ac_ext
49127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49129 if test `eval echo '${'$as_ac_var'}'` = yes; then
49130 cat >>confdefs.h <<_ACEOF
49131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49132 _ACEOF
49135 done
49145 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49146 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49147 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49148 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49149 echo $ECHO_N "(cached) $ECHO_C" >&6
49150 else
49154 ac_ext=cc
49155 ac_cpp='$CXXCPP $CPPFLAGS'
49156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49160 cat >conftest.$ac_ext <<_ACEOF
49161 /* confdefs.h. */
49162 _ACEOF
49163 cat confdefs.h >>conftest.$ac_ext
49164 cat >>conftest.$ac_ext <<_ACEOF
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 sincosl(0, 0, 0);
49172 return 0;
49174 _ACEOF
49175 rm -f conftest.$ac_objext
49176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49177 (eval $ac_compile) 2>conftest.er1
49178 ac_status=$?
49179 grep -v '^ *+' conftest.er1 >conftest.err
49180 rm -f conftest.er1
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } &&
49184 { ac_try='test -z "$ac_cxx_werror_flag"
49185 || test ! -s conftest.err'
49186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49187 (eval $ac_try) 2>&5
49188 ac_status=$?
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); }; } &&
49191 { ac_try='test -s conftest.$ac_objext'
49192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49193 (eval $ac_try) 2>&5
49194 ac_status=$?
49195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196 (exit $ac_status); }; }; then
49197 glibcxx_cv_func_sincosl_use=yes
49198 else
49199 echo "$as_me: failed program was:" >&5
49200 sed 's/^/| /' conftest.$ac_ext >&5
49202 glibcxx_cv_func_sincosl_use=no
49204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49216 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49218 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49220 for ac_func in sincosl
49222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49223 echo "$as_me:$LINENO: checking for $ac_func" >&5
49224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49225 if eval "test \"\${$as_ac_var+set}\" = set"; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49228 if test x$gcc_no_link = xyes; then
49229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49231 { (exit 1); exit 1; }; }
49233 cat >conftest.$ac_ext <<_ACEOF
49234 /* confdefs.h. */
49235 _ACEOF
49236 cat confdefs.h >>conftest.$ac_ext
49237 cat >>conftest.$ac_ext <<_ACEOF
49238 /* end confdefs.h. */
49239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49241 #define $ac_func innocuous_$ac_func
49243 /* System header to define __stub macros and hopefully few prototypes,
49244 which can conflict with char $ac_func (); below.
49245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49246 <limits.h> exists even on freestanding compilers. */
49248 #ifdef __STDC__
49249 # include <limits.h>
49250 #else
49251 # include <assert.h>
49252 #endif
49254 #undef $ac_func
49256 /* Override any gcc2 internal prototype to avoid an error. */
49257 #ifdef __cplusplus
49258 extern "C"
49260 #endif
49261 /* We use char because int might match the return type of a gcc2
49262 builtin and then its argument prototype would still apply. */
49263 char $ac_func ();
49264 /* The GNU C library defines this for functions which it implements
49265 to always fail with ENOSYS. Some functions are actually named
49266 something starting with __ and the normal name is an alias. */
49267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49268 choke me
49269 #else
49270 char (*f) () = $ac_func;
49271 #endif
49272 #ifdef __cplusplus
49274 #endif
49277 main ()
49279 return f != $ac_func;
49281 return 0;
49283 _ACEOF
49284 rm -f conftest.$ac_objext conftest$ac_exeext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49286 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
49307 else
49308 echo "$as_me: failed program was:" >&5
49309 sed 's/^/| /' conftest.$ac_ext >&5
49311 eval "$as_ac_var=no"
49313 rm -f conftest.err conftest.$ac_objext \
49314 conftest$ac_exeext conftest.$ac_ext
49316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49318 if test `eval echo '${'$as_ac_var'}'` = yes; then
49319 cat >>confdefs.h <<_ACEOF
49320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49321 _ACEOF
49324 done
49326 else
49328 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49329 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49330 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49331 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49332 echo $ECHO_N "(cached) $ECHO_C" >&6
49333 else
49337 ac_ext=cc
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat >conftest.$ac_ext <<_ACEOF
49344 /* confdefs.h. */
49345 _ACEOF
49346 cat confdefs.h >>conftest.$ac_ext
49347 cat >>conftest.$ac_ext <<_ACEOF
49348 /* end confdefs.h. */
49349 #include <math.h>
49351 main ()
49353 _sincosl(0, 0, 0);
49355 return 0;
49357 _ACEOF
49358 rm -f conftest.$ac_objext
49359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49360 (eval $ac_compile) 2>conftest.er1
49361 ac_status=$?
49362 grep -v '^ *+' conftest.er1 >conftest.err
49363 rm -f conftest.er1
49364 cat conftest.err >&5
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); } &&
49367 { ac_try='test -z "$ac_cxx_werror_flag"
49368 || test ! -s conftest.err'
49369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49370 (eval $ac_try) 2>&5
49371 ac_status=$?
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); }; } &&
49374 { ac_try='test -s conftest.$ac_objext'
49375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49376 (eval $ac_try) 2>&5
49377 ac_status=$?
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; }; then
49380 glibcxx_cv_func__sincosl_use=yes
49381 else
49382 echo "$as_me: failed program was:" >&5
49383 sed 's/^/| /' conftest.$ac_ext >&5
49385 glibcxx_cv_func__sincosl_use=no
49387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49388 ac_ext=c
49389 ac_cpp='$CPP $CPPFLAGS'
49390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49399 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49401 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49403 for ac_func in _sincosl
49405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49406 echo "$as_me:$LINENO: checking for $ac_func" >&5
49407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49408 if eval "test \"\${$as_ac_var+set}\" = set"; then
49409 echo $ECHO_N "(cached) $ECHO_C" >&6
49410 else
49411 if test x$gcc_no_link = xyes; then
49412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49414 { (exit 1); exit 1; }; }
49416 cat >conftest.$ac_ext <<_ACEOF
49417 /* confdefs.h. */
49418 _ACEOF
49419 cat confdefs.h >>conftest.$ac_ext
49420 cat >>conftest.$ac_ext <<_ACEOF
49421 /* end confdefs.h. */
49422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49424 #define $ac_func innocuous_$ac_func
49426 /* System header to define __stub macros and hopefully few prototypes,
49427 which can conflict with char $ac_func (); below.
49428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49429 <limits.h> exists even on freestanding compilers. */
49431 #ifdef __STDC__
49432 # include <limits.h>
49433 #else
49434 # include <assert.h>
49435 #endif
49437 #undef $ac_func
49439 /* Override any gcc2 internal prototype to avoid an error. */
49440 #ifdef __cplusplus
49441 extern "C"
49443 #endif
49444 /* We use char because int might match the return type of a gcc2
49445 builtin and then its argument prototype would still apply. */
49446 char $ac_func ();
49447 /* The GNU C library defines this for functions which it implements
49448 to always fail with ENOSYS. Some functions are actually named
49449 something starting with __ and the normal name is an alias. */
49450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49451 choke me
49452 #else
49453 char (*f) () = $ac_func;
49454 #endif
49455 #ifdef __cplusplus
49457 #endif
49460 main ()
49462 return f != $ac_func;
49464 return 0;
49466 _ACEOF
49467 rm -f conftest.$ac_objext conftest$ac_exeext
49468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49469 (eval $ac_link) 2>conftest.er1
49470 ac_status=$?
49471 grep -v '^ *+' conftest.er1 >conftest.err
49472 rm -f conftest.er1
49473 cat conftest.err >&5
49474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49475 (exit $ac_status); } &&
49476 { ac_try='test -z "$ac_c_werror_flag"
49477 || test ! -s conftest.err'
49478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49479 (eval $ac_try) 2>&5
49480 ac_status=$?
49481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482 (exit $ac_status); }; } &&
49483 { ac_try='test -s conftest$ac_exeext'
49484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49485 (eval $ac_try) 2>&5
49486 ac_status=$?
49487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49488 (exit $ac_status); }; }; then
49489 eval "$as_ac_var=yes"
49490 else
49491 echo "$as_me: failed program was:" >&5
49492 sed 's/^/| /' conftest.$ac_ext >&5
49494 eval "$as_ac_var=no"
49496 rm -f conftest.err conftest.$ac_objext \
49497 conftest$ac_exeext conftest.$ac_ext
49499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49501 if test `eval echo '${'$as_ac_var'}'` = yes; then
49502 cat >>confdefs.h <<_ACEOF
49503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49504 _ACEOF
49507 done
49517 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49518 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49519 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49520 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49521 echo $ECHO_N "(cached) $ECHO_C" >&6
49522 else
49526 ac_ext=cc
49527 ac_cpp='$CXXCPP $CPPFLAGS'
49528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49532 cat >conftest.$ac_ext <<_ACEOF
49533 /* confdefs.h. */
49534 _ACEOF
49535 cat confdefs.h >>conftest.$ac_ext
49536 cat >>conftest.$ac_ext <<_ACEOF
49537 /* end confdefs.h. */
49538 #include <math.h>
49539 #ifdef HAVE_IEEEFP_H
49540 #include <ieeefp.h>
49541 #endif
49544 main ()
49546 finitel(0);
49548 return 0;
49550 _ACEOF
49551 rm -f conftest.$ac_objext
49552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49553 (eval $ac_compile) 2>conftest.er1
49554 ac_status=$?
49555 grep -v '^ *+' conftest.er1 >conftest.err
49556 rm -f conftest.er1
49557 cat conftest.err >&5
49558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559 (exit $ac_status); } &&
49560 { ac_try='test -z "$ac_cxx_werror_flag"
49561 || test ! -s conftest.err'
49562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49563 (eval $ac_try) 2>&5
49564 ac_status=$?
49565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49566 (exit $ac_status); }; } &&
49567 { ac_try='test -s conftest.$ac_objext'
49568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49569 (eval $ac_try) 2>&5
49570 ac_status=$?
49571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49572 (exit $ac_status); }; }; then
49573 glibcxx_cv_func_finitel_use=yes
49574 else
49575 echo "$as_me: failed program was:" >&5
49576 sed 's/^/| /' conftest.$ac_ext >&5
49578 glibcxx_cv_func_finitel_use=no
49580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49581 ac_ext=c
49582 ac_cpp='$CPP $CPPFLAGS'
49583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49592 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49594 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49596 for ac_func in finitel
49598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49599 echo "$as_me:$LINENO: checking for $ac_func" >&5
49600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49601 if eval "test \"\${$as_ac_var+set}\" = set"; then
49602 echo $ECHO_N "(cached) $ECHO_C" >&6
49603 else
49604 if test x$gcc_no_link = xyes; then
49605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49607 { (exit 1); exit 1; }; }
49609 cat >conftest.$ac_ext <<_ACEOF
49610 /* confdefs.h. */
49611 _ACEOF
49612 cat confdefs.h >>conftest.$ac_ext
49613 cat >>conftest.$ac_ext <<_ACEOF
49614 /* end confdefs.h. */
49615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49617 #define $ac_func innocuous_$ac_func
49619 /* System header to define __stub macros and hopefully few prototypes,
49620 which can conflict with char $ac_func (); below.
49621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49622 <limits.h> exists even on freestanding compilers. */
49624 #ifdef __STDC__
49625 # include <limits.h>
49626 #else
49627 # include <assert.h>
49628 #endif
49630 #undef $ac_func
49632 /* Override any gcc2 internal prototype to avoid an error. */
49633 #ifdef __cplusplus
49634 extern "C"
49636 #endif
49637 /* We use char because int might match the return type of a gcc2
49638 builtin and then its argument prototype would still apply. */
49639 char $ac_func ();
49640 /* The GNU C library defines this for functions which it implements
49641 to always fail with ENOSYS. Some functions are actually named
49642 something starting with __ and the normal name is an alias. */
49643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49644 choke me
49645 #else
49646 char (*f) () = $ac_func;
49647 #endif
49648 #ifdef __cplusplus
49650 #endif
49653 main ()
49655 return f != $ac_func;
49657 return 0;
49659 _ACEOF
49660 rm -f conftest.$ac_objext conftest$ac_exeext
49661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49662 (eval $ac_link) 2>conftest.er1
49663 ac_status=$?
49664 grep -v '^ *+' conftest.er1 >conftest.err
49665 rm -f conftest.er1
49666 cat conftest.err >&5
49667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49668 (exit $ac_status); } &&
49669 { ac_try='test -z "$ac_c_werror_flag"
49670 || test ! -s conftest.err'
49671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49672 (eval $ac_try) 2>&5
49673 ac_status=$?
49674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49675 (exit $ac_status); }; } &&
49676 { ac_try='test -s conftest$ac_exeext'
49677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49678 (eval $ac_try) 2>&5
49679 ac_status=$?
49680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49681 (exit $ac_status); }; }; then
49682 eval "$as_ac_var=yes"
49683 else
49684 echo "$as_me: failed program was:" >&5
49685 sed 's/^/| /' conftest.$ac_ext >&5
49687 eval "$as_ac_var=no"
49689 rm -f conftest.err conftest.$ac_objext \
49690 conftest$ac_exeext conftest.$ac_ext
49692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49694 if test `eval echo '${'$as_ac_var'}'` = yes; then
49695 cat >>confdefs.h <<_ACEOF
49696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49697 _ACEOF
49700 done
49702 else
49704 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49705 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49706 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49707 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49708 echo $ECHO_N "(cached) $ECHO_C" >&6
49709 else
49713 ac_ext=cc
49714 ac_cpp='$CXXCPP $CPPFLAGS'
49715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49719 cat >conftest.$ac_ext <<_ACEOF
49720 /* confdefs.h. */
49721 _ACEOF
49722 cat confdefs.h >>conftest.$ac_ext
49723 cat >>conftest.$ac_ext <<_ACEOF
49724 /* end confdefs.h. */
49725 #include <math.h>
49726 #ifdef HAVE_IEEEFP_H
49727 #include <ieeefp.h>
49728 #endif
49731 main ()
49733 _finitel(0);
49735 return 0;
49737 _ACEOF
49738 rm -f conftest.$ac_objext
49739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49740 (eval $ac_compile) 2>conftest.er1
49741 ac_status=$?
49742 grep -v '^ *+' conftest.er1 >conftest.err
49743 rm -f conftest.er1
49744 cat conftest.err >&5
49745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49746 (exit $ac_status); } &&
49747 { ac_try='test -z "$ac_cxx_werror_flag"
49748 || test ! -s conftest.err'
49749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49750 (eval $ac_try) 2>&5
49751 ac_status=$?
49752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753 (exit $ac_status); }; } &&
49754 { ac_try='test -s conftest.$ac_objext'
49755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49756 (eval $ac_try) 2>&5
49757 ac_status=$?
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); }; }; then
49760 glibcxx_cv_func__finitel_use=yes
49761 else
49762 echo "$as_me: failed program was:" >&5
49763 sed 's/^/| /' conftest.$ac_ext >&5
49765 glibcxx_cv_func__finitel_use=no
49767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49768 ac_ext=c
49769 ac_cpp='$CPP $CPPFLAGS'
49770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49779 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49781 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49783 for ac_func in _finitel
49785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49786 echo "$as_me:$LINENO: checking for $ac_func" >&5
49787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49788 if eval "test \"\${$as_ac_var+set}\" = set"; then
49789 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 else
49791 if test x$gcc_no_link = xyes; then
49792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49794 { (exit 1); exit 1; }; }
49796 cat >conftest.$ac_ext <<_ACEOF
49797 /* confdefs.h. */
49798 _ACEOF
49799 cat confdefs.h >>conftest.$ac_ext
49800 cat >>conftest.$ac_ext <<_ACEOF
49801 /* end confdefs.h. */
49802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49804 #define $ac_func innocuous_$ac_func
49806 /* System header to define __stub macros and hopefully few prototypes,
49807 which can conflict with char $ac_func (); below.
49808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49809 <limits.h> exists even on freestanding compilers. */
49811 #ifdef __STDC__
49812 # include <limits.h>
49813 #else
49814 # include <assert.h>
49815 #endif
49817 #undef $ac_func
49819 /* Override any gcc2 internal prototype to avoid an error. */
49820 #ifdef __cplusplus
49821 extern "C"
49823 #endif
49824 /* We use char because int might match the return type of a gcc2
49825 builtin and then its argument prototype would still apply. */
49826 char $ac_func ();
49827 /* The GNU C library defines this for functions which it implements
49828 to always fail with ENOSYS. Some functions are actually named
49829 something starting with __ and the normal name is an alias. */
49830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49831 choke me
49832 #else
49833 char (*f) () = $ac_func;
49834 #endif
49835 #ifdef __cplusplus
49837 #endif
49840 main ()
49842 return f != $ac_func;
49844 return 0;
49846 _ACEOF
49847 rm -f conftest.$ac_objext conftest$ac_exeext
49848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49849 (eval $ac_link) 2>conftest.er1
49850 ac_status=$?
49851 grep -v '^ *+' conftest.er1 >conftest.err
49852 rm -f conftest.er1
49853 cat conftest.err >&5
49854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49855 (exit $ac_status); } &&
49856 { ac_try='test -z "$ac_c_werror_flag"
49857 || test ! -s conftest.err'
49858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49859 (eval $ac_try) 2>&5
49860 ac_status=$?
49861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49862 (exit $ac_status); }; } &&
49863 { ac_try='test -s conftest$ac_exeext'
49864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49865 (eval $ac_try) 2>&5
49866 ac_status=$?
49867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49868 (exit $ac_status); }; }; then
49869 eval "$as_ac_var=yes"
49870 else
49871 echo "$as_me: failed program was:" >&5
49872 sed 's/^/| /' conftest.$ac_ext >&5
49874 eval "$as_ac_var=no"
49876 rm -f conftest.err conftest.$ac_objext \
49877 conftest$ac_exeext conftest.$ac_ext
49879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49881 if test `eval echo '${'$as_ac_var'}'` = yes; then
49882 cat >>confdefs.h <<_ACEOF
49883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49884 _ACEOF
49887 done
49896 LIBS="$ac_save_LIBS"
49897 CXXFLAGS="$ac_save_CXXFLAGS"
49901 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49902 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49903 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49904 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49905 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 else
49910 ac_ext=cc
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916 cat >conftest.$ac_ext <<_ACEOF
49917 /* confdefs.h. */
49918 _ACEOF
49919 cat confdefs.h >>conftest.$ac_ext
49920 cat >>conftest.$ac_ext <<_ACEOF
49921 /* end confdefs.h. */
49922 #include <math.h>
49924 main ()
49926 __builtin_abs(0);
49928 return 0;
49930 _ACEOF
49931 rm -f conftest.$ac_objext
49932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49933 (eval $ac_compile) 2>conftest.er1
49934 ac_status=$?
49935 grep -v '^ *+' conftest.er1 >conftest.err
49936 rm -f conftest.er1
49937 cat conftest.err >&5
49938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49939 (exit $ac_status); } &&
49940 { ac_try='test -z "$ac_cxx_werror_flag"
49941 || test ! -s conftest.err'
49942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49943 (eval $ac_try) 2>&5
49944 ac_status=$?
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); }; } &&
49947 { ac_try='test -s conftest.$ac_objext'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49950 ac_status=$?
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; }; then
49953 glibcxx_cv_func___builtin_abs_use=yes
49954 else
49955 echo "$as_me: failed program was:" >&5
49956 sed 's/^/| /' conftest.$ac_ext >&5
49958 glibcxx_cv_func___builtin_abs_use=no
49960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49972 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49973 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49974 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49975 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49976 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49977 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49978 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 else
49981 if test x$gcc_no_link = xyes; then
49982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49984 { (exit 1); exit 1; }; }
49986 cat >conftest.$ac_ext <<_ACEOF
49987 /* confdefs.h. */
49988 _ACEOF
49989 cat confdefs.h >>conftest.$ac_ext
49990 cat >>conftest.$ac_ext <<_ACEOF
49991 /* end confdefs.h. */
49992 #include <math.h>
49994 main ()
49996 __builtin_abs(0);
49998 return 0;
50000 _ACEOF
50001 rm -f conftest.$ac_objext conftest$ac_exeext
50002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50003 (eval $ac_link) 2>conftest.er1
50004 ac_status=$?
50005 grep -v '^ *+' conftest.er1 >conftest.err
50006 rm -f conftest.er1
50007 cat conftest.err >&5
50008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50009 (exit $ac_status); } &&
50010 { ac_try='test -z "$ac_c_werror_flag"
50011 || test ! -s conftest.err'
50012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50013 (eval $ac_try) 2>&5
50014 ac_status=$?
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); }; } &&
50017 { ac_try='test -s conftest$ac_exeext'
50018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50019 (eval $ac_try) 2>&5
50020 ac_status=$?
50021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50022 (exit $ac_status); }; }; then
50023 glibcxx_cv_func___builtin_abs_link=yes
50024 else
50025 echo "$as_me: failed program was:" >&5
50026 sed 's/^/| /' conftest.$ac_ext >&5
50028 glibcxx_cv_func___builtin_abs_link=no
50030 rm -f conftest.err conftest.$ac_objext \
50031 conftest$ac_exeext conftest.$ac_ext
50036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50037 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50039 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50041 cat >>confdefs.h <<\_ACEOF
50042 #define HAVE___BUILTIN_ABS 1
50043 _ACEOF
50050 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50051 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50052 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50053 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50054 echo $ECHO_N "(cached) $ECHO_C" >&6
50055 else
50059 ac_ext=cc
50060 ac_cpp='$CXXCPP $CPPFLAGS'
50061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50065 cat >conftest.$ac_ext <<_ACEOF
50066 /* confdefs.h. */
50067 _ACEOF
50068 cat confdefs.h >>conftest.$ac_ext
50069 cat >>conftest.$ac_ext <<_ACEOF
50070 /* end confdefs.h. */
50071 #include <math.h>
50073 main ()
50075 __builtin_fabsf(0);
50077 return 0;
50079 _ACEOF
50080 rm -f conftest.$ac_objext
50081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50082 (eval $ac_compile) 2>conftest.er1
50083 ac_status=$?
50084 grep -v '^ *+' conftest.er1 >conftest.err
50085 rm -f conftest.er1
50086 cat conftest.err >&5
50087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50088 (exit $ac_status); } &&
50089 { ac_try='test -z "$ac_cxx_werror_flag"
50090 || test ! -s conftest.err'
50091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50092 (eval $ac_try) 2>&5
50093 ac_status=$?
50094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095 (exit $ac_status); }; } &&
50096 { ac_try='test -s conftest.$ac_objext'
50097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50098 (eval $ac_try) 2>&5
50099 ac_status=$?
50100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101 (exit $ac_status); }; }; then
50102 glibcxx_cv_func___builtin_fabsf_use=yes
50103 else
50104 echo "$as_me: failed program was:" >&5
50105 sed 's/^/| /' conftest.$ac_ext >&5
50107 glibcxx_cv_func___builtin_fabsf_use=no
50109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50110 ac_ext=c
50111 ac_cpp='$CPP $CPPFLAGS'
50112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50120 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50121 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50122 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50123 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50124 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50125 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50126 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50127 echo $ECHO_N "(cached) $ECHO_C" >&6
50128 else
50130 if test x$gcc_no_link = xyes; then
50131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50133 { (exit 1); exit 1; }; }
50135 cat >conftest.$ac_ext <<_ACEOF
50136 /* confdefs.h. */
50137 _ACEOF
50138 cat confdefs.h >>conftest.$ac_ext
50139 cat >>conftest.$ac_ext <<_ACEOF
50140 /* end confdefs.h. */
50141 #include <math.h>
50143 main ()
50145 __builtin_fabsf(0);
50147 return 0;
50149 _ACEOF
50150 rm -f conftest.$ac_objext conftest$ac_exeext
50151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50152 (eval $ac_link) 2>conftest.er1
50153 ac_status=$?
50154 grep -v '^ *+' conftest.er1 >conftest.err
50155 rm -f conftest.er1
50156 cat conftest.err >&5
50157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50158 (exit $ac_status); } &&
50159 { ac_try='test -z "$ac_c_werror_flag"
50160 || test ! -s conftest.err'
50161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50162 (eval $ac_try) 2>&5
50163 ac_status=$?
50164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165 (exit $ac_status); }; } &&
50166 { ac_try='test -s conftest$ac_exeext'
50167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50168 (eval $ac_try) 2>&5
50169 ac_status=$?
50170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171 (exit $ac_status); }; }; then
50172 glibcxx_cv_func___builtin_fabsf_link=yes
50173 else
50174 echo "$as_me: failed program was:" >&5
50175 sed 's/^/| /' conftest.$ac_ext >&5
50177 glibcxx_cv_func___builtin_fabsf_link=no
50179 rm -f conftest.err conftest.$ac_objext \
50180 conftest$ac_exeext conftest.$ac_ext
50185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50186 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50188 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50190 cat >>confdefs.h <<\_ACEOF
50191 #define HAVE___BUILTIN_FABSF 1
50192 _ACEOF
50199 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50200 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50201 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50202 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50203 echo $ECHO_N "(cached) $ECHO_C" >&6
50204 else
50208 ac_ext=cc
50209 ac_cpp='$CXXCPP $CPPFLAGS'
50210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50214 cat >conftest.$ac_ext <<_ACEOF
50215 /* confdefs.h. */
50216 _ACEOF
50217 cat confdefs.h >>conftest.$ac_ext
50218 cat >>conftest.$ac_ext <<_ACEOF
50219 /* end confdefs.h. */
50220 #include <math.h>
50222 main ()
50224 __builtin_fabs(0);
50226 return 0;
50228 _ACEOF
50229 rm -f conftest.$ac_objext
50230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50231 (eval $ac_compile) 2>conftest.er1
50232 ac_status=$?
50233 grep -v '^ *+' conftest.er1 >conftest.err
50234 rm -f conftest.er1
50235 cat conftest.err >&5
50236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50237 (exit $ac_status); } &&
50238 { ac_try='test -z "$ac_cxx_werror_flag"
50239 || test ! -s conftest.err'
50240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50241 (eval $ac_try) 2>&5
50242 ac_status=$?
50243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244 (exit $ac_status); }; } &&
50245 { ac_try='test -s conftest.$ac_objext'
50246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50247 (eval $ac_try) 2>&5
50248 ac_status=$?
50249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50250 (exit $ac_status); }; }; then
50251 glibcxx_cv_func___builtin_fabs_use=yes
50252 else
50253 echo "$as_me: failed program was:" >&5
50254 sed 's/^/| /' conftest.$ac_ext >&5
50256 glibcxx_cv_func___builtin_fabs_use=no
50258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50259 ac_ext=c
50260 ac_cpp='$CPP $CPPFLAGS'
50261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50269 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50270 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50271 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50272 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50273 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50274 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50275 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50276 echo $ECHO_N "(cached) $ECHO_C" >&6
50277 else
50279 if test x$gcc_no_link = xyes; then
50280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50282 { (exit 1); exit 1; }; }
50284 cat >conftest.$ac_ext <<_ACEOF
50285 /* confdefs.h. */
50286 _ACEOF
50287 cat confdefs.h >>conftest.$ac_ext
50288 cat >>conftest.$ac_ext <<_ACEOF
50289 /* end confdefs.h. */
50290 #include <math.h>
50292 main ()
50294 __builtin_fabs(0);
50296 return 0;
50298 _ACEOF
50299 rm -f conftest.$ac_objext conftest$ac_exeext
50300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50301 (eval $ac_link) 2>conftest.er1
50302 ac_status=$?
50303 grep -v '^ *+' conftest.er1 >conftest.err
50304 rm -f conftest.er1
50305 cat conftest.err >&5
50306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50307 (exit $ac_status); } &&
50308 { ac_try='test -z "$ac_c_werror_flag"
50309 || test ! -s conftest.err'
50310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50311 (eval $ac_try) 2>&5
50312 ac_status=$?
50313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50314 (exit $ac_status); }; } &&
50315 { ac_try='test -s conftest$ac_exeext'
50316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50317 (eval $ac_try) 2>&5
50318 ac_status=$?
50319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50320 (exit $ac_status); }; }; then
50321 glibcxx_cv_func___builtin_fabs_link=yes
50322 else
50323 echo "$as_me: failed program was:" >&5
50324 sed 's/^/| /' conftest.$ac_ext >&5
50326 glibcxx_cv_func___builtin_fabs_link=no
50328 rm -f conftest.err conftest.$ac_objext \
50329 conftest$ac_exeext conftest.$ac_ext
50334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50335 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50337 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50339 cat >>confdefs.h <<\_ACEOF
50340 #define HAVE___BUILTIN_FABS 1
50341 _ACEOF
50348 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50349 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50350 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50351 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50352 echo $ECHO_N "(cached) $ECHO_C" >&6
50353 else
50357 ac_ext=cc
50358 ac_cpp='$CXXCPP $CPPFLAGS'
50359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50363 cat >conftest.$ac_ext <<_ACEOF
50364 /* confdefs.h. */
50365 _ACEOF
50366 cat confdefs.h >>conftest.$ac_ext
50367 cat >>conftest.$ac_ext <<_ACEOF
50368 /* end confdefs.h. */
50369 #include <math.h>
50371 main ()
50373 __builtin_fabsl(0);
50375 return 0;
50377 _ACEOF
50378 rm -f conftest.$ac_objext
50379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50380 (eval $ac_compile) 2>conftest.er1
50381 ac_status=$?
50382 grep -v '^ *+' conftest.er1 >conftest.err
50383 rm -f conftest.er1
50384 cat conftest.err >&5
50385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50386 (exit $ac_status); } &&
50387 { ac_try='test -z "$ac_cxx_werror_flag"
50388 || test ! -s conftest.err'
50389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50390 (eval $ac_try) 2>&5
50391 ac_status=$?
50392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393 (exit $ac_status); }; } &&
50394 { ac_try='test -s conftest.$ac_objext'
50395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50396 (eval $ac_try) 2>&5
50397 ac_status=$?
50398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399 (exit $ac_status); }; }; then
50400 glibcxx_cv_func___builtin_fabsl_use=yes
50401 else
50402 echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50405 glibcxx_cv_func___builtin_fabsl_use=no
50407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50408 ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50419 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50420 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50421 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50422 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50423 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50424 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50425 echo $ECHO_N "(cached) $ECHO_C" >&6
50426 else
50428 if test x$gcc_no_link = xyes; then
50429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50431 { (exit 1); exit 1; }; }
50433 cat >conftest.$ac_ext <<_ACEOF
50434 /* confdefs.h. */
50435 _ACEOF
50436 cat confdefs.h >>conftest.$ac_ext
50437 cat >>conftest.$ac_ext <<_ACEOF
50438 /* end confdefs.h. */
50439 #include <math.h>
50441 main ()
50443 __builtin_fabsl(0);
50445 return 0;
50447 _ACEOF
50448 rm -f conftest.$ac_objext conftest$ac_exeext
50449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50450 (eval $ac_link) 2>conftest.er1
50451 ac_status=$?
50452 grep -v '^ *+' conftest.er1 >conftest.err
50453 rm -f conftest.er1
50454 cat conftest.err >&5
50455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50456 (exit $ac_status); } &&
50457 { ac_try='test -z "$ac_c_werror_flag"
50458 || test ! -s conftest.err'
50459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50460 (eval $ac_try) 2>&5
50461 ac_status=$?
50462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50463 (exit $ac_status); }; } &&
50464 { ac_try='test -s conftest$ac_exeext'
50465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50466 (eval $ac_try) 2>&5
50467 ac_status=$?
50468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50469 (exit $ac_status); }; }; then
50470 glibcxx_cv_func___builtin_fabsl_link=yes
50471 else
50472 echo "$as_me: failed program was:" >&5
50473 sed 's/^/| /' conftest.$ac_ext >&5
50475 glibcxx_cv_func___builtin_fabsl_link=no
50477 rm -f conftest.err conftest.$ac_objext \
50478 conftest$ac_exeext conftest.$ac_ext
50483 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50484 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50486 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50488 cat >>confdefs.h <<\_ACEOF
50489 #define HAVE___BUILTIN_FABSL 1
50490 _ACEOF
50497 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50498 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50499 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50500 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50501 echo $ECHO_N "(cached) $ECHO_C" >&6
50502 else
50506 ac_ext=cc
50507 ac_cpp='$CXXCPP $CPPFLAGS'
50508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50512 cat >conftest.$ac_ext <<_ACEOF
50513 /* confdefs.h. */
50514 _ACEOF
50515 cat confdefs.h >>conftest.$ac_ext
50516 cat >>conftest.$ac_ext <<_ACEOF
50517 /* end confdefs.h. */
50518 #include <math.h>
50520 main ()
50522 __builtin_labs(0);
50524 return 0;
50526 _ACEOF
50527 rm -f conftest.$ac_objext
50528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50529 (eval $ac_compile) 2>conftest.er1
50530 ac_status=$?
50531 grep -v '^ *+' conftest.er1 >conftest.err
50532 rm -f conftest.er1
50533 cat conftest.err >&5
50534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50535 (exit $ac_status); } &&
50536 { ac_try='test -z "$ac_cxx_werror_flag"
50537 || test ! -s conftest.err'
50538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50539 (eval $ac_try) 2>&5
50540 ac_status=$?
50541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50542 (exit $ac_status); }; } &&
50543 { ac_try='test -s conftest.$ac_objext'
50544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50545 (eval $ac_try) 2>&5
50546 ac_status=$?
50547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548 (exit $ac_status); }; }; then
50549 glibcxx_cv_func___builtin_labs_use=yes
50550 else
50551 echo "$as_me: failed program was:" >&5
50552 sed 's/^/| /' conftest.$ac_ext >&5
50554 glibcxx_cv_func___builtin_labs_use=no
50556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50557 ac_ext=c
50558 ac_cpp='$CPP $CPPFLAGS'
50559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50568 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50569 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50570 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50571 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50572 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50573 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50574 echo $ECHO_N "(cached) $ECHO_C" >&6
50575 else
50577 if test x$gcc_no_link = xyes; then
50578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50580 { (exit 1); exit 1; }; }
50582 cat >conftest.$ac_ext <<_ACEOF
50583 /* confdefs.h. */
50584 _ACEOF
50585 cat confdefs.h >>conftest.$ac_ext
50586 cat >>conftest.$ac_ext <<_ACEOF
50587 /* end confdefs.h. */
50588 #include <math.h>
50590 main ()
50592 __builtin_labs(0);
50594 return 0;
50596 _ACEOF
50597 rm -f conftest.$ac_objext conftest$ac_exeext
50598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50599 (eval $ac_link) 2>conftest.er1
50600 ac_status=$?
50601 grep -v '^ *+' conftest.er1 >conftest.err
50602 rm -f conftest.er1
50603 cat conftest.err >&5
50604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50605 (exit $ac_status); } &&
50606 { ac_try='test -z "$ac_c_werror_flag"
50607 || test ! -s conftest.err'
50608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50609 (eval $ac_try) 2>&5
50610 ac_status=$?
50611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50612 (exit $ac_status); }; } &&
50613 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
50619 glibcxx_cv_func___builtin_labs_link=yes
50620 else
50621 echo "$as_me: failed program was:" >&5
50622 sed 's/^/| /' conftest.$ac_ext >&5
50624 glibcxx_cv_func___builtin_labs_link=no
50626 rm -f conftest.err conftest.$ac_objext \
50627 conftest$ac_exeext conftest.$ac_ext
50632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50633 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50635 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50637 cat >>confdefs.h <<\_ACEOF
50638 #define HAVE___BUILTIN_LABS 1
50639 _ACEOF
50647 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50648 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50649 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50650 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50651 echo $ECHO_N "(cached) $ECHO_C" >&6
50652 else
50656 ac_ext=cc
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50662 cat >conftest.$ac_ext <<_ACEOF
50663 /* confdefs.h. */
50664 _ACEOF
50665 cat confdefs.h >>conftest.$ac_ext
50666 cat >>conftest.$ac_ext <<_ACEOF
50667 /* end confdefs.h. */
50668 #include <math.h>
50670 main ()
50672 __builtin_sqrtf(0);
50674 return 0;
50676 _ACEOF
50677 rm -f conftest.$ac_objext
50678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50679 (eval $ac_compile) 2>conftest.er1
50680 ac_status=$?
50681 grep -v '^ *+' conftest.er1 >conftest.err
50682 rm -f conftest.er1
50683 cat conftest.err >&5
50684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50685 (exit $ac_status); } &&
50686 { ac_try='test -z "$ac_cxx_werror_flag"
50687 || test ! -s conftest.err'
50688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50689 (eval $ac_try) 2>&5
50690 ac_status=$?
50691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50692 (exit $ac_status); }; } &&
50693 { ac_try='test -s conftest.$ac_objext'
50694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50695 (eval $ac_try) 2>&5
50696 ac_status=$?
50697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50698 (exit $ac_status); }; }; then
50699 glibcxx_cv_func___builtin_sqrtf_use=yes
50700 else
50701 echo "$as_me: failed program was:" >&5
50702 sed 's/^/| /' conftest.$ac_ext >&5
50704 glibcxx_cv_func___builtin_sqrtf_use=no
50706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50707 ac_ext=c
50708 ac_cpp='$CPP $CPPFLAGS'
50709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50717 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50718 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50719 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50720 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50721 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50722 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50723 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50724 echo $ECHO_N "(cached) $ECHO_C" >&6
50725 else
50727 if test x$gcc_no_link = xyes; then
50728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50730 { (exit 1); exit 1; }; }
50732 cat >conftest.$ac_ext <<_ACEOF
50733 /* confdefs.h. */
50734 _ACEOF
50735 cat confdefs.h >>conftest.$ac_ext
50736 cat >>conftest.$ac_ext <<_ACEOF
50737 /* end confdefs.h. */
50738 #include <math.h>
50740 main ()
50742 __builtin_sqrtf(0);
50744 return 0;
50746 _ACEOF
50747 rm -f conftest.$ac_objext conftest$ac_exeext
50748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50749 (eval $ac_link) 2>conftest.er1
50750 ac_status=$?
50751 grep -v '^ *+' conftest.er1 >conftest.err
50752 rm -f conftest.er1
50753 cat conftest.err >&5
50754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755 (exit $ac_status); } &&
50756 { ac_try='test -z "$ac_c_werror_flag"
50757 || test ! -s conftest.err'
50758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759 (eval $ac_try) 2>&5
50760 ac_status=$?
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); }; } &&
50763 { ac_try='test -s conftest$ac_exeext'
50764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765 (eval $ac_try) 2>&5
50766 ac_status=$?
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); }; }; then
50769 glibcxx_cv_func___builtin_sqrtf_link=yes
50770 else
50771 echo "$as_me: failed program was:" >&5
50772 sed 's/^/| /' conftest.$ac_ext >&5
50774 glibcxx_cv_func___builtin_sqrtf_link=no
50776 rm -f conftest.err conftest.$ac_objext \
50777 conftest$ac_exeext conftest.$ac_ext
50782 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50785 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50787 cat >>confdefs.h <<\_ACEOF
50788 #define HAVE___BUILTIN_SQRTF 1
50789 _ACEOF
50796 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50797 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50798 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50799 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50800 echo $ECHO_N "(cached) $ECHO_C" >&6
50801 else
50805 ac_ext=cc
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50811 cat >conftest.$ac_ext <<_ACEOF
50812 /* confdefs.h. */
50813 _ACEOF
50814 cat confdefs.h >>conftest.$ac_ext
50815 cat >>conftest.$ac_ext <<_ACEOF
50816 /* end confdefs.h. */
50817 #include <math.h>
50819 main ()
50821 __builtin_sqrt(0);
50823 return 0;
50825 _ACEOF
50826 rm -f conftest.$ac_objext
50827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50828 (eval $ac_compile) 2>conftest.er1
50829 ac_status=$?
50830 grep -v '^ *+' conftest.er1 >conftest.err
50831 rm -f conftest.er1
50832 cat conftest.err >&5
50833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50834 (exit $ac_status); } &&
50835 { ac_try='test -z "$ac_cxx_werror_flag"
50836 || test ! -s conftest.err'
50837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50838 (eval $ac_try) 2>&5
50839 ac_status=$?
50840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841 (exit $ac_status); }; } &&
50842 { ac_try='test -s conftest.$ac_objext'
50843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50844 (eval $ac_try) 2>&5
50845 ac_status=$?
50846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50847 (exit $ac_status); }; }; then
50848 glibcxx_cv_func___builtin_sqrt_use=yes
50849 else
50850 echo "$as_me: failed program was:" >&5
50851 sed 's/^/| /' conftest.$ac_ext >&5
50853 glibcxx_cv_func___builtin_sqrt_use=no
50855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50856 ac_ext=c
50857 ac_cpp='$CPP $CPPFLAGS'
50858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50866 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50867 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50868 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50869 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50870 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50871 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50872 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50873 echo $ECHO_N "(cached) $ECHO_C" >&6
50874 else
50876 if test x$gcc_no_link = xyes; then
50877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50879 { (exit 1); exit 1; }; }
50881 cat >conftest.$ac_ext <<_ACEOF
50882 /* confdefs.h. */
50883 _ACEOF
50884 cat confdefs.h >>conftest.$ac_ext
50885 cat >>conftest.$ac_ext <<_ACEOF
50886 /* end confdefs.h. */
50887 #include <math.h>
50889 main ()
50891 __builtin_sqrt(0);
50893 return 0;
50895 _ACEOF
50896 rm -f conftest.$ac_objext conftest$ac_exeext
50897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50898 (eval $ac_link) 2>conftest.er1
50899 ac_status=$?
50900 grep -v '^ *+' conftest.er1 >conftest.err
50901 rm -f conftest.er1
50902 cat conftest.err >&5
50903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50904 (exit $ac_status); } &&
50905 { ac_try='test -z "$ac_c_werror_flag"
50906 || test ! -s conftest.err'
50907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50908 (eval $ac_try) 2>&5
50909 ac_status=$?
50910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50911 (exit $ac_status); }; } &&
50912 { ac_try='test -s conftest$ac_exeext'
50913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50914 (eval $ac_try) 2>&5
50915 ac_status=$?
50916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50917 (exit $ac_status); }; }; then
50918 glibcxx_cv_func___builtin_sqrt_link=yes
50919 else
50920 echo "$as_me: failed program was:" >&5
50921 sed 's/^/| /' conftest.$ac_ext >&5
50923 glibcxx_cv_func___builtin_sqrt_link=no
50925 rm -f conftest.err conftest.$ac_objext \
50926 conftest$ac_exeext conftest.$ac_ext
50931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50932 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50934 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50936 cat >>confdefs.h <<\_ACEOF
50937 #define HAVE___BUILTIN_SQRT 1
50938 _ACEOF
50945 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50946 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50947 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50948 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50949 echo $ECHO_N "(cached) $ECHO_C" >&6
50950 else
50954 ac_ext=cc
50955 ac_cpp='$CXXCPP $CPPFLAGS'
50956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50960 cat >conftest.$ac_ext <<_ACEOF
50961 /* confdefs.h. */
50962 _ACEOF
50963 cat confdefs.h >>conftest.$ac_ext
50964 cat >>conftest.$ac_ext <<_ACEOF
50965 /* end confdefs.h. */
50966 #include <math.h>
50968 main ()
50970 __builtin_sqrtl(0);
50972 return 0;
50974 _ACEOF
50975 rm -f conftest.$ac_objext
50976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50977 (eval $ac_compile) 2>conftest.er1
50978 ac_status=$?
50979 grep -v '^ *+' conftest.er1 >conftest.err
50980 rm -f conftest.er1
50981 cat conftest.err >&5
50982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50983 (exit $ac_status); } &&
50984 { ac_try='test -z "$ac_cxx_werror_flag"
50985 || test ! -s conftest.err'
50986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50987 (eval $ac_try) 2>&5
50988 ac_status=$?
50989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50990 (exit $ac_status); }; } &&
50991 { ac_try='test -s conftest.$ac_objext'
50992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50993 (eval $ac_try) 2>&5
50994 ac_status=$?
50995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996 (exit $ac_status); }; }; then
50997 glibcxx_cv_func___builtin_sqrtl_use=yes
50998 else
50999 echo "$as_me: failed program was:" >&5
51000 sed 's/^/| /' conftest.$ac_ext >&5
51002 glibcxx_cv_func___builtin_sqrtl_use=no
51004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51005 ac_ext=c
51006 ac_cpp='$CPP $CPPFLAGS'
51007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51015 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51016 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51017 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51018 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51019 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51020 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51021 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51022 echo $ECHO_N "(cached) $ECHO_C" >&6
51023 else
51025 if test x$gcc_no_link = xyes; then
51026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51028 { (exit 1); exit 1; }; }
51030 cat >conftest.$ac_ext <<_ACEOF
51031 /* confdefs.h. */
51032 _ACEOF
51033 cat confdefs.h >>conftest.$ac_ext
51034 cat >>conftest.$ac_ext <<_ACEOF
51035 /* end confdefs.h. */
51036 #include <math.h>
51038 main ()
51040 __builtin_sqrtl(0);
51042 return 0;
51044 _ACEOF
51045 rm -f conftest.$ac_objext conftest$ac_exeext
51046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51047 (eval $ac_link) 2>conftest.er1
51048 ac_status=$?
51049 grep -v '^ *+' conftest.er1 >conftest.err
51050 rm -f conftest.er1
51051 cat conftest.err >&5
51052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51053 (exit $ac_status); } &&
51054 { ac_try='test -z "$ac_c_werror_flag"
51055 || test ! -s conftest.err'
51056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51057 (eval $ac_try) 2>&5
51058 ac_status=$?
51059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51060 (exit $ac_status); }; } &&
51061 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51067 glibcxx_cv_func___builtin_sqrtl_link=yes
51068 else
51069 echo "$as_me: failed program was:" >&5
51070 sed 's/^/| /' conftest.$ac_ext >&5
51072 glibcxx_cv_func___builtin_sqrtl_link=no
51074 rm -f conftest.err conftest.$ac_objext \
51075 conftest$ac_exeext conftest.$ac_ext
51080 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51081 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51083 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51085 cat >>confdefs.h <<\_ACEOF
51086 #define HAVE___BUILTIN_SQRTL 1
51087 _ACEOF
51095 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51096 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51097 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51098 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51099 echo $ECHO_N "(cached) $ECHO_C" >&6
51100 else
51104 ac_ext=cc
51105 ac_cpp='$CXXCPP $CPPFLAGS'
51106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51110 cat >conftest.$ac_ext <<_ACEOF
51111 /* confdefs.h. */
51112 _ACEOF
51113 cat confdefs.h >>conftest.$ac_ext
51114 cat >>conftest.$ac_ext <<_ACEOF
51115 /* end confdefs.h. */
51116 #include <math.h>
51118 main ()
51120 __builtin_sinf(0);
51122 return 0;
51124 _ACEOF
51125 rm -f conftest.$ac_objext
51126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51127 (eval $ac_compile) 2>conftest.er1
51128 ac_status=$?
51129 grep -v '^ *+' conftest.er1 >conftest.err
51130 rm -f conftest.er1
51131 cat conftest.err >&5
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); } &&
51134 { ac_try='test -z "$ac_cxx_werror_flag"
51135 || test ! -s conftest.err'
51136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51137 (eval $ac_try) 2>&5
51138 ac_status=$?
51139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51140 (exit $ac_status); }; } &&
51141 { ac_try='test -s conftest.$ac_objext'
51142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51143 (eval $ac_try) 2>&5
51144 ac_status=$?
51145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51146 (exit $ac_status); }; }; then
51147 glibcxx_cv_func___builtin_sinf_use=yes
51148 else
51149 echo "$as_me: failed program was:" >&5
51150 sed 's/^/| /' conftest.$ac_ext >&5
51152 glibcxx_cv_func___builtin_sinf_use=no
51154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51155 ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51166 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51167 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51168 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51169 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51170 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51171 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51172 echo $ECHO_N "(cached) $ECHO_C" >&6
51173 else
51175 if test x$gcc_no_link = xyes; then
51176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51178 { (exit 1); exit 1; }; }
51180 cat >conftest.$ac_ext <<_ACEOF
51181 /* confdefs.h. */
51182 _ACEOF
51183 cat confdefs.h >>conftest.$ac_ext
51184 cat >>conftest.$ac_ext <<_ACEOF
51185 /* end confdefs.h. */
51186 #include <math.h>
51188 main ()
51190 __builtin_sinf(0);
51192 return 0;
51194 _ACEOF
51195 rm -f conftest.$ac_objext conftest$ac_exeext
51196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51197 (eval $ac_link) 2>conftest.er1
51198 ac_status=$?
51199 grep -v '^ *+' conftest.er1 >conftest.err
51200 rm -f conftest.er1
51201 cat conftest.err >&5
51202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51203 (exit $ac_status); } &&
51204 { ac_try='test -z "$ac_c_werror_flag"
51205 || test ! -s conftest.err'
51206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51207 (eval $ac_try) 2>&5
51208 ac_status=$?
51209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51210 (exit $ac_status); }; } &&
51211 { ac_try='test -s conftest$ac_exeext'
51212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51213 (eval $ac_try) 2>&5
51214 ac_status=$?
51215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51216 (exit $ac_status); }; }; then
51217 glibcxx_cv_func___builtin_sinf_link=yes
51218 else
51219 echo "$as_me: failed program was:" >&5
51220 sed 's/^/| /' conftest.$ac_ext >&5
51222 glibcxx_cv_func___builtin_sinf_link=no
51224 rm -f conftest.err conftest.$ac_objext \
51225 conftest$ac_exeext conftest.$ac_ext
51230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51233 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51235 cat >>confdefs.h <<\_ACEOF
51236 #define HAVE___BUILTIN_SINF 1
51237 _ACEOF
51244 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51245 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51246 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51247 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51248 echo $ECHO_N "(cached) $ECHO_C" >&6
51249 else
51253 ac_ext=cc
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259 cat >conftest.$ac_ext <<_ACEOF
51260 /* confdefs.h. */
51261 _ACEOF
51262 cat confdefs.h >>conftest.$ac_ext
51263 cat >>conftest.$ac_ext <<_ACEOF
51264 /* end confdefs.h. */
51265 #include <math.h>
51267 main ()
51269 __builtin_sin(0);
51271 return 0;
51273 _ACEOF
51274 rm -f conftest.$ac_objext
51275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51276 (eval $ac_compile) 2>conftest.er1
51277 ac_status=$?
51278 grep -v '^ *+' conftest.er1 >conftest.err
51279 rm -f conftest.er1
51280 cat conftest.err >&5
51281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51282 (exit $ac_status); } &&
51283 { ac_try='test -z "$ac_cxx_werror_flag"
51284 || test ! -s conftest.err'
51285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51286 (eval $ac_try) 2>&5
51287 ac_status=$?
51288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51289 (exit $ac_status); }; } &&
51290 { ac_try='test -s conftest.$ac_objext'
51291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51292 (eval $ac_try) 2>&5
51293 ac_status=$?
51294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51295 (exit $ac_status); }; }; then
51296 glibcxx_cv_func___builtin_sin_use=yes
51297 else
51298 echo "$as_me: failed program was:" >&5
51299 sed 's/^/| /' conftest.$ac_ext >&5
51301 glibcxx_cv_func___builtin_sin_use=no
51303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51304 ac_ext=c
51305 ac_cpp='$CPP $CPPFLAGS'
51306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51315 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51316 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51317 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51318 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51319 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51320 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51321 echo $ECHO_N "(cached) $ECHO_C" >&6
51322 else
51324 if test x$gcc_no_link = xyes; then
51325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51327 { (exit 1); exit 1; }; }
51329 cat >conftest.$ac_ext <<_ACEOF
51330 /* confdefs.h. */
51331 _ACEOF
51332 cat confdefs.h >>conftest.$ac_ext
51333 cat >>conftest.$ac_ext <<_ACEOF
51334 /* end confdefs.h. */
51335 #include <math.h>
51337 main ()
51339 __builtin_sin(0);
51341 return 0;
51343 _ACEOF
51344 rm -f conftest.$ac_objext conftest$ac_exeext
51345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51346 (eval $ac_link) 2>conftest.er1
51347 ac_status=$?
51348 grep -v '^ *+' conftest.er1 >conftest.err
51349 rm -f conftest.er1
51350 cat conftest.err >&5
51351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51352 (exit $ac_status); } &&
51353 { ac_try='test -z "$ac_c_werror_flag"
51354 || test ! -s conftest.err'
51355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51356 (eval $ac_try) 2>&5
51357 ac_status=$?
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); }; } &&
51360 { ac_try='test -s conftest$ac_exeext'
51361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51362 (eval $ac_try) 2>&5
51363 ac_status=$?
51364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51365 (exit $ac_status); }; }; then
51366 glibcxx_cv_func___builtin_sin_link=yes
51367 else
51368 echo "$as_me: failed program was:" >&5
51369 sed 's/^/| /' conftest.$ac_ext >&5
51371 glibcxx_cv_func___builtin_sin_link=no
51373 rm -f conftest.err conftest.$ac_objext \
51374 conftest$ac_exeext conftest.$ac_ext
51379 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51380 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51382 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51384 cat >>confdefs.h <<\_ACEOF
51385 #define HAVE___BUILTIN_SIN 1
51386 _ACEOF
51393 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51394 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51395 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51396 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51398 else
51402 ac_ext=cc
51403 ac_cpp='$CXXCPP $CPPFLAGS'
51404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51408 cat >conftest.$ac_ext <<_ACEOF
51409 /* confdefs.h. */
51410 _ACEOF
51411 cat confdefs.h >>conftest.$ac_ext
51412 cat >>conftest.$ac_ext <<_ACEOF
51413 /* end confdefs.h. */
51414 #include <math.h>
51416 main ()
51418 __builtin_sinl(0);
51420 return 0;
51422 _ACEOF
51423 rm -f conftest.$ac_objext
51424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51425 (eval $ac_compile) 2>conftest.er1
51426 ac_status=$?
51427 grep -v '^ *+' conftest.er1 >conftest.err
51428 rm -f conftest.er1
51429 cat conftest.err >&5
51430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51431 (exit $ac_status); } &&
51432 { ac_try='test -z "$ac_cxx_werror_flag"
51433 || test ! -s conftest.err'
51434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51435 (eval $ac_try) 2>&5
51436 ac_status=$?
51437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51438 (exit $ac_status); }; } &&
51439 { ac_try='test -s conftest.$ac_objext'
51440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51441 (eval $ac_try) 2>&5
51442 ac_status=$?
51443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444 (exit $ac_status); }; }; then
51445 glibcxx_cv_func___builtin_sinl_use=yes
51446 else
51447 echo "$as_me: failed program was:" >&5
51448 sed 's/^/| /' conftest.$ac_ext >&5
51450 glibcxx_cv_func___builtin_sinl_use=no
51452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51464 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51465 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51466 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51467 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51468 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51469 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51470 echo $ECHO_N "(cached) $ECHO_C" >&6
51471 else
51473 if test x$gcc_no_link = xyes; then
51474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51476 { (exit 1); exit 1; }; }
51478 cat >conftest.$ac_ext <<_ACEOF
51479 /* confdefs.h. */
51480 _ACEOF
51481 cat confdefs.h >>conftest.$ac_ext
51482 cat >>conftest.$ac_ext <<_ACEOF
51483 /* end confdefs.h. */
51484 #include <math.h>
51486 main ()
51488 __builtin_sinl(0);
51490 return 0;
51492 _ACEOF
51493 rm -f conftest.$ac_objext conftest$ac_exeext
51494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51495 (eval $ac_link) 2>conftest.er1
51496 ac_status=$?
51497 grep -v '^ *+' conftest.er1 >conftest.err
51498 rm -f conftest.er1
51499 cat conftest.err >&5
51500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501 (exit $ac_status); } &&
51502 { ac_try='test -z "$ac_c_werror_flag"
51503 || test ! -s conftest.err'
51504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51505 (eval $ac_try) 2>&5
51506 ac_status=$?
51507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508 (exit $ac_status); }; } &&
51509 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51515 glibcxx_cv_func___builtin_sinl_link=yes
51516 else
51517 echo "$as_me: failed program was:" >&5
51518 sed 's/^/| /' conftest.$ac_ext >&5
51520 glibcxx_cv_func___builtin_sinl_link=no
51522 rm -f conftest.err conftest.$ac_objext \
51523 conftest$ac_exeext conftest.$ac_ext
51528 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51529 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51531 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51533 cat >>confdefs.h <<\_ACEOF
51534 #define HAVE___BUILTIN_SINL 1
51535 _ACEOF
51543 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51544 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51545 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51546 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51547 echo $ECHO_N "(cached) $ECHO_C" >&6
51548 else
51552 ac_ext=cc
51553 ac_cpp='$CXXCPP $CPPFLAGS'
51554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51558 cat >conftest.$ac_ext <<_ACEOF
51559 /* confdefs.h. */
51560 _ACEOF
51561 cat confdefs.h >>conftest.$ac_ext
51562 cat >>conftest.$ac_ext <<_ACEOF
51563 /* end confdefs.h. */
51564 #include <math.h>
51566 main ()
51568 __builtin_cosf(0);
51570 return 0;
51572 _ACEOF
51573 rm -f conftest.$ac_objext
51574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51575 (eval $ac_compile) 2>conftest.er1
51576 ac_status=$?
51577 grep -v '^ *+' conftest.er1 >conftest.err
51578 rm -f conftest.er1
51579 cat conftest.err >&5
51580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51581 (exit $ac_status); } &&
51582 { ac_try='test -z "$ac_cxx_werror_flag"
51583 || test ! -s conftest.err'
51584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51585 (eval $ac_try) 2>&5
51586 ac_status=$?
51587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51588 (exit $ac_status); }; } &&
51589 { ac_try='test -s conftest.$ac_objext'
51590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51591 (eval $ac_try) 2>&5
51592 ac_status=$?
51593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51594 (exit $ac_status); }; }; then
51595 glibcxx_cv_func___builtin_cosf_use=yes
51596 else
51597 echo "$as_me: failed program was:" >&5
51598 sed 's/^/| /' conftest.$ac_ext >&5
51600 glibcxx_cv_func___builtin_cosf_use=no
51602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51603 ac_ext=c
51604 ac_cpp='$CPP $CPPFLAGS'
51605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51614 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51615 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51616 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51617 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51618 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51619 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51620 echo $ECHO_N "(cached) $ECHO_C" >&6
51621 else
51623 if test x$gcc_no_link = xyes; then
51624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51626 { (exit 1); exit 1; }; }
51628 cat >conftest.$ac_ext <<_ACEOF
51629 /* confdefs.h. */
51630 _ACEOF
51631 cat confdefs.h >>conftest.$ac_ext
51632 cat >>conftest.$ac_ext <<_ACEOF
51633 /* end confdefs.h. */
51634 #include <math.h>
51636 main ()
51638 __builtin_cosf(0);
51640 return 0;
51642 _ACEOF
51643 rm -f conftest.$ac_objext conftest$ac_exeext
51644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51645 (eval $ac_link) 2>conftest.er1
51646 ac_status=$?
51647 grep -v '^ *+' conftest.er1 >conftest.err
51648 rm -f conftest.er1
51649 cat conftest.err >&5
51650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51651 (exit $ac_status); } &&
51652 { ac_try='test -z "$ac_c_werror_flag"
51653 || test ! -s conftest.err'
51654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51655 (eval $ac_try) 2>&5
51656 ac_status=$?
51657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51658 (exit $ac_status); }; } &&
51659 { ac_try='test -s conftest$ac_exeext'
51660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51661 (eval $ac_try) 2>&5
51662 ac_status=$?
51663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51664 (exit $ac_status); }; }; then
51665 glibcxx_cv_func___builtin_cosf_link=yes
51666 else
51667 echo "$as_me: failed program was:" >&5
51668 sed 's/^/| /' conftest.$ac_ext >&5
51670 glibcxx_cv_func___builtin_cosf_link=no
51672 rm -f conftest.err conftest.$ac_objext \
51673 conftest$ac_exeext conftest.$ac_ext
51678 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51679 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51681 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51683 cat >>confdefs.h <<\_ACEOF
51684 #define HAVE___BUILTIN_COSF 1
51685 _ACEOF
51692 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51693 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51694 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51695 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51696 echo $ECHO_N "(cached) $ECHO_C" >&6
51697 else
51701 ac_ext=cc
51702 ac_cpp='$CXXCPP $CPPFLAGS'
51703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51707 cat >conftest.$ac_ext <<_ACEOF
51708 /* confdefs.h. */
51709 _ACEOF
51710 cat confdefs.h >>conftest.$ac_ext
51711 cat >>conftest.$ac_ext <<_ACEOF
51712 /* end confdefs.h. */
51713 #include <math.h>
51715 main ()
51717 __builtin_cos(0);
51719 return 0;
51721 _ACEOF
51722 rm -f conftest.$ac_objext
51723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51724 (eval $ac_compile) 2>conftest.er1
51725 ac_status=$?
51726 grep -v '^ *+' conftest.er1 >conftest.err
51727 rm -f conftest.er1
51728 cat conftest.err >&5
51729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51730 (exit $ac_status); } &&
51731 { ac_try='test -z "$ac_cxx_werror_flag"
51732 || test ! -s conftest.err'
51733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51734 (eval $ac_try) 2>&5
51735 ac_status=$?
51736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51737 (exit $ac_status); }; } &&
51738 { ac_try='test -s conftest.$ac_objext'
51739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51740 (eval $ac_try) 2>&5
51741 ac_status=$?
51742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51743 (exit $ac_status); }; }; then
51744 glibcxx_cv_func___builtin_cos_use=yes
51745 else
51746 echo "$as_me: failed program was:" >&5
51747 sed 's/^/| /' conftest.$ac_ext >&5
51749 glibcxx_cv_func___builtin_cos_use=no
51751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51752 ac_ext=c
51753 ac_cpp='$CPP $CPPFLAGS'
51754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51763 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51764 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51765 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51766 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51767 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51768 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51769 echo $ECHO_N "(cached) $ECHO_C" >&6
51770 else
51772 if test x$gcc_no_link = xyes; then
51773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51775 { (exit 1); exit 1; }; }
51777 cat >conftest.$ac_ext <<_ACEOF
51778 /* confdefs.h. */
51779 _ACEOF
51780 cat confdefs.h >>conftest.$ac_ext
51781 cat >>conftest.$ac_ext <<_ACEOF
51782 /* end confdefs.h. */
51783 #include <math.h>
51785 main ()
51787 __builtin_cos(0);
51789 return 0;
51791 _ACEOF
51792 rm -f conftest.$ac_objext conftest$ac_exeext
51793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51794 (eval $ac_link) 2>conftest.er1
51795 ac_status=$?
51796 grep -v '^ *+' conftest.er1 >conftest.err
51797 rm -f conftest.er1
51798 cat conftest.err >&5
51799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51800 (exit $ac_status); } &&
51801 { ac_try='test -z "$ac_c_werror_flag"
51802 || test ! -s conftest.err'
51803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804 (eval $ac_try) 2>&5
51805 ac_status=$?
51806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807 (exit $ac_status); }; } &&
51808 { ac_try='test -s conftest$ac_exeext'
51809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51810 (eval $ac_try) 2>&5
51811 ac_status=$?
51812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51813 (exit $ac_status); }; }; then
51814 glibcxx_cv_func___builtin_cos_link=yes
51815 else
51816 echo "$as_me: failed program was:" >&5
51817 sed 's/^/| /' conftest.$ac_ext >&5
51819 glibcxx_cv_func___builtin_cos_link=no
51821 rm -f conftest.err conftest.$ac_objext \
51822 conftest$ac_exeext conftest.$ac_ext
51827 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51828 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51830 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51832 cat >>confdefs.h <<\_ACEOF
51833 #define HAVE___BUILTIN_COS 1
51834 _ACEOF
51841 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51842 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51843 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51844 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51845 echo $ECHO_N "(cached) $ECHO_C" >&6
51846 else
51850 ac_ext=cc
51851 ac_cpp='$CXXCPP $CPPFLAGS'
51852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51856 cat >conftest.$ac_ext <<_ACEOF
51857 /* confdefs.h. */
51858 _ACEOF
51859 cat confdefs.h >>conftest.$ac_ext
51860 cat >>conftest.$ac_ext <<_ACEOF
51861 /* end confdefs.h. */
51862 #include <math.h>
51864 main ()
51866 __builtin_cosl(0);
51868 return 0;
51870 _ACEOF
51871 rm -f conftest.$ac_objext
51872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51873 (eval $ac_compile) 2>conftest.er1
51874 ac_status=$?
51875 grep -v '^ *+' conftest.er1 >conftest.err
51876 rm -f conftest.er1
51877 cat conftest.err >&5
51878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51879 (exit $ac_status); } &&
51880 { ac_try='test -z "$ac_cxx_werror_flag"
51881 || test ! -s conftest.err'
51882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51883 (eval $ac_try) 2>&5
51884 ac_status=$?
51885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51886 (exit $ac_status); }; } &&
51887 { ac_try='test -s conftest.$ac_objext'
51888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51889 (eval $ac_try) 2>&5
51890 ac_status=$?
51891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892 (exit $ac_status); }; }; then
51893 glibcxx_cv_func___builtin_cosl_use=yes
51894 else
51895 echo "$as_me: failed program was:" >&5
51896 sed 's/^/| /' conftest.$ac_ext >&5
51898 glibcxx_cv_func___builtin_cosl_use=no
51900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51901 ac_ext=c
51902 ac_cpp='$CPP $CPPFLAGS'
51903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51912 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51913 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51914 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51915 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51916 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51917 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51918 echo $ECHO_N "(cached) $ECHO_C" >&6
51919 else
51921 if test x$gcc_no_link = xyes; then
51922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51924 { (exit 1); exit 1; }; }
51926 cat >conftest.$ac_ext <<_ACEOF
51927 /* confdefs.h. */
51928 _ACEOF
51929 cat confdefs.h >>conftest.$ac_ext
51930 cat >>conftest.$ac_ext <<_ACEOF
51931 /* end confdefs.h. */
51932 #include <math.h>
51934 main ()
51936 __builtin_cosl(0);
51938 return 0;
51940 _ACEOF
51941 rm -f conftest.$ac_objext conftest$ac_exeext
51942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51943 (eval $ac_link) 2>conftest.er1
51944 ac_status=$?
51945 grep -v '^ *+' conftest.er1 >conftest.err
51946 rm -f conftest.er1
51947 cat conftest.err >&5
51948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51949 (exit $ac_status); } &&
51950 { ac_try='test -z "$ac_c_werror_flag"
51951 || test ! -s conftest.err'
51952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51953 (eval $ac_try) 2>&5
51954 ac_status=$?
51955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956 (exit $ac_status); }; } &&
51957 { ac_try='test -s conftest$ac_exeext'
51958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51959 (eval $ac_try) 2>&5
51960 ac_status=$?
51961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51962 (exit $ac_status); }; }; then
51963 glibcxx_cv_func___builtin_cosl_link=yes
51964 else
51965 echo "$as_me: failed program was:" >&5
51966 sed 's/^/| /' conftest.$ac_ext >&5
51968 glibcxx_cv_func___builtin_cosl_link=no
51970 rm -f conftest.err conftest.$ac_objext \
51971 conftest$ac_exeext conftest.$ac_ext
51976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51977 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51979 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51981 cat >>confdefs.h <<\_ACEOF
51982 #define HAVE___BUILTIN_COSL 1
51983 _ACEOF
51992 echo "$as_me:$LINENO: checking for main in -lm" >&5
51993 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51994 if test "${ac_cv_lib_m_main+set}" = set; then
51995 echo $ECHO_N "(cached) $ECHO_C" >&6
51996 else
51997 ac_check_lib_save_LIBS=$LIBS
51998 LIBS="-lm $LIBS"
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. */
52013 main ()
52015 main ();
52017 return 0;
52019 _ACEOF
52020 rm -f conftest.$ac_objext conftest$ac_exeext
52021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52022 (eval $ac_link) 2>conftest.er1
52023 ac_status=$?
52024 grep -v '^ *+' conftest.er1 >conftest.err
52025 rm -f conftest.er1
52026 cat conftest.err >&5
52027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028 (exit $ac_status); } &&
52029 { ac_try='test -z "$ac_c_werror_flag"
52030 || test ! -s conftest.err'
52031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032 (eval $ac_try) 2>&5
52033 ac_status=$?
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }; } &&
52036 { ac_try='test -s conftest$ac_exeext'
52037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52038 (eval $ac_try) 2>&5
52039 ac_status=$?
52040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52041 (exit $ac_status); }; }; then
52042 ac_cv_lib_m_main=yes
52043 else
52044 echo "$as_me: failed program was:" >&5
52045 sed 's/^/| /' conftest.$ac_ext >&5
52047 ac_cv_lib_m_main=no
52049 rm -f conftest.err conftest.$ac_objext \
52050 conftest$ac_exeext conftest.$ac_ext
52051 LIBS=$ac_check_lib_save_LIBS
52053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52054 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52055 if test $ac_cv_lib_m_main = yes; then
52056 cat >>confdefs.h <<_ACEOF
52057 #define HAVE_LIBM 1
52058 _ACEOF
52060 LIBS="-lm $LIBS"
52065 for ac_func in copysignf
52067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52068 echo "$as_me:$LINENO: checking for $ac_func" >&5
52069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52070 if eval "test \"\${$as_ac_var+set}\" = set"; then
52071 echo $ECHO_N "(cached) $ECHO_C" >&6
52072 else
52073 if test x$gcc_no_link = xyes; then
52074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52076 { (exit 1); exit 1; }; }
52078 cat >conftest.$ac_ext <<_ACEOF
52079 /* confdefs.h. */
52080 _ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h. */
52084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52086 #define $ac_func innocuous_$ac_func
52088 /* System header to define __stub macros and hopefully few prototypes,
52089 which can conflict with char $ac_func (); below.
52090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52091 <limits.h> exists even on freestanding compilers. */
52093 #ifdef __STDC__
52094 # include <limits.h>
52095 #else
52096 # include <assert.h>
52097 #endif
52099 #undef $ac_func
52101 /* Override any gcc2 internal prototype to avoid an error. */
52102 #ifdef __cplusplus
52103 extern "C"
52105 #endif
52106 /* We use char because int might match the return type of a gcc2
52107 builtin and then its argument prototype would still apply. */
52108 char $ac_func ();
52109 /* The GNU C library defines this for functions which it implements
52110 to always fail with ENOSYS. Some functions are actually named
52111 something starting with __ and the normal name is an alias. */
52112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52113 choke me
52114 #else
52115 char (*f) () = $ac_func;
52116 #endif
52117 #ifdef __cplusplus
52119 #endif
52122 main ()
52124 return f != $ac_func;
52126 return 0;
52128 _ACEOF
52129 rm -f conftest.$ac_objext conftest$ac_exeext
52130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52131 (eval $ac_link) 2>conftest.er1
52132 ac_status=$?
52133 grep -v '^ *+' conftest.er1 >conftest.err
52134 rm -f conftest.er1
52135 cat conftest.err >&5
52136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52137 (exit $ac_status); } &&
52138 { ac_try='test -z "$ac_c_werror_flag"
52139 || test ! -s conftest.err'
52140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141 (eval $ac_try) 2>&5
52142 ac_status=$?
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); }; } &&
52145 { ac_try='test -s conftest$ac_exeext'
52146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52147 (eval $ac_try) 2>&5
52148 ac_status=$?
52149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52150 (exit $ac_status); }; }; then
52151 eval "$as_ac_var=yes"
52152 else
52153 echo "$as_me: failed program was:" >&5
52154 sed 's/^/| /' conftest.$ac_ext >&5
52156 eval "$as_ac_var=no"
52158 rm -f conftest.err conftest.$ac_objext \
52159 conftest$ac_exeext conftest.$ac_ext
52161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52163 if test `eval echo '${'$as_ac_var'}'` = yes; then
52164 cat >>confdefs.h <<_ACEOF
52165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52166 _ACEOF
52168 else
52169 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52171 done
52175 for ac_func in __signbit
52177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52178 echo "$as_me:$LINENO: checking for $ac_func" >&5
52179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52180 if eval "test \"\${$as_ac_var+set}\" = set"; then
52181 echo $ECHO_N "(cached) $ECHO_C" >&6
52182 else
52183 if test x$gcc_no_link = xyes; then
52184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52186 { (exit 1); exit 1; }; }
52188 cat >conftest.$ac_ext <<_ACEOF
52189 /* confdefs.h. */
52190 _ACEOF
52191 cat confdefs.h >>conftest.$ac_ext
52192 cat >>conftest.$ac_ext <<_ACEOF
52193 /* end confdefs.h. */
52194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52196 #define $ac_func innocuous_$ac_func
52198 /* System header to define __stub macros and hopefully few prototypes,
52199 which can conflict with char $ac_func (); below.
52200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52201 <limits.h> exists even on freestanding compilers. */
52203 #ifdef __STDC__
52204 # include <limits.h>
52205 #else
52206 # include <assert.h>
52207 #endif
52209 #undef $ac_func
52211 /* Override any gcc2 internal prototype to avoid an error. */
52212 #ifdef __cplusplus
52213 extern "C"
52215 #endif
52216 /* We use char because int might match the return type of a gcc2
52217 builtin and then its argument prototype would still apply. */
52218 char $ac_func ();
52219 /* The GNU C library defines this for functions which it implements
52220 to always fail with ENOSYS. Some functions are actually named
52221 something starting with __ and the normal name is an alias. */
52222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52223 choke me
52224 #else
52225 char (*f) () = $ac_func;
52226 #endif
52227 #ifdef __cplusplus
52229 #endif
52232 main ()
52234 return f != $ac_func;
52236 return 0;
52238 _ACEOF
52239 rm -f conftest.$ac_objext conftest$ac_exeext
52240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52241 (eval $ac_link) 2>conftest.er1
52242 ac_status=$?
52243 grep -v '^ *+' conftest.er1 >conftest.err
52244 rm -f conftest.er1
52245 cat conftest.err >&5
52246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52247 (exit $ac_status); } &&
52248 { ac_try='test -z "$ac_c_werror_flag"
52249 || test ! -s conftest.err'
52250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52251 (eval $ac_try) 2>&5
52252 ac_status=$?
52253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52254 (exit $ac_status); }; } &&
52255 { ac_try='test -s conftest$ac_exeext'
52256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52257 (eval $ac_try) 2>&5
52258 ac_status=$?
52259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52260 (exit $ac_status); }; }; then
52261 eval "$as_ac_var=yes"
52262 else
52263 echo "$as_me: failed program was:" >&5
52264 sed 's/^/| /' conftest.$ac_ext >&5
52266 eval "$as_ac_var=no"
52268 rm -f conftest.err conftest.$ac_objext \
52269 conftest$ac_exeext conftest.$ac_ext
52271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52273 if test `eval echo '${'$as_ac_var'}'` = yes; then
52274 cat >>confdefs.h <<_ACEOF
52275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52276 _ACEOF
52278 else
52279 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52281 done
52285 for ac_func in __signbitf
52287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52288 echo "$as_me:$LINENO: checking for $ac_func" >&5
52289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52290 if eval "test \"\${$as_ac_var+set}\" = set"; then
52291 echo $ECHO_N "(cached) $ECHO_C" >&6
52292 else
52293 if test x$gcc_no_link = xyes; then
52294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52296 { (exit 1); exit 1; }; }
52298 cat >conftest.$ac_ext <<_ACEOF
52299 /* confdefs.h. */
52300 _ACEOF
52301 cat confdefs.h >>conftest.$ac_ext
52302 cat >>conftest.$ac_ext <<_ACEOF
52303 /* end confdefs.h. */
52304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52306 #define $ac_func innocuous_$ac_func
52308 /* System header to define __stub macros and hopefully few prototypes,
52309 which can conflict with char $ac_func (); below.
52310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52311 <limits.h> exists even on freestanding compilers. */
52313 #ifdef __STDC__
52314 # include <limits.h>
52315 #else
52316 # include <assert.h>
52317 #endif
52319 #undef $ac_func
52321 /* Override any gcc2 internal prototype to avoid an error. */
52322 #ifdef __cplusplus
52323 extern "C"
52325 #endif
52326 /* We use char because int might match the return type of a gcc2
52327 builtin and then its argument prototype would still apply. */
52328 char $ac_func ();
52329 /* The GNU C library defines this for functions which it implements
52330 to always fail with ENOSYS. Some functions are actually named
52331 something starting with __ and the normal name is an alias. */
52332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52333 choke me
52334 #else
52335 char (*f) () = $ac_func;
52336 #endif
52337 #ifdef __cplusplus
52339 #endif
52342 main ()
52344 return f != $ac_func;
52346 return 0;
52348 _ACEOF
52349 rm -f conftest.$ac_objext conftest$ac_exeext
52350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52351 (eval $ac_link) 2>conftest.er1
52352 ac_status=$?
52353 grep -v '^ *+' conftest.er1 >conftest.err
52354 rm -f conftest.er1
52355 cat conftest.err >&5
52356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52357 (exit $ac_status); } &&
52358 { ac_try='test -z "$ac_c_werror_flag"
52359 || test ! -s conftest.err'
52360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52361 (eval $ac_try) 2>&5
52362 ac_status=$?
52363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52364 (exit $ac_status); }; } &&
52365 { ac_try='test -s conftest$ac_exeext'
52366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52367 (eval $ac_try) 2>&5
52368 ac_status=$?
52369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52370 (exit $ac_status); }; }; then
52371 eval "$as_ac_var=yes"
52372 else
52373 echo "$as_me: failed program was:" >&5
52374 sed 's/^/| /' conftest.$ac_ext >&5
52376 eval "$as_ac_var=no"
52378 rm -f conftest.err conftest.$ac_objext \
52379 conftest$ac_exeext conftest.$ac_ext
52381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52383 if test `eval echo '${'$as_ac_var'}'` = yes; then
52384 cat >>confdefs.h <<_ACEOF
52385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52386 _ACEOF
52388 else
52389 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52391 done
52394 if test x$ac_cv_func_copysignl = x"yes"; then
52396 for ac_func in __signbitl
52398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52399 echo "$as_me:$LINENO: checking for $ac_func" >&5
52400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52401 if eval "test \"\${$as_ac_var+set}\" = set"; then
52402 echo $ECHO_N "(cached) $ECHO_C" >&6
52403 else
52404 if test x$gcc_no_link = xyes; then
52405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52407 { (exit 1); exit 1; }; }
52409 cat >conftest.$ac_ext <<_ACEOF
52410 /* confdefs.h. */
52411 _ACEOF
52412 cat confdefs.h >>conftest.$ac_ext
52413 cat >>conftest.$ac_ext <<_ACEOF
52414 /* end confdefs.h. */
52415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52417 #define $ac_func innocuous_$ac_func
52419 /* System header to define __stub macros and hopefully few prototypes,
52420 which can conflict with char $ac_func (); below.
52421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52422 <limits.h> exists even on freestanding compilers. */
52424 #ifdef __STDC__
52425 # include <limits.h>
52426 #else
52427 # include <assert.h>
52428 #endif
52430 #undef $ac_func
52432 /* Override any gcc2 internal prototype to avoid an error. */
52433 #ifdef __cplusplus
52434 extern "C"
52436 #endif
52437 /* We use char because int might match the return type of a gcc2
52438 builtin and then its argument prototype would still apply. */
52439 char $ac_func ();
52440 /* The GNU C library defines this for functions which it implements
52441 to always fail with ENOSYS. Some functions are actually named
52442 something starting with __ and the normal name is an alias. */
52443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52444 choke me
52445 #else
52446 char (*f) () = $ac_func;
52447 #endif
52448 #ifdef __cplusplus
52450 #endif
52453 main ()
52455 return f != $ac_func;
52457 return 0;
52459 _ACEOF
52460 rm -f conftest.$ac_objext conftest$ac_exeext
52461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52462 (eval $ac_link) 2>conftest.er1
52463 ac_status=$?
52464 grep -v '^ *+' conftest.er1 >conftest.err
52465 rm -f conftest.er1
52466 cat conftest.err >&5
52467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52468 (exit $ac_status); } &&
52469 { ac_try='test -z "$ac_c_werror_flag"
52470 || test ! -s conftest.err'
52471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52472 (eval $ac_try) 2>&5
52473 ac_status=$?
52474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52475 (exit $ac_status); }; } &&
52476 { ac_try='test -s conftest$ac_exeext'
52477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52478 (eval $ac_try) 2>&5
52479 ac_status=$?
52480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52481 (exit $ac_status); }; }; then
52482 eval "$as_ac_var=yes"
52483 else
52484 echo "$as_me: failed program was:" >&5
52485 sed 's/^/| /' conftest.$ac_ext >&5
52487 eval "$as_ac_var=no"
52489 rm -f conftest.err conftest.$ac_objext \
52490 conftest$ac_exeext conftest.$ac_ext
52492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52494 if test `eval echo '${'$as_ac_var'}'` = yes; then
52495 cat >>confdefs.h <<_ACEOF
52496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52497 _ACEOF
52499 else
52500 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52502 done
52506 # Used in libmath/Makefile.am.
52507 if test -n "$LIBMATHOBJS"; then
52508 need_libmath=yes
52514 enable_iconv=no
52515 # Only continue checking if the ISO C99 headers exist and support is on.
52516 if test x"$enable_wchar_t" = xyes; then
52518 # Use iconv for wchar_t to char conversions. As such, check for
52519 # X/Open Portability Guide, version 2 features (XPG2).
52520 if test "${ac_cv_header_iconv_h+set}" = set; then
52521 echo "$as_me:$LINENO: checking for iconv.h" >&5
52522 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52523 if test "${ac_cv_header_iconv_h+set}" = set; then
52524 echo $ECHO_N "(cached) $ECHO_C" >&6
52526 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52527 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52528 else
52529 # Is the header compilable?
52530 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52531 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52532 cat >conftest.$ac_ext <<_ACEOF
52533 /* confdefs.h. */
52534 _ACEOF
52535 cat confdefs.h >>conftest.$ac_ext
52536 cat >>conftest.$ac_ext <<_ACEOF
52537 /* end confdefs.h. */
52538 $ac_includes_default
52539 #include <iconv.h>
52540 _ACEOF
52541 rm -f conftest.$ac_objext
52542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52543 (eval $ac_compile) 2>conftest.er1
52544 ac_status=$?
52545 grep -v '^ *+' conftest.er1 >conftest.err
52546 rm -f conftest.er1
52547 cat conftest.err >&5
52548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52549 (exit $ac_status); } &&
52550 { ac_try='test -z "$ac_c_werror_flag"
52551 || test ! -s conftest.err'
52552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52553 (eval $ac_try) 2>&5
52554 ac_status=$?
52555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556 (exit $ac_status); }; } &&
52557 { ac_try='test -s conftest.$ac_objext'
52558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52559 (eval $ac_try) 2>&5
52560 ac_status=$?
52561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52562 (exit $ac_status); }; }; then
52563 ac_header_compiler=yes
52564 else
52565 echo "$as_me: failed program was:" >&5
52566 sed 's/^/| /' conftest.$ac_ext >&5
52568 ac_header_compiler=no
52570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52572 echo "${ECHO_T}$ac_header_compiler" >&6
52574 # Is the header present?
52575 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52576 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52577 cat >conftest.$ac_ext <<_ACEOF
52578 /* confdefs.h. */
52579 _ACEOF
52580 cat confdefs.h >>conftest.$ac_ext
52581 cat >>conftest.$ac_ext <<_ACEOF
52582 /* end confdefs.h. */
52583 #include <iconv.h>
52584 _ACEOF
52585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52587 ac_status=$?
52588 grep -v '^ *+' conftest.er1 >conftest.err
52589 rm -f conftest.er1
52590 cat conftest.err >&5
52591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52592 (exit $ac_status); } >/dev/null; then
52593 if test -s conftest.err; then
52594 ac_cpp_err=$ac_c_preproc_warn_flag
52595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52596 else
52597 ac_cpp_err=
52599 else
52600 ac_cpp_err=yes
52602 if test -z "$ac_cpp_err"; then
52603 ac_header_preproc=yes
52604 else
52605 echo "$as_me: failed program was:" >&5
52606 sed 's/^/| /' conftest.$ac_ext >&5
52608 ac_header_preproc=no
52610 rm -f conftest.err conftest.$ac_ext
52611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52612 echo "${ECHO_T}$ac_header_preproc" >&6
52614 # So? What about this header?
52615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52616 yes:no: )
52617 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52618 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52619 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52620 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52621 ac_header_preproc=yes
52623 no:yes:* )
52624 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52625 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52626 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52627 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52628 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52629 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52630 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52631 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52632 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52633 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52634 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52635 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52637 cat <<\_ASBOX
52638 ## ----------------------------------------- ##
52639 ## Report this to the package-unused lists. ##
52640 ## ----------------------------------------- ##
52641 _ASBOX
52643 sed "s/^/$as_me: WARNING: /" >&2
52645 esac
52646 echo "$as_me:$LINENO: checking for iconv.h" >&5
52647 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52648 if test "${ac_cv_header_iconv_h+set}" = set; then
52649 echo $ECHO_N "(cached) $ECHO_C" >&6
52650 else
52651 ac_cv_header_iconv_h=$ac_header_preproc
52653 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52654 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52657 if test $ac_cv_header_iconv_h = yes; then
52658 ac_has_iconv_h=yes
52659 else
52660 ac_has_iconv_h=no
52664 if test "${ac_cv_header_langinfo_h+set}" = set; then
52665 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52666 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52667 if test "${ac_cv_header_langinfo_h+set}" = set; then
52668 echo $ECHO_N "(cached) $ECHO_C" >&6
52670 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52671 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52672 else
52673 # Is the header compilable?
52674 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52675 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52676 cat >conftest.$ac_ext <<_ACEOF
52677 /* confdefs.h. */
52678 _ACEOF
52679 cat confdefs.h >>conftest.$ac_ext
52680 cat >>conftest.$ac_ext <<_ACEOF
52681 /* end confdefs.h. */
52682 $ac_includes_default
52683 #include <langinfo.h>
52684 _ACEOF
52685 rm -f conftest.$ac_objext
52686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52687 (eval $ac_compile) 2>conftest.er1
52688 ac_status=$?
52689 grep -v '^ *+' conftest.er1 >conftest.err
52690 rm -f conftest.er1
52691 cat conftest.err >&5
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); } &&
52694 { ac_try='test -z "$ac_c_werror_flag"
52695 || test ! -s conftest.err'
52696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52697 (eval $ac_try) 2>&5
52698 ac_status=$?
52699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52700 (exit $ac_status); }; } &&
52701 { ac_try='test -s conftest.$ac_objext'
52702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52703 (eval $ac_try) 2>&5
52704 ac_status=$?
52705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52706 (exit $ac_status); }; }; then
52707 ac_header_compiler=yes
52708 else
52709 echo "$as_me: failed program was:" >&5
52710 sed 's/^/| /' conftest.$ac_ext >&5
52712 ac_header_compiler=no
52714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52716 echo "${ECHO_T}$ac_header_compiler" >&6
52718 # Is the header present?
52719 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52720 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52721 cat >conftest.$ac_ext <<_ACEOF
52722 /* confdefs.h. */
52723 _ACEOF
52724 cat confdefs.h >>conftest.$ac_ext
52725 cat >>conftest.$ac_ext <<_ACEOF
52726 /* end confdefs.h. */
52727 #include <langinfo.h>
52728 _ACEOF
52729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52731 ac_status=$?
52732 grep -v '^ *+' conftest.er1 >conftest.err
52733 rm -f conftest.er1
52734 cat conftest.err >&5
52735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52736 (exit $ac_status); } >/dev/null; then
52737 if test -s conftest.err; then
52738 ac_cpp_err=$ac_c_preproc_warn_flag
52739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52740 else
52741 ac_cpp_err=
52743 else
52744 ac_cpp_err=yes
52746 if test -z "$ac_cpp_err"; then
52747 ac_header_preproc=yes
52748 else
52749 echo "$as_me: failed program was:" >&5
52750 sed 's/^/| /' conftest.$ac_ext >&5
52752 ac_header_preproc=no
52754 rm -f conftest.err conftest.$ac_ext
52755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52756 echo "${ECHO_T}$ac_header_preproc" >&6
52758 # So? What about this header?
52759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52760 yes:no: )
52761 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52762 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52763 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52764 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52765 ac_header_preproc=yes
52767 no:yes:* )
52768 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52769 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52770 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52771 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52772 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52773 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52774 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52775 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52776 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52777 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52778 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52779 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52781 cat <<\_ASBOX
52782 ## ----------------------------------------- ##
52783 ## Report this to the package-unused lists. ##
52784 ## ----------------------------------------- ##
52785 _ASBOX
52787 sed "s/^/$as_me: WARNING: /" >&2
52789 esac
52790 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52791 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52792 if test "${ac_cv_header_langinfo_h+set}" = set; then
52793 echo $ECHO_N "(cached) $ECHO_C" >&6
52794 else
52795 ac_cv_header_langinfo_h=$ac_header_preproc
52797 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52798 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52801 if test $ac_cv_header_langinfo_h = yes; then
52802 ac_has_langinfo_h=yes
52803 else
52804 ac_has_langinfo_h=no
52809 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52810 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52811 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52812 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52813 echo $ECHO_N "(cached) $ECHO_C" >&6
52814 else
52815 ac_check_lib_save_LIBS=$LIBS
52816 LIBS="-liconv $LIBS"
52817 if test x$gcc_no_link = xyes; then
52818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52820 { (exit 1); exit 1; }; }
52822 cat >conftest.$ac_ext <<_ACEOF
52823 /* confdefs.h. */
52824 _ACEOF
52825 cat confdefs.h >>conftest.$ac_ext
52826 cat >>conftest.$ac_ext <<_ACEOF
52827 /* end confdefs.h. */
52829 /* Override any gcc2 internal prototype to avoid an error. */
52830 #ifdef __cplusplus
52831 extern "C"
52832 #endif
52833 /* We use char because int might match the return type of a gcc2
52834 builtin and then its argument prototype would still apply. */
52835 char iconv ();
52837 main ()
52839 iconv ();
52841 return 0;
52843 _ACEOF
52844 rm -f conftest.$ac_objext conftest$ac_exeext
52845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52846 (eval $ac_link) 2>conftest.er1
52847 ac_status=$?
52848 grep -v '^ *+' conftest.er1 >conftest.err
52849 rm -f conftest.er1
52850 cat conftest.err >&5
52851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52852 (exit $ac_status); } &&
52853 { ac_try='test -z "$ac_c_werror_flag"
52854 || test ! -s conftest.err'
52855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52856 (eval $ac_try) 2>&5
52857 ac_status=$?
52858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52859 (exit $ac_status); }; } &&
52860 { ac_try='test -s conftest$ac_exeext'
52861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52862 (eval $ac_try) 2>&5
52863 ac_status=$?
52864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52865 (exit $ac_status); }; }; then
52866 ac_cv_lib_iconv_iconv=yes
52867 else
52868 echo "$as_me: failed program was:" >&5
52869 sed 's/^/| /' conftest.$ac_ext >&5
52871 ac_cv_lib_iconv_iconv=no
52873 rm -f conftest.err conftest.$ac_objext \
52874 conftest$ac_exeext conftest.$ac_ext
52875 LIBS=$ac_check_lib_save_LIBS
52877 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52878 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52879 if test $ac_cv_lib_iconv_iconv = yes; then
52880 LIBICONV="-liconv"
52883 ac_save_LIBS="$LIBS"
52884 LIBS="$LIBS $LIBICONV"
52891 for ac_func in iconv_open iconv_close iconv nl_langinfo
52893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52894 echo "$as_me:$LINENO: checking for $ac_func" >&5
52895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52896 if eval "test \"\${$as_ac_var+set}\" = set"; then
52897 echo $ECHO_N "(cached) $ECHO_C" >&6
52898 else
52899 if test x$gcc_no_link = xyes; then
52900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52902 { (exit 1); exit 1; }; }
52904 cat >conftest.$ac_ext <<_ACEOF
52905 /* confdefs.h. */
52906 _ACEOF
52907 cat confdefs.h >>conftest.$ac_ext
52908 cat >>conftest.$ac_ext <<_ACEOF
52909 /* end confdefs.h. */
52910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52912 #define $ac_func innocuous_$ac_func
52914 /* System header to define __stub macros and hopefully few prototypes,
52915 which can conflict with char $ac_func (); below.
52916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52917 <limits.h> exists even on freestanding compilers. */
52919 #ifdef __STDC__
52920 # include <limits.h>
52921 #else
52922 # include <assert.h>
52923 #endif
52925 #undef $ac_func
52927 /* Override any gcc2 internal prototype to avoid an error. */
52928 #ifdef __cplusplus
52929 extern "C"
52931 #endif
52932 /* We use char because int might match the return type of a gcc2
52933 builtin and then its argument prototype would still apply. */
52934 char $ac_func ();
52935 /* The GNU C library defines this for functions which it implements
52936 to always fail with ENOSYS. Some functions are actually named
52937 something starting with __ and the normal name is an alias. */
52938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52939 choke me
52940 #else
52941 char (*f) () = $ac_func;
52942 #endif
52943 #ifdef __cplusplus
52945 #endif
52948 main ()
52950 return f != $ac_func;
52952 return 0;
52954 _ACEOF
52955 rm -f conftest.$ac_objext conftest$ac_exeext
52956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52957 (eval $ac_link) 2>conftest.er1
52958 ac_status=$?
52959 grep -v '^ *+' conftest.er1 >conftest.err
52960 rm -f conftest.er1
52961 cat conftest.err >&5
52962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52963 (exit $ac_status); } &&
52964 { ac_try='test -z "$ac_c_werror_flag"
52965 || test ! -s conftest.err'
52966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52967 (eval $ac_try) 2>&5
52968 ac_status=$?
52969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52970 (exit $ac_status); }; } &&
52971 { ac_try='test -s conftest$ac_exeext'
52972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973 (eval $ac_try) 2>&5
52974 ac_status=$?
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); }; }; then
52977 eval "$as_ac_var=yes"
52978 else
52979 echo "$as_me: failed program was:" >&5
52980 sed 's/^/| /' conftest.$ac_ext >&5
52982 eval "$as_ac_var=no"
52984 rm -f conftest.err conftest.$ac_objext \
52985 conftest$ac_exeext conftest.$ac_ext
52987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52989 if test `eval echo '${'$as_ac_var'}'` = yes; then
52990 cat >>confdefs.h <<_ACEOF
52991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52992 _ACEOF
52993 ac_XPG2funcs=yes
52994 else
52995 ac_XPG2funcs=no
52997 done
53000 LIBS="$ac_save_LIBS"
53002 if test x"$ac_has_iconv_h" = xyes &&
53003 test x"$ac_has_langinfo_h" = xyes &&
53004 test x"$ac_XPG2funcs" = xyes;
53005 then
53007 cat >>confdefs.h <<\_ACEOF
53008 #define _GLIBCXX_USE_ICONV 1
53009 _ACEOF
53011 enable_iconv=yes
53014 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53015 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53016 echo "$as_me:$LINENO: result: $enable_iconv" >&5
53017 echo "${ECHO_T}$enable_iconv" >&6
53020 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53021 ac_save_CXXFLAGS="$CXXFLAGS"
53022 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53025 echo "$as_me:$LINENO: checking for strtold declaration" >&5
53026 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53027 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53028 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53029 echo $ECHO_N "(cached) $ECHO_C" >&6
53030 else
53034 ac_ext=cc
53035 ac_cpp='$CXXCPP $CPPFLAGS'
53036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53040 cat >conftest.$ac_ext <<_ACEOF
53041 /* confdefs.h. */
53042 _ACEOF
53043 cat confdefs.h >>conftest.$ac_ext
53044 cat >>conftest.$ac_ext <<_ACEOF
53045 /* end confdefs.h. */
53046 #include <stdlib.h>
53048 main ()
53050 strtold(0, 0);
53052 return 0;
53054 _ACEOF
53055 rm -f conftest.$ac_objext
53056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53057 (eval $ac_compile) 2>conftest.er1
53058 ac_status=$?
53059 grep -v '^ *+' conftest.er1 >conftest.err
53060 rm -f conftest.er1
53061 cat conftest.err >&5
53062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53063 (exit $ac_status); } &&
53064 { ac_try='test -z "$ac_cxx_werror_flag"
53065 || test ! -s conftest.err'
53066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53067 (eval $ac_try) 2>&5
53068 ac_status=$?
53069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53070 (exit $ac_status); }; } &&
53071 { ac_try='test -s conftest.$ac_objext'
53072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53073 (eval $ac_try) 2>&5
53074 ac_status=$?
53075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076 (exit $ac_status); }; }; then
53077 glibcxx_cv_func_strtold_use=yes
53078 else
53079 echo "$as_me: failed program was:" >&5
53080 sed 's/^/| /' conftest.$ac_ext >&5
53082 glibcxx_cv_func_strtold_use=no
53084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53085 ac_ext=c
53086 ac_cpp='$CPP $CPPFLAGS'
53087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53096 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53097 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53099 for ac_func in strtold
53101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53102 echo "$as_me:$LINENO: checking for $ac_func" >&5
53103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53104 if eval "test \"\${$as_ac_var+set}\" = set"; then
53105 echo $ECHO_N "(cached) $ECHO_C" >&6
53106 else
53107 if test x$gcc_no_link = xyes; then
53108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53110 { (exit 1); exit 1; }; }
53112 cat >conftest.$ac_ext <<_ACEOF
53113 /* confdefs.h. */
53114 _ACEOF
53115 cat confdefs.h >>conftest.$ac_ext
53116 cat >>conftest.$ac_ext <<_ACEOF
53117 /* end confdefs.h. */
53118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53120 #define $ac_func innocuous_$ac_func
53122 /* System header to define __stub macros and hopefully few prototypes,
53123 which can conflict with char $ac_func (); below.
53124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53125 <limits.h> exists even on freestanding compilers. */
53127 #ifdef __STDC__
53128 # include <limits.h>
53129 #else
53130 # include <assert.h>
53131 #endif
53133 #undef $ac_func
53135 /* Override any gcc2 internal prototype to avoid an error. */
53136 #ifdef __cplusplus
53137 extern "C"
53139 #endif
53140 /* We use char because int might match the return type of a gcc2
53141 builtin and then its argument prototype would still apply. */
53142 char $ac_func ();
53143 /* The GNU C library defines this for functions which it implements
53144 to always fail with ENOSYS. Some functions are actually named
53145 something starting with __ and the normal name is an alias. */
53146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53147 choke me
53148 #else
53149 char (*f) () = $ac_func;
53150 #endif
53151 #ifdef __cplusplus
53153 #endif
53156 main ()
53158 return f != $ac_func;
53160 return 0;
53162 _ACEOF
53163 rm -f conftest.$ac_objext conftest$ac_exeext
53164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53165 (eval $ac_link) 2>conftest.er1
53166 ac_status=$?
53167 grep -v '^ *+' conftest.er1 >conftest.err
53168 rm -f conftest.er1
53169 cat conftest.err >&5
53170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53171 (exit $ac_status); } &&
53172 { ac_try='test -z "$ac_c_werror_flag"
53173 || test ! -s conftest.err'
53174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175 (eval $ac_try) 2>&5
53176 ac_status=$?
53177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178 (exit $ac_status); }; } &&
53179 { ac_try='test -s conftest$ac_exeext'
53180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53181 (eval $ac_try) 2>&5
53182 ac_status=$?
53183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53184 (exit $ac_status); }; }; then
53185 eval "$as_ac_var=yes"
53186 else
53187 echo "$as_me: failed program was:" >&5
53188 sed 's/^/| /' conftest.$ac_ext >&5
53190 eval "$as_ac_var=no"
53192 rm -f conftest.err conftest.$ac_objext \
53193 conftest$ac_exeext conftest.$ac_ext
53195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53197 if test `eval echo '${'$as_ac_var'}'` = yes; then
53198 cat >>confdefs.h <<_ACEOF
53199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53200 _ACEOF
53203 done
53211 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53212 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53213 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53214 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53215 echo $ECHO_N "(cached) $ECHO_C" >&6
53216 else
53220 ac_ext=cc
53221 ac_cpp='$CXXCPP $CPPFLAGS'
53222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53226 cat >conftest.$ac_ext <<_ACEOF
53227 /* confdefs.h. */
53228 _ACEOF
53229 cat confdefs.h >>conftest.$ac_ext
53230 cat >>conftest.$ac_ext <<_ACEOF
53231 /* end confdefs.h. */
53232 #include <stdlib.h>
53234 main ()
53236 strtof(0, 0);
53238 return 0;
53240 _ACEOF
53241 rm -f conftest.$ac_objext
53242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53243 (eval $ac_compile) 2>conftest.er1
53244 ac_status=$?
53245 grep -v '^ *+' conftest.er1 >conftest.err
53246 rm -f conftest.er1
53247 cat conftest.err >&5
53248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53249 (exit $ac_status); } &&
53250 { ac_try='test -z "$ac_cxx_werror_flag"
53251 || test ! -s conftest.err'
53252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53253 (eval $ac_try) 2>&5
53254 ac_status=$?
53255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256 (exit $ac_status); }; } &&
53257 { ac_try='test -s conftest.$ac_objext'
53258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53259 (eval $ac_try) 2>&5
53260 ac_status=$?
53261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53262 (exit $ac_status); }; }; then
53263 glibcxx_cv_func_strtof_use=yes
53264 else
53265 echo "$as_me: failed program was:" >&5
53266 sed 's/^/| /' conftest.$ac_ext >&5
53268 glibcxx_cv_func_strtof_use=no
53270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53271 ac_ext=c
53272 ac_cpp='$CPP $CPPFLAGS'
53273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53282 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53283 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53285 for ac_func in strtof
53287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53288 echo "$as_me:$LINENO: checking for $ac_func" >&5
53289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53290 if eval "test \"\${$as_ac_var+set}\" = set"; then
53291 echo $ECHO_N "(cached) $ECHO_C" >&6
53292 else
53293 if test x$gcc_no_link = xyes; then
53294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53296 { (exit 1); exit 1; }; }
53298 cat >conftest.$ac_ext <<_ACEOF
53299 /* confdefs.h. */
53300 _ACEOF
53301 cat confdefs.h >>conftest.$ac_ext
53302 cat >>conftest.$ac_ext <<_ACEOF
53303 /* end confdefs.h. */
53304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53306 #define $ac_func innocuous_$ac_func
53308 /* System header to define __stub macros and hopefully few prototypes,
53309 which can conflict with char $ac_func (); below.
53310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53311 <limits.h> exists even on freestanding compilers. */
53313 #ifdef __STDC__
53314 # include <limits.h>
53315 #else
53316 # include <assert.h>
53317 #endif
53319 #undef $ac_func
53321 /* Override any gcc2 internal prototype to avoid an error. */
53322 #ifdef __cplusplus
53323 extern "C"
53325 #endif
53326 /* We use char because int might match the return type of a gcc2
53327 builtin and then its argument prototype would still apply. */
53328 char $ac_func ();
53329 /* The GNU C library defines this for functions which it implements
53330 to always fail with ENOSYS. Some functions are actually named
53331 something starting with __ and the normal name is an alias. */
53332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53333 choke me
53334 #else
53335 char (*f) () = $ac_func;
53336 #endif
53337 #ifdef __cplusplus
53339 #endif
53342 main ()
53344 return f != $ac_func;
53346 return 0;
53348 _ACEOF
53349 rm -f conftest.$ac_objext conftest$ac_exeext
53350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53351 (eval $ac_link) 2>conftest.er1
53352 ac_status=$?
53353 grep -v '^ *+' conftest.er1 >conftest.err
53354 rm -f conftest.er1
53355 cat conftest.err >&5
53356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53357 (exit $ac_status); } &&
53358 { ac_try='test -z "$ac_c_werror_flag"
53359 || test ! -s conftest.err'
53360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53361 (eval $ac_try) 2>&5
53362 ac_status=$?
53363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53364 (exit $ac_status); }; } &&
53365 { ac_try='test -s conftest$ac_exeext'
53366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53367 (eval $ac_try) 2>&5
53368 ac_status=$?
53369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53370 (exit $ac_status); }; }; then
53371 eval "$as_ac_var=yes"
53372 else
53373 echo "$as_me: failed program was:" >&5
53374 sed 's/^/| /' conftest.$ac_ext >&5
53376 eval "$as_ac_var=no"
53378 rm -f conftest.err conftest.$ac_objext \
53379 conftest$ac_exeext conftest.$ac_ext
53381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53383 if test `eval echo '${'$as_ac_var'}'` = yes; then
53384 cat >>confdefs.h <<_ACEOF
53385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53386 _ACEOF
53389 done
53397 CXXFLAGS="$ac_save_CXXFLAGS"
53400 # For showmanyc_helper().
53403 for ac_header in sys/ioctl.h sys/filio.h
53405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53407 echo "$as_me:$LINENO: checking for $ac_header" >&5
53408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53410 echo $ECHO_N "(cached) $ECHO_C" >&6
53412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53414 else
53415 # Is the header compilable?
53416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53418 cat >conftest.$ac_ext <<_ACEOF
53419 /* confdefs.h. */
53420 _ACEOF
53421 cat confdefs.h >>conftest.$ac_ext
53422 cat >>conftest.$ac_ext <<_ACEOF
53423 /* end confdefs.h. */
53424 $ac_includes_default
53425 #include <$ac_header>
53426 _ACEOF
53427 rm -f conftest.$ac_objext
53428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53429 (eval $ac_compile) 2>conftest.er1
53430 ac_status=$?
53431 grep -v '^ *+' conftest.er1 >conftest.err
53432 rm -f conftest.er1
53433 cat conftest.err >&5
53434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53435 (exit $ac_status); } &&
53436 { ac_try='test -z "$ac_c_werror_flag"
53437 || test ! -s conftest.err'
53438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53439 (eval $ac_try) 2>&5
53440 ac_status=$?
53441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53442 (exit $ac_status); }; } &&
53443 { ac_try='test -s conftest.$ac_objext'
53444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53445 (eval $ac_try) 2>&5
53446 ac_status=$?
53447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53448 (exit $ac_status); }; }; then
53449 ac_header_compiler=yes
53450 else
53451 echo "$as_me: failed program was:" >&5
53452 sed 's/^/| /' conftest.$ac_ext >&5
53454 ac_header_compiler=no
53456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53458 echo "${ECHO_T}$ac_header_compiler" >&6
53460 # Is the header present?
53461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53463 cat >conftest.$ac_ext <<_ACEOF
53464 /* confdefs.h. */
53465 _ACEOF
53466 cat confdefs.h >>conftest.$ac_ext
53467 cat >>conftest.$ac_ext <<_ACEOF
53468 /* end confdefs.h. */
53469 #include <$ac_header>
53470 _ACEOF
53471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53473 ac_status=$?
53474 grep -v '^ *+' conftest.er1 >conftest.err
53475 rm -f conftest.er1
53476 cat conftest.err >&5
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); } >/dev/null; then
53479 if test -s conftest.err; then
53480 ac_cpp_err=$ac_c_preproc_warn_flag
53481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53482 else
53483 ac_cpp_err=
53485 else
53486 ac_cpp_err=yes
53488 if test -z "$ac_cpp_err"; then
53489 ac_header_preproc=yes
53490 else
53491 echo "$as_me: failed program was:" >&5
53492 sed 's/^/| /' conftest.$ac_ext >&5
53494 ac_header_preproc=no
53496 rm -f conftest.err conftest.$ac_ext
53497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53498 echo "${ECHO_T}$ac_header_preproc" >&6
53500 # So? What about this header?
53501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53502 yes:no: )
53503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53507 ac_header_preproc=yes
53509 no:yes:* )
53510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53523 cat <<\_ASBOX
53524 ## ----------------------------------------- ##
53525 ## Report this to the package-unused lists. ##
53526 ## ----------------------------------------- ##
53527 _ASBOX
53529 sed "s/^/$as_me: WARNING: /" >&2
53531 esac
53532 echo "$as_me:$LINENO: checking for $ac_header" >&5
53533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53535 echo $ECHO_N "(cached) $ECHO_C" >&6
53536 else
53537 eval "$as_ac_Header=\$ac_header_preproc"
53539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53544 cat >>confdefs.h <<_ACEOF
53545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53546 _ACEOF
53550 done
53553 echo "$as_me:$LINENO: checking for poll" >&5
53554 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53555 if test "${glibcxx_cv_POLL+set}" = set; then
53556 echo $ECHO_N "(cached) $ECHO_C" >&6
53557 else
53559 if test x$gcc_no_link = xyes; then
53560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53562 { (exit 1); exit 1; }; }
53564 cat >conftest.$ac_ext <<_ACEOF
53565 /* confdefs.h. */
53566 _ACEOF
53567 cat confdefs.h >>conftest.$ac_ext
53568 cat >>conftest.$ac_ext <<_ACEOF
53569 /* end confdefs.h. */
53570 #include <poll.h>
53572 main ()
53574 struct pollfd pfd[1];
53575 pfd[0].events = POLLIN;
53576 poll(pfd, 1, 0);
53578 return 0;
53580 _ACEOF
53581 rm -f conftest.$ac_objext conftest$ac_exeext
53582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53583 (eval $ac_link) 2>conftest.er1
53584 ac_status=$?
53585 grep -v '^ *+' conftest.er1 >conftest.err
53586 rm -f conftest.er1
53587 cat conftest.err >&5
53588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53589 (exit $ac_status); } &&
53590 { ac_try='test -z "$ac_c_werror_flag"
53591 || test ! -s conftest.err'
53592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53593 (eval $ac_try) 2>&5
53594 ac_status=$?
53595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53596 (exit $ac_status); }; } &&
53597 { ac_try='test -s conftest$ac_exeext'
53598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53599 (eval $ac_try) 2>&5
53600 ac_status=$?
53601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53602 (exit $ac_status); }; }; then
53603 glibcxx_cv_POLL=yes
53604 else
53605 echo "$as_me: failed program was:" >&5
53606 sed 's/^/| /' conftest.$ac_ext >&5
53608 glibcxx_cv_POLL=no
53610 rm -f conftest.err conftest.$ac_objext \
53611 conftest$ac_exeext conftest.$ac_ext
53615 if test $glibcxx_cv_POLL = yes; then
53617 cat >>confdefs.h <<\_ACEOF
53618 #define HAVE_POLL 1
53619 _ACEOF
53622 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53623 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53626 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53627 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53628 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53629 echo $ECHO_N "(cached) $ECHO_C" >&6
53630 else
53632 if test x$gcc_no_link = xyes; then
53633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53635 { (exit 1); exit 1; }; }
53637 cat >conftest.$ac_ext <<_ACEOF
53638 /* confdefs.h. */
53639 _ACEOF
53640 cat confdefs.h >>conftest.$ac_ext
53641 cat >>conftest.$ac_ext <<_ACEOF
53642 /* end confdefs.h. */
53643 #include <sys/stat.h>
53645 main ()
53647 struct stat buffer;
53648 fstat(0, &buffer);
53649 S_ISREG(buffer.st_mode);
53651 return 0;
53653 _ACEOF
53654 rm -f conftest.$ac_objext conftest$ac_exeext
53655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53656 (eval $ac_link) 2>conftest.er1
53657 ac_status=$?
53658 grep -v '^ *+' conftest.er1 >conftest.err
53659 rm -f conftest.er1
53660 cat conftest.err >&5
53661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53662 (exit $ac_status); } &&
53663 { ac_try='test -z "$ac_c_werror_flag"
53664 || test ! -s conftest.err'
53665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53666 (eval $ac_try) 2>&5
53667 ac_status=$?
53668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53669 (exit $ac_status); }; } &&
53670 { ac_try='test -s conftest$ac_exeext'
53671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53672 (eval $ac_try) 2>&5
53673 ac_status=$?
53674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53675 (exit $ac_status); }; }; then
53676 glibcxx_cv_S_ISREG=yes
53677 else
53678 echo "$as_me: failed program was:" >&5
53679 sed 's/^/| /' conftest.$ac_ext >&5
53681 glibcxx_cv_S_ISREG=no
53683 rm -f conftest.err conftest.$ac_objext \
53684 conftest$ac_exeext conftest.$ac_ext
53688 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53689 echo $ECHO_N "(cached) $ECHO_C" >&6
53690 else
53692 if test x$gcc_no_link = xyes; then
53693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53695 { (exit 1); exit 1; }; }
53697 cat >conftest.$ac_ext <<_ACEOF
53698 /* confdefs.h. */
53699 _ACEOF
53700 cat confdefs.h >>conftest.$ac_ext
53701 cat >>conftest.$ac_ext <<_ACEOF
53702 /* end confdefs.h. */
53703 #include <sys/stat.h>
53705 main ()
53707 struct stat buffer;
53708 fstat(0, &buffer);
53709 S_IFREG & buffer.st_mode;
53711 return 0;
53713 _ACEOF
53714 rm -f conftest.$ac_objext conftest$ac_exeext
53715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53716 (eval $ac_link) 2>conftest.er1
53717 ac_status=$?
53718 grep -v '^ *+' conftest.er1 >conftest.err
53719 rm -f conftest.er1
53720 cat conftest.err >&5
53721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53722 (exit $ac_status); } &&
53723 { ac_try='test -z "$ac_c_werror_flag"
53724 || test ! -s conftest.err'
53725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53726 (eval $ac_try) 2>&5
53727 ac_status=$?
53728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53729 (exit $ac_status); }; } &&
53730 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53736 glibcxx_cv_S_IFREG=yes
53737 else
53738 echo "$as_me: failed program was:" >&5
53739 sed 's/^/| /' conftest.$ac_ext >&5
53741 glibcxx_cv_S_IFREG=no
53743 rm -f conftest.err conftest.$ac_objext \
53744 conftest$ac_exeext conftest.$ac_ext
53748 res=no
53749 if test $glibcxx_cv_S_ISREG = yes; then
53751 cat >>confdefs.h <<\_ACEOF
53752 #define HAVE_S_ISREG 1
53753 _ACEOF
53755 res=S_ISREG
53756 elif test $glibcxx_cv_S_IFREG = yes; then
53758 cat >>confdefs.h <<\_ACEOF
53759 #define HAVE_S_IFREG 1
53760 _ACEOF
53762 res=S_IFREG
53764 echo "$as_me:$LINENO: result: $res" >&5
53765 echo "${ECHO_T}$res" >&6
53768 # For xsputn_2().
53770 for ac_header in sys/uio.h
53772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53774 echo "$as_me:$LINENO: checking for $ac_header" >&5
53775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53777 echo $ECHO_N "(cached) $ECHO_C" >&6
53779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53781 else
53782 # Is the header compilable?
53783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53785 cat >conftest.$ac_ext <<_ACEOF
53786 /* confdefs.h. */
53787 _ACEOF
53788 cat confdefs.h >>conftest.$ac_ext
53789 cat >>conftest.$ac_ext <<_ACEOF
53790 /* end confdefs.h. */
53791 $ac_includes_default
53792 #include <$ac_header>
53793 _ACEOF
53794 rm -f conftest.$ac_objext
53795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53796 (eval $ac_compile) 2>conftest.er1
53797 ac_status=$?
53798 grep -v '^ *+' conftest.er1 >conftest.err
53799 rm -f conftest.er1
53800 cat conftest.err >&5
53801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53802 (exit $ac_status); } &&
53803 { ac_try='test -z "$ac_c_werror_flag"
53804 || test ! -s conftest.err'
53805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53806 (eval $ac_try) 2>&5
53807 ac_status=$?
53808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53809 (exit $ac_status); }; } &&
53810 { ac_try='test -s conftest.$ac_objext'
53811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53812 (eval $ac_try) 2>&5
53813 ac_status=$?
53814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53815 (exit $ac_status); }; }; then
53816 ac_header_compiler=yes
53817 else
53818 echo "$as_me: failed program was:" >&5
53819 sed 's/^/| /' conftest.$ac_ext >&5
53821 ac_header_compiler=no
53823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53825 echo "${ECHO_T}$ac_header_compiler" >&6
53827 # Is the header present?
53828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53830 cat >conftest.$ac_ext <<_ACEOF
53831 /* confdefs.h. */
53832 _ACEOF
53833 cat confdefs.h >>conftest.$ac_ext
53834 cat >>conftest.$ac_ext <<_ACEOF
53835 /* end confdefs.h. */
53836 #include <$ac_header>
53837 _ACEOF
53838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53840 ac_status=$?
53841 grep -v '^ *+' conftest.er1 >conftest.err
53842 rm -f conftest.er1
53843 cat conftest.err >&5
53844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53845 (exit $ac_status); } >/dev/null; then
53846 if test -s conftest.err; then
53847 ac_cpp_err=$ac_c_preproc_warn_flag
53848 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53849 else
53850 ac_cpp_err=
53852 else
53853 ac_cpp_err=yes
53855 if test -z "$ac_cpp_err"; then
53856 ac_header_preproc=yes
53857 else
53858 echo "$as_me: failed program was:" >&5
53859 sed 's/^/| /' conftest.$ac_ext >&5
53861 ac_header_preproc=no
53863 rm -f conftest.err conftest.$ac_ext
53864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53865 echo "${ECHO_T}$ac_header_preproc" >&6
53867 # So? What about this header?
53868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53869 yes:no: )
53870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53874 ac_header_preproc=yes
53876 no:yes:* )
53877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53890 cat <<\_ASBOX
53891 ## ----------------------------------------- ##
53892 ## Report this to the package-unused lists. ##
53893 ## ----------------------------------------- ##
53894 _ASBOX
53896 sed "s/^/$as_me: WARNING: /" >&2
53898 esac
53899 echo "$as_me:$LINENO: checking for $ac_header" >&5
53900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53902 echo $ECHO_N "(cached) $ECHO_C" >&6
53903 else
53904 eval "$as_ac_Header=\$ac_header_preproc"
53906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53911 cat >>confdefs.h <<_ACEOF
53912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53913 _ACEOF
53917 done
53920 echo "$as_me:$LINENO: checking for writev" >&5
53921 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53922 if test "${glibcxx_cv_WRITEV+set}" = set; then
53923 echo $ECHO_N "(cached) $ECHO_C" >&6
53924 else
53926 if test x$gcc_no_link = xyes; then
53927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53929 { (exit 1); exit 1; }; }
53931 cat >conftest.$ac_ext <<_ACEOF
53932 /* confdefs.h. */
53933 _ACEOF
53934 cat confdefs.h >>conftest.$ac_ext
53935 cat >>conftest.$ac_ext <<_ACEOF
53936 /* end confdefs.h. */
53937 #include <sys/uio.h>
53939 main ()
53941 struct iovec iov[2];
53942 writev(0, iov, 0);
53944 return 0;
53946 _ACEOF
53947 rm -f conftest.$ac_objext conftest$ac_exeext
53948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53949 (eval $ac_link) 2>conftest.er1
53950 ac_status=$?
53951 grep -v '^ *+' conftest.er1 >conftest.err
53952 rm -f conftest.er1
53953 cat conftest.err >&5
53954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53955 (exit $ac_status); } &&
53956 { ac_try='test -z "$ac_c_werror_flag"
53957 || test ! -s conftest.err'
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); }; } &&
53963 { ac_try='test -s conftest$ac_exeext'
53964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53965 (eval $ac_try) 2>&5
53966 ac_status=$?
53967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53968 (exit $ac_status); }; }; then
53969 glibcxx_cv_WRITEV=yes
53970 else
53971 echo "$as_me: failed program was:" >&5
53972 sed 's/^/| /' conftest.$ac_ext >&5
53974 glibcxx_cv_WRITEV=no
53976 rm -f conftest.err conftest.$ac_objext \
53977 conftest$ac_exeext conftest.$ac_ext
53981 if test $glibcxx_cv_WRITEV = yes; then
53983 cat >>confdefs.h <<\_ACEOF
53984 #define HAVE_WRITEV 1
53985 _ACEOF
53988 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53989 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53992 cat >>confdefs.h <<\_ACEOF
53993 #define HAVE_LC_MESSAGES 1
53994 _ACEOF
53997 cat >conftest.$ac_ext <<_ACEOF
53998 /* confdefs.h. */
53999 _ACEOF
54000 cat confdefs.h >>conftest.$ac_ext
54001 cat >>conftest.$ac_ext <<_ACEOF
54002 /* end confdefs.h. */
54003 #include <setjmp.h>
54005 main ()
54007 sigjmp_buf env;
54008 while (! sigsetjmp (env, 1))
54009 siglongjmp (env, 1);
54012 return 0;
54014 _ACEOF
54015 rm -f conftest.$ac_objext
54016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54017 (eval $ac_compile) 2>conftest.er1
54018 ac_status=$?
54019 grep -v '^ *+' conftest.er1 >conftest.err
54020 rm -f conftest.er1
54021 cat conftest.err >&5
54022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54023 (exit $ac_status); } &&
54024 { ac_try='test -z "$ac_c_werror_flag"
54025 || test ! -s conftest.err'
54026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54027 (eval $ac_try) 2>&5
54028 ac_status=$?
54029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54030 (exit $ac_status); }; } &&
54031 { ac_try='test -s conftest.$ac_objext'
54032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54033 (eval $ac_try) 2>&5
54034 ac_status=$?
54035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54036 (exit $ac_status); }; }; then
54038 cat >>confdefs.h <<\_ACEOF
54039 #define HAVE_SIGSETJMP 1
54040 _ACEOF
54042 else
54043 echo "$as_me: failed program was:" >&5
54044 sed 's/^/| /' conftest.$ac_ext >&5
54047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54049 cat >>confdefs.h <<\_ACEOF
54050 #define HAVE_MMAP 1
54051 _ACEOF
54055 *djgpp)
54076 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54077 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54078 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54079 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54083 echo "$as_me:$LINENO: checking for $ac_header" >&5
54084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54086 echo $ECHO_N "(cached) $ECHO_C" >&6
54088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54090 else
54091 # Is the header compilable?
54092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54094 cat >conftest.$ac_ext <<_ACEOF
54095 /* confdefs.h. */
54096 _ACEOF
54097 cat confdefs.h >>conftest.$ac_ext
54098 cat >>conftest.$ac_ext <<_ACEOF
54099 /* end confdefs.h. */
54100 $ac_includes_default
54101 #include <$ac_header>
54102 _ACEOF
54103 rm -f conftest.$ac_objext
54104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54105 (eval $ac_compile) 2>conftest.er1
54106 ac_status=$?
54107 grep -v '^ *+' conftest.er1 >conftest.err
54108 rm -f conftest.er1
54109 cat conftest.err >&5
54110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111 (exit $ac_status); } &&
54112 { ac_try='test -z "$ac_c_werror_flag"
54113 || test ! -s conftest.err'
54114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54115 (eval $ac_try) 2>&5
54116 ac_status=$?
54117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54118 (exit $ac_status); }; } &&
54119 { ac_try='test -s conftest.$ac_objext'
54120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54121 (eval $ac_try) 2>&5
54122 ac_status=$?
54123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54124 (exit $ac_status); }; }; then
54125 ac_header_compiler=yes
54126 else
54127 echo "$as_me: failed program was:" >&5
54128 sed 's/^/| /' conftest.$ac_ext >&5
54130 ac_header_compiler=no
54132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54134 echo "${ECHO_T}$ac_header_compiler" >&6
54136 # Is the header present?
54137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54139 cat >conftest.$ac_ext <<_ACEOF
54140 /* confdefs.h. */
54141 _ACEOF
54142 cat confdefs.h >>conftest.$ac_ext
54143 cat >>conftest.$ac_ext <<_ACEOF
54144 /* end confdefs.h. */
54145 #include <$ac_header>
54146 _ACEOF
54147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54149 ac_status=$?
54150 grep -v '^ *+' conftest.er1 >conftest.err
54151 rm -f conftest.er1
54152 cat conftest.err >&5
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); } >/dev/null; then
54155 if test -s conftest.err; then
54156 ac_cpp_err=$ac_c_preproc_warn_flag
54157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54158 else
54159 ac_cpp_err=
54161 else
54162 ac_cpp_err=yes
54164 if test -z "$ac_cpp_err"; then
54165 ac_header_preproc=yes
54166 else
54167 echo "$as_me: failed program was:" >&5
54168 sed 's/^/| /' conftest.$ac_ext >&5
54170 ac_header_preproc=no
54172 rm -f conftest.err conftest.$ac_ext
54173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54174 echo "${ECHO_T}$ac_header_preproc" >&6
54176 # So? What about this header?
54177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54178 yes:no: )
54179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54183 ac_header_preproc=yes
54185 no:yes:* )
54186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54199 cat <<\_ASBOX
54200 ## ----------------------------------------- ##
54201 ## Report this to the package-unused lists. ##
54202 ## ----------------------------------------- ##
54203 _ASBOX
54205 sed "s/^/$as_me: WARNING: /" >&2
54207 esac
54208 echo "$as_me:$LINENO: checking for $ac_header" >&5
54209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54211 echo $ECHO_N "(cached) $ECHO_C" >&6
54212 else
54213 eval "$as_ac_Header=\$ac_header_preproc"
54215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54220 cat >>confdefs.h <<_ACEOF
54221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54222 _ACEOF
54226 done
54229 # If we're not using GNU ld, then there's no point in even trying these
54230 # tests. Check for that first. We should have already tested for gld
54231 # by now (in libtool), but require it now just to be safe...
54232 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54233 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54237 # The name set by libtool depends on the version of libtool. Shame on us
54238 # for depending on an impl detail, but c'est la vie. Older versions used
54239 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54240 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54241 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54242 # set (hence we're using an older libtool), then set it.
54243 if test x${with_gnu_ld+set} != xset; then
54244 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54245 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54246 with_gnu_ld=no
54247 else
54248 with_gnu_ld=$ac_cv_prog_gnu_ld
54252 # Start by getting the version number. I think the libtool test already
54253 # does some of this, but throws away the result.
54254 echo "$as_me:$LINENO: checking for ld version" >&5
54255 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54257 ldver=`$LD --version 2>/dev/null | head -1 | \
54258 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54260 glibcxx_gnu_ld_version=`echo $ldver | \
54261 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54262 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54263 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54265 # Set --gc-sections.
54266 glibcxx_gcsections_min_ld=21602
54267 if test x"$with_gnu_ld" = x"yes" &&
54268 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54270 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54271 # NB: This flag only works reliably after 2.16.1. Configure tests
54272 # for this are difficult, so hard wire a value that should work.
54274 # All these tests are for C++, but run with the "C" compiler driver.
54275 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54276 ac_test_CFLAGS="${CFLAGS+set}"
54277 ac_save_CFLAGS="$CFLAGS"
54278 CFLAGS='-x c++ -Wl,--gc-sections'
54280 # Check for -Wl,--gc-sections
54281 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54282 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54283 if test x$gcc_no_link = xyes; then
54284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54286 { (exit 1); exit 1; }; }
54288 cat >conftest.$ac_ext <<_ACEOF
54289 /* confdefs.h. */
54290 _ACEOF
54291 cat confdefs.h >>conftest.$ac_ext
54292 cat >>conftest.$ac_ext <<_ACEOF
54293 /* end confdefs.h. */
54294 int one(void) { return 1; }
54295 int two(void) { return 2; }
54298 main ()
54300 two();
54302 return 0;
54304 _ACEOF
54305 rm -f conftest.$ac_objext conftest$ac_exeext
54306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54307 (eval $ac_link) 2>conftest.er1
54308 ac_status=$?
54309 grep -v '^ *+' conftest.er1 >conftest.err
54310 rm -f conftest.er1
54311 cat conftest.err >&5
54312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54313 (exit $ac_status); } &&
54314 { ac_try='test -z "$ac_c_werror_flag"
54315 || test ! -s conftest.err'
54316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317 (eval $ac_try) 2>&5
54318 ac_status=$?
54319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320 (exit $ac_status); }; } &&
54321 { ac_try='test -s conftest$ac_exeext'
54322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54323 (eval $ac_try) 2>&5
54324 ac_status=$?
54325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54326 (exit $ac_status); }; }; then
54327 ac_gcsections=yes
54328 else
54329 echo "$as_me: failed program was:" >&5
54330 sed 's/^/| /' conftest.$ac_ext >&5
54332 ac_gcsections=no
54334 rm -f conftest.err conftest.$ac_objext \
54335 conftest$ac_exeext conftest.$ac_ext
54336 if test "$ac_gcsections" = "yes"; then
54337 rm -f conftest.c
54338 touch conftest.c
54339 if $CC -c conftest.c; then
54340 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54341 grep "Warning: gc-sections option ignored" > /dev/null; then
54342 ac_gcsections=no
54345 rm -f conftest.c conftest.o conftest
54347 if test "$ac_gcsections" = "yes"; then
54348 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54350 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54351 echo "${ECHO_T}$ac_gcsections" >&6
54353 if test "$ac_test_CFLAGS" = set; then
54354 CFLAGS="$ac_save_CFLAGS"
54355 else
54356 # this is the suspicious part
54357 CFLAGS=''
54361 # Set -z,relro.
54362 # Note this is only for shared objects.
54363 ac_ld_relro=no
54364 if test x"$with_gnu_ld" = x"yes"; then
54365 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54366 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54367 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54368 if test -n "$cxx_z_relo"; then
54369 OPT_LDFLAGS="-Wl,-z,relro"
54370 ac_ld_relro=yes
54372 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54373 echo "${ECHO_T}$ac_ld_relro" >&6
54376 # Set linker optimization flags.
54377 if test x"$with_gnu_ld" = x"yes"; then
54378 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54385 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54386 ac_save_CXXFLAGS="$CXXFLAGS"
54387 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54389 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54390 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54391 if test "${ac_cv_lib_m_sin+set}" = set; then
54392 echo $ECHO_N "(cached) $ECHO_C" >&6
54393 else
54394 ac_check_lib_save_LIBS=$LIBS
54395 LIBS="-lm $LIBS"
54396 if test x$gcc_no_link = xyes; then
54397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54399 { (exit 1); exit 1; }; }
54401 cat >conftest.$ac_ext <<_ACEOF
54402 /* confdefs.h. */
54403 _ACEOF
54404 cat confdefs.h >>conftest.$ac_ext
54405 cat >>conftest.$ac_ext <<_ACEOF
54406 /* end confdefs.h. */
54408 /* Override any gcc2 internal prototype to avoid an error. */
54409 #ifdef __cplusplus
54410 extern "C"
54411 #endif
54412 /* We use char because int might match the return type of a gcc2
54413 builtin and then its argument prototype would still apply. */
54414 char sin ();
54416 main ()
54418 sin ();
54420 return 0;
54422 _ACEOF
54423 rm -f conftest.$ac_objext conftest$ac_exeext
54424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54425 (eval $ac_link) 2>conftest.er1
54426 ac_status=$?
54427 grep -v '^ *+' conftest.er1 >conftest.err
54428 rm -f conftest.er1
54429 cat conftest.err >&5
54430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54431 (exit $ac_status); } &&
54432 { ac_try='test -z "$ac_c_werror_flag"
54433 || test ! -s conftest.err'
54434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54435 (eval $ac_try) 2>&5
54436 ac_status=$?
54437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54438 (exit $ac_status); }; } &&
54439 { ac_try='test -s conftest$ac_exeext'
54440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54441 (eval $ac_try) 2>&5
54442 ac_status=$?
54443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54444 (exit $ac_status); }; }; then
54445 ac_cv_lib_m_sin=yes
54446 else
54447 echo "$as_me: failed program was:" >&5
54448 sed 's/^/| /' conftest.$ac_ext >&5
54450 ac_cv_lib_m_sin=no
54452 rm -f conftest.err conftest.$ac_objext \
54453 conftest$ac_exeext conftest.$ac_ext
54454 LIBS=$ac_check_lib_save_LIBS
54456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54457 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54458 if test $ac_cv_lib_m_sin = yes; then
54459 libm="-lm"
54462 ac_save_LIBS="$LIBS"
54463 LIBS="$LIBS $libm"
54467 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54468 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54469 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54470 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54471 echo $ECHO_N "(cached) $ECHO_C" >&6
54472 else
54476 ac_ext=cc
54477 ac_cpp='$CXXCPP $CPPFLAGS'
54478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54482 cat >conftest.$ac_ext <<_ACEOF
54483 /* confdefs.h. */
54484 _ACEOF
54485 cat confdefs.h >>conftest.$ac_ext
54486 cat >>conftest.$ac_ext <<_ACEOF
54487 /* end confdefs.h. */
54488 #include <math.h>
54489 #ifdef HAVE_IEEEFP_H
54490 #include <ieeefp.h>
54491 #endif
54494 main ()
54496 isinf(0);
54498 return 0;
54500 _ACEOF
54501 rm -f conftest.$ac_objext
54502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54503 (eval $ac_compile) 2>conftest.er1
54504 ac_status=$?
54505 grep -v '^ *+' conftest.er1 >conftest.err
54506 rm -f conftest.er1
54507 cat conftest.err >&5
54508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509 (exit $ac_status); } &&
54510 { ac_try='test -z "$ac_cxx_werror_flag"
54511 || test ! -s conftest.err'
54512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54513 (eval $ac_try) 2>&5
54514 ac_status=$?
54515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54516 (exit $ac_status); }; } &&
54517 { ac_try='test -s conftest.$ac_objext'
54518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54519 (eval $ac_try) 2>&5
54520 ac_status=$?
54521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54522 (exit $ac_status); }; }; then
54523 glibcxx_cv_func_isinf_use=yes
54524 else
54525 echo "$as_me: failed program was:" >&5
54526 sed 's/^/| /' conftest.$ac_ext >&5
54528 glibcxx_cv_func_isinf_use=no
54530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54531 ac_ext=c
54532 ac_cpp='$CPP $CPPFLAGS'
54533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54542 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54544 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54546 for ac_func in isinf
54548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54549 echo "$as_me:$LINENO: checking for $ac_func" >&5
54550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54551 if eval "test \"\${$as_ac_var+set}\" = set"; then
54552 echo $ECHO_N "(cached) $ECHO_C" >&6
54553 else
54554 if test x$gcc_no_link = xyes; then
54555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54557 { (exit 1); exit 1; }; }
54559 cat >conftest.$ac_ext <<_ACEOF
54560 /* confdefs.h. */
54561 _ACEOF
54562 cat confdefs.h >>conftest.$ac_ext
54563 cat >>conftest.$ac_ext <<_ACEOF
54564 /* end confdefs.h. */
54565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54567 #define $ac_func innocuous_$ac_func
54569 /* System header to define __stub macros and hopefully few prototypes,
54570 which can conflict with char $ac_func (); below.
54571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54572 <limits.h> exists even on freestanding compilers. */
54574 #ifdef __STDC__
54575 # include <limits.h>
54576 #else
54577 # include <assert.h>
54578 #endif
54580 #undef $ac_func
54582 /* Override any gcc2 internal prototype to avoid an error. */
54583 #ifdef __cplusplus
54584 extern "C"
54586 #endif
54587 /* We use char because int might match the return type of a gcc2
54588 builtin and then its argument prototype would still apply. */
54589 char $ac_func ();
54590 /* The GNU C library defines this for functions which it implements
54591 to always fail with ENOSYS. Some functions are actually named
54592 something starting with __ and the normal name is an alias. */
54593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54594 choke me
54595 #else
54596 char (*f) () = $ac_func;
54597 #endif
54598 #ifdef __cplusplus
54600 #endif
54603 main ()
54605 return f != $ac_func;
54607 return 0;
54609 _ACEOF
54610 rm -f conftest.$ac_objext conftest$ac_exeext
54611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54612 (eval $ac_link) 2>conftest.er1
54613 ac_status=$?
54614 grep -v '^ *+' conftest.er1 >conftest.err
54615 rm -f conftest.er1
54616 cat conftest.err >&5
54617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54618 (exit $ac_status); } &&
54619 { ac_try='test -z "$ac_c_werror_flag"
54620 || test ! -s conftest.err'
54621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54622 (eval $ac_try) 2>&5
54623 ac_status=$?
54624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54625 (exit $ac_status); }; } &&
54626 { ac_try='test -s conftest$ac_exeext'
54627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54628 (eval $ac_try) 2>&5
54629 ac_status=$?
54630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54631 (exit $ac_status); }; }; then
54632 eval "$as_ac_var=yes"
54633 else
54634 echo "$as_me: failed program was:" >&5
54635 sed 's/^/| /' conftest.$ac_ext >&5
54637 eval "$as_ac_var=no"
54639 rm -f conftest.err conftest.$ac_objext \
54640 conftest$ac_exeext conftest.$ac_ext
54642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54644 if test `eval echo '${'$as_ac_var'}'` = yes; then
54645 cat >>confdefs.h <<_ACEOF
54646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54647 _ACEOF
54650 done
54652 else
54654 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54655 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54656 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54657 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54658 echo $ECHO_N "(cached) $ECHO_C" >&6
54659 else
54663 ac_ext=cc
54664 ac_cpp='$CXXCPP $CPPFLAGS'
54665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54669 cat >conftest.$ac_ext <<_ACEOF
54670 /* confdefs.h. */
54671 _ACEOF
54672 cat confdefs.h >>conftest.$ac_ext
54673 cat >>conftest.$ac_ext <<_ACEOF
54674 /* end confdefs.h. */
54675 #include <math.h>
54676 #ifdef HAVE_IEEEFP_H
54677 #include <ieeefp.h>
54678 #endif
54681 main ()
54683 _isinf(0);
54685 return 0;
54687 _ACEOF
54688 rm -f conftest.$ac_objext
54689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54690 (eval $ac_compile) 2>conftest.er1
54691 ac_status=$?
54692 grep -v '^ *+' conftest.er1 >conftest.err
54693 rm -f conftest.er1
54694 cat conftest.err >&5
54695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54696 (exit $ac_status); } &&
54697 { ac_try='test -z "$ac_cxx_werror_flag"
54698 || test ! -s conftest.err'
54699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54700 (eval $ac_try) 2>&5
54701 ac_status=$?
54702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54703 (exit $ac_status); }; } &&
54704 { ac_try='test -s conftest.$ac_objext'
54705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54706 (eval $ac_try) 2>&5
54707 ac_status=$?
54708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54709 (exit $ac_status); }; }; then
54710 glibcxx_cv_func__isinf_use=yes
54711 else
54712 echo "$as_me: failed program was:" >&5
54713 sed 's/^/| /' conftest.$ac_ext >&5
54715 glibcxx_cv_func__isinf_use=no
54717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54718 ac_ext=c
54719 ac_cpp='$CPP $CPPFLAGS'
54720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54729 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54731 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54733 for ac_func in _isinf
54735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54736 echo "$as_me:$LINENO: checking for $ac_func" >&5
54737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54738 if eval "test \"\${$as_ac_var+set}\" = set"; then
54739 echo $ECHO_N "(cached) $ECHO_C" >&6
54740 else
54741 if test x$gcc_no_link = xyes; then
54742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54744 { (exit 1); exit 1; }; }
54746 cat >conftest.$ac_ext <<_ACEOF
54747 /* confdefs.h. */
54748 _ACEOF
54749 cat confdefs.h >>conftest.$ac_ext
54750 cat >>conftest.$ac_ext <<_ACEOF
54751 /* end confdefs.h. */
54752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54754 #define $ac_func innocuous_$ac_func
54756 /* System header to define __stub macros and hopefully few prototypes,
54757 which can conflict with char $ac_func (); below.
54758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54759 <limits.h> exists even on freestanding compilers. */
54761 #ifdef __STDC__
54762 # include <limits.h>
54763 #else
54764 # include <assert.h>
54765 #endif
54767 #undef $ac_func
54769 /* Override any gcc2 internal prototype to avoid an error. */
54770 #ifdef __cplusplus
54771 extern "C"
54773 #endif
54774 /* We use char because int might match the return type of a gcc2
54775 builtin and then its argument prototype would still apply. */
54776 char $ac_func ();
54777 /* The GNU C library defines this for functions which it implements
54778 to always fail with ENOSYS. Some functions are actually named
54779 something starting with __ and the normal name is an alias. */
54780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54781 choke me
54782 #else
54783 char (*f) () = $ac_func;
54784 #endif
54785 #ifdef __cplusplus
54787 #endif
54790 main ()
54792 return f != $ac_func;
54794 return 0;
54796 _ACEOF
54797 rm -f conftest.$ac_objext conftest$ac_exeext
54798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54799 (eval $ac_link) 2>conftest.er1
54800 ac_status=$?
54801 grep -v '^ *+' conftest.er1 >conftest.err
54802 rm -f conftest.er1
54803 cat conftest.err >&5
54804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54805 (exit $ac_status); } &&
54806 { ac_try='test -z "$ac_c_werror_flag"
54807 || test ! -s conftest.err'
54808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54809 (eval $ac_try) 2>&5
54810 ac_status=$?
54811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54812 (exit $ac_status); }; } &&
54813 { ac_try='test -s conftest$ac_exeext'
54814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54815 (eval $ac_try) 2>&5
54816 ac_status=$?
54817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54818 (exit $ac_status); }; }; then
54819 eval "$as_ac_var=yes"
54820 else
54821 echo "$as_me: failed program was:" >&5
54822 sed 's/^/| /' conftest.$ac_ext >&5
54824 eval "$as_ac_var=no"
54826 rm -f conftest.err conftest.$ac_objext \
54827 conftest$ac_exeext conftest.$ac_ext
54829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54831 if test `eval echo '${'$as_ac_var'}'` = yes; then
54832 cat >>confdefs.h <<_ACEOF
54833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54834 _ACEOF
54837 done
54847 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54848 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54849 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54850 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54851 echo $ECHO_N "(cached) $ECHO_C" >&6
54852 else
54856 ac_ext=cc
54857 ac_cpp='$CXXCPP $CPPFLAGS'
54858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862 cat >conftest.$ac_ext <<_ACEOF
54863 /* confdefs.h. */
54864 _ACEOF
54865 cat confdefs.h >>conftest.$ac_ext
54866 cat >>conftest.$ac_ext <<_ACEOF
54867 /* end confdefs.h. */
54868 #include <math.h>
54869 #ifdef HAVE_IEEEFP_H
54870 #include <ieeefp.h>
54871 #endif
54874 main ()
54876 isnan(0);
54878 return 0;
54880 _ACEOF
54881 rm -f conftest.$ac_objext
54882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54883 (eval $ac_compile) 2>conftest.er1
54884 ac_status=$?
54885 grep -v '^ *+' conftest.er1 >conftest.err
54886 rm -f conftest.er1
54887 cat conftest.err >&5
54888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54889 (exit $ac_status); } &&
54890 { ac_try='test -z "$ac_cxx_werror_flag"
54891 || test ! -s conftest.err'
54892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54893 (eval $ac_try) 2>&5
54894 ac_status=$?
54895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54896 (exit $ac_status); }; } &&
54897 { ac_try='test -s conftest.$ac_objext'
54898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54899 (eval $ac_try) 2>&5
54900 ac_status=$?
54901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54902 (exit $ac_status); }; }; then
54903 glibcxx_cv_func_isnan_use=yes
54904 else
54905 echo "$as_me: failed program was:" >&5
54906 sed 's/^/| /' conftest.$ac_ext >&5
54908 glibcxx_cv_func_isnan_use=no
54910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54911 ac_ext=c
54912 ac_cpp='$CPP $CPPFLAGS'
54913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54922 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54924 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54926 for ac_func in isnan
54928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54929 echo "$as_me:$LINENO: checking for $ac_func" >&5
54930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54931 if eval "test \"\${$as_ac_var+set}\" = set"; then
54932 echo $ECHO_N "(cached) $ECHO_C" >&6
54933 else
54934 if test x$gcc_no_link = xyes; then
54935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54937 { (exit 1); exit 1; }; }
54939 cat >conftest.$ac_ext <<_ACEOF
54940 /* confdefs.h. */
54941 _ACEOF
54942 cat confdefs.h >>conftest.$ac_ext
54943 cat >>conftest.$ac_ext <<_ACEOF
54944 /* end confdefs.h. */
54945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54947 #define $ac_func innocuous_$ac_func
54949 /* System header to define __stub macros and hopefully few prototypes,
54950 which can conflict with char $ac_func (); below.
54951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54952 <limits.h> exists even on freestanding compilers. */
54954 #ifdef __STDC__
54955 # include <limits.h>
54956 #else
54957 # include <assert.h>
54958 #endif
54960 #undef $ac_func
54962 /* Override any gcc2 internal prototype to avoid an error. */
54963 #ifdef __cplusplus
54964 extern "C"
54966 #endif
54967 /* We use char because int might match the return type of a gcc2
54968 builtin and then its argument prototype would still apply. */
54969 char $ac_func ();
54970 /* The GNU C library defines this for functions which it implements
54971 to always fail with ENOSYS. Some functions are actually named
54972 something starting with __ and the normal name is an alias. */
54973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54974 choke me
54975 #else
54976 char (*f) () = $ac_func;
54977 #endif
54978 #ifdef __cplusplus
54980 #endif
54983 main ()
54985 return f != $ac_func;
54987 return 0;
54989 _ACEOF
54990 rm -f conftest.$ac_objext conftest$ac_exeext
54991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54992 (eval $ac_link) 2>conftest.er1
54993 ac_status=$?
54994 grep -v '^ *+' conftest.er1 >conftest.err
54995 rm -f conftest.er1
54996 cat conftest.err >&5
54997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998 (exit $ac_status); } &&
54999 { ac_try='test -z "$ac_c_werror_flag"
55000 || test ! -s conftest.err'
55001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55002 (eval $ac_try) 2>&5
55003 ac_status=$?
55004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55005 (exit $ac_status); }; } &&
55006 { ac_try='test -s conftest$ac_exeext'
55007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55008 (eval $ac_try) 2>&5
55009 ac_status=$?
55010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55011 (exit $ac_status); }; }; then
55012 eval "$as_ac_var=yes"
55013 else
55014 echo "$as_me: failed program was:" >&5
55015 sed 's/^/| /' conftest.$ac_ext >&5
55017 eval "$as_ac_var=no"
55019 rm -f conftest.err conftest.$ac_objext \
55020 conftest$ac_exeext conftest.$ac_ext
55022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55024 if test `eval echo '${'$as_ac_var'}'` = yes; then
55025 cat >>confdefs.h <<_ACEOF
55026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55027 _ACEOF
55030 done
55032 else
55034 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55035 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55036 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55037 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55038 echo $ECHO_N "(cached) $ECHO_C" >&6
55039 else
55043 ac_ext=cc
55044 ac_cpp='$CXXCPP $CPPFLAGS'
55045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55049 cat >conftest.$ac_ext <<_ACEOF
55050 /* confdefs.h. */
55051 _ACEOF
55052 cat confdefs.h >>conftest.$ac_ext
55053 cat >>conftest.$ac_ext <<_ACEOF
55054 /* end confdefs.h. */
55055 #include <math.h>
55056 #ifdef HAVE_IEEEFP_H
55057 #include <ieeefp.h>
55058 #endif
55061 main ()
55063 _isnan(0);
55065 return 0;
55067 _ACEOF
55068 rm -f conftest.$ac_objext
55069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55070 (eval $ac_compile) 2>conftest.er1
55071 ac_status=$?
55072 grep -v '^ *+' conftest.er1 >conftest.err
55073 rm -f conftest.er1
55074 cat conftest.err >&5
55075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55076 (exit $ac_status); } &&
55077 { ac_try='test -z "$ac_cxx_werror_flag"
55078 || test ! -s conftest.err'
55079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55080 (eval $ac_try) 2>&5
55081 ac_status=$?
55082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55083 (exit $ac_status); }; } &&
55084 { ac_try='test -s conftest.$ac_objext'
55085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55086 (eval $ac_try) 2>&5
55087 ac_status=$?
55088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55089 (exit $ac_status); }; }; then
55090 glibcxx_cv_func__isnan_use=yes
55091 else
55092 echo "$as_me: failed program was:" >&5
55093 sed 's/^/| /' conftest.$ac_ext >&5
55095 glibcxx_cv_func__isnan_use=no
55097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55098 ac_ext=c
55099 ac_cpp='$CPP $CPPFLAGS'
55100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55109 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55111 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55113 for ac_func in _isnan
55115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55116 echo "$as_me:$LINENO: checking for $ac_func" >&5
55117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55118 if eval "test \"\${$as_ac_var+set}\" = set"; then
55119 echo $ECHO_N "(cached) $ECHO_C" >&6
55120 else
55121 if test x$gcc_no_link = xyes; then
55122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55124 { (exit 1); exit 1; }; }
55126 cat >conftest.$ac_ext <<_ACEOF
55127 /* confdefs.h. */
55128 _ACEOF
55129 cat confdefs.h >>conftest.$ac_ext
55130 cat >>conftest.$ac_ext <<_ACEOF
55131 /* end confdefs.h. */
55132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55134 #define $ac_func innocuous_$ac_func
55136 /* System header to define __stub macros and hopefully few prototypes,
55137 which can conflict with char $ac_func (); below.
55138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55139 <limits.h> exists even on freestanding compilers. */
55141 #ifdef __STDC__
55142 # include <limits.h>
55143 #else
55144 # include <assert.h>
55145 #endif
55147 #undef $ac_func
55149 /* Override any gcc2 internal prototype to avoid an error. */
55150 #ifdef __cplusplus
55151 extern "C"
55153 #endif
55154 /* We use char because int might match the return type of a gcc2
55155 builtin and then its argument prototype would still apply. */
55156 char $ac_func ();
55157 /* The GNU C library defines this for functions which it implements
55158 to always fail with ENOSYS. Some functions are actually named
55159 something starting with __ and the normal name is an alias. */
55160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55161 choke me
55162 #else
55163 char (*f) () = $ac_func;
55164 #endif
55165 #ifdef __cplusplus
55167 #endif
55170 main ()
55172 return f != $ac_func;
55174 return 0;
55176 _ACEOF
55177 rm -f conftest.$ac_objext conftest$ac_exeext
55178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55179 (eval $ac_link) 2>conftest.er1
55180 ac_status=$?
55181 grep -v '^ *+' conftest.er1 >conftest.err
55182 rm -f conftest.er1
55183 cat conftest.err >&5
55184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185 (exit $ac_status); } &&
55186 { ac_try='test -z "$ac_c_werror_flag"
55187 || test ! -s conftest.err'
55188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189 (eval $ac_try) 2>&5
55190 ac_status=$?
55191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192 (exit $ac_status); }; } &&
55193 { ac_try='test -s conftest$ac_exeext'
55194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55195 (eval $ac_try) 2>&5
55196 ac_status=$?
55197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55198 (exit $ac_status); }; }; then
55199 eval "$as_ac_var=yes"
55200 else
55201 echo "$as_me: failed program was:" >&5
55202 sed 's/^/| /' conftest.$ac_ext >&5
55204 eval "$as_ac_var=no"
55206 rm -f conftest.err conftest.$ac_objext \
55207 conftest$ac_exeext conftest.$ac_ext
55209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55211 if test `eval echo '${'$as_ac_var'}'` = yes; then
55212 cat >>confdefs.h <<_ACEOF
55213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55214 _ACEOF
55217 done
55227 echo "$as_me:$LINENO: checking for finite declaration" >&5
55228 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55229 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55230 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55231 echo $ECHO_N "(cached) $ECHO_C" >&6
55232 else
55236 ac_ext=cc
55237 ac_cpp='$CXXCPP $CPPFLAGS'
55238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55242 cat >conftest.$ac_ext <<_ACEOF
55243 /* confdefs.h. */
55244 _ACEOF
55245 cat confdefs.h >>conftest.$ac_ext
55246 cat >>conftest.$ac_ext <<_ACEOF
55247 /* end confdefs.h. */
55248 #include <math.h>
55249 #ifdef HAVE_IEEEFP_H
55250 #include <ieeefp.h>
55251 #endif
55254 main ()
55256 finite(0);
55258 return 0;
55260 _ACEOF
55261 rm -f conftest.$ac_objext
55262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55263 (eval $ac_compile) 2>conftest.er1
55264 ac_status=$?
55265 grep -v '^ *+' conftest.er1 >conftest.err
55266 rm -f conftest.er1
55267 cat conftest.err >&5
55268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55269 (exit $ac_status); } &&
55270 { ac_try='test -z "$ac_cxx_werror_flag"
55271 || test ! -s conftest.err'
55272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55273 (eval $ac_try) 2>&5
55274 ac_status=$?
55275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276 (exit $ac_status); }; } &&
55277 { ac_try='test -s conftest.$ac_objext'
55278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55279 (eval $ac_try) 2>&5
55280 ac_status=$?
55281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55282 (exit $ac_status); }; }; then
55283 glibcxx_cv_func_finite_use=yes
55284 else
55285 echo "$as_me: failed program was:" >&5
55286 sed 's/^/| /' conftest.$ac_ext >&5
55288 glibcxx_cv_func_finite_use=no
55290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55291 ac_ext=c
55292 ac_cpp='$CPP $CPPFLAGS'
55293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55302 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55304 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55306 for ac_func in finite
55308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55309 echo "$as_me:$LINENO: checking for $ac_func" >&5
55310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55311 if eval "test \"\${$as_ac_var+set}\" = set"; then
55312 echo $ECHO_N "(cached) $ECHO_C" >&6
55313 else
55314 if test x$gcc_no_link = xyes; then
55315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55317 { (exit 1); exit 1; }; }
55319 cat >conftest.$ac_ext <<_ACEOF
55320 /* confdefs.h. */
55321 _ACEOF
55322 cat confdefs.h >>conftest.$ac_ext
55323 cat >>conftest.$ac_ext <<_ACEOF
55324 /* end confdefs.h. */
55325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55327 #define $ac_func innocuous_$ac_func
55329 /* System header to define __stub macros and hopefully few prototypes,
55330 which can conflict with char $ac_func (); below.
55331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55332 <limits.h> exists even on freestanding compilers. */
55334 #ifdef __STDC__
55335 # include <limits.h>
55336 #else
55337 # include <assert.h>
55338 #endif
55340 #undef $ac_func
55342 /* Override any gcc2 internal prototype to avoid an error. */
55343 #ifdef __cplusplus
55344 extern "C"
55346 #endif
55347 /* We use char because int might match the return type of a gcc2
55348 builtin and then its argument prototype would still apply. */
55349 char $ac_func ();
55350 /* The GNU C library defines this for functions which it implements
55351 to always fail with ENOSYS. Some functions are actually named
55352 something starting with __ and the normal name is an alias. */
55353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55354 choke me
55355 #else
55356 char (*f) () = $ac_func;
55357 #endif
55358 #ifdef __cplusplus
55360 #endif
55363 main ()
55365 return f != $ac_func;
55367 return 0;
55369 _ACEOF
55370 rm -f conftest.$ac_objext conftest$ac_exeext
55371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55372 (eval $ac_link) 2>conftest.er1
55373 ac_status=$?
55374 grep -v '^ *+' conftest.er1 >conftest.err
55375 rm -f conftest.er1
55376 cat conftest.err >&5
55377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55378 (exit $ac_status); } &&
55379 { ac_try='test -z "$ac_c_werror_flag"
55380 || test ! -s conftest.err'
55381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55382 (eval $ac_try) 2>&5
55383 ac_status=$?
55384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385 (exit $ac_status); }; } &&
55386 { ac_try='test -s conftest$ac_exeext'
55387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55388 (eval $ac_try) 2>&5
55389 ac_status=$?
55390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55391 (exit $ac_status); }; }; then
55392 eval "$as_ac_var=yes"
55393 else
55394 echo "$as_me: failed program was:" >&5
55395 sed 's/^/| /' conftest.$ac_ext >&5
55397 eval "$as_ac_var=no"
55399 rm -f conftest.err conftest.$ac_objext \
55400 conftest$ac_exeext conftest.$ac_ext
55402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55404 if test `eval echo '${'$as_ac_var'}'` = yes; then
55405 cat >>confdefs.h <<_ACEOF
55406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55407 _ACEOF
55410 done
55412 else
55414 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55415 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55416 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55417 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55418 echo $ECHO_N "(cached) $ECHO_C" >&6
55419 else
55423 ac_ext=cc
55424 ac_cpp='$CXXCPP $CPPFLAGS'
55425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55429 cat >conftest.$ac_ext <<_ACEOF
55430 /* confdefs.h. */
55431 _ACEOF
55432 cat confdefs.h >>conftest.$ac_ext
55433 cat >>conftest.$ac_ext <<_ACEOF
55434 /* end confdefs.h. */
55435 #include <math.h>
55436 #ifdef HAVE_IEEEFP_H
55437 #include <ieeefp.h>
55438 #endif
55441 main ()
55443 _finite(0);
55445 return 0;
55447 _ACEOF
55448 rm -f conftest.$ac_objext
55449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55450 (eval $ac_compile) 2>conftest.er1
55451 ac_status=$?
55452 grep -v '^ *+' conftest.er1 >conftest.err
55453 rm -f conftest.er1
55454 cat conftest.err >&5
55455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55456 (exit $ac_status); } &&
55457 { ac_try='test -z "$ac_cxx_werror_flag"
55458 || test ! -s conftest.err'
55459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55460 (eval $ac_try) 2>&5
55461 ac_status=$?
55462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463 (exit $ac_status); }; } &&
55464 { ac_try='test -s conftest.$ac_objext'
55465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55466 (eval $ac_try) 2>&5
55467 ac_status=$?
55468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55469 (exit $ac_status); }; }; then
55470 glibcxx_cv_func__finite_use=yes
55471 else
55472 echo "$as_me: failed program was:" >&5
55473 sed 's/^/| /' conftest.$ac_ext >&5
55475 glibcxx_cv_func__finite_use=no
55477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55478 ac_ext=c
55479 ac_cpp='$CPP $CPPFLAGS'
55480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55489 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55491 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55493 for ac_func in _finite
55495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55496 echo "$as_me:$LINENO: checking for $ac_func" >&5
55497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55498 if eval "test \"\${$as_ac_var+set}\" = set"; then
55499 echo $ECHO_N "(cached) $ECHO_C" >&6
55500 else
55501 if test x$gcc_no_link = xyes; then
55502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55504 { (exit 1); exit 1; }; }
55506 cat >conftest.$ac_ext <<_ACEOF
55507 /* confdefs.h. */
55508 _ACEOF
55509 cat confdefs.h >>conftest.$ac_ext
55510 cat >>conftest.$ac_ext <<_ACEOF
55511 /* end confdefs.h. */
55512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55514 #define $ac_func innocuous_$ac_func
55516 /* System header to define __stub macros and hopefully few prototypes,
55517 which can conflict with char $ac_func (); below.
55518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55519 <limits.h> exists even on freestanding compilers. */
55521 #ifdef __STDC__
55522 # include <limits.h>
55523 #else
55524 # include <assert.h>
55525 #endif
55527 #undef $ac_func
55529 /* Override any gcc2 internal prototype to avoid an error. */
55530 #ifdef __cplusplus
55531 extern "C"
55533 #endif
55534 /* We use char because int might match the return type of a gcc2
55535 builtin and then its argument prototype would still apply. */
55536 char $ac_func ();
55537 /* The GNU C library defines this for functions which it implements
55538 to always fail with ENOSYS. Some functions are actually named
55539 something starting with __ and the normal name is an alias. */
55540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55541 choke me
55542 #else
55543 char (*f) () = $ac_func;
55544 #endif
55545 #ifdef __cplusplus
55547 #endif
55550 main ()
55552 return f != $ac_func;
55554 return 0;
55556 _ACEOF
55557 rm -f conftest.$ac_objext conftest$ac_exeext
55558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55559 (eval $ac_link) 2>conftest.er1
55560 ac_status=$?
55561 grep -v '^ *+' conftest.er1 >conftest.err
55562 rm -f conftest.er1
55563 cat conftest.err >&5
55564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55565 (exit $ac_status); } &&
55566 { ac_try='test -z "$ac_c_werror_flag"
55567 || test ! -s conftest.err'
55568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55569 (eval $ac_try) 2>&5
55570 ac_status=$?
55571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55572 (exit $ac_status); }; } &&
55573 { ac_try='test -s conftest$ac_exeext'
55574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55575 (eval $ac_try) 2>&5
55576 ac_status=$?
55577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55578 (exit $ac_status); }; }; then
55579 eval "$as_ac_var=yes"
55580 else
55581 echo "$as_me: failed program was:" >&5
55582 sed 's/^/| /' conftest.$ac_ext >&5
55584 eval "$as_ac_var=no"
55586 rm -f conftest.err conftest.$ac_objext \
55587 conftest$ac_exeext conftest.$ac_ext
55589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55591 if test `eval echo '${'$as_ac_var'}'` = yes; then
55592 cat >>confdefs.h <<_ACEOF
55593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55594 _ACEOF
55597 done
55607 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55608 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55609 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55610 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55611 echo $ECHO_N "(cached) $ECHO_C" >&6
55612 else
55616 ac_ext=cc
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55622 cat >conftest.$ac_ext <<_ACEOF
55623 /* confdefs.h. */
55624 _ACEOF
55625 cat confdefs.h >>conftest.$ac_ext
55626 cat >>conftest.$ac_ext <<_ACEOF
55627 /* end confdefs.h. */
55628 #include <math.h>
55630 main ()
55632 copysign(0, 0);
55634 return 0;
55636 _ACEOF
55637 rm -f conftest.$ac_objext
55638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55639 (eval $ac_compile) 2>conftest.er1
55640 ac_status=$?
55641 grep -v '^ *+' conftest.er1 >conftest.err
55642 rm -f conftest.er1
55643 cat conftest.err >&5
55644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55645 (exit $ac_status); } &&
55646 { ac_try='test -z "$ac_cxx_werror_flag"
55647 || test ! -s conftest.err'
55648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55649 (eval $ac_try) 2>&5
55650 ac_status=$?
55651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652 (exit $ac_status); }; } &&
55653 { ac_try='test -s conftest.$ac_objext'
55654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55655 (eval $ac_try) 2>&5
55656 ac_status=$?
55657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55658 (exit $ac_status); }; }; then
55659 glibcxx_cv_func_copysign_use=yes
55660 else
55661 echo "$as_me: failed program was:" >&5
55662 sed 's/^/| /' conftest.$ac_ext >&5
55664 glibcxx_cv_func_copysign_use=no
55666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55667 ac_ext=c
55668 ac_cpp='$CPP $CPPFLAGS'
55669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55678 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55680 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55682 for ac_func in copysign
55684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55685 echo "$as_me:$LINENO: checking for $ac_func" >&5
55686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55687 if eval "test \"\${$as_ac_var+set}\" = set"; then
55688 echo $ECHO_N "(cached) $ECHO_C" >&6
55689 else
55690 if test x$gcc_no_link = xyes; then
55691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55693 { (exit 1); exit 1; }; }
55695 cat >conftest.$ac_ext <<_ACEOF
55696 /* confdefs.h. */
55697 _ACEOF
55698 cat confdefs.h >>conftest.$ac_ext
55699 cat >>conftest.$ac_ext <<_ACEOF
55700 /* end confdefs.h. */
55701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55703 #define $ac_func innocuous_$ac_func
55705 /* System header to define __stub macros and hopefully few prototypes,
55706 which can conflict with char $ac_func (); below.
55707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55708 <limits.h> exists even on freestanding compilers. */
55710 #ifdef __STDC__
55711 # include <limits.h>
55712 #else
55713 # include <assert.h>
55714 #endif
55716 #undef $ac_func
55718 /* Override any gcc2 internal prototype to avoid an error. */
55719 #ifdef __cplusplus
55720 extern "C"
55722 #endif
55723 /* We use char because int might match the return type of a gcc2
55724 builtin and then its argument prototype would still apply. */
55725 char $ac_func ();
55726 /* The GNU C library defines this for functions which it implements
55727 to always fail with ENOSYS. Some functions are actually named
55728 something starting with __ and the normal name is an alias. */
55729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55730 choke me
55731 #else
55732 char (*f) () = $ac_func;
55733 #endif
55734 #ifdef __cplusplus
55736 #endif
55739 main ()
55741 return f != $ac_func;
55743 return 0;
55745 _ACEOF
55746 rm -f conftest.$ac_objext conftest$ac_exeext
55747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55748 (eval $ac_link) 2>conftest.er1
55749 ac_status=$?
55750 grep -v '^ *+' conftest.er1 >conftest.err
55751 rm -f conftest.er1
55752 cat conftest.err >&5
55753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55754 (exit $ac_status); } &&
55755 { ac_try='test -z "$ac_c_werror_flag"
55756 || test ! -s conftest.err'
55757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55758 (eval $ac_try) 2>&5
55759 ac_status=$?
55760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761 (exit $ac_status); }; } &&
55762 { ac_try='test -s conftest$ac_exeext'
55763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55764 (eval $ac_try) 2>&5
55765 ac_status=$?
55766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55767 (exit $ac_status); }; }; then
55768 eval "$as_ac_var=yes"
55769 else
55770 echo "$as_me: failed program was:" >&5
55771 sed 's/^/| /' conftest.$ac_ext >&5
55773 eval "$as_ac_var=no"
55775 rm -f conftest.err conftest.$ac_objext \
55776 conftest$ac_exeext conftest.$ac_ext
55778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55780 if test `eval echo '${'$as_ac_var'}'` = yes; then
55781 cat >>confdefs.h <<_ACEOF
55782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55783 _ACEOF
55786 done
55788 else
55790 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55791 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55792 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55793 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55794 echo $ECHO_N "(cached) $ECHO_C" >&6
55795 else
55799 ac_ext=cc
55800 ac_cpp='$CXXCPP $CPPFLAGS'
55801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55805 cat >conftest.$ac_ext <<_ACEOF
55806 /* confdefs.h. */
55807 _ACEOF
55808 cat confdefs.h >>conftest.$ac_ext
55809 cat >>conftest.$ac_ext <<_ACEOF
55810 /* end confdefs.h. */
55811 #include <math.h>
55813 main ()
55815 _copysign(0, 0);
55817 return 0;
55819 _ACEOF
55820 rm -f conftest.$ac_objext
55821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55822 (eval $ac_compile) 2>conftest.er1
55823 ac_status=$?
55824 grep -v '^ *+' conftest.er1 >conftest.err
55825 rm -f conftest.er1
55826 cat conftest.err >&5
55827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55828 (exit $ac_status); } &&
55829 { ac_try='test -z "$ac_cxx_werror_flag"
55830 || test ! -s conftest.err'
55831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55832 (eval $ac_try) 2>&5
55833 ac_status=$?
55834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55835 (exit $ac_status); }; } &&
55836 { ac_try='test -s conftest.$ac_objext'
55837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55838 (eval $ac_try) 2>&5
55839 ac_status=$?
55840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55841 (exit $ac_status); }; }; then
55842 glibcxx_cv_func__copysign_use=yes
55843 else
55844 echo "$as_me: failed program was:" >&5
55845 sed 's/^/| /' conftest.$ac_ext >&5
55847 glibcxx_cv_func__copysign_use=no
55849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55850 ac_ext=c
55851 ac_cpp='$CPP $CPPFLAGS'
55852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55861 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55863 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55865 for ac_func in _copysign
55867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55868 echo "$as_me:$LINENO: checking for $ac_func" >&5
55869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55870 if eval "test \"\${$as_ac_var+set}\" = set"; then
55871 echo $ECHO_N "(cached) $ECHO_C" >&6
55872 else
55873 if test x$gcc_no_link = xyes; then
55874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55876 { (exit 1); exit 1; }; }
55878 cat >conftest.$ac_ext <<_ACEOF
55879 /* confdefs.h. */
55880 _ACEOF
55881 cat confdefs.h >>conftest.$ac_ext
55882 cat >>conftest.$ac_ext <<_ACEOF
55883 /* end confdefs.h. */
55884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55886 #define $ac_func innocuous_$ac_func
55888 /* System header to define __stub macros and hopefully few prototypes,
55889 which can conflict with char $ac_func (); below.
55890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55891 <limits.h> exists even on freestanding compilers. */
55893 #ifdef __STDC__
55894 # include <limits.h>
55895 #else
55896 # include <assert.h>
55897 #endif
55899 #undef $ac_func
55901 /* Override any gcc2 internal prototype to avoid an error. */
55902 #ifdef __cplusplus
55903 extern "C"
55905 #endif
55906 /* We use char because int might match the return type of a gcc2
55907 builtin and then its argument prototype would still apply. */
55908 char $ac_func ();
55909 /* The GNU C library defines this for functions which it implements
55910 to always fail with ENOSYS. Some functions are actually named
55911 something starting with __ and the normal name is an alias. */
55912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55913 choke me
55914 #else
55915 char (*f) () = $ac_func;
55916 #endif
55917 #ifdef __cplusplus
55919 #endif
55922 main ()
55924 return f != $ac_func;
55926 return 0;
55928 _ACEOF
55929 rm -f conftest.$ac_objext conftest$ac_exeext
55930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55931 (eval $ac_link) 2>conftest.er1
55932 ac_status=$?
55933 grep -v '^ *+' conftest.er1 >conftest.err
55934 rm -f conftest.er1
55935 cat conftest.err >&5
55936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937 (exit $ac_status); } &&
55938 { ac_try='test -z "$ac_c_werror_flag"
55939 || test ! -s conftest.err'
55940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55941 (eval $ac_try) 2>&5
55942 ac_status=$?
55943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55944 (exit $ac_status); }; } &&
55945 { ac_try='test -s conftest$ac_exeext'
55946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55947 (eval $ac_try) 2>&5
55948 ac_status=$?
55949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55950 (exit $ac_status); }; }; then
55951 eval "$as_ac_var=yes"
55952 else
55953 echo "$as_me: failed program was:" >&5
55954 sed 's/^/| /' conftest.$ac_ext >&5
55956 eval "$as_ac_var=no"
55958 rm -f conftest.err conftest.$ac_objext \
55959 conftest$ac_exeext conftest.$ac_ext
55961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55963 if test `eval echo '${'$as_ac_var'}'` = yes; then
55964 cat >>confdefs.h <<_ACEOF
55965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55966 _ACEOF
55969 done
55979 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55980 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55981 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55982 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55983 echo $ECHO_N "(cached) $ECHO_C" >&6
55984 else
55988 ac_ext=cc
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994 cat >conftest.$ac_ext <<_ACEOF
55995 /* confdefs.h. */
55996 _ACEOF
55997 cat confdefs.h >>conftest.$ac_ext
55998 cat >>conftest.$ac_ext <<_ACEOF
55999 /* end confdefs.h. */
56000 #include <math.h>
56002 main ()
56004 sincos(0, 0, 0);
56006 return 0;
56008 _ACEOF
56009 rm -f conftest.$ac_objext
56010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56011 (eval $ac_compile) 2>conftest.er1
56012 ac_status=$?
56013 grep -v '^ *+' conftest.er1 >conftest.err
56014 rm -f conftest.er1
56015 cat conftest.err >&5
56016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56017 (exit $ac_status); } &&
56018 { ac_try='test -z "$ac_cxx_werror_flag"
56019 || test ! -s conftest.err'
56020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56021 (eval $ac_try) 2>&5
56022 ac_status=$?
56023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024 (exit $ac_status); }; } &&
56025 { ac_try='test -s conftest.$ac_objext'
56026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56027 (eval $ac_try) 2>&5
56028 ac_status=$?
56029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030 (exit $ac_status); }; }; then
56031 glibcxx_cv_func_sincos_use=yes
56032 else
56033 echo "$as_me: failed program was:" >&5
56034 sed 's/^/| /' conftest.$ac_ext >&5
56036 glibcxx_cv_func_sincos_use=no
56038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56039 ac_ext=c
56040 ac_cpp='$CPP $CPPFLAGS'
56041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56050 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56052 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56054 for ac_func in sincos
56056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56057 echo "$as_me:$LINENO: checking for $ac_func" >&5
56058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56059 if eval "test \"\${$as_ac_var+set}\" = set"; then
56060 echo $ECHO_N "(cached) $ECHO_C" >&6
56061 else
56062 if test x$gcc_no_link = xyes; then
56063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56065 { (exit 1); exit 1; }; }
56067 cat >conftest.$ac_ext <<_ACEOF
56068 /* confdefs.h. */
56069 _ACEOF
56070 cat confdefs.h >>conftest.$ac_ext
56071 cat >>conftest.$ac_ext <<_ACEOF
56072 /* end confdefs.h. */
56073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56075 #define $ac_func innocuous_$ac_func
56077 /* System header to define __stub macros and hopefully few prototypes,
56078 which can conflict with char $ac_func (); below.
56079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56080 <limits.h> exists even on freestanding compilers. */
56082 #ifdef __STDC__
56083 # include <limits.h>
56084 #else
56085 # include <assert.h>
56086 #endif
56088 #undef $ac_func
56090 /* Override any gcc2 internal prototype to avoid an error. */
56091 #ifdef __cplusplus
56092 extern "C"
56094 #endif
56095 /* We use char because int might match the return type of a gcc2
56096 builtin and then its argument prototype would still apply. */
56097 char $ac_func ();
56098 /* The GNU C library defines this for functions which it implements
56099 to always fail with ENOSYS. Some functions are actually named
56100 something starting with __ and the normal name is an alias. */
56101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56102 choke me
56103 #else
56104 char (*f) () = $ac_func;
56105 #endif
56106 #ifdef __cplusplus
56108 #endif
56111 main ()
56113 return f != $ac_func;
56115 return 0;
56117 _ACEOF
56118 rm -f conftest.$ac_objext conftest$ac_exeext
56119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56120 (eval $ac_link) 2>conftest.er1
56121 ac_status=$?
56122 grep -v '^ *+' conftest.er1 >conftest.err
56123 rm -f conftest.er1
56124 cat conftest.err >&5
56125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56126 (exit $ac_status); } &&
56127 { ac_try='test -z "$ac_c_werror_flag"
56128 || test ! -s conftest.err'
56129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56130 (eval $ac_try) 2>&5
56131 ac_status=$?
56132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133 (exit $ac_status); }; } &&
56134 { ac_try='test -s conftest$ac_exeext'
56135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56136 (eval $ac_try) 2>&5
56137 ac_status=$?
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); }; }; then
56140 eval "$as_ac_var=yes"
56141 else
56142 echo "$as_me: failed program was:" >&5
56143 sed 's/^/| /' conftest.$ac_ext >&5
56145 eval "$as_ac_var=no"
56147 rm -f conftest.err conftest.$ac_objext \
56148 conftest$ac_exeext conftest.$ac_ext
56150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56152 if test `eval echo '${'$as_ac_var'}'` = yes; then
56153 cat >>confdefs.h <<_ACEOF
56154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56155 _ACEOF
56158 done
56160 else
56162 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56163 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56164 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56165 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56166 echo $ECHO_N "(cached) $ECHO_C" >&6
56167 else
56171 ac_ext=cc
56172 ac_cpp='$CXXCPP $CPPFLAGS'
56173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56177 cat >conftest.$ac_ext <<_ACEOF
56178 /* confdefs.h. */
56179 _ACEOF
56180 cat confdefs.h >>conftest.$ac_ext
56181 cat >>conftest.$ac_ext <<_ACEOF
56182 /* end confdefs.h. */
56183 #include <math.h>
56185 main ()
56187 _sincos(0, 0, 0);
56189 return 0;
56191 _ACEOF
56192 rm -f conftest.$ac_objext
56193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56194 (eval $ac_compile) 2>conftest.er1
56195 ac_status=$?
56196 grep -v '^ *+' conftest.er1 >conftest.err
56197 rm -f conftest.er1
56198 cat conftest.err >&5
56199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56200 (exit $ac_status); } &&
56201 { ac_try='test -z "$ac_cxx_werror_flag"
56202 || test ! -s conftest.err'
56203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56204 (eval $ac_try) 2>&5
56205 ac_status=$?
56206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56207 (exit $ac_status); }; } &&
56208 { ac_try='test -s conftest.$ac_objext'
56209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56210 (eval $ac_try) 2>&5
56211 ac_status=$?
56212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56213 (exit $ac_status); }; }; then
56214 glibcxx_cv_func__sincos_use=yes
56215 else
56216 echo "$as_me: failed program was:" >&5
56217 sed 's/^/| /' conftest.$ac_ext >&5
56219 glibcxx_cv_func__sincos_use=no
56221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56222 ac_ext=c
56223 ac_cpp='$CPP $CPPFLAGS'
56224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56233 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56235 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56237 for ac_func in _sincos
56239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56240 echo "$as_me:$LINENO: checking for $ac_func" >&5
56241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56242 if eval "test \"\${$as_ac_var+set}\" = set"; then
56243 echo $ECHO_N "(cached) $ECHO_C" >&6
56244 else
56245 if test x$gcc_no_link = xyes; then
56246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56248 { (exit 1); exit 1; }; }
56250 cat >conftest.$ac_ext <<_ACEOF
56251 /* confdefs.h. */
56252 _ACEOF
56253 cat confdefs.h >>conftest.$ac_ext
56254 cat >>conftest.$ac_ext <<_ACEOF
56255 /* end confdefs.h. */
56256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56258 #define $ac_func innocuous_$ac_func
56260 /* System header to define __stub macros and hopefully few prototypes,
56261 which can conflict with char $ac_func (); below.
56262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56263 <limits.h> exists even on freestanding compilers. */
56265 #ifdef __STDC__
56266 # include <limits.h>
56267 #else
56268 # include <assert.h>
56269 #endif
56271 #undef $ac_func
56273 /* Override any gcc2 internal prototype to avoid an error. */
56274 #ifdef __cplusplus
56275 extern "C"
56277 #endif
56278 /* We use char because int might match the return type of a gcc2
56279 builtin and then its argument prototype would still apply. */
56280 char $ac_func ();
56281 /* The GNU C library defines this for functions which it implements
56282 to always fail with ENOSYS. Some functions are actually named
56283 something starting with __ and the normal name is an alias. */
56284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56285 choke me
56286 #else
56287 char (*f) () = $ac_func;
56288 #endif
56289 #ifdef __cplusplus
56291 #endif
56294 main ()
56296 return f != $ac_func;
56298 return 0;
56300 _ACEOF
56301 rm -f conftest.$ac_objext conftest$ac_exeext
56302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56303 (eval $ac_link) 2>conftest.er1
56304 ac_status=$?
56305 grep -v '^ *+' conftest.er1 >conftest.err
56306 rm -f conftest.er1
56307 cat conftest.err >&5
56308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56309 (exit $ac_status); } &&
56310 { ac_try='test -z "$ac_c_werror_flag"
56311 || test ! -s conftest.err'
56312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56313 (eval $ac_try) 2>&5
56314 ac_status=$?
56315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56316 (exit $ac_status); }; } &&
56317 { ac_try='test -s conftest$ac_exeext'
56318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56319 (eval $ac_try) 2>&5
56320 ac_status=$?
56321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56322 (exit $ac_status); }; }; then
56323 eval "$as_ac_var=yes"
56324 else
56325 echo "$as_me: failed program was:" >&5
56326 sed 's/^/| /' conftest.$ac_ext >&5
56328 eval "$as_ac_var=no"
56330 rm -f conftest.err conftest.$ac_objext \
56331 conftest$ac_exeext conftest.$ac_ext
56333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56335 if test `eval echo '${'$as_ac_var'}'` = yes; then
56336 cat >>confdefs.h <<_ACEOF
56337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56338 _ACEOF
56341 done
56351 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56352 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56353 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56354 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56355 echo $ECHO_N "(cached) $ECHO_C" >&6
56356 else
56360 ac_ext=cc
56361 ac_cpp='$CXXCPP $CPPFLAGS'
56362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56366 cat >conftest.$ac_ext <<_ACEOF
56367 /* confdefs.h. */
56368 _ACEOF
56369 cat confdefs.h >>conftest.$ac_ext
56370 cat >>conftest.$ac_ext <<_ACEOF
56371 /* end confdefs.h. */
56372 #include <math.h>
56373 #ifdef HAVE_IEEEFP_H
56374 #include <ieeefp.h>
56375 #endif
56378 main ()
56380 fpclass(0);
56382 return 0;
56384 _ACEOF
56385 rm -f conftest.$ac_objext
56386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56387 (eval $ac_compile) 2>conftest.er1
56388 ac_status=$?
56389 grep -v '^ *+' conftest.er1 >conftest.err
56390 rm -f conftest.er1
56391 cat conftest.err >&5
56392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56393 (exit $ac_status); } &&
56394 { ac_try='test -z "$ac_cxx_werror_flag"
56395 || test ! -s conftest.err'
56396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56397 (eval $ac_try) 2>&5
56398 ac_status=$?
56399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400 (exit $ac_status); }; } &&
56401 { ac_try='test -s conftest.$ac_objext'
56402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403 (eval $ac_try) 2>&5
56404 ac_status=$?
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); }; }; then
56407 glibcxx_cv_func_fpclass_use=yes
56408 else
56409 echo "$as_me: failed program was:" >&5
56410 sed 's/^/| /' conftest.$ac_ext >&5
56412 glibcxx_cv_func_fpclass_use=no
56414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56415 ac_ext=c
56416 ac_cpp='$CPP $CPPFLAGS'
56417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56426 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56428 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56430 for ac_func in fpclass
56432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56433 echo "$as_me:$LINENO: checking for $ac_func" >&5
56434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56435 if eval "test \"\${$as_ac_var+set}\" = set"; then
56436 echo $ECHO_N "(cached) $ECHO_C" >&6
56437 else
56438 if test x$gcc_no_link = xyes; then
56439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56441 { (exit 1); exit 1; }; }
56443 cat >conftest.$ac_ext <<_ACEOF
56444 /* confdefs.h. */
56445 _ACEOF
56446 cat confdefs.h >>conftest.$ac_ext
56447 cat >>conftest.$ac_ext <<_ACEOF
56448 /* end confdefs.h. */
56449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56451 #define $ac_func innocuous_$ac_func
56453 /* System header to define __stub macros and hopefully few prototypes,
56454 which can conflict with char $ac_func (); below.
56455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56456 <limits.h> exists even on freestanding compilers. */
56458 #ifdef __STDC__
56459 # include <limits.h>
56460 #else
56461 # include <assert.h>
56462 #endif
56464 #undef $ac_func
56466 /* Override any gcc2 internal prototype to avoid an error. */
56467 #ifdef __cplusplus
56468 extern "C"
56470 #endif
56471 /* We use char because int might match the return type of a gcc2
56472 builtin and then its argument prototype would still apply. */
56473 char $ac_func ();
56474 /* The GNU C library defines this for functions which it implements
56475 to always fail with ENOSYS. Some functions are actually named
56476 something starting with __ and the normal name is an alias. */
56477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56478 choke me
56479 #else
56480 char (*f) () = $ac_func;
56481 #endif
56482 #ifdef __cplusplus
56484 #endif
56487 main ()
56489 return f != $ac_func;
56491 return 0;
56493 _ACEOF
56494 rm -f conftest.$ac_objext conftest$ac_exeext
56495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56496 (eval $ac_link) 2>conftest.er1
56497 ac_status=$?
56498 grep -v '^ *+' conftest.er1 >conftest.err
56499 rm -f conftest.er1
56500 cat conftest.err >&5
56501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502 (exit $ac_status); } &&
56503 { ac_try='test -z "$ac_c_werror_flag"
56504 || test ! -s conftest.err'
56505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56506 (eval $ac_try) 2>&5
56507 ac_status=$?
56508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509 (exit $ac_status); }; } &&
56510 { ac_try='test -s conftest$ac_exeext'
56511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56512 (eval $ac_try) 2>&5
56513 ac_status=$?
56514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515 (exit $ac_status); }; }; then
56516 eval "$as_ac_var=yes"
56517 else
56518 echo "$as_me: failed program was:" >&5
56519 sed 's/^/| /' conftest.$ac_ext >&5
56521 eval "$as_ac_var=no"
56523 rm -f conftest.err conftest.$ac_objext \
56524 conftest$ac_exeext conftest.$ac_ext
56526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56528 if test `eval echo '${'$as_ac_var'}'` = yes; then
56529 cat >>confdefs.h <<_ACEOF
56530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56531 _ACEOF
56534 done
56536 else
56538 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56539 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56540 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56541 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56542 echo $ECHO_N "(cached) $ECHO_C" >&6
56543 else
56547 ac_ext=cc
56548 ac_cpp='$CXXCPP $CPPFLAGS'
56549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56553 cat >conftest.$ac_ext <<_ACEOF
56554 /* confdefs.h. */
56555 _ACEOF
56556 cat confdefs.h >>conftest.$ac_ext
56557 cat >>conftest.$ac_ext <<_ACEOF
56558 /* end confdefs.h. */
56559 #include <math.h>
56560 #ifdef HAVE_IEEEFP_H
56561 #include <ieeefp.h>
56562 #endif
56565 main ()
56567 _fpclass(0);
56569 return 0;
56571 _ACEOF
56572 rm -f conftest.$ac_objext
56573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56574 (eval $ac_compile) 2>conftest.er1
56575 ac_status=$?
56576 grep -v '^ *+' conftest.er1 >conftest.err
56577 rm -f conftest.er1
56578 cat conftest.err >&5
56579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56580 (exit $ac_status); } &&
56581 { ac_try='test -z "$ac_cxx_werror_flag"
56582 || test ! -s conftest.err'
56583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56584 (eval $ac_try) 2>&5
56585 ac_status=$?
56586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56587 (exit $ac_status); }; } &&
56588 { ac_try='test -s conftest.$ac_objext'
56589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590 (eval $ac_try) 2>&5
56591 ac_status=$?
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); }; }; then
56594 glibcxx_cv_func__fpclass_use=yes
56595 else
56596 echo "$as_me: failed program was:" >&5
56597 sed 's/^/| /' conftest.$ac_ext >&5
56599 glibcxx_cv_func__fpclass_use=no
56601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56602 ac_ext=c
56603 ac_cpp='$CPP $CPPFLAGS'
56604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56613 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56615 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56617 for ac_func in _fpclass
56619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56620 echo "$as_me:$LINENO: checking for $ac_func" >&5
56621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56622 if eval "test \"\${$as_ac_var+set}\" = set"; then
56623 echo $ECHO_N "(cached) $ECHO_C" >&6
56624 else
56625 if test x$gcc_no_link = xyes; then
56626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56628 { (exit 1); exit 1; }; }
56630 cat >conftest.$ac_ext <<_ACEOF
56631 /* confdefs.h. */
56632 _ACEOF
56633 cat confdefs.h >>conftest.$ac_ext
56634 cat >>conftest.$ac_ext <<_ACEOF
56635 /* end confdefs.h. */
56636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56638 #define $ac_func innocuous_$ac_func
56640 /* System header to define __stub macros and hopefully few prototypes,
56641 which can conflict with char $ac_func (); below.
56642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56643 <limits.h> exists even on freestanding compilers. */
56645 #ifdef __STDC__
56646 # include <limits.h>
56647 #else
56648 # include <assert.h>
56649 #endif
56651 #undef $ac_func
56653 /* Override any gcc2 internal prototype to avoid an error. */
56654 #ifdef __cplusplus
56655 extern "C"
56657 #endif
56658 /* We use char because int might match the return type of a gcc2
56659 builtin and then its argument prototype would still apply. */
56660 char $ac_func ();
56661 /* The GNU C library defines this for functions which it implements
56662 to always fail with ENOSYS. Some functions are actually named
56663 something starting with __ and the normal name is an alias. */
56664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56665 choke me
56666 #else
56667 char (*f) () = $ac_func;
56668 #endif
56669 #ifdef __cplusplus
56671 #endif
56674 main ()
56676 return f != $ac_func;
56678 return 0;
56680 _ACEOF
56681 rm -f conftest.$ac_objext conftest$ac_exeext
56682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56683 (eval $ac_link) 2>conftest.er1
56684 ac_status=$?
56685 grep -v '^ *+' conftest.er1 >conftest.err
56686 rm -f conftest.er1
56687 cat conftest.err >&5
56688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689 (exit $ac_status); } &&
56690 { ac_try='test -z "$ac_c_werror_flag"
56691 || test ! -s conftest.err'
56692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56693 (eval $ac_try) 2>&5
56694 ac_status=$?
56695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56696 (exit $ac_status); }; } &&
56697 { ac_try='test -s conftest$ac_exeext'
56698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56699 (eval $ac_try) 2>&5
56700 ac_status=$?
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); }; }; then
56703 eval "$as_ac_var=yes"
56704 else
56705 echo "$as_me: failed program was:" >&5
56706 sed 's/^/| /' conftest.$ac_ext >&5
56708 eval "$as_ac_var=no"
56710 rm -f conftest.err conftest.$ac_objext \
56711 conftest$ac_exeext conftest.$ac_ext
56713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56715 if test `eval echo '${'$as_ac_var'}'` = yes; then
56716 cat >>confdefs.h <<_ACEOF
56717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56718 _ACEOF
56721 done
56731 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56732 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56733 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56734 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56735 echo $ECHO_N "(cached) $ECHO_C" >&6
56736 else
56740 ac_ext=cc
56741 ac_cpp='$CXXCPP $CPPFLAGS'
56742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56746 cat >conftest.$ac_ext <<_ACEOF
56747 /* confdefs.h. */
56748 _ACEOF
56749 cat confdefs.h >>conftest.$ac_ext
56750 cat >>conftest.$ac_ext <<_ACEOF
56751 /* end confdefs.h. */
56752 #include <math.h>
56753 #ifdef HAVE_IEEEFP_H
56754 #include <ieeefp.h>
56755 #endif
56758 main ()
56760 qfpclass(0);
56762 return 0;
56764 _ACEOF
56765 rm -f conftest.$ac_objext
56766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56767 (eval $ac_compile) 2>conftest.er1
56768 ac_status=$?
56769 grep -v '^ *+' conftest.er1 >conftest.err
56770 rm -f conftest.er1
56771 cat conftest.err >&5
56772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56773 (exit $ac_status); } &&
56774 { ac_try='test -z "$ac_cxx_werror_flag"
56775 || test ! -s conftest.err'
56776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56777 (eval $ac_try) 2>&5
56778 ac_status=$?
56779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780 (exit $ac_status); }; } &&
56781 { ac_try='test -s conftest.$ac_objext'
56782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56783 (eval $ac_try) 2>&5
56784 ac_status=$?
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); }; }; then
56787 glibcxx_cv_func_qfpclass_use=yes
56788 else
56789 echo "$as_me: failed program was:" >&5
56790 sed 's/^/| /' conftest.$ac_ext >&5
56792 glibcxx_cv_func_qfpclass_use=no
56794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56795 ac_ext=c
56796 ac_cpp='$CPP $CPPFLAGS'
56797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56806 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56808 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56810 for ac_func in qfpclass
56812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56813 echo "$as_me:$LINENO: checking for $ac_func" >&5
56814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56815 if eval "test \"\${$as_ac_var+set}\" = set"; then
56816 echo $ECHO_N "(cached) $ECHO_C" >&6
56817 else
56818 if test x$gcc_no_link = xyes; then
56819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56821 { (exit 1); exit 1; }; }
56823 cat >conftest.$ac_ext <<_ACEOF
56824 /* confdefs.h. */
56825 _ACEOF
56826 cat confdefs.h >>conftest.$ac_ext
56827 cat >>conftest.$ac_ext <<_ACEOF
56828 /* end confdefs.h. */
56829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56831 #define $ac_func innocuous_$ac_func
56833 /* System header to define __stub macros and hopefully few prototypes,
56834 which can conflict with char $ac_func (); below.
56835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56836 <limits.h> exists even on freestanding compilers. */
56838 #ifdef __STDC__
56839 # include <limits.h>
56840 #else
56841 # include <assert.h>
56842 #endif
56844 #undef $ac_func
56846 /* Override any gcc2 internal prototype to avoid an error. */
56847 #ifdef __cplusplus
56848 extern "C"
56850 #endif
56851 /* We use char because int might match the return type of a gcc2
56852 builtin and then its argument prototype would still apply. */
56853 char $ac_func ();
56854 /* The GNU C library defines this for functions which it implements
56855 to always fail with ENOSYS. Some functions are actually named
56856 something starting with __ and the normal name is an alias. */
56857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56858 choke me
56859 #else
56860 char (*f) () = $ac_func;
56861 #endif
56862 #ifdef __cplusplus
56864 #endif
56867 main ()
56869 return f != $ac_func;
56871 return 0;
56873 _ACEOF
56874 rm -f conftest.$ac_objext conftest$ac_exeext
56875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56876 (eval $ac_link) 2>conftest.er1
56877 ac_status=$?
56878 grep -v '^ *+' conftest.er1 >conftest.err
56879 rm -f conftest.er1
56880 cat conftest.err >&5
56881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56882 (exit $ac_status); } &&
56883 { ac_try='test -z "$ac_c_werror_flag"
56884 || test ! -s conftest.err'
56885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56886 (eval $ac_try) 2>&5
56887 ac_status=$?
56888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56889 (exit $ac_status); }; } &&
56890 { ac_try='test -s conftest$ac_exeext'
56891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56892 (eval $ac_try) 2>&5
56893 ac_status=$?
56894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56895 (exit $ac_status); }; }; then
56896 eval "$as_ac_var=yes"
56897 else
56898 echo "$as_me: failed program was:" >&5
56899 sed 's/^/| /' conftest.$ac_ext >&5
56901 eval "$as_ac_var=no"
56903 rm -f conftest.err conftest.$ac_objext \
56904 conftest$ac_exeext conftest.$ac_ext
56906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56908 if test `eval echo '${'$as_ac_var'}'` = yes; then
56909 cat >>confdefs.h <<_ACEOF
56910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56911 _ACEOF
56914 done
56916 else
56918 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56919 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56920 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56921 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56922 echo $ECHO_N "(cached) $ECHO_C" >&6
56923 else
56927 ac_ext=cc
56928 ac_cpp='$CXXCPP $CPPFLAGS'
56929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56933 cat >conftest.$ac_ext <<_ACEOF
56934 /* confdefs.h. */
56935 _ACEOF
56936 cat confdefs.h >>conftest.$ac_ext
56937 cat >>conftest.$ac_ext <<_ACEOF
56938 /* end confdefs.h. */
56939 #include <math.h>
56940 #ifdef HAVE_IEEEFP_H
56941 #include <ieeefp.h>
56942 #endif
56945 main ()
56947 _qfpclass(0);
56949 return 0;
56951 _ACEOF
56952 rm -f conftest.$ac_objext
56953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56954 (eval $ac_compile) 2>conftest.er1
56955 ac_status=$?
56956 grep -v '^ *+' conftest.er1 >conftest.err
56957 rm -f conftest.er1
56958 cat conftest.err >&5
56959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56960 (exit $ac_status); } &&
56961 { ac_try='test -z "$ac_cxx_werror_flag"
56962 || test ! -s conftest.err'
56963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56964 (eval $ac_try) 2>&5
56965 ac_status=$?
56966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56967 (exit $ac_status); }; } &&
56968 { ac_try='test -s conftest.$ac_objext'
56969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56970 (eval $ac_try) 2>&5
56971 ac_status=$?
56972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973 (exit $ac_status); }; }; then
56974 glibcxx_cv_func__qfpclass_use=yes
56975 else
56976 echo "$as_me: failed program was:" >&5
56977 sed 's/^/| /' conftest.$ac_ext >&5
56979 glibcxx_cv_func__qfpclass_use=no
56981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56982 ac_ext=c
56983 ac_cpp='$CPP $CPPFLAGS'
56984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56993 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56995 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56997 for ac_func in _qfpclass
56999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57000 echo "$as_me:$LINENO: checking for $ac_func" >&5
57001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57002 if eval "test \"\${$as_ac_var+set}\" = set"; then
57003 echo $ECHO_N "(cached) $ECHO_C" >&6
57004 else
57005 if test x$gcc_no_link = xyes; then
57006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57008 { (exit 1); exit 1; }; }
57010 cat >conftest.$ac_ext <<_ACEOF
57011 /* confdefs.h. */
57012 _ACEOF
57013 cat confdefs.h >>conftest.$ac_ext
57014 cat >>conftest.$ac_ext <<_ACEOF
57015 /* end confdefs.h. */
57016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57018 #define $ac_func innocuous_$ac_func
57020 /* System header to define __stub macros and hopefully few prototypes,
57021 which can conflict with char $ac_func (); below.
57022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57023 <limits.h> exists even on freestanding compilers. */
57025 #ifdef __STDC__
57026 # include <limits.h>
57027 #else
57028 # include <assert.h>
57029 #endif
57031 #undef $ac_func
57033 /* Override any gcc2 internal prototype to avoid an error. */
57034 #ifdef __cplusplus
57035 extern "C"
57037 #endif
57038 /* We use char because int might match the return type of a gcc2
57039 builtin and then its argument prototype would still apply. */
57040 char $ac_func ();
57041 /* The GNU C library defines this for functions which it implements
57042 to always fail with ENOSYS. Some functions are actually named
57043 something starting with __ and the normal name is an alias. */
57044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57045 choke me
57046 #else
57047 char (*f) () = $ac_func;
57048 #endif
57049 #ifdef __cplusplus
57051 #endif
57054 main ()
57056 return f != $ac_func;
57058 return 0;
57060 _ACEOF
57061 rm -f conftest.$ac_objext conftest$ac_exeext
57062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57063 (eval $ac_link) 2>conftest.er1
57064 ac_status=$?
57065 grep -v '^ *+' conftest.er1 >conftest.err
57066 rm -f conftest.er1
57067 cat conftest.err >&5
57068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57069 (exit $ac_status); } &&
57070 { ac_try='test -z "$ac_c_werror_flag"
57071 || test ! -s conftest.err'
57072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57073 (eval $ac_try) 2>&5
57074 ac_status=$?
57075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57076 (exit $ac_status); }; } &&
57077 { ac_try='test -s conftest$ac_exeext'
57078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57079 (eval $ac_try) 2>&5
57080 ac_status=$?
57081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57082 (exit $ac_status); }; }; then
57083 eval "$as_ac_var=yes"
57084 else
57085 echo "$as_me: failed program was:" >&5
57086 sed 's/^/| /' conftest.$ac_ext >&5
57088 eval "$as_ac_var=no"
57090 rm -f conftest.err conftest.$ac_objext \
57091 conftest$ac_exeext conftest.$ac_ext
57093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57095 if test `eval echo '${'$as_ac_var'}'` = yes; then
57096 cat >>confdefs.h <<_ACEOF
57097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57098 _ACEOF
57101 done
57111 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57112 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57113 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57114 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57115 echo $ECHO_N "(cached) $ECHO_C" >&6
57116 else
57120 ac_ext=cc
57121 ac_cpp='$CXXCPP $CPPFLAGS'
57122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57126 cat >conftest.$ac_ext <<_ACEOF
57127 /* confdefs.h. */
57128 _ACEOF
57129 cat confdefs.h >>conftest.$ac_ext
57130 cat >>conftest.$ac_ext <<_ACEOF
57131 /* end confdefs.h. */
57132 #include <math.h>
57134 main ()
57136 hypot(0, 0);
57138 return 0;
57140 _ACEOF
57141 rm -f conftest.$ac_objext
57142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57143 (eval $ac_compile) 2>conftest.er1
57144 ac_status=$?
57145 grep -v '^ *+' conftest.er1 >conftest.err
57146 rm -f conftest.er1
57147 cat conftest.err >&5
57148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57149 (exit $ac_status); } &&
57150 { ac_try='test -z "$ac_cxx_werror_flag"
57151 || test ! -s conftest.err'
57152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57153 (eval $ac_try) 2>&5
57154 ac_status=$?
57155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156 (exit $ac_status); }; } &&
57157 { ac_try='test -s conftest.$ac_objext'
57158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57159 (eval $ac_try) 2>&5
57160 ac_status=$?
57161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57162 (exit $ac_status); }; }; then
57163 glibcxx_cv_func_hypot_use=yes
57164 else
57165 echo "$as_me: failed program was:" >&5
57166 sed 's/^/| /' conftest.$ac_ext >&5
57168 glibcxx_cv_func_hypot_use=no
57170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57171 ac_ext=c
57172 ac_cpp='$CPP $CPPFLAGS'
57173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57182 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57184 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57186 for ac_func in hypot
57188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57189 echo "$as_me:$LINENO: checking for $ac_func" >&5
57190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57191 if eval "test \"\${$as_ac_var+set}\" = set"; then
57192 echo $ECHO_N "(cached) $ECHO_C" >&6
57193 else
57194 if test x$gcc_no_link = xyes; then
57195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57197 { (exit 1); exit 1; }; }
57199 cat >conftest.$ac_ext <<_ACEOF
57200 /* confdefs.h. */
57201 _ACEOF
57202 cat confdefs.h >>conftest.$ac_ext
57203 cat >>conftest.$ac_ext <<_ACEOF
57204 /* end confdefs.h. */
57205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57207 #define $ac_func innocuous_$ac_func
57209 /* System header to define __stub macros and hopefully few prototypes,
57210 which can conflict with char $ac_func (); below.
57211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57212 <limits.h> exists even on freestanding compilers. */
57214 #ifdef __STDC__
57215 # include <limits.h>
57216 #else
57217 # include <assert.h>
57218 #endif
57220 #undef $ac_func
57222 /* Override any gcc2 internal prototype to avoid an error. */
57223 #ifdef __cplusplus
57224 extern "C"
57226 #endif
57227 /* We use char because int might match the return type of a gcc2
57228 builtin and then its argument prototype would still apply. */
57229 char $ac_func ();
57230 /* The GNU C library defines this for functions which it implements
57231 to always fail with ENOSYS. Some functions are actually named
57232 something starting with __ and the normal name is an alias. */
57233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57234 choke me
57235 #else
57236 char (*f) () = $ac_func;
57237 #endif
57238 #ifdef __cplusplus
57240 #endif
57243 main ()
57245 return f != $ac_func;
57247 return 0;
57249 _ACEOF
57250 rm -f conftest.$ac_objext conftest$ac_exeext
57251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57252 (eval $ac_link) 2>conftest.er1
57253 ac_status=$?
57254 grep -v '^ *+' conftest.er1 >conftest.err
57255 rm -f conftest.er1
57256 cat conftest.err >&5
57257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57258 (exit $ac_status); } &&
57259 { ac_try='test -z "$ac_c_werror_flag"
57260 || test ! -s conftest.err'
57261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57262 (eval $ac_try) 2>&5
57263 ac_status=$?
57264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265 (exit $ac_status); }; } &&
57266 { ac_try='test -s conftest$ac_exeext'
57267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57268 (eval $ac_try) 2>&5
57269 ac_status=$?
57270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57271 (exit $ac_status); }; }; then
57272 eval "$as_ac_var=yes"
57273 else
57274 echo "$as_me: failed program was:" >&5
57275 sed 's/^/| /' conftest.$ac_ext >&5
57277 eval "$as_ac_var=no"
57279 rm -f conftest.err conftest.$ac_objext \
57280 conftest$ac_exeext conftest.$ac_ext
57282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57284 if test `eval echo '${'$as_ac_var'}'` = yes; then
57285 cat >>confdefs.h <<_ACEOF
57286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57287 _ACEOF
57290 done
57292 else
57294 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57295 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57296 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57297 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57298 echo $ECHO_N "(cached) $ECHO_C" >&6
57299 else
57303 ac_ext=cc
57304 ac_cpp='$CXXCPP $CPPFLAGS'
57305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57309 cat >conftest.$ac_ext <<_ACEOF
57310 /* confdefs.h. */
57311 _ACEOF
57312 cat confdefs.h >>conftest.$ac_ext
57313 cat >>conftest.$ac_ext <<_ACEOF
57314 /* end confdefs.h. */
57315 #include <math.h>
57317 main ()
57319 _hypot(0, 0);
57321 return 0;
57323 _ACEOF
57324 rm -f conftest.$ac_objext
57325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57326 (eval $ac_compile) 2>conftest.er1
57327 ac_status=$?
57328 grep -v '^ *+' conftest.er1 >conftest.err
57329 rm -f conftest.er1
57330 cat conftest.err >&5
57331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57332 (exit $ac_status); } &&
57333 { ac_try='test -z "$ac_cxx_werror_flag"
57334 || test ! -s conftest.err'
57335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57336 (eval $ac_try) 2>&5
57337 ac_status=$?
57338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57339 (exit $ac_status); }; } &&
57340 { ac_try='test -s conftest.$ac_objext'
57341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57342 (eval $ac_try) 2>&5
57343 ac_status=$?
57344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345 (exit $ac_status); }; }; then
57346 glibcxx_cv_func__hypot_use=yes
57347 else
57348 echo "$as_me: failed program was:" >&5
57349 sed 's/^/| /' conftest.$ac_ext >&5
57351 glibcxx_cv_func__hypot_use=no
57353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57354 ac_ext=c
57355 ac_cpp='$CPP $CPPFLAGS'
57356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57365 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57367 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57369 for ac_func in _hypot
57371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57372 echo "$as_me:$LINENO: checking for $ac_func" >&5
57373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57374 if eval "test \"\${$as_ac_var+set}\" = set"; then
57375 echo $ECHO_N "(cached) $ECHO_C" >&6
57376 else
57377 if test x$gcc_no_link = xyes; then
57378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57380 { (exit 1); exit 1; }; }
57382 cat >conftest.$ac_ext <<_ACEOF
57383 /* confdefs.h. */
57384 _ACEOF
57385 cat confdefs.h >>conftest.$ac_ext
57386 cat >>conftest.$ac_ext <<_ACEOF
57387 /* end confdefs.h. */
57388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57390 #define $ac_func innocuous_$ac_func
57392 /* System header to define __stub macros and hopefully few prototypes,
57393 which can conflict with char $ac_func (); below.
57394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57395 <limits.h> exists even on freestanding compilers. */
57397 #ifdef __STDC__
57398 # include <limits.h>
57399 #else
57400 # include <assert.h>
57401 #endif
57403 #undef $ac_func
57405 /* Override any gcc2 internal prototype to avoid an error. */
57406 #ifdef __cplusplus
57407 extern "C"
57409 #endif
57410 /* We use char because int might match the return type of a gcc2
57411 builtin and then its argument prototype would still apply. */
57412 char $ac_func ();
57413 /* The GNU C library defines this for functions which it implements
57414 to always fail with ENOSYS. Some functions are actually named
57415 something starting with __ and the normal name is an alias. */
57416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57417 choke me
57418 #else
57419 char (*f) () = $ac_func;
57420 #endif
57421 #ifdef __cplusplus
57423 #endif
57426 main ()
57428 return f != $ac_func;
57430 return 0;
57432 _ACEOF
57433 rm -f conftest.$ac_objext conftest$ac_exeext
57434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57435 (eval $ac_link) 2>conftest.er1
57436 ac_status=$?
57437 grep -v '^ *+' conftest.er1 >conftest.err
57438 rm -f conftest.er1
57439 cat conftest.err >&5
57440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57441 (exit $ac_status); } &&
57442 { ac_try='test -z "$ac_c_werror_flag"
57443 || test ! -s conftest.err'
57444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57445 (eval $ac_try) 2>&5
57446 ac_status=$?
57447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57448 (exit $ac_status); }; } &&
57449 { ac_try='test -s conftest$ac_exeext'
57450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57451 (eval $ac_try) 2>&5
57452 ac_status=$?
57453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57454 (exit $ac_status); }; }; then
57455 eval "$as_ac_var=yes"
57456 else
57457 echo "$as_me: failed program was:" >&5
57458 sed 's/^/| /' conftest.$ac_ext >&5
57460 eval "$as_ac_var=no"
57462 rm -f conftest.err conftest.$ac_objext \
57463 conftest$ac_exeext conftest.$ac_ext
57465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57467 if test `eval echo '${'$as_ac_var'}'` = yes; then
57468 cat >>confdefs.h <<_ACEOF
57469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57470 _ACEOF
57473 done
57483 echo "$as_me:$LINENO: checking for float trig functions" >&5
57484 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57485 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57486 echo $ECHO_N "(cached) $ECHO_C" >&6
57487 else
57491 ac_ext=cc
57492 ac_cpp='$CXXCPP $CPPFLAGS'
57493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57497 cat >conftest.$ac_ext <<_ACEOF
57498 /* confdefs.h. */
57499 _ACEOF
57500 cat confdefs.h >>conftest.$ac_ext
57501 cat >>conftest.$ac_ext <<_ACEOF
57502 /* end confdefs.h. */
57503 #include <math.h>
57505 main ()
57507 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57509 return 0;
57511 _ACEOF
57512 rm -f conftest.$ac_objext
57513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57514 (eval $ac_compile) 2>conftest.er1
57515 ac_status=$?
57516 grep -v '^ *+' conftest.er1 >conftest.err
57517 rm -f conftest.er1
57518 cat conftest.err >&5
57519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57520 (exit $ac_status); } &&
57521 { ac_try='test -z "$ac_cxx_werror_flag"
57522 || test ! -s conftest.err'
57523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57524 (eval $ac_try) 2>&5
57525 ac_status=$?
57526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57527 (exit $ac_status); }; } &&
57528 { ac_try='test -s conftest.$ac_objext'
57529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57530 (eval $ac_try) 2>&5
57531 ac_status=$?
57532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57533 (exit $ac_status); }; }; then
57534 glibcxx_cv_func_float_trig_use=yes
57535 else
57536 echo "$as_me: failed program was:" >&5
57537 sed 's/^/| /' conftest.$ac_ext >&5
57539 glibcxx_cv_func_float_trig_use=no
57541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57542 ac_ext=c
57543 ac_cpp='$CPP $CPPFLAGS'
57544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57551 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57552 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57562 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57565 echo "$as_me:$LINENO: checking for $ac_func" >&5
57566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57567 if eval "test \"\${$as_ac_var+set}\" = set"; then
57568 echo $ECHO_N "(cached) $ECHO_C" >&6
57569 else
57570 if test x$gcc_no_link = xyes; then
57571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57573 { (exit 1); exit 1; }; }
57575 cat >conftest.$ac_ext <<_ACEOF
57576 /* confdefs.h. */
57577 _ACEOF
57578 cat confdefs.h >>conftest.$ac_ext
57579 cat >>conftest.$ac_ext <<_ACEOF
57580 /* end confdefs.h. */
57581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57583 #define $ac_func innocuous_$ac_func
57585 /* System header to define __stub macros and hopefully few prototypes,
57586 which can conflict with char $ac_func (); below.
57587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57588 <limits.h> exists even on freestanding compilers. */
57590 #ifdef __STDC__
57591 # include <limits.h>
57592 #else
57593 # include <assert.h>
57594 #endif
57596 #undef $ac_func
57598 /* Override any gcc2 internal prototype to avoid an error. */
57599 #ifdef __cplusplus
57600 extern "C"
57602 #endif
57603 /* We use char because int might match the return type of a gcc2
57604 builtin and then its argument prototype would still apply. */
57605 char $ac_func ();
57606 /* The GNU C library defines this for functions which it implements
57607 to always fail with ENOSYS. Some functions are actually named
57608 something starting with __ and the normal name is an alias. */
57609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57610 choke me
57611 #else
57612 char (*f) () = $ac_func;
57613 #endif
57614 #ifdef __cplusplus
57616 #endif
57619 main ()
57621 return f != $ac_func;
57623 return 0;
57625 _ACEOF
57626 rm -f conftest.$ac_objext conftest$ac_exeext
57627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57628 (eval $ac_link) 2>conftest.er1
57629 ac_status=$?
57630 grep -v '^ *+' conftest.er1 >conftest.err
57631 rm -f conftest.er1
57632 cat conftest.err >&5
57633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634 (exit $ac_status); } &&
57635 { ac_try='test -z "$ac_c_werror_flag"
57636 || test ! -s conftest.err'
57637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57638 (eval $ac_try) 2>&5
57639 ac_status=$?
57640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57641 (exit $ac_status); }; } &&
57642 { ac_try='test -s conftest$ac_exeext'
57643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57644 (eval $ac_try) 2>&5
57645 ac_status=$?
57646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57647 (exit $ac_status); }; }; then
57648 eval "$as_ac_var=yes"
57649 else
57650 echo "$as_me: failed program was:" >&5
57651 sed 's/^/| /' conftest.$ac_ext >&5
57653 eval "$as_ac_var=no"
57655 rm -f conftest.err conftest.$ac_objext \
57656 conftest$ac_exeext conftest.$ac_ext
57658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57660 if test `eval echo '${'$as_ac_var'}'` = yes; then
57661 cat >>confdefs.h <<_ACEOF
57662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57663 _ACEOF
57666 done
57668 else
57669 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57670 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57671 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57672 echo $ECHO_N "(cached) $ECHO_C" >&6
57673 else
57677 ac_ext=cc
57678 ac_cpp='$CXXCPP $CPPFLAGS'
57679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57683 cat >conftest.$ac_ext <<_ACEOF
57684 /* confdefs.h. */
57685 _ACEOF
57686 cat confdefs.h >>conftest.$ac_ext
57687 cat >>conftest.$ac_ext <<_ACEOF
57688 /* end confdefs.h. */
57689 #include <math.h>
57691 main ()
57693 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57695 return 0;
57697 _ACEOF
57698 rm -f conftest.$ac_objext
57699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57700 (eval $ac_compile) 2>conftest.er1
57701 ac_status=$?
57702 grep -v '^ *+' conftest.er1 >conftest.err
57703 rm -f conftest.er1
57704 cat conftest.err >&5
57705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57706 (exit $ac_status); } &&
57707 { ac_try='test -z "$ac_cxx_werror_flag"
57708 || test ! -s conftest.err'
57709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57710 (eval $ac_try) 2>&5
57711 ac_status=$?
57712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713 (exit $ac_status); }; } &&
57714 { ac_try='test -s conftest.$ac_objext'
57715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57716 (eval $ac_try) 2>&5
57717 ac_status=$?
57718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57719 (exit $ac_status); }; }; then
57720 glibcxx_cv_func__float_trig_use=yes
57721 else
57722 echo "$as_me: failed program was:" >&5
57723 sed 's/^/| /' conftest.$ac_ext >&5
57725 glibcxx_cv_func__float_trig_use=no
57727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57728 ac_ext=c
57729 ac_cpp='$CPP $CPPFLAGS'
57730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57737 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57738 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57748 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57751 echo "$as_me:$LINENO: checking for $ac_func" >&5
57752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57753 if eval "test \"\${$as_ac_var+set}\" = set"; then
57754 echo $ECHO_N "(cached) $ECHO_C" >&6
57755 else
57756 if test x$gcc_no_link = xyes; then
57757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57759 { (exit 1); exit 1; }; }
57761 cat >conftest.$ac_ext <<_ACEOF
57762 /* confdefs.h. */
57763 _ACEOF
57764 cat confdefs.h >>conftest.$ac_ext
57765 cat >>conftest.$ac_ext <<_ACEOF
57766 /* end confdefs.h. */
57767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57769 #define $ac_func innocuous_$ac_func
57771 /* System header to define __stub macros and hopefully few prototypes,
57772 which can conflict with char $ac_func (); below.
57773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57774 <limits.h> exists even on freestanding compilers. */
57776 #ifdef __STDC__
57777 # include <limits.h>
57778 #else
57779 # include <assert.h>
57780 #endif
57782 #undef $ac_func
57784 /* Override any gcc2 internal prototype to avoid an error. */
57785 #ifdef __cplusplus
57786 extern "C"
57788 #endif
57789 /* We use char because int might match the return type of a gcc2
57790 builtin and then its argument prototype would still apply. */
57791 char $ac_func ();
57792 /* The GNU C library defines this for functions which it implements
57793 to always fail with ENOSYS. Some functions are actually named
57794 something starting with __ and the normal name is an alias. */
57795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57796 choke me
57797 #else
57798 char (*f) () = $ac_func;
57799 #endif
57800 #ifdef __cplusplus
57802 #endif
57805 main ()
57807 return f != $ac_func;
57809 return 0;
57811 _ACEOF
57812 rm -f conftest.$ac_objext conftest$ac_exeext
57813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57814 (eval $ac_link) 2>conftest.er1
57815 ac_status=$?
57816 grep -v '^ *+' conftest.er1 >conftest.err
57817 rm -f conftest.er1
57818 cat conftest.err >&5
57819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820 (exit $ac_status); } &&
57821 { ac_try='test -z "$ac_c_werror_flag"
57822 || test ! -s conftest.err'
57823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57824 (eval $ac_try) 2>&5
57825 ac_status=$?
57826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57827 (exit $ac_status); }; } &&
57828 { ac_try='test -s conftest$ac_exeext'
57829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57830 (eval $ac_try) 2>&5
57831 ac_status=$?
57832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833 (exit $ac_status); }; }; then
57834 eval "$as_ac_var=yes"
57835 else
57836 echo "$as_me: failed program was:" >&5
57837 sed 's/^/| /' conftest.$ac_ext >&5
57839 eval "$as_ac_var=no"
57841 rm -f conftest.err conftest.$ac_objext \
57842 conftest$ac_exeext conftest.$ac_ext
57844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57846 if test `eval echo '${'$as_ac_var'}'` = yes; then
57847 cat >>confdefs.h <<_ACEOF
57848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57849 _ACEOF
57852 done
57870 echo "$as_me:$LINENO: checking for float round functions" >&5
57871 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57872 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57873 echo $ECHO_N "(cached) $ECHO_C" >&6
57874 else
57878 ac_ext=cc
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat >conftest.$ac_ext <<_ACEOF
57885 /* confdefs.h. */
57886 _ACEOF
57887 cat confdefs.h >>conftest.$ac_ext
57888 cat >>conftest.$ac_ext <<_ACEOF
57889 /* end confdefs.h. */
57890 #include <math.h>
57892 main ()
57894 ceilf (0); floorf (0);
57896 return 0;
57898 _ACEOF
57899 rm -f conftest.$ac_objext
57900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57901 (eval $ac_compile) 2>conftest.er1
57902 ac_status=$?
57903 grep -v '^ *+' conftest.er1 >conftest.err
57904 rm -f conftest.er1
57905 cat conftest.err >&5
57906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57907 (exit $ac_status); } &&
57908 { ac_try='test -z "$ac_cxx_werror_flag"
57909 || test ! -s conftest.err'
57910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57911 (eval $ac_try) 2>&5
57912 ac_status=$?
57913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57914 (exit $ac_status); }; } &&
57915 { ac_try='test -s conftest.$ac_objext'
57916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57917 (eval $ac_try) 2>&5
57918 ac_status=$?
57919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57920 (exit $ac_status); }; }; then
57921 glibcxx_cv_func_float_round_use=yes
57922 else
57923 echo "$as_me: failed program was:" >&5
57924 sed 's/^/| /' conftest.$ac_ext >&5
57926 glibcxx_cv_func_float_round_use=no
57928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57929 ac_ext=c
57930 ac_cpp='$CPP $CPPFLAGS'
57931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57938 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57939 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57942 for ac_func in ceilf floorf
57944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57945 echo "$as_me:$LINENO: checking for $ac_func" >&5
57946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57947 if eval "test \"\${$as_ac_var+set}\" = set"; then
57948 echo $ECHO_N "(cached) $ECHO_C" >&6
57949 else
57950 if test x$gcc_no_link = xyes; then
57951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57953 { (exit 1); exit 1; }; }
57955 cat >conftest.$ac_ext <<_ACEOF
57956 /* confdefs.h. */
57957 _ACEOF
57958 cat confdefs.h >>conftest.$ac_ext
57959 cat >>conftest.$ac_ext <<_ACEOF
57960 /* end confdefs.h. */
57961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57963 #define $ac_func innocuous_$ac_func
57965 /* System header to define __stub macros and hopefully few prototypes,
57966 which can conflict with char $ac_func (); below.
57967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57968 <limits.h> exists even on freestanding compilers. */
57970 #ifdef __STDC__
57971 # include <limits.h>
57972 #else
57973 # include <assert.h>
57974 #endif
57976 #undef $ac_func
57978 /* Override any gcc2 internal prototype to avoid an error. */
57979 #ifdef __cplusplus
57980 extern "C"
57982 #endif
57983 /* We use char because int might match the return type of a gcc2
57984 builtin and then its argument prototype would still apply. */
57985 char $ac_func ();
57986 /* The GNU C library defines this for functions which it implements
57987 to always fail with ENOSYS. Some functions are actually named
57988 something starting with __ and the normal name is an alias. */
57989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57990 choke me
57991 #else
57992 char (*f) () = $ac_func;
57993 #endif
57994 #ifdef __cplusplus
57996 #endif
57999 main ()
58001 return f != $ac_func;
58003 return 0;
58005 _ACEOF
58006 rm -f conftest.$ac_objext conftest$ac_exeext
58007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58008 (eval $ac_link) 2>conftest.er1
58009 ac_status=$?
58010 grep -v '^ *+' conftest.er1 >conftest.err
58011 rm -f conftest.er1
58012 cat conftest.err >&5
58013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58014 (exit $ac_status); } &&
58015 { ac_try='test -z "$ac_c_werror_flag"
58016 || test ! -s conftest.err'
58017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018 (eval $ac_try) 2>&5
58019 ac_status=$?
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); }; } &&
58022 { ac_try='test -s conftest$ac_exeext'
58023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024 (eval $ac_try) 2>&5
58025 ac_status=$?
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); }; }; then
58028 eval "$as_ac_var=yes"
58029 else
58030 echo "$as_me: failed program was:" >&5
58031 sed 's/^/| /' conftest.$ac_ext >&5
58033 eval "$as_ac_var=no"
58035 rm -f conftest.err conftest.$ac_objext \
58036 conftest$ac_exeext conftest.$ac_ext
58038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58040 if test `eval echo '${'$as_ac_var'}'` = yes; then
58041 cat >>confdefs.h <<_ACEOF
58042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58043 _ACEOF
58046 done
58048 else
58049 echo "$as_me:$LINENO: checking for _float round functions" >&5
58050 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58051 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58052 echo $ECHO_N "(cached) $ECHO_C" >&6
58053 else
58057 ac_ext=cc
58058 ac_cpp='$CXXCPP $CPPFLAGS'
58059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58063 cat >conftest.$ac_ext <<_ACEOF
58064 /* confdefs.h. */
58065 _ACEOF
58066 cat confdefs.h >>conftest.$ac_ext
58067 cat >>conftest.$ac_ext <<_ACEOF
58068 /* end confdefs.h. */
58069 #include <math.h>
58071 main ()
58073 _ceilf (0); _floorf (0);
58075 return 0;
58077 _ACEOF
58078 rm -f conftest.$ac_objext
58079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58080 (eval $ac_compile) 2>conftest.er1
58081 ac_status=$?
58082 grep -v '^ *+' conftest.er1 >conftest.err
58083 rm -f conftest.er1
58084 cat conftest.err >&5
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); } &&
58087 { ac_try='test -z "$ac_cxx_werror_flag"
58088 || test ! -s conftest.err'
58089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090 (eval $ac_try) 2>&5
58091 ac_status=$?
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); }; } &&
58094 { ac_try='test -s conftest.$ac_objext'
58095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58096 (eval $ac_try) 2>&5
58097 ac_status=$?
58098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58099 (exit $ac_status); }; }; then
58100 glibcxx_cv_func__float_round_use=yes
58101 else
58102 echo "$as_me: failed program was:" >&5
58103 sed 's/^/| /' conftest.$ac_ext >&5
58105 glibcxx_cv_func__float_round_use=no
58107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58108 ac_ext=c
58109 ac_cpp='$CPP $CPPFLAGS'
58110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58117 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58118 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58121 for ac_func in _ceilf _floorf
58123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58124 echo "$as_me:$LINENO: checking for $ac_func" >&5
58125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58126 if eval "test \"\${$as_ac_var+set}\" = set"; then
58127 echo $ECHO_N "(cached) $ECHO_C" >&6
58128 else
58129 if test x$gcc_no_link = xyes; then
58130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58132 { (exit 1); exit 1; }; }
58134 cat >conftest.$ac_ext <<_ACEOF
58135 /* confdefs.h. */
58136 _ACEOF
58137 cat confdefs.h >>conftest.$ac_ext
58138 cat >>conftest.$ac_ext <<_ACEOF
58139 /* end confdefs.h. */
58140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58142 #define $ac_func innocuous_$ac_func
58144 /* System header to define __stub macros and hopefully few prototypes,
58145 which can conflict with char $ac_func (); below.
58146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58147 <limits.h> exists even on freestanding compilers. */
58149 #ifdef __STDC__
58150 # include <limits.h>
58151 #else
58152 # include <assert.h>
58153 #endif
58155 #undef $ac_func
58157 /* Override any gcc2 internal prototype to avoid an error. */
58158 #ifdef __cplusplus
58159 extern "C"
58161 #endif
58162 /* We use char because int might match the return type of a gcc2
58163 builtin and then its argument prototype would still apply. */
58164 char $ac_func ();
58165 /* The GNU C library defines this for functions which it implements
58166 to always fail with ENOSYS. Some functions are actually named
58167 something starting with __ and the normal name is an alias. */
58168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58169 choke me
58170 #else
58171 char (*f) () = $ac_func;
58172 #endif
58173 #ifdef __cplusplus
58175 #endif
58178 main ()
58180 return f != $ac_func;
58182 return 0;
58184 _ACEOF
58185 rm -f conftest.$ac_objext conftest$ac_exeext
58186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58187 (eval $ac_link) 2>conftest.er1
58188 ac_status=$?
58189 grep -v '^ *+' conftest.er1 >conftest.err
58190 rm -f conftest.er1
58191 cat conftest.err >&5
58192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58193 (exit $ac_status); } &&
58194 { ac_try='test -z "$ac_c_werror_flag"
58195 || test ! -s conftest.err'
58196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58197 (eval $ac_try) 2>&5
58198 ac_status=$?
58199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200 (exit $ac_status); }; } &&
58201 { ac_try='test -s conftest$ac_exeext'
58202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58203 (eval $ac_try) 2>&5
58204 ac_status=$?
58205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58206 (exit $ac_status); }; }; then
58207 eval "$as_ac_var=yes"
58208 else
58209 echo "$as_me: failed program was:" >&5
58210 sed 's/^/| /' conftest.$ac_ext >&5
58212 eval "$as_ac_var=no"
58214 rm -f conftest.err conftest.$ac_objext \
58215 conftest$ac_exeext conftest.$ac_ext
58217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58219 if test `eval echo '${'$as_ac_var'}'` = yes; then
58220 cat >>confdefs.h <<_ACEOF
58221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58222 _ACEOF
58225 done
58237 echo "$as_me:$LINENO: checking for expf declaration" >&5
58238 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58239 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58240 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58241 echo $ECHO_N "(cached) $ECHO_C" >&6
58242 else
58246 ac_ext=cc
58247 ac_cpp='$CXXCPP $CPPFLAGS'
58248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58252 cat >conftest.$ac_ext <<_ACEOF
58253 /* confdefs.h. */
58254 _ACEOF
58255 cat confdefs.h >>conftest.$ac_ext
58256 cat >>conftest.$ac_ext <<_ACEOF
58257 /* end confdefs.h. */
58258 #include <math.h>
58259 #ifdef HAVE_IEEEFP_H
58260 #include <ieeefp.h>
58261 #endif
58264 main ()
58266 expf(0);
58268 return 0;
58270 _ACEOF
58271 rm -f conftest.$ac_objext
58272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58273 (eval $ac_compile) 2>conftest.er1
58274 ac_status=$?
58275 grep -v '^ *+' conftest.er1 >conftest.err
58276 rm -f conftest.er1
58277 cat conftest.err >&5
58278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58279 (exit $ac_status); } &&
58280 { ac_try='test -z "$ac_cxx_werror_flag"
58281 || test ! -s conftest.err'
58282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58283 (eval $ac_try) 2>&5
58284 ac_status=$?
58285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58286 (exit $ac_status); }; } &&
58287 { ac_try='test -s conftest.$ac_objext'
58288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58289 (eval $ac_try) 2>&5
58290 ac_status=$?
58291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58292 (exit $ac_status); }; }; then
58293 glibcxx_cv_func_expf_use=yes
58294 else
58295 echo "$as_me: failed program was:" >&5
58296 sed 's/^/| /' conftest.$ac_ext >&5
58298 glibcxx_cv_func_expf_use=no
58300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58301 ac_ext=c
58302 ac_cpp='$CPP $CPPFLAGS'
58303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58312 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58314 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58316 for ac_func in expf
58318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58319 echo "$as_me:$LINENO: checking for $ac_func" >&5
58320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58321 if eval "test \"\${$as_ac_var+set}\" = set"; then
58322 echo $ECHO_N "(cached) $ECHO_C" >&6
58323 else
58324 if test x$gcc_no_link = xyes; then
58325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58327 { (exit 1); exit 1; }; }
58329 cat >conftest.$ac_ext <<_ACEOF
58330 /* confdefs.h. */
58331 _ACEOF
58332 cat confdefs.h >>conftest.$ac_ext
58333 cat >>conftest.$ac_ext <<_ACEOF
58334 /* end confdefs.h. */
58335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58337 #define $ac_func innocuous_$ac_func
58339 /* System header to define __stub macros and hopefully few prototypes,
58340 which can conflict with char $ac_func (); below.
58341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58342 <limits.h> exists even on freestanding compilers. */
58344 #ifdef __STDC__
58345 # include <limits.h>
58346 #else
58347 # include <assert.h>
58348 #endif
58350 #undef $ac_func
58352 /* Override any gcc2 internal prototype to avoid an error. */
58353 #ifdef __cplusplus
58354 extern "C"
58356 #endif
58357 /* We use char because int might match the return type of a gcc2
58358 builtin and then its argument prototype would still apply. */
58359 char $ac_func ();
58360 /* The GNU C library defines this for functions which it implements
58361 to always fail with ENOSYS. Some functions are actually named
58362 something starting with __ and the normal name is an alias. */
58363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58364 choke me
58365 #else
58366 char (*f) () = $ac_func;
58367 #endif
58368 #ifdef __cplusplus
58370 #endif
58373 main ()
58375 return f != $ac_func;
58377 return 0;
58379 _ACEOF
58380 rm -f conftest.$ac_objext conftest$ac_exeext
58381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58382 (eval $ac_link) 2>conftest.er1
58383 ac_status=$?
58384 grep -v '^ *+' conftest.er1 >conftest.err
58385 rm -f conftest.er1
58386 cat conftest.err >&5
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); } &&
58389 { ac_try='test -z "$ac_c_werror_flag"
58390 || test ! -s conftest.err'
58391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58392 (eval $ac_try) 2>&5
58393 ac_status=$?
58394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58395 (exit $ac_status); }; } &&
58396 { ac_try='test -s conftest$ac_exeext'
58397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58398 (eval $ac_try) 2>&5
58399 ac_status=$?
58400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401 (exit $ac_status); }; }; then
58402 eval "$as_ac_var=yes"
58403 else
58404 echo "$as_me: failed program was:" >&5
58405 sed 's/^/| /' conftest.$ac_ext >&5
58407 eval "$as_ac_var=no"
58409 rm -f conftest.err conftest.$ac_objext \
58410 conftest$ac_exeext conftest.$ac_ext
58412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58414 if test `eval echo '${'$as_ac_var'}'` = yes; then
58415 cat >>confdefs.h <<_ACEOF
58416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58417 _ACEOF
58420 done
58422 else
58424 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58425 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58426 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58427 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58428 echo $ECHO_N "(cached) $ECHO_C" >&6
58429 else
58433 ac_ext=cc
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58439 cat >conftest.$ac_ext <<_ACEOF
58440 /* confdefs.h. */
58441 _ACEOF
58442 cat confdefs.h >>conftest.$ac_ext
58443 cat >>conftest.$ac_ext <<_ACEOF
58444 /* end confdefs.h. */
58445 #include <math.h>
58446 #ifdef HAVE_IEEEFP_H
58447 #include <ieeefp.h>
58448 #endif
58451 main ()
58453 _expf(0);
58455 return 0;
58457 _ACEOF
58458 rm -f conftest.$ac_objext
58459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58460 (eval $ac_compile) 2>conftest.er1
58461 ac_status=$?
58462 grep -v '^ *+' conftest.er1 >conftest.err
58463 rm -f conftest.er1
58464 cat conftest.err >&5
58465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58466 (exit $ac_status); } &&
58467 { ac_try='test -z "$ac_cxx_werror_flag"
58468 || test ! -s conftest.err'
58469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58470 (eval $ac_try) 2>&5
58471 ac_status=$?
58472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473 (exit $ac_status); }; } &&
58474 { ac_try='test -s conftest.$ac_objext'
58475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58476 (eval $ac_try) 2>&5
58477 ac_status=$?
58478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58479 (exit $ac_status); }; }; then
58480 glibcxx_cv_func__expf_use=yes
58481 else
58482 echo "$as_me: failed program was:" >&5
58483 sed 's/^/| /' conftest.$ac_ext >&5
58485 glibcxx_cv_func__expf_use=no
58487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58488 ac_ext=c
58489 ac_cpp='$CPP $CPPFLAGS'
58490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58499 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58501 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58503 for ac_func in _expf
58505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58506 echo "$as_me:$LINENO: checking for $ac_func" >&5
58507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58508 if eval "test \"\${$as_ac_var+set}\" = set"; then
58509 echo $ECHO_N "(cached) $ECHO_C" >&6
58510 else
58511 if test x$gcc_no_link = xyes; then
58512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58514 { (exit 1); exit 1; }; }
58516 cat >conftest.$ac_ext <<_ACEOF
58517 /* confdefs.h. */
58518 _ACEOF
58519 cat confdefs.h >>conftest.$ac_ext
58520 cat >>conftest.$ac_ext <<_ACEOF
58521 /* end confdefs.h. */
58522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58524 #define $ac_func innocuous_$ac_func
58526 /* System header to define __stub macros and hopefully few prototypes,
58527 which can conflict with char $ac_func (); below.
58528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58529 <limits.h> exists even on freestanding compilers. */
58531 #ifdef __STDC__
58532 # include <limits.h>
58533 #else
58534 # include <assert.h>
58535 #endif
58537 #undef $ac_func
58539 /* Override any gcc2 internal prototype to avoid an error. */
58540 #ifdef __cplusplus
58541 extern "C"
58543 #endif
58544 /* We use char because int might match the return type of a gcc2
58545 builtin and then its argument prototype would still apply. */
58546 char $ac_func ();
58547 /* The GNU C library defines this for functions which it implements
58548 to always fail with ENOSYS. Some functions are actually named
58549 something starting with __ and the normal name is an alias. */
58550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58551 choke me
58552 #else
58553 char (*f) () = $ac_func;
58554 #endif
58555 #ifdef __cplusplus
58557 #endif
58560 main ()
58562 return f != $ac_func;
58564 return 0;
58566 _ACEOF
58567 rm -f conftest.$ac_objext conftest$ac_exeext
58568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58569 (eval $ac_link) 2>conftest.er1
58570 ac_status=$?
58571 grep -v '^ *+' conftest.er1 >conftest.err
58572 rm -f conftest.er1
58573 cat conftest.err >&5
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); } &&
58576 { ac_try='test -z "$ac_c_werror_flag"
58577 || test ! -s conftest.err'
58578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58579 (eval $ac_try) 2>&5
58580 ac_status=$?
58581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582 (exit $ac_status); }; } &&
58583 { ac_try='test -s conftest$ac_exeext'
58584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58585 (eval $ac_try) 2>&5
58586 ac_status=$?
58587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58588 (exit $ac_status); }; }; then
58589 eval "$as_ac_var=yes"
58590 else
58591 echo "$as_me: failed program was:" >&5
58592 sed 's/^/| /' conftest.$ac_ext >&5
58594 eval "$as_ac_var=no"
58596 rm -f conftest.err conftest.$ac_objext \
58597 conftest$ac_exeext conftest.$ac_ext
58599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58601 if test `eval echo '${'$as_ac_var'}'` = yes; then
58602 cat >>confdefs.h <<_ACEOF
58603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58604 _ACEOF
58607 done
58617 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58618 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58619 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58620 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58621 echo $ECHO_N "(cached) $ECHO_C" >&6
58622 else
58626 ac_ext=cc
58627 ac_cpp='$CXXCPP $CPPFLAGS'
58628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58632 cat >conftest.$ac_ext <<_ACEOF
58633 /* confdefs.h. */
58634 _ACEOF
58635 cat confdefs.h >>conftest.$ac_ext
58636 cat >>conftest.$ac_ext <<_ACEOF
58637 /* end confdefs.h. */
58638 #include <math.h>
58639 #ifdef HAVE_IEEEFP_H
58640 #include <ieeefp.h>
58641 #endif
58644 main ()
58646 isnanf(0);
58648 return 0;
58650 _ACEOF
58651 rm -f conftest.$ac_objext
58652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58653 (eval $ac_compile) 2>conftest.er1
58654 ac_status=$?
58655 grep -v '^ *+' conftest.er1 >conftest.err
58656 rm -f conftest.er1
58657 cat conftest.err >&5
58658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58659 (exit $ac_status); } &&
58660 { ac_try='test -z "$ac_cxx_werror_flag"
58661 || test ! -s conftest.err'
58662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58663 (eval $ac_try) 2>&5
58664 ac_status=$?
58665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58666 (exit $ac_status); }; } &&
58667 { ac_try='test -s conftest.$ac_objext'
58668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58669 (eval $ac_try) 2>&5
58670 ac_status=$?
58671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58672 (exit $ac_status); }; }; then
58673 glibcxx_cv_func_isnanf_use=yes
58674 else
58675 echo "$as_me: failed program was:" >&5
58676 sed 's/^/| /' conftest.$ac_ext >&5
58678 glibcxx_cv_func_isnanf_use=no
58680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58681 ac_ext=c
58682 ac_cpp='$CPP $CPPFLAGS'
58683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58692 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58694 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58696 for ac_func in isnanf
58698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58699 echo "$as_me:$LINENO: checking for $ac_func" >&5
58700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58701 if eval "test \"\${$as_ac_var+set}\" = set"; then
58702 echo $ECHO_N "(cached) $ECHO_C" >&6
58703 else
58704 if test x$gcc_no_link = xyes; then
58705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58707 { (exit 1); exit 1; }; }
58709 cat >conftest.$ac_ext <<_ACEOF
58710 /* confdefs.h. */
58711 _ACEOF
58712 cat confdefs.h >>conftest.$ac_ext
58713 cat >>conftest.$ac_ext <<_ACEOF
58714 /* end confdefs.h. */
58715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58717 #define $ac_func innocuous_$ac_func
58719 /* System header to define __stub macros and hopefully few prototypes,
58720 which can conflict with char $ac_func (); below.
58721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58722 <limits.h> exists even on freestanding compilers. */
58724 #ifdef __STDC__
58725 # include <limits.h>
58726 #else
58727 # include <assert.h>
58728 #endif
58730 #undef $ac_func
58732 /* Override any gcc2 internal prototype to avoid an error. */
58733 #ifdef __cplusplus
58734 extern "C"
58736 #endif
58737 /* We use char because int might match the return type of a gcc2
58738 builtin and then its argument prototype would still apply. */
58739 char $ac_func ();
58740 /* The GNU C library defines this for functions which it implements
58741 to always fail with ENOSYS. Some functions are actually named
58742 something starting with __ and the normal name is an alias. */
58743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58744 choke me
58745 #else
58746 char (*f) () = $ac_func;
58747 #endif
58748 #ifdef __cplusplus
58750 #endif
58753 main ()
58755 return f != $ac_func;
58757 return 0;
58759 _ACEOF
58760 rm -f conftest.$ac_objext conftest$ac_exeext
58761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58762 (eval $ac_link) 2>conftest.er1
58763 ac_status=$?
58764 grep -v '^ *+' conftest.er1 >conftest.err
58765 rm -f conftest.er1
58766 cat conftest.err >&5
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); } &&
58769 { ac_try='test -z "$ac_c_werror_flag"
58770 || test ! -s conftest.err'
58771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58772 (eval $ac_try) 2>&5
58773 ac_status=$?
58774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58775 (exit $ac_status); }; } &&
58776 { ac_try='test -s conftest$ac_exeext'
58777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58778 (eval $ac_try) 2>&5
58779 ac_status=$?
58780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58781 (exit $ac_status); }; }; then
58782 eval "$as_ac_var=yes"
58783 else
58784 echo "$as_me: failed program was:" >&5
58785 sed 's/^/| /' conftest.$ac_ext >&5
58787 eval "$as_ac_var=no"
58789 rm -f conftest.err conftest.$ac_objext \
58790 conftest$ac_exeext conftest.$ac_ext
58792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58794 if test `eval echo '${'$as_ac_var'}'` = yes; then
58795 cat >>confdefs.h <<_ACEOF
58796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58797 _ACEOF
58800 done
58802 else
58804 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58805 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58806 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58807 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58808 echo $ECHO_N "(cached) $ECHO_C" >&6
58809 else
58813 ac_ext=cc
58814 ac_cpp='$CXXCPP $CPPFLAGS'
58815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58819 cat >conftest.$ac_ext <<_ACEOF
58820 /* confdefs.h. */
58821 _ACEOF
58822 cat confdefs.h >>conftest.$ac_ext
58823 cat >>conftest.$ac_ext <<_ACEOF
58824 /* end confdefs.h. */
58825 #include <math.h>
58826 #ifdef HAVE_IEEEFP_H
58827 #include <ieeefp.h>
58828 #endif
58831 main ()
58833 _isnanf(0);
58835 return 0;
58837 _ACEOF
58838 rm -f conftest.$ac_objext
58839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58840 (eval $ac_compile) 2>conftest.er1
58841 ac_status=$?
58842 grep -v '^ *+' conftest.er1 >conftest.err
58843 rm -f conftest.er1
58844 cat conftest.err >&5
58845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58846 (exit $ac_status); } &&
58847 { ac_try='test -z "$ac_cxx_werror_flag"
58848 || test ! -s conftest.err'
58849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58850 (eval $ac_try) 2>&5
58851 ac_status=$?
58852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58853 (exit $ac_status); }; } &&
58854 { ac_try='test -s conftest.$ac_objext'
58855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58856 (eval $ac_try) 2>&5
58857 ac_status=$?
58858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58859 (exit $ac_status); }; }; then
58860 glibcxx_cv_func__isnanf_use=yes
58861 else
58862 echo "$as_me: failed program was:" >&5
58863 sed 's/^/| /' conftest.$ac_ext >&5
58865 glibcxx_cv_func__isnanf_use=no
58867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58868 ac_ext=c
58869 ac_cpp='$CPP $CPPFLAGS'
58870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58879 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58881 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58883 for ac_func in _isnanf
58885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58886 echo "$as_me:$LINENO: checking for $ac_func" >&5
58887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58888 if eval "test \"\${$as_ac_var+set}\" = set"; then
58889 echo $ECHO_N "(cached) $ECHO_C" >&6
58890 else
58891 if test x$gcc_no_link = xyes; then
58892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58894 { (exit 1); exit 1; }; }
58896 cat >conftest.$ac_ext <<_ACEOF
58897 /* confdefs.h. */
58898 _ACEOF
58899 cat confdefs.h >>conftest.$ac_ext
58900 cat >>conftest.$ac_ext <<_ACEOF
58901 /* end confdefs.h. */
58902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58904 #define $ac_func innocuous_$ac_func
58906 /* System header to define __stub macros and hopefully few prototypes,
58907 which can conflict with char $ac_func (); below.
58908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58909 <limits.h> exists even on freestanding compilers. */
58911 #ifdef __STDC__
58912 # include <limits.h>
58913 #else
58914 # include <assert.h>
58915 #endif
58917 #undef $ac_func
58919 /* Override any gcc2 internal prototype to avoid an error. */
58920 #ifdef __cplusplus
58921 extern "C"
58923 #endif
58924 /* We use char because int might match the return type of a gcc2
58925 builtin and then its argument prototype would still apply. */
58926 char $ac_func ();
58927 /* The GNU C library defines this for functions which it implements
58928 to always fail with ENOSYS. Some functions are actually named
58929 something starting with __ and the normal name is an alias. */
58930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58931 choke me
58932 #else
58933 char (*f) () = $ac_func;
58934 #endif
58935 #ifdef __cplusplus
58937 #endif
58940 main ()
58942 return f != $ac_func;
58944 return 0;
58946 _ACEOF
58947 rm -f conftest.$ac_objext conftest$ac_exeext
58948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58949 (eval $ac_link) 2>conftest.er1
58950 ac_status=$?
58951 grep -v '^ *+' conftest.er1 >conftest.err
58952 rm -f conftest.er1
58953 cat conftest.err >&5
58954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58955 (exit $ac_status); } &&
58956 { ac_try='test -z "$ac_c_werror_flag"
58957 || test ! -s conftest.err'
58958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959 (eval $ac_try) 2>&5
58960 ac_status=$?
58961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962 (exit $ac_status); }; } &&
58963 { ac_try='test -s conftest$ac_exeext'
58964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58965 (eval $ac_try) 2>&5
58966 ac_status=$?
58967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58968 (exit $ac_status); }; }; then
58969 eval "$as_ac_var=yes"
58970 else
58971 echo "$as_me: failed program was:" >&5
58972 sed 's/^/| /' conftest.$ac_ext >&5
58974 eval "$as_ac_var=no"
58976 rm -f conftest.err conftest.$ac_objext \
58977 conftest$ac_exeext conftest.$ac_ext
58979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58981 if test `eval echo '${'$as_ac_var'}'` = yes; then
58982 cat >>confdefs.h <<_ACEOF
58983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58984 _ACEOF
58987 done
58997 echo "$as_me:$LINENO: checking for isinff declaration" >&5
58998 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58999 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59000 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59001 echo $ECHO_N "(cached) $ECHO_C" >&6
59002 else
59006 ac_ext=cc
59007 ac_cpp='$CXXCPP $CPPFLAGS'
59008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012 cat >conftest.$ac_ext <<_ACEOF
59013 /* confdefs.h. */
59014 _ACEOF
59015 cat confdefs.h >>conftest.$ac_ext
59016 cat >>conftest.$ac_ext <<_ACEOF
59017 /* end confdefs.h. */
59018 #include <math.h>
59019 #ifdef HAVE_IEEEFP_H
59020 #include <ieeefp.h>
59021 #endif
59024 main ()
59026 isinff(0);
59028 return 0;
59030 _ACEOF
59031 rm -f conftest.$ac_objext
59032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59033 (eval $ac_compile) 2>conftest.er1
59034 ac_status=$?
59035 grep -v '^ *+' conftest.er1 >conftest.err
59036 rm -f conftest.er1
59037 cat conftest.err >&5
59038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59039 (exit $ac_status); } &&
59040 { ac_try='test -z "$ac_cxx_werror_flag"
59041 || test ! -s conftest.err'
59042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59043 (eval $ac_try) 2>&5
59044 ac_status=$?
59045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59046 (exit $ac_status); }; } &&
59047 { ac_try='test -s conftest.$ac_objext'
59048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59049 (eval $ac_try) 2>&5
59050 ac_status=$?
59051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59052 (exit $ac_status); }; }; then
59053 glibcxx_cv_func_isinff_use=yes
59054 else
59055 echo "$as_me: failed program was:" >&5
59056 sed 's/^/| /' conftest.$ac_ext >&5
59058 glibcxx_cv_func_isinff_use=no
59060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59061 ac_ext=c
59062 ac_cpp='$CPP $CPPFLAGS'
59063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59072 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59074 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59076 for ac_func in isinff
59078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59079 echo "$as_me:$LINENO: checking for $ac_func" >&5
59080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59081 if eval "test \"\${$as_ac_var+set}\" = set"; then
59082 echo $ECHO_N "(cached) $ECHO_C" >&6
59083 else
59084 if test x$gcc_no_link = xyes; then
59085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59087 { (exit 1); exit 1; }; }
59089 cat >conftest.$ac_ext <<_ACEOF
59090 /* confdefs.h. */
59091 _ACEOF
59092 cat confdefs.h >>conftest.$ac_ext
59093 cat >>conftest.$ac_ext <<_ACEOF
59094 /* end confdefs.h. */
59095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59097 #define $ac_func innocuous_$ac_func
59099 /* System header to define __stub macros and hopefully few prototypes,
59100 which can conflict with char $ac_func (); below.
59101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59102 <limits.h> exists even on freestanding compilers. */
59104 #ifdef __STDC__
59105 # include <limits.h>
59106 #else
59107 # include <assert.h>
59108 #endif
59110 #undef $ac_func
59112 /* Override any gcc2 internal prototype to avoid an error. */
59113 #ifdef __cplusplus
59114 extern "C"
59116 #endif
59117 /* We use char because int might match the return type of a gcc2
59118 builtin and then its argument prototype would still apply. */
59119 char $ac_func ();
59120 /* The GNU C library defines this for functions which it implements
59121 to always fail with ENOSYS. Some functions are actually named
59122 something starting with __ and the normal name is an alias. */
59123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59124 choke me
59125 #else
59126 char (*f) () = $ac_func;
59127 #endif
59128 #ifdef __cplusplus
59130 #endif
59133 main ()
59135 return f != $ac_func;
59137 return 0;
59139 _ACEOF
59140 rm -f conftest.$ac_objext conftest$ac_exeext
59141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59142 (eval $ac_link) 2>conftest.er1
59143 ac_status=$?
59144 grep -v '^ *+' conftest.er1 >conftest.err
59145 rm -f conftest.er1
59146 cat conftest.err >&5
59147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59148 (exit $ac_status); } &&
59149 { ac_try='test -z "$ac_c_werror_flag"
59150 || test ! -s conftest.err'
59151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59152 (eval $ac_try) 2>&5
59153 ac_status=$?
59154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59155 (exit $ac_status); }; } &&
59156 { ac_try='test -s conftest$ac_exeext'
59157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59158 (eval $ac_try) 2>&5
59159 ac_status=$?
59160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59161 (exit $ac_status); }; }; then
59162 eval "$as_ac_var=yes"
59163 else
59164 echo "$as_me: failed program was:" >&5
59165 sed 's/^/| /' conftest.$ac_ext >&5
59167 eval "$as_ac_var=no"
59169 rm -f conftest.err conftest.$ac_objext \
59170 conftest$ac_exeext conftest.$ac_ext
59172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59174 if test `eval echo '${'$as_ac_var'}'` = yes; then
59175 cat >>confdefs.h <<_ACEOF
59176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59177 _ACEOF
59180 done
59182 else
59184 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59185 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59186 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59187 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59188 echo $ECHO_N "(cached) $ECHO_C" >&6
59189 else
59193 ac_ext=cc
59194 ac_cpp='$CXXCPP $CPPFLAGS'
59195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59199 cat >conftest.$ac_ext <<_ACEOF
59200 /* confdefs.h. */
59201 _ACEOF
59202 cat confdefs.h >>conftest.$ac_ext
59203 cat >>conftest.$ac_ext <<_ACEOF
59204 /* end confdefs.h. */
59205 #include <math.h>
59206 #ifdef HAVE_IEEEFP_H
59207 #include <ieeefp.h>
59208 #endif
59211 main ()
59213 _isinff(0);
59215 return 0;
59217 _ACEOF
59218 rm -f conftest.$ac_objext
59219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59220 (eval $ac_compile) 2>conftest.er1
59221 ac_status=$?
59222 grep -v '^ *+' conftest.er1 >conftest.err
59223 rm -f conftest.er1
59224 cat conftest.err >&5
59225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59226 (exit $ac_status); } &&
59227 { ac_try='test -z "$ac_cxx_werror_flag"
59228 || test ! -s conftest.err'
59229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59230 (eval $ac_try) 2>&5
59231 ac_status=$?
59232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59233 (exit $ac_status); }; } &&
59234 { ac_try='test -s conftest.$ac_objext'
59235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59236 (eval $ac_try) 2>&5
59237 ac_status=$?
59238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59239 (exit $ac_status); }; }; then
59240 glibcxx_cv_func__isinff_use=yes
59241 else
59242 echo "$as_me: failed program was:" >&5
59243 sed 's/^/| /' conftest.$ac_ext >&5
59245 glibcxx_cv_func__isinff_use=no
59247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59248 ac_ext=c
59249 ac_cpp='$CPP $CPPFLAGS'
59250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59259 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59261 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59263 for ac_func in _isinff
59265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59266 echo "$as_me:$LINENO: checking for $ac_func" >&5
59267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59268 if eval "test \"\${$as_ac_var+set}\" = set"; then
59269 echo $ECHO_N "(cached) $ECHO_C" >&6
59270 else
59271 if test x$gcc_no_link = xyes; then
59272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59274 { (exit 1); exit 1; }; }
59276 cat >conftest.$ac_ext <<_ACEOF
59277 /* confdefs.h. */
59278 _ACEOF
59279 cat confdefs.h >>conftest.$ac_ext
59280 cat >>conftest.$ac_ext <<_ACEOF
59281 /* end confdefs.h. */
59282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59284 #define $ac_func innocuous_$ac_func
59286 /* System header to define __stub macros and hopefully few prototypes,
59287 which can conflict with char $ac_func (); below.
59288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59289 <limits.h> exists even on freestanding compilers. */
59291 #ifdef __STDC__
59292 # include <limits.h>
59293 #else
59294 # include <assert.h>
59295 #endif
59297 #undef $ac_func
59299 /* Override any gcc2 internal prototype to avoid an error. */
59300 #ifdef __cplusplus
59301 extern "C"
59303 #endif
59304 /* We use char because int might match the return type of a gcc2
59305 builtin and then its argument prototype would still apply. */
59306 char $ac_func ();
59307 /* The GNU C library defines this for functions which it implements
59308 to always fail with ENOSYS. Some functions are actually named
59309 something starting with __ and the normal name is an alias. */
59310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59311 choke me
59312 #else
59313 char (*f) () = $ac_func;
59314 #endif
59315 #ifdef __cplusplus
59317 #endif
59320 main ()
59322 return f != $ac_func;
59324 return 0;
59326 _ACEOF
59327 rm -f conftest.$ac_objext conftest$ac_exeext
59328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59329 (eval $ac_link) 2>conftest.er1
59330 ac_status=$?
59331 grep -v '^ *+' conftest.er1 >conftest.err
59332 rm -f conftest.er1
59333 cat conftest.err >&5
59334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59335 (exit $ac_status); } &&
59336 { ac_try='test -z "$ac_c_werror_flag"
59337 || test ! -s conftest.err'
59338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59339 (eval $ac_try) 2>&5
59340 ac_status=$?
59341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59342 (exit $ac_status); }; } &&
59343 { ac_try='test -s conftest$ac_exeext'
59344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59345 (eval $ac_try) 2>&5
59346 ac_status=$?
59347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59348 (exit $ac_status); }; }; then
59349 eval "$as_ac_var=yes"
59350 else
59351 echo "$as_me: failed program was:" >&5
59352 sed 's/^/| /' conftest.$ac_ext >&5
59354 eval "$as_ac_var=no"
59356 rm -f conftest.err conftest.$ac_objext \
59357 conftest$ac_exeext conftest.$ac_ext
59359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59361 if test `eval echo '${'$as_ac_var'}'` = yes; then
59362 cat >>confdefs.h <<_ACEOF
59363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59364 _ACEOF
59367 done
59377 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59378 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59379 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59380 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59381 echo $ECHO_N "(cached) $ECHO_C" >&6
59382 else
59386 ac_ext=cc
59387 ac_cpp='$CXXCPP $CPPFLAGS'
59388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59392 cat >conftest.$ac_ext <<_ACEOF
59393 /* confdefs.h. */
59394 _ACEOF
59395 cat confdefs.h >>conftest.$ac_ext
59396 cat >>conftest.$ac_ext <<_ACEOF
59397 /* end confdefs.h. */
59398 #include <math.h>
59400 main ()
59402 atan2f(0, 0);
59404 return 0;
59406 _ACEOF
59407 rm -f conftest.$ac_objext
59408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59409 (eval $ac_compile) 2>conftest.er1
59410 ac_status=$?
59411 grep -v '^ *+' conftest.er1 >conftest.err
59412 rm -f conftest.er1
59413 cat conftest.err >&5
59414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59415 (exit $ac_status); } &&
59416 { ac_try='test -z "$ac_cxx_werror_flag"
59417 || test ! -s conftest.err'
59418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59419 (eval $ac_try) 2>&5
59420 ac_status=$?
59421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59422 (exit $ac_status); }; } &&
59423 { ac_try='test -s conftest.$ac_objext'
59424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59425 (eval $ac_try) 2>&5
59426 ac_status=$?
59427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59428 (exit $ac_status); }; }; then
59429 glibcxx_cv_func_atan2f_use=yes
59430 else
59431 echo "$as_me: failed program was:" >&5
59432 sed 's/^/| /' conftest.$ac_ext >&5
59434 glibcxx_cv_func_atan2f_use=no
59436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59437 ac_ext=c
59438 ac_cpp='$CPP $CPPFLAGS'
59439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59448 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59450 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59452 for ac_func in atan2f
59454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59455 echo "$as_me:$LINENO: checking for $ac_func" >&5
59456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59457 if eval "test \"\${$as_ac_var+set}\" = set"; then
59458 echo $ECHO_N "(cached) $ECHO_C" >&6
59459 else
59460 if test x$gcc_no_link = xyes; then
59461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59463 { (exit 1); exit 1; }; }
59465 cat >conftest.$ac_ext <<_ACEOF
59466 /* confdefs.h. */
59467 _ACEOF
59468 cat confdefs.h >>conftest.$ac_ext
59469 cat >>conftest.$ac_ext <<_ACEOF
59470 /* end confdefs.h. */
59471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59473 #define $ac_func innocuous_$ac_func
59475 /* System header to define __stub macros and hopefully few prototypes,
59476 which can conflict with char $ac_func (); below.
59477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59478 <limits.h> exists even on freestanding compilers. */
59480 #ifdef __STDC__
59481 # include <limits.h>
59482 #else
59483 # include <assert.h>
59484 #endif
59486 #undef $ac_func
59488 /* Override any gcc2 internal prototype to avoid an error. */
59489 #ifdef __cplusplus
59490 extern "C"
59492 #endif
59493 /* We use char because int might match the return type of a gcc2
59494 builtin and then its argument prototype would still apply. */
59495 char $ac_func ();
59496 /* The GNU C library defines this for functions which it implements
59497 to always fail with ENOSYS. Some functions are actually named
59498 something starting with __ and the normal name is an alias. */
59499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59500 choke me
59501 #else
59502 char (*f) () = $ac_func;
59503 #endif
59504 #ifdef __cplusplus
59506 #endif
59509 main ()
59511 return f != $ac_func;
59513 return 0;
59515 _ACEOF
59516 rm -f conftest.$ac_objext conftest$ac_exeext
59517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59518 (eval $ac_link) 2>conftest.er1
59519 ac_status=$?
59520 grep -v '^ *+' conftest.er1 >conftest.err
59521 rm -f conftest.er1
59522 cat conftest.err >&5
59523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59524 (exit $ac_status); } &&
59525 { ac_try='test -z "$ac_c_werror_flag"
59526 || test ! -s conftest.err'
59527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59528 (eval $ac_try) 2>&5
59529 ac_status=$?
59530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59531 (exit $ac_status); }; } &&
59532 { ac_try='test -s conftest$ac_exeext'
59533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59534 (eval $ac_try) 2>&5
59535 ac_status=$?
59536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59537 (exit $ac_status); }; }; then
59538 eval "$as_ac_var=yes"
59539 else
59540 echo "$as_me: failed program was:" >&5
59541 sed 's/^/| /' conftest.$ac_ext >&5
59543 eval "$as_ac_var=no"
59545 rm -f conftest.err conftest.$ac_objext \
59546 conftest$ac_exeext conftest.$ac_ext
59548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59550 if test `eval echo '${'$as_ac_var'}'` = yes; then
59551 cat >>confdefs.h <<_ACEOF
59552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59553 _ACEOF
59556 done
59558 else
59560 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59561 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59562 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59563 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59564 echo $ECHO_N "(cached) $ECHO_C" >&6
59565 else
59569 ac_ext=cc
59570 ac_cpp='$CXXCPP $CPPFLAGS'
59571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59575 cat >conftest.$ac_ext <<_ACEOF
59576 /* confdefs.h. */
59577 _ACEOF
59578 cat confdefs.h >>conftest.$ac_ext
59579 cat >>conftest.$ac_ext <<_ACEOF
59580 /* end confdefs.h. */
59581 #include <math.h>
59583 main ()
59585 _atan2f(0, 0);
59587 return 0;
59589 _ACEOF
59590 rm -f conftest.$ac_objext
59591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59592 (eval $ac_compile) 2>conftest.er1
59593 ac_status=$?
59594 grep -v '^ *+' conftest.er1 >conftest.err
59595 rm -f conftest.er1
59596 cat conftest.err >&5
59597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59598 (exit $ac_status); } &&
59599 { ac_try='test -z "$ac_cxx_werror_flag"
59600 || test ! -s conftest.err'
59601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59602 (eval $ac_try) 2>&5
59603 ac_status=$?
59604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605 (exit $ac_status); }; } &&
59606 { ac_try='test -s conftest.$ac_objext'
59607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59608 (eval $ac_try) 2>&5
59609 ac_status=$?
59610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611 (exit $ac_status); }; }; then
59612 glibcxx_cv_func__atan2f_use=yes
59613 else
59614 echo "$as_me: failed program was:" >&5
59615 sed 's/^/| /' conftest.$ac_ext >&5
59617 glibcxx_cv_func__atan2f_use=no
59619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59620 ac_ext=c
59621 ac_cpp='$CPP $CPPFLAGS'
59622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59631 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59633 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59635 for ac_func in _atan2f
59637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59638 echo "$as_me:$LINENO: checking for $ac_func" >&5
59639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59640 if eval "test \"\${$as_ac_var+set}\" = set"; then
59641 echo $ECHO_N "(cached) $ECHO_C" >&6
59642 else
59643 if test x$gcc_no_link = xyes; then
59644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59646 { (exit 1); exit 1; }; }
59648 cat >conftest.$ac_ext <<_ACEOF
59649 /* confdefs.h. */
59650 _ACEOF
59651 cat confdefs.h >>conftest.$ac_ext
59652 cat >>conftest.$ac_ext <<_ACEOF
59653 /* end confdefs.h. */
59654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59656 #define $ac_func innocuous_$ac_func
59658 /* System header to define __stub macros and hopefully few prototypes,
59659 which can conflict with char $ac_func (); below.
59660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59661 <limits.h> exists even on freestanding compilers. */
59663 #ifdef __STDC__
59664 # include <limits.h>
59665 #else
59666 # include <assert.h>
59667 #endif
59669 #undef $ac_func
59671 /* Override any gcc2 internal prototype to avoid an error. */
59672 #ifdef __cplusplus
59673 extern "C"
59675 #endif
59676 /* We use char because int might match the return type of a gcc2
59677 builtin and then its argument prototype would still apply. */
59678 char $ac_func ();
59679 /* The GNU C library defines this for functions which it implements
59680 to always fail with ENOSYS. Some functions are actually named
59681 something starting with __ and the normal name is an alias. */
59682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59683 choke me
59684 #else
59685 char (*f) () = $ac_func;
59686 #endif
59687 #ifdef __cplusplus
59689 #endif
59692 main ()
59694 return f != $ac_func;
59696 return 0;
59698 _ACEOF
59699 rm -f conftest.$ac_objext conftest$ac_exeext
59700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59701 (eval $ac_link) 2>conftest.er1
59702 ac_status=$?
59703 grep -v '^ *+' conftest.er1 >conftest.err
59704 rm -f conftest.er1
59705 cat conftest.err >&5
59706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59707 (exit $ac_status); } &&
59708 { ac_try='test -z "$ac_c_werror_flag"
59709 || test ! -s conftest.err'
59710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59711 (eval $ac_try) 2>&5
59712 ac_status=$?
59713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59714 (exit $ac_status); }; } &&
59715 { ac_try='test -s conftest$ac_exeext'
59716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59717 (eval $ac_try) 2>&5
59718 ac_status=$?
59719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59720 (exit $ac_status); }; }; then
59721 eval "$as_ac_var=yes"
59722 else
59723 echo "$as_me: failed program was:" >&5
59724 sed 's/^/| /' conftest.$ac_ext >&5
59726 eval "$as_ac_var=no"
59728 rm -f conftest.err conftest.$ac_objext \
59729 conftest$ac_exeext conftest.$ac_ext
59731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59733 if test `eval echo '${'$as_ac_var'}'` = yes; then
59734 cat >>confdefs.h <<_ACEOF
59735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59736 _ACEOF
59739 done
59749 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59750 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59751 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59752 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59753 echo $ECHO_N "(cached) $ECHO_C" >&6
59754 else
59758 ac_ext=cc
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764 cat >conftest.$ac_ext <<_ACEOF
59765 /* confdefs.h. */
59766 _ACEOF
59767 cat confdefs.h >>conftest.$ac_ext
59768 cat >>conftest.$ac_ext <<_ACEOF
59769 /* end confdefs.h. */
59770 #include <math.h>
59771 #ifdef HAVE_IEEEFP_H
59772 #include <ieeefp.h>
59773 #endif
59776 main ()
59778 fabsf(0);
59780 return 0;
59782 _ACEOF
59783 rm -f conftest.$ac_objext
59784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59785 (eval $ac_compile) 2>conftest.er1
59786 ac_status=$?
59787 grep -v '^ *+' conftest.er1 >conftest.err
59788 rm -f conftest.er1
59789 cat conftest.err >&5
59790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59791 (exit $ac_status); } &&
59792 { ac_try='test -z "$ac_cxx_werror_flag"
59793 || test ! -s conftest.err'
59794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59795 (eval $ac_try) 2>&5
59796 ac_status=$?
59797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59798 (exit $ac_status); }; } &&
59799 { ac_try='test -s conftest.$ac_objext'
59800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59801 (eval $ac_try) 2>&5
59802 ac_status=$?
59803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59804 (exit $ac_status); }; }; then
59805 glibcxx_cv_func_fabsf_use=yes
59806 else
59807 echo "$as_me: failed program was:" >&5
59808 sed 's/^/| /' conftest.$ac_ext >&5
59810 glibcxx_cv_func_fabsf_use=no
59812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59813 ac_ext=c
59814 ac_cpp='$CPP $CPPFLAGS'
59815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59824 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59826 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59828 for ac_func in fabsf
59830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59831 echo "$as_me:$LINENO: checking for $ac_func" >&5
59832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59833 if eval "test \"\${$as_ac_var+set}\" = set"; then
59834 echo $ECHO_N "(cached) $ECHO_C" >&6
59835 else
59836 if test x$gcc_no_link = xyes; then
59837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59839 { (exit 1); exit 1; }; }
59841 cat >conftest.$ac_ext <<_ACEOF
59842 /* confdefs.h. */
59843 _ACEOF
59844 cat confdefs.h >>conftest.$ac_ext
59845 cat >>conftest.$ac_ext <<_ACEOF
59846 /* end confdefs.h. */
59847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59849 #define $ac_func innocuous_$ac_func
59851 /* System header to define __stub macros and hopefully few prototypes,
59852 which can conflict with char $ac_func (); below.
59853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59854 <limits.h> exists even on freestanding compilers. */
59856 #ifdef __STDC__
59857 # include <limits.h>
59858 #else
59859 # include <assert.h>
59860 #endif
59862 #undef $ac_func
59864 /* Override any gcc2 internal prototype to avoid an error. */
59865 #ifdef __cplusplus
59866 extern "C"
59868 #endif
59869 /* We use char because int might match the return type of a gcc2
59870 builtin and then its argument prototype would still apply. */
59871 char $ac_func ();
59872 /* The GNU C library defines this for functions which it implements
59873 to always fail with ENOSYS. Some functions are actually named
59874 something starting with __ and the normal name is an alias. */
59875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59876 choke me
59877 #else
59878 char (*f) () = $ac_func;
59879 #endif
59880 #ifdef __cplusplus
59882 #endif
59885 main ()
59887 return f != $ac_func;
59889 return 0;
59891 _ACEOF
59892 rm -f conftest.$ac_objext conftest$ac_exeext
59893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59894 (eval $ac_link) 2>conftest.er1
59895 ac_status=$?
59896 grep -v '^ *+' conftest.er1 >conftest.err
59897 rm -f conftest.er1
59898 cat conftest.err >&5
59899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59900 (exit $ac_status); } &&
59901 { ac_try='test -z "$ac_c_werror_flag"
59902 || test ! -s conftest.err'
59903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59904 (eval $ac_try) 2>&5
59905 ac_status=$?
59906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59907 (exit $ac_status); }; } &&
59908 { ac_try='test -s conftest$ac_exeext'
59909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59910 (eval $ac_try) 2>&5
59911 ac_status=$?
59912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59913 (exit $ac_status); }; }; then
59914 eval "$as_ac_var=yes"
59915 else
59916 echo "$as_me: failed program was:" >&5
59917 sed 's/^/| /' conftest.$ac_ext >&5
59919 eval "$as_ac_var=no"
59921 rm -f conftest.err conftest.$ac_objext \
59922 conftest$ac_exeext conftest.$ac_ext
59924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59926 if test `eval echo '${'$as_ac_var'}'` = yes; then
59927 cat >>confdefs.h <<_ACEOF
59928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59929 _ACEOF
59932 done
59934 else
59936 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59937 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59938 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59939 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59940 echo $ECHO_N "(cached) $ECHO_C" >&6
59941 else
59945 ac_ext=cc
59946 ac_cpp='$CXXCPP $CPPFLAGS'
59947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59951 cat >conftest.$ac_ext <<_ACEOF
59952 /* confdefs.h. */
59953 _ACEOF
59954 cat confdefs.h >>conftest.$ac_ext
59955 cat >>conftest.$ac_ext <<_ACEOF
59956 /* end confdefs.h. */
59957 #include <math.h>
59958 #ifdef HAVE_IEEEFP_H
59959 #include <ieeefp.h>
59960 #endif
59963 main ()
59965 _fabsf(0);
59967 return 0;
59969 _ACEOF
59970 rm -f conftest.$ac_objext
59971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59972 (eval $ac_compile) 2>conftest.er1
59973 ac_status=$?
59974 grep -v '^ *+' conftest.er1 >conftest.err
59975 rm -f conftest.er1
59976 cat conftest.err >&5
59977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59978 (exit $ac_status); } &&
59979 { ac_try='test -z "$ac_cxx_werror_flag"
59980 || test ! -s conftest.err'
59981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59982 (eval $ac_try) 2>&5
59983 ac_status=$?
59984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59985 (exit $ac_status); }; } &&
59986 { ac_try='test -s conftest.$ac_objext'
59987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59988 (eval $ac_try) 2>&5
59989 ac_status=$?
59990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59991 (exit $ac_status); }; }; then
59992 glibcxx_cv_func__fabsf_use=yes
59993 else
59994 echo "$as_me: failed program was:" >&5
59995 sed 's/^/| /' conftest.$ac_ext >&5
59997 glibcxx_cv_func__fabsf_use=no
59999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60000 ac_ext=c
60001 ac_cpp='$CPP $CPPFLAGS'
60002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60011 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60013 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60015 for ac_func in _fabsf
60017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60018 echo "$as_me:$LINENO: checking for $ac_func" >&5
60019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60020 if eval "test \"\${$as_ac_var+set}\" = set"; then
60021 echo $ECHO_N "(cached) $ECHO_C" >&6
60022 else
60023 if test x$gcc_no_link = xyes; then
60024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60026 { (exit 1); exit 1; }; }
60028 cat >conftest.$ac_ext <<_ACEOF
60029 /* confdefs.h. */
60030 _ACEOF
60031 cat confdefs.h >>conftest.$ac_ext
60032 cat >>conftest.$ac_ext <<_ACEOF
60033 /* end confdefs.h. */
60034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60036 #define $ac_func innocuous_$ac_func
60038 /* System header to define __stub macros and hopefully few prototypes,
60039 which can conflict with char $ac_func (); below.
60040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60041 <limits.h> exists even on freestanding compilers. */
60043 #ifdef __STDC__
60044 # include <limits.h>
60045 #else
60046 # include <assert.h>
60047 #endif
60049 #undef $ac_func
60051 /* Override any gcc2 internal prototype to avoid an error. */
60052 #ifdef __cplusplus
60053 extern "C"
60055 #endif
60056 /* We use char because int might match the return type of a gcc2
60057 builtin and then its argument prototype would still apply. */
60058 char $ac_func ();
60059 /* The GNU C library defines this for functions which it implements
60060 to always fail with ENOSYS. Some functions are actually named
60061 something starting with __ and the normal name is an alias. */
60062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60063 choke me
60064 #else
60065 char (*f) () = $ac_func;
60066 #endif
60067 #ifdef __cplusplus
60069 #endif
60072 main ()
60074 return f != $ac_func;
60076 return 0;
60078 _ACEOF
60079 rm -f conftest.$ac_objext conftest$ac_exeext
60080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60081 (eval $ac_link) 2>conftest.er1
60082 ac_status=$?
60083 grep -v '^ *+' conftest.er1 >conftest.err
60084 rm -f conftest.er1
60085 cat conftest.err >&5
60086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60087 (exit $ac_status); } &&
60088 { ac_try='test -z "$ac_c_werror_flag"
60089 || test ! -s conftest.err'
60090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60091 (eval $ac_try) 2>&5
60092 ac_status=$?
60093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094 (exit $ac_status); }; } &&
60095 { ac_try='test -s conftest$ac_exeext'
60096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60097 (eval $ac_try) 2>&5
60098 ac_status=$?
60099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60100 (exit $ac_status); }; }; then
60101 eval "$as_ac_var=yes"
60102 else
60103 echo "$as_me: failed program was:" >&5
60104 sed 's/^/| /' conftest.$ac_ext >&5
60106 eval "$as_ac_var=no"
60108 rm -f conftest.err conftest.$ac_objext \
60109 conftest$ac_exeext conftest.$ac_ext
60111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60113 if test `eval echo '${'$as_ac_var'}'` = yes; then
60114 cat >>confdefs.h <<_ACEOF
60115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60119 done
60129 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60130 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60131 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60132 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60133 echo $ECHO_N "(cached) $ECHO_C" >&6
60134 else
60138 ac_ext=cc
60139 ac_cpp='$CXXCPP $CPPFLAGS'
60140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60144 cat >conftest.$ac_ext <<_ACEOF
60145 /* confdefs.h. */
60146 _ACEOF
60147 cat confdefs.h >>conftest.$ac_ext
60148 cat >>conftest.$ac_ext <<_ACEOF
60149 /* end confdefs.h. */
60150 #include <math.h>
60152 main ()
60154 fmodf(0, 0);
60156 return 0;
60158 _ACEOF
60159 rm -f conftest.$ac_objext
60160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60161 (eval $ac_compile) 2>conftest.er1
60162 ac_status=$?
60163 grep -v '^ *+' conftest.er1 >conftest.err
60164 rm -f conftest.er1
60165 cat conftest.err >&5
60166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60167 (exit $ac_status); } &&
60168 { ac_try='test -z "$ac_cxx_werror_flag"
60169 || test ! -s conftest.err'
60170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60171 (eval $ac_try) 2>&5
60172 ac_status=$?
60173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174 (exit $ac_status); }; } &&
60175 { ac_try='test -s conftest.$ac_objext'
60176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60177 (eval $ac_try) 2>&5
60178 ac_status=$?
60179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60180 (exit $ac_status); }; }; then
60181 glibcxx_cv_func_fmodf_use=yes
60182 else
60183 echo "$as_me: failed program was:" >&5
60184 sed 's/^/| /' conftest.$ac_ext >&5
60186 glibcxx_cv_func_fmodf_use=no
60188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60189 ac_ext=c
60190 ac_cpp='$CPP $CPPFLAGS'
60191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60199 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60200 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60202 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60204 for ac_func in fmodf
60206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60207 echo "$as_me:$LINENO: checking for $ac_func" >&5
60208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60209 if eval "test \"\${$as_ac_var+set}\" = set"; then
60210 echo $ECHO_N "(cached) $ECHO_C" >&6
60211 else
60212 if test x$gcc_no_link = xyes; then
60213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60215 { (exit 1); exit 1; }; }
60217 cat >conftest.$ac_ext <<_ACEOF
60218 /* confdefs.h. */
60219 _ACEOF
60220 cat confdefs.h >>conftest.$ac_ext
60221 cat >>conftest.$ac_ext <<_ACEOF
60222 /* end confdefs.h. */
60223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60225 #define $ac_func innocuous_$ac_func
60227 /* System header to define __stub macros and hopefully few prototypes,
60228 which can conflict with char $ac_func (); below.
60229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60230 <limits.h> exists even on freestanding compilers. */
60232 #ifdef __STDC__
60233 # include <limits.h>
60234 #else
60235 # include <assert.h>
60236 #endif
60238 #undef $ac_func
60240 /* Override any gcc2 internal prototype to avoid an error. */
60241 #ifdef __cplusplus
60242 extern "C"
60244 #endif
60245 /* We use char because int might match the return type of a gcc2
60246 builtin and then its argument prototype would still apply. */
60247 char $ac_func ();
60248 /* The GNU C library defines this for functions which it implements
60249 to always fail with ENOSYS. Some functions are actually named
60250 something starting with __ and the normal name is an alias. */
60251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60252 choke me
60253 #else
60254 char (*f) () = $ac_func;
60255 #endif
60256 #ifdef __cplusplus
60258 #endif
60261 main ()
60263 return f != $ac_func;
60265 return 0;
60267 _ACEOF
60268 rm -f conftest.$ac_objext conftest$ac_exeext
60269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60270 (eval $ac_link) 2>conftest.er1
60271 ac_status=$?
60272 grep -v '^ *+' conftest.er1 >conftest.err
60273 rm -f conftest.er1
60274 cat conftest.err >&5
60275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60276 (exit $ac_status); } &&
60277 { ac_try='test -z "$ac_c_werror_flag"
60278 || test ! -s conftest.err'
60279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60280 (eval $ac_try) 2>&5
60281 ac_status=$?
60282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60283 (exit $ac_status); }; } &&
60284 { ac_try='test -s conftest$ac_exeext'
60285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60286 (eval $ac_try) 2>&5
60287 ac_status=$?
60288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60289 (exit $ac_status); }; }; then
60290 eval "$as_ac_var=yes"
60291 else
60292 echo "$as_me: failed program was:" >&5
60293 sed 's/^/| /' conftest.$ac_ext >&5
60295 eval "$as_ac_var=no"
60297 rm -f conftest.err conftest.$ac_objext \
60298 conftest$ac_exeext conftest.$ac_ext
60300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60302 if test `eval echo '${'$as_ac_var'}'` = yes; then
60303 cat >>confdefs.h <<_ACEOF
60304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60305 _ACEOF
60308 done
60310 else
60312 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60313 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60314 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60315 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60316 echo $ECHO_N "(cached) $ECHO_C" >&6
60317 else
60321 ac_ext=cc
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60327 cat >conftest.$ac_ext <<_ACEOF
60328 /* confdefs.h. */
60329 _ACEOF
60330 cat confdefs.h >>conftest.$ac_ext
60331 cat >>conftest.$ac_ext <<_ACEOF
60332 /* end confdefs.h. */
60333 #include <math.h>
60335 main ()
60337 _fmodf(0, 0);
60339 return 0;
60341 _ACEOF
60342 rm -f conftest.$ac_objext
60343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60344 (eval $ac_compile) 2>conftest.er1
60345 ac_status=$?
60346 grep -v '^ *+' conftest.er1 >conftest.err
60347 rm -f conftest.er1
60348 cat conftest.err >&5
60349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60350 (exit $ac_status); } &&
60351 { ac_try='test -z "$ac_cxx_werror_flag"
60352 || test ! -s conftest.err'
60353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60354 (eval $ac_try) 2>&5
60355 ac_status=$?
60356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60357 (exit $ac_status); }; } &&
60358 { ac_try='test -s conftest.$ac_objext'
60359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60360 (eval $ac_try) 2>&5
60361 ac_status=$?
60362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363 (exit $ac_status); }; }; then
60364 glibcxx_cv_func__fmodf_use=yes
60365 else
60366 echo "$as_me: failed program was:" >&5
60367 sed 's/^/| /' conftest.$ac_ext >&5
60369 glibcxx_cv_func__fmodf_use=no
60371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60372 ac_ext=c
60373 ac_cpp='$CPP $CPPFLAGS'
60374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60382 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60383 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60385 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60387 for ac_func in _fmodf
60389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60390 echo "$as_me:$LINENO: checking for $ac_func" >&5
60391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60392 if eval "test \"\${$as_ac_var+set}\" = set"; then
60393 echo $ECHO_N "(cached) $ECHO_C" >&6
60394 else
60395 if test x$gcc_no_link = xyes; then
60396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60398 { (exit 1); exit 1; }; }
60400 cat >conftest.$ac_ext <<_ACEOF
60401 /* confdefs.h. */
60402 _ACEOF
60403 cat confdefs.h >>conftest.$ac_ext
60404 cat >>conftest.$ac_ext <<_ACEOF
60405 /* end confdefs.h. */
60406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60408 #define $ac_func innocuous_$ac_func
60410 /* System header to define __stub macros and hopefully few prototypes,
60411 which can conflict with char $ac_func (); below.
60412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60413 <limits.h> exists even on freestanding compilers. */
60415 #ifdef __STDC__
60416 # include <limits.h>
60417 #else
60418 # include <assert.h>
60419 #endif
60421 #undef $ac_func
60423 /* Override any gcc2 internal prototype to avoid an error. */
60424 #ifdef __cplusplus
60425 extern "C"
60427 #endif
60428 /* We use char because int might match the return type of a gcc2
60429 builtin and then its argument prototype would still apply. */
60430 char $ac_func ();
60431 /* The GNU C library defines this for functions which it implements
60432 to always fail with ENOSYS. Some functions are actually named
60433 something starting with __ and the normal name is an alias. */
60434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60435 choke me
60436 #else
60437 char (*f) () = $ac_func;
60438 #endif
60439 #ifdef __cplusplus
60441 #endif
60444 main ()
60446 return f != $ac_func;
60448 return 0;
60450 _ACEOF
60451 rm -f conftest.$ac_objext conftest$ac_exeext
60452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60453 (eval $ac_link) 2>conftest.er1
60454 ac_status=$?
60455 grep -v '^ *+' conftest.er1 >conftest.err
60456 rm -f conftest.er1
60457 cat conftest.err >&5
60458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60459 (exit $ac_status); } &&
60460 { ac_try='test -z "$ac_c_werror_flag"
60461 || test ! -s conftest.err'
60462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60463 (eval $ac_try) 2>&5
60464 ac_status=$?
60465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60466 (exit $ac_status); }; } &&
60467 { ac_try='test -s conftest$ac_exeext'
60468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60469 (eval $ac_try) 2>&5
60470 ac_status=$?
60471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60472 (exit $ac_status); }; }; then
60473 eval "$as_ac_var=yes"
60474 else
60475 echo "$as_me: failed program was:" >&5
60476 sed 's/^/| /' conftest.$ac_ext >&5
60478 eval "$as_ac_var=no"
60480 rm -f conftest.err conftest.$ac_objext \
60481 conftest$ac_exeext conftest.$ac_ext
60483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60485 if test `eval echo '${'$as_ac_var'}'` = yes; then
60486 cat >>confdefs.h <<_ACEOF
60487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60488 _ACEOF
60491 done
60501 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60502 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60503 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60504 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60505 echo $ECHO_N "(cached) $ECHO_C" >&6
60506 else
60510 ac_ext=cc
60511 ac_cpp='$CXXCPP $CPPFLAGS'
60512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60516 cat >conftest.$ac_ext <<_ACEOF
60517 /* confdefs.h. */
60518 _ACEOF
60519 cat confdefs.h >>conftest.$ac_ext
60520 cat >>conftest.$ac_ext <<_ACEOF
60521 /* end confdefs.h. */
60522 #include <math.h>
60524 main ()
60526 frexpf(0, 0);
60528 return 0;
60530 _ACEOF
60531 rm -f conftest.$ac_objext
60532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60533 (eval $ac_compile) 2>conftest.er1
60534 ac_status=$?
60535 grep -v '^ *+' conftest.er1 >conftest.err
60536 rm -f conftest.er1
60537 cat conftest.err >&5
60538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60539 (exit $ac_status); } &&
60540 { ac_try='test -z "$ac_cxx_werror_flag"
60541 || test ! -s conftest.err'
60542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60543 (eval $ac_try) 2>&5
60544 ac_status=$?
60545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60546 (exit $ac_status); }; } &&
60547 { ac_try='test -s conftest.$ac_objext'
60548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60549 (eval $ac_try) 2>&5
60550 ac_status=$?
60551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60552 (exit $ac_status); }; }; then
60553 glibcxx_cv_func_frexpf_use=yes
60554 else
60555 echo "$as_me: failed program was:" >&5
60556 sed 's/^/| /' conftest.$ac_ext >&5
60558 glibcxx_cv_func_frexpf_use=no
60560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60561 ac_ext=c
60562 ac_cpp='$CPP $CPPFLAGS'
60563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60572 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60574 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60576 for ac_func in frexpf
60578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60579 echo "$as_me:$LINENO: checking for $ac_func" >&5
60580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60581 if eval "test \"\${$as_ac_var+set}\" = set"; then
60582 echo $ECHO_N "(cached) $ECHO_C" >&6
60583 else
60584 if test x$gcc_no_link = xyes; then
60585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60587 { (exit 1); exit 1; }; }
60589 cat >conftest.$ac_ext <<_ACEOF
60590 /* confdefs.h. */
60591 _ACEOF
60592 cat confdefs.h >>conftest.$ac_ext
60593 cat >>conftest.$ac_ext <<_ACEOF
60594 /* end confdefs.h. */
60595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60597 #define $ac_func innocuous_$ac_func
60599 /* System header to define __stub macros and hopefully few prototypes,
60600 which can conflict with char $ac_func (); below.
60601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60602 <limits.h> exists even on freestanding compilers. */
60604 #ifdef __STDC__
60605 # include <limits.h>
60606 #else
60607 # include <assert.h>
60608 #endif
60610 #undef $ac_func
60612 /* Override any gcc2 internal prototype to avoid an error. */
60613 #ifdef __cplusplus
60614 extern "C"
60616 #endif
60617 /* We use char because int might match the return type of a gcc2
60618 builtin and then its argument prototype would still apply. */
60619 char $ac_func ();
60620 /* The GNU C library defines this for functions which it implements
60621 to always fail with ENOSYS. Some functions are actually named
60622 something starting with __ and the normal name is an alias. */
60623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60624 choke me
60625 #else
60626 char (*f) () = $ac_func;
60627 #endif
60628 #ifdef __cplusplus
60630 #endif
60633 main ()
60635 return f != $ac_func;
60637 return 0;
60639 _ACEOF
60640 rm -f conftest.$ac_objext conftest$ac_exeext
60641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60642 (eval $ac_link) 2>conftest.er1
60643 ac_status=$?
60644 grep -v '^ *+' conftest.er1 >conftest.err
60645 rm -f conftest.er1
60646 cat conftest.err >&5
60647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60648 (exit $ac_status); } &&
60649 { ac_try='test -z "$ac_c_werror_flag"
60650 || test ! -s conftest.err'
60651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60652 (eval $ac_try) 2>&5
60653 ac_status=$?
60654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60655 (exit $ac_status); }; } &&
60656 { ac_try='test -s conftest$ac_exeext'
60657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60658 (eval $ac_try) 2>&5
60659 ac_status=$?
60660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60661 (exit $ac_status); }; }; then
60662 eval "$as_ac_var=yes"
60663 else
60664 echo "$as_me: failed program was:" >&5
60665 sed 's/^/| /' conftest.$ac_ext >&5
60667 eval "$as_ac_var=no"
60669 rm -f conftest.err conftest.$ac_objext \
60670 conftest$ac_exeext conftest.$ac_ext
60672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60674 if test `eval echo '${'$as_ac_var'}'` = yes; then
60675 cat >>confdefs.h <<_ACEOF
60676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60677 _ACEOF
60680 done
60682 else
60684 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60685 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60686 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60687 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60688 echo $ECHO_N "(cached) $ECHO_C" >&6
60689 else
60693 ac_ext=cc
60694 ac_cpp='$CXXCPP $CPPFLAGS'
60695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60699 cat >conftest.$ac_ext <<_ACEOF
60700 /* confdefs.h. */
60701 _ACEOF
60702 cat confdefs.h >>conftest.$ac_ext
60703 cat >>conftest.$ac_ext <<_ACEOF
60704 /* end confdefs.h. */
60705 #include <math.h>
60707 main ()
60709 _frexpf(0, 0);
60711 return 0;
60713 _ACEOF
60714 rm -f conftest.$ac_objext
60715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60716 (eval $ac_compile) 2>conftest.er1
60717 ac_status=$?
60718 grep -v '^ *+' conftest.er1 >conftest.err
60719 rm -f conftest.er1
60720 cat conftest.err >&5
60721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60722 (exit $ac_status); } &&
60723 { ac_try='test -z "$ac_cxx_werror_flag"
60724 || test ! -s conftest.err'
60725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60726 (eval $ac_try) 2>&5
60727 ac_status=$?
60728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729 (exit $ac_status); }; } &&
60730 { ac_try='test -s conftest.$ac_objext'
60731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60732 (eval $ac_try) 2>&5
60733 ac_status=$?
60734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735 (exit $ac_status); }; }; then
60736 glibcxx_cv_func__frexpf_use=yes
60737 else
60738 echo "$as_me: failed program was:" >&5
60739 sed 's/^/| /' conftest.$ac_ext >&5
60741 glibcxx_cv_func__frexpf_use=no
60743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60744 ac_ext=c
60745 ac_cpp='$CPP $CPPFLAGS'
60746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60755 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60757 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60759 for ac_func in _frexpf
60761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60762 echo "$as_me:$LINENO: checking for $ac_func" >&5
60763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60764 if eval "test \"\${$as_ac_var+set}\" = set"; then
60765 echo $ECHO_N "(cached) $ECHO_C" >&6
60766 else
60767 if test x$gcc_no_link = xyes; then
60768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60770 { (exit 1); exit 1; }; }
60772 cat >conftest.$ac_ext <<_ACEOF
60773 /* confdefs.h. */
60774 _ACEOF
60775 cat confdefs.h >>conftest.$ac_ext
60776 cat >>conftest.$ac_ext <<_ACEOF
60777 /* end confdefs.h. */
60778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60780 #define $ac_func innocuous_$ac_func
60782 /* System header to define __stub macros and hopefully few prototypes,
60783 which can conflict with char $ac_func (); below.
60784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60785 <limits.h> exists even on freestanding compilers. */
60787 #ifdef __STDC__
60788 # include <limits.h>
60789 #else
60790 # include <assert.h>
60791 #endif
60793 #undef $ac_func
60795 /* Override any gcc2 internal prototype to avoid an error. */
60796 #ifdef __cplusplus
60797 extern "C"
60799 #endif
60800 /* We use char because int might match the return type of a gcc2
60801 builtin and then its argument prototype would still apply. */
60802 char $ac_func ();
60803 /* The GNU C library defines this for functions which it implements
60804 to always fail with ENOSYS. Some functions are actually named
60805 something starting with __ and the normal name is an alias. */
60806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60807 choke me
60808 #else
60809 char (*f) () = $ac_func;
60810 #endif
60811 #ifdef __cplusplus
60813 #endif
60816 main ()
60818 return f != $ac_func;
60820 return 0;
60822 _ACEOF
60823 rm -f conftest.$ac_objext conftest$ac_exeext
60824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60825 (eval $ac_link) 2>conftest.er1
60826 ac_status=$?
60827 grep -v '^ *+' conftest.er1 >conftest.err
60828 rm -f conftest.er1
60829 cat conftest.err >&5
60830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60831 (exit $ac_status); } &&
60832 { ac_try='test -z "$ac_c_werror_flag"
60833 || test ! -s conftest.err'
60834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60835 (eval $ac_try) 2>&5
60836 ac_status=$?
60837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60838 (exit $ac_status); }; } &&
60839 { ac_try='test -s conftest$ac_exeext'
60840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60841 (eval $ac_try) 2>&5
60842 ac_status=$?
60843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60844 (exit $ac_status); }; }; then
60845 eval "$as_ac_var=yes"
60846 else
60847 echo "$as_me: failed program was:" >&5
60848 sed 's/^/| /' conftest.$ac_ext >&5
60850 eval "$as_ac_var=no"
60852 rm -f conftest.err conftest.$ac_objext \
60853 conftest$ac_exeext conftest.$ac_ext
60855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60857 if test `eval echo '${'$as_ac_var'}'` = yes; then
60858 cat >>confdefs.h <<_ACEOF
60859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60860 _ACEOF
60863 done
60873 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60874 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60875 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60876 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60877 echo $ECHO_N "(cached) $ECHO_C" >&6
60878 else
60882 ac_ext=cc
60883 ac_cpp='$CXXCPP $CPPFLAGS'
60884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60888 cat >conftest.$ac_ext <<_ACEOF
60889 /* confdefs.h. */
60890 _ACEOF
60891 cat confdefs.h >>conftest.$ac_ext
60892 cat >>conftest.$ac_ext <<_ACEOF
60893 /* end confdefs.h. */
60894 #include <math.h>
60896 main ()
60898 hypotf(0, 0);
60900 return 0;
60902 _ACEOF
60903 rm -f conftest.$ac_objext
60904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60905 (eval $ac_compile) 2>conftest.er1
60906 ac_status=$?
60907 grep -v '^ *+' conftest.er1 >conftest.err
60908 rm -f conftest.er1
60909 cat conftest.err >&5
60910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60911 (exit $ac_status); } &&
60912 { ac_try='test -z "$ac_cxx_werror_flag"
60913 || test ! -s conftest.err'
60914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60915 (eval $ac_try) 2>&5
60916 ac_status=$?
60917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918 (exit $ac_status); }; } &&
60919 { ac_try='test -s conftest.$ac_objext'
60920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60921 (eval $ac_try) 2>&5
60922 ac_status=$?
60923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60924 (exit $ac_status); }; }; then
60925 glibcxx_cv_func_hypotf_use=yes
60926 else
60927 echo "$as_me: failed program was:" >&5
60928 sed 's/^/| /' conftest.$ac_ext >&5
60930 glibcxx_cv_func_hypotf_use=no
60932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60933 ac_ext=c
60934 ac_cpp='$CPP $CPPFLAGS'
60935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60944 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60948 for ac_func in hypotf
60950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60951 echo "$as_me:$LINENO: checking for $ac_func" >&5
60952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60953 if eval "test \"\${$as_ac_var+set}\" = set"; then
60954 echo $ECHO_N "(cached) $ECHO_C" >&6
60955 else
60956 if test x$gcc_no_link = xyes; then
60957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60959 { (exit 1); exit 1; }; }
60961 cat >conftest.$ac_ext <<_ACEOF
60962 /* confdefs.h. */
60963 _ACEOF
60964 cat confdefs.h >>conftest.$ac_ext
60965 cat >>conftest.$ac_ext <<_ACEOF
60966 /* end confdefs.h. */
60967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60969 #define $ac_func innocuous_$ac_func
60971 /* System header to define __stub macros and hopefully few prototypes,
60972 which can conflict with char $ac_func (); below.
60973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60974 <limits.h> exists even on freestanding compilers. */
60976 #ifdef __STDC__
60977 # include <limits.h>
60978 #else
60979 # include <assert.h>
60980 #endif
60982 #undef $ac_func
60984 /* Override any gcc2 internal prototype to avoid an error. */
60985 #ifdef __cplusplus
60986 extern "C"
60988 #endif
60989 /* We use char because int might match the return type of a gcc2
60990 builtin and then its argument prototype would still apply. */
60991 char $ac_func ();
60992 /* The GNU C library defines this for functions which it implements
60993 to always fail with ENOSYS. Some functions are actually named
60994 something starting with __ and the normal name is an alias. */
60995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60996 choke me
60997 #else
60998 char (*f) () = $ac_func;
60999 #endif
61000 #ifdef __cplusplus
61002 #endif
61005 main ()
61007 return f != $ac_func;
61009 return 0;
61011 _ACEOF
61012 rm -f conftest.$ac_objext conftest$ac_exeext
61013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61014 (eval $ac_link) 2>conftest.er1
61015 ac_status=$?
61016 grep -v '^ *+' conftest.er1 >conftest.err
61017 rm -f conftest.er1
61018 cat conftest.err >&5
61019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61020 (exit $ac_status); } &&
61021 { ac_try='test -z "$ac_c_werror_flag"
61022 || test ! -s conftest.err'
61023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61024 (eval $ac_try) 2>&5
61025 ac_status=$?
61026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027 (exit $ac_status); }; } &&
61028 { ac_try='test -s conftest$ac_exeext'
61029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61030 (eval $ac_try) 2>&5
61031 ac_status=$?
61032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61033 (exit $ac_status); }; }; then
61034 eval "$as_ac_var=yes"
61035 else
61036 echo "$as_me: failed program was:" >&5
61037 sed 's/^/| /' conftest.$ac_ext >&5
61039 eval "$as_ac_var=no"
61041 rm -f conftest.err conftest.$ac_objext \
61042 conftest$ac_exeext conftest.$ac_ext
61044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61046 if test `eval echo '${'$as_ac_var'}'` = yes; then
61047 cat >>confdefs.h <<_ACEOF
61048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61049 _ACEOF
61052 done
61054 else
61056 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61057 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61058 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61059 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61060 echo $ECHO_N "(cached) $ECHO_C" >&6
61061 else
61065 ac_ext=cc
61066 ac_cpp='$CXXCPP $CPPFLAGS'
61067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61071 cat >conftest.$ac_ext <<_ACEOF
61072 /* confdefs.h. */
61073 _ACEOF
61074 cat confdefs.h >>conftest.$ac_ext
61075 cat >>conftest.$ac_ext <<_ACEOF
61076 /* end confdefs.h. */
61077 #include <math.h>
61079 main ()
61081 _hypotf(0, 0);
61083 return 0;
61085 _ACEOF
61086 rm -f conftest.$ac_objext
61087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61088 (eval $ac_compile) 2>conftest.er1
61089 ac_status=$?
61090 grep -v '^ *+' conftest.er1 >conftest.err
61091 rm -f conftest.er1
61092 cat conftest.err >&5
61093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61094 (exit $ac_status); } &&
61095 { ac_try='test -z "$ac_cxx_werror_flag"
61096 || test ! -s conftest.err'
61097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61098 (eval $ac_try) 2>&5
61099 ac_status=$?
61100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61101 (exit $ac_status); }; } &&
61102 { ac_try='test -s conftest.$ac_objext'
61103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61104 (eval $ac_try) 2>&5
61105 ac_status=$?
61106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61107 (exit $ac_status); }; }; then
61108 glibcxx_cv_func__hypotf_use=yes
61109 else
61110 echo "$as_me: failed program was:" >&5
61111 sed 's/^/| /' conftest.$ac_ext >&5
61113 glibcxx_cv_func__hypotf_use=no
61115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61116 ac_ext=c
61117 ac_cpp='$CPP $CPPFLAGS'
61118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61127 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61129 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61131 for ac_func in _hypotf
61133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61134 echo "$as_me:$LINENO: checking for $ac_func" >&5
61135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61136 if eval "test \"\${$as_ac_var+set}\" = set"; then
61137 echo $ECHO_N "(cached) $ECHO_C" >&6
61138 else
61139 if test x$gcc_no_link = xyes; then
61140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61142 { (exit 1); exit 1; }; }
61144 cat >conftest.$ac_ext <<_ACEOF
61145 /* confdefs.h. */
61146 _ACEOF
61147 cat confdefs.h >>conftest.$ac_ext
61148 cat >>conftest.$ac_ext <<_ACEOF
61149 /* end confdefs.h. */
61150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61152 #define $ac_func innocuous_$ac_func
61154 /* System header to define __stub macros and hopefully few prototypes,
61155 which can conflict with char $ac_func (); below.
61156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61157 <limits.h> exists even on freestanding compilers. */
61159 #ifdef __STDC__
61160 # include <limits.h>
61161 #else
61162 # include <assert.h>
61163 #endif
61165 #undef $ac_func
61167 /* Override any gcc2 internal prototype to avoid an error. */
61168 #ifdef __cplusplus
61169 extern "C"
61171 #endif
61172 /* We use char because int might match the return type of a gcc2
61173 builtin and then its argument prototype would still apply. */
61174 char $ac_func ();
61175 /* The GNU C library defines this for functions which it implements
61176 to always fail with ENOSYS. Some functions are actually named
61177 something starting with __ and the normal name is an alias. */
61178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61179 choke me
61180 #else
61181 char (*f) () = $ac_func;
61182 #endif
61183 #ifdef __cplusplus
61185 #endif
61188 main ()
61190 return f != $ac_func;
61192 return 0;
61194 _ACEOF
61195 rm -f conftest.$ac_objext conftest$ac_exeext
61196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61197 (eval $ac_link) 2>conftest.er1
61198 ac_status=$?
61199 grep -v '^ *+' conftest.er1 >conftest.err
61200 rm -f conftest.er1
61201 cat conftest.err >&5
61202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61203 (exit $ac_status); } &&
61204 { ac_try='test -z "$ac_c_werror_flag"
61205 || test ! -s conftest.err'
61206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61207 (eval $ac_try) 2>&5
61208 ac_status=$?
61209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61210 (exit $ac_status); }; } &&
61211 { ac_try='test -s conftest$ac_exeext'
61212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61213 (eval $ac_try) 2>&5
61214 ac_status=$?
61215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61216 (exit $ac_status); }; }; then
61217 eval "$as_ac_var=yes"
61218 else
61219 echo "$as_me: failed program was:" >&5
61220 sed 's/^/| /' conftest.$ac_ext >&5
61222 eval "$as_ac_var=no"
61224 rm -f conftest.err conftest.$ac_objext \
61225 conftest$ac_exeext conftest.$ac_ext
61227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61229 if test `eval echo '${'$as_ac_var'}'` = yes; then
61230 cat >>confdefs.h <<_ACEOF
61231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61232 _ACEOF
61235 done
61245 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61246 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61247 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61248 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61249 echo $ECHO_N "(cached) $ECHO_C" >&6
61250 else
61254 ac_ext=cc
61255 ac_cpp='$CXXCPP $CPPFLAGS'
61256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61260 cat >conftest.$ac_ext <<_ACEOF
61261 /* confdefs.h. */
61262 _ACEOF
61263 cat confdefs.h >>conftest.$ac_ext
61264 cat >>conftest.$ac_ext <<_ACEOF
61265 /* end confdefs.h. */
61266 #include <math.h>
61268 main ()
61270 ldexpf(0, 0);
61272 return 0;
61274 _ACEOF
61275 rm -f conftest.$ac_objext
61276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61277 (eval $ac_compile) 2>conftest.er1
61278 ac_status=$?
61279 grep -v '^ *+' conftest.er1 >conftest.err
61280 rm -f conftest.er1
61281 cat conftest.err >&5
61282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283 (exit $ac_status); } &&
61284 { ac_try='test -z "$ac_cxx_werror_flag"
61285 || test ! -s conftest.err'
61286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61287 (eval $ac_try) 2>&5
61288 ac_status=$?
61289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290 (exit $ac_status); }; } &&
61291 { ac_try='test -s conftest.$ac_objext'
61292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61293 (eval $ac_try) 2>&5
61294 ac_status=$?
61295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61296 (exit $ac_status); }; }; then
61297 glibcxx_cv_func_ldexpf_use=yes
61298 else
61299 echo "$as_me: failed program was:" >&5
61300 sed 's/^/| /' conftest.$ac_ext >&5
61302 glibcxx_cv_func_ldexpf_use=no
61304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61316 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61318 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61320 for ac_func in ldexpf
61322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61323 echo "$as_me:$LINENO: checking for $ac_func" >&5
61324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61325 if eval "test \"\${$as_ac_var+set}\" = set"; then
61326 echo $ECHO_N "(cached) $ECHO_C" >&6
61327 else
61328 if test x$gcc_no_link = xyes; then
61329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61331 { (exit 1); exit 1; }; }
61333 cat >conftest.$ac_ext <<_ACEOF
61334 /* confdefs.h. */
61335 _ACEOF
61336 cat confdefs.h >>conftest.$ac_ext
61337 cat >>conftest.$ac_ext <<_ACEOF
61338 /* end confdefs.h. */
61339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61341 #define $ac_func innocuous_$ac_func
61343 /* System header to define __stub macros and hopefully few prototypes,
61344 which can conflict with char $ac_func (); below.
61345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61346 <limits.h> exists even on freestanding compilers. */
61348 #ifdef __STDC__
61349 # include <limits.h>
61350 #else
61351 # include <assert.h>
61352 #endif
61354 #undef $ac_func
61356 /* Override any gcc2 internal prototype to avoid an error. */
61357 #ifdef __cplusplus
61358 extern "C"
61360 #endif
61361 /* We use char because int might match the return type of a gcc2
61362 builtin and then its argument prototype would still apply. */
61363 char $ac_func ();
61364 /* The GNU C library defines this for functions which it implements
61365 to always fail with ENOSYS. Some functions are actually named
61366 something starting with __ and the normal name is an alias. */
61367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61368 choke me
61369 #else
61370 char (*f) () = $ac_func;
61371 #endif
61372 #ifdef __cplusplus
61374 #endif
61377 main ()
61379 return f != $ac_func;
61381 return 0;
61383 _ACEOF
61384 rm -f conftest.$ac_objext conftest$ac_exeext
61385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61386 (eval $ac_link) 2>conftest.er1
61387 ac_status=$?
61388 grep -v '^ *+' conftest.er1 >conftest.err
61389 rm -f conftest.er1
61390 cat conftest.err >&5
61391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61392 (exit $ac_status); } &&
61393 { ac_try='test -z "$ac_c_werror_flag"
61394 || test ! -s conftest.err'
61395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61396 (eval $ac_try) 2>&5
61397 ac_status=$?
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); }; } &&
61400 { ac_try='test -s conftest$ac_exeext'
61401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61402 (eval $ac_try) 2>&5
61403 ac_status=$?
61404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61405 (exit $ac_status); }; }; then
61406 eval "$as_ac_var=yes"
61407 else
61408 echo "$as_me: failed program was:" >&5
61409 sed 's/^/| /' conftest.$ac_ext >&5
61411 eval "$as_ac_var=no"
61413 rm -f conftest.err conftest.$ac_objext \
61414 conftest$ac_exeext conftest.$ac_ext
61416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61418 if test `eval echo '${'$as_ac_var'}'` = yes; then
61419 cat >>confdefs.h <<_ACEOF
61420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61421 _ACEOF
61424 done
61426 else
61428 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61429 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61430 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61431 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61432 echo $ECHO_N "(cached) $ECHO_C" >&6
61433 else
61437 ac_ext=cc
61438 ac_cpp='$CXXCPP $CPPFLAGS'
61439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61443 cat >conftest.$ac_ext <<_ACEOF
61444 /* confdefs.h. */
61445 _ACEOF
61446 cat confdefs.h >>conftest.$ac_ext
61447 cat >>conftest.$ac_ext <<_ACEOF
61448 /* end confdefs.h. */
61449 #include <math.h>
61451 main ()
61453 _ldexpf(0, 0);
61455 return 0;
61457 _ACEOF
61458 rm -f conftest.$ac_objext
61459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61460 (eval $ac_compile) 2>conftest.er1
61461 ac_status=$?
61462 grep -v '^ *+' conftest.er1 >conftest.err
61463 rm -f conftest.er1
61464 cat conftest.err >&5
61465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61466 (exit $ac_status); } &&
61467 { ac_try='test -z "$ac_cxx_werror_flag"
61468 || test ! -s conftest.err'
61469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61470 (eval $ac_try) 2>&5
61471 ac_status=$?
61472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61473 (exit $ac_status); }; } &&
61474 { ac_try='test -s conftest.$ac_objext'
61475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61476 (eval $ac_try) 2>&5
61477 ac_status=$?
61478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61479 (exit $ac_status); }; }; then
61480 glibcxx_cv_func__ldexpf_use=yes
61481 else
61482 echo "$as_me: failed program was:" >&5
61483 sed 's/^/| /' conftest.$ac_ext >&5
61485 glibcxx_cv_func__ldexpf_use=no
61487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61488 ac_ext=c
61489 ac_cpp='$CPP $CPPFLAGS'
61490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61499 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61501 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61503 for ac_func in _ldexpf
61505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61506 echo "$as_me:$LINENO: checking for $ac_func" >&5
61507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61508 if eval "test \"\${$as_ac_var+set}\" = set"; then
61509 echo $ECHO_N "(cached) $ECHO_C" >&6
61510 else
61511 if test x$gcc_no_link = xyes; then
61512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61514 { (exit 1); exit 1; }; }
61516 cat >conftest.$ac_ext <<_ACEOF
61517 /* confdefs.h. */
61518 _ACEOF
61519 cat confdefs.h >>conftest.$ac_ext
61520 cat >>conftest.$ac_ext <<_ACEOF
61521 /* end confdefs.h. */
61522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61524 #define $ac_func innocuous_$ac_func
61526 /* System header to define __stub macros and hopefully few prototypes,
61527 which can conflict with char $ac_func (); below.
61528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61529 <limits.h> exists even on freestanding compilers. */
61531 #ifdef __STDC__
61532 # include <limits.h>
61533 #else
61534 # include <assert.h>
61535 #endif
61537 #undef $ac_func
61539 /* Override any gcc2 internal prototype to avoid an error. */
61540 #ifdef __cplusplus
61541 extern "C"
61543 #endif
61544 /* We use char because int might match the return type of a gcc2
61545 builtin and then its argument prototype would still apply. */
61546 char $ac_func ();
61547 /* The GNU C library defines this for functions which it implements
61548 to always fail with ENOSYS. Some functions are actually named
61549 something starting with __ and the normal name is an alias. */
61550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61551 choke me
61552 #else
61553 char (*f) () = $ac_func;
61554 #endif
61555 #ifdef __cplusplus
61557 #endif
61560 main ()
61562 return f != $ac_func;
61564 return 0;
61566 _ACEOF
61567 rm -f conftest.$ac_objext conftest$ac_exeext
61568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61569 (eval $ac_link) 2>conftest.er1
61570 ac_status=$?
61571 grep -v '^ *+' conftest.er1 >conftest.err
61572 rm -f conftest.er1
61573 cat conftest.err >&5
61574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61575 (exit $ac_status); } &&
61576 { ac_try='test -z "$ac_c_werror_flag"
61577 || test ! -s conftest.err'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; } &&
61583 { ac_try='test -s conftest$ac_exeext'
61584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61585 (eval $ac_try) 2>&5
61586 ac_status=$?
61587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588 (exit $ac_status); }; }; then
61589 eval "$as_ac_var=yes"
61590 else
61591 echo "$as_me: failed program was:" >&5
61592 sed 's/^/| /' conftest.$ac_ext >&5
61594 eval "$as_ac_var=no"
61596 rm -f conftest.err conftest.$ac_objext \
61597 conftest$ac_exeext conftest.$ac_ext
61599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61601 if test `eval echo '${'$as_ac_var'}'` = yes; then
61602 cat >>confdefs.h <<_ACEOF
61603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61604 _ACEOF
61607 done
61617 echo "$as_me:$LINENO: checking for logf declaration" >&5
61618 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61619 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61620 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61621 echo $ECHO_N "(cached) $ECHO_C" >&6
61622 else
61626 ac_ext=cc
61627 ac_cpp='$CXXCPP $CPPFLAGS'
61628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61632 cat >conftest.$ac_ext <<_ACEOF
61633 /* confdefs.h. */
61634 _ACEOF
61635 cat confdefs.h >>conftest.$ac_ext
61636 cat >>conftest.$ac_ext <<_ACEOF
61637 /* end confdefs.h. */
61638 #include <math.h>
61639 #ifdef HAVE_IEEEFP_H
61640 #include <ieeefp.h>
61641 #endif
61644 main ()
61646 logf(0);
61648 return 0;
61650 _ACEOF
61651 rm -f conftest.$ac_objext
61652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61653 (eval $ac_compile) 2>conftest.er1
61654 ac_status=$?
61655 grep -v '^ *+' conftest.er1 >conftest.err
61656 rm -f conftest.er1
61657 cat conftest.err >&5
61658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61659 (exit $ac_status); } &&
61660 { ac_try='test -z "$ac_cxx_werror_flag"
61661 || test ! -s conftest.err'
61662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61663 (eval $ac_try) 2>&5
61664 ac_status=$?
61665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666 (exit $ac_status); }; } &&
61667 { ac_try='test -s conftest.$ac_objext'
61668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61669 (eval $ac_try) 2>&5
61670 ac_status=$?
61671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61672 (exit $ac_status); }; }; then
61673 glibcxx_cv_func_logf_use=yes
61674 else
61675 echo "$as_me: failed program was:" >&5
61676 sed 's/^/| /' conftest.$ac_ext >&5
61678 glibcxx_cv_func_logf_use=no
61680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61692 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61694 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61696 for ac_func in logf
61698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61699 echo "$as_me:$LINENO: checking for $ac_func" >&5
61700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61701 if eval "test \"\${$as_ac_var+set}\" = set"; then
61702 echo $ECHO_N "(cached) $ECHO_C" >&6
61703 else
61704 if test x$gcc_no_link = xyes; then
61705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61707 { (exit 1); exit 1; }; }
61709 cat >conftest.$ac_ext <<_ACEOF
61710 /* confdefs.h. */
61711 _ACEOF
61712 cat confdefs.h >>conftest.$ac_ext
61713 cat >>conftest.$ac_ext <<_ACEOF
61714 /* end confdefs.h. */
61715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61717 #define $ac_func innocuous_$ac_func
61719 /* System header to define __stub macros and hopefully few prototypes,
61720 which can conflict with char $ac_func (); below.
61721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61722 <limits.h> exists even on freestanding compilers. */
61724 #ifdef __STDC__
61725 # include <limits.h>
61726 #else
61727 # include <assert.h>
61728 #endif
61730 #undef $ac_func
61732 /* Override any gcc2 internal prototype to avoid an error. */
61733 #ifdef __cplusplus
61734 extern "C"
61736 #endif
61737 /* We use char because int might match the return type of a gcc2
61738 builtin and then its argument prototype would still apply. */
61739 char $ac_func ();
61740 /* The GNU C library defines this for functions which it implements
61741 to always fail with ENOSYS. Some functions are actually named
61742 something starting with __ and the normal name is an alias. */
61743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61744 choke me
61745 #else
61746 char (*f) () = $ac_func;
61747 #endif
61748 #ifdef __cplusplus
61750 #endif
61753 main ()
61755 return f != $ac_func;
61757 return 0;
61759 _ACEOF
61760 rm -f conftest.$ac_objext conftest$ac_exeext
61761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61762 (eval $ac_link) 2>conftest.er1
61763 ac_status=$?
61764 grep -v '^ *+' conftest.er1 >conftest.err
61765 rm -f conftest.er1
61766 cat conftest.err >&5
61767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61768 (exit $ac_status); } &&
61769 { ac_try='test -z "$ac_c_werror_flag"
61770 || test ! -s conftest.err'
61771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61772 (eval $ac_try) 2>&5
61773 ac_status=$?
61774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775 (exit $ac_status); }; } &&
61776 { ac_try='test -s conftest$ac_exeext'
61777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61778 (eval $ac_try) 2>&5
61779 ac_status=$?
61780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61781 (exit $ac_status); }; }; then
61782 eval "$as_ac_var=yes"
61783 else
61784 echo "$as_me: failed program was:" >&5
61785 sed 's/^/| /' conftest.$ac_ext >&5
61787 eval "$as_ac_var=no"
61789 rm -f conftest.err conftest.$ac_objext \
61790 conftest$ac_exeext conftest.$ac_ext
61792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61794 if test `eval echo '${'$as_ac_var'}'` = yes; then
61795 cat >>confdefs.h <<_ACEOF
61796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61797 _ACEOF
61800 done
61802 else
61804 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61805 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61806 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61807 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61808 echo $ECHO_N "(cached) $ECHO_C" >&6
61809 else
61813 ac_ext=cc
61814 ac_cpp='$CXXCPP $CPPFLAGS'
61815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61819 cat >conftest.$ac_ext <<_ACEOF
61820 /* confdefs.h. */
61821 _ACEOF
61822 cat confdefs.h >>conftest.$ac_ext
61823 cat >>conftest.$ac_ext <<_ACEOF
61824 /* end confdefs.h. */
61825 #include <math.h>
61826 #ifdef HAVE_IEEEFP_H
61827 #include <ieeefp.h>
61828 #endif
61831 main ()
61833 _logf(0);
61835 return 0;
61837 _ACEOF
61838 rm -f conftest.$ac_objext
61839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61840 (eval $ac_compile) 2>conftest.er1
61841 ac_status=$?
61842 grep -v '^ *+' conftest.er1 >conftest.err
61843 rm -f conftest.er1
61844 cat conftest.err >&5
61845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61846 (exit $ac_status); } &&
61847 { ac_try='test -z "$ac_cxx_werror_flag"
61848 || test ! -s conftest.err'
61849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61850 (eval $ac_try) 2>&5
61851 ac_status=$?
61852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61853 (exit $ac_status); }; } &&
61854 { ac_try='test -s conftest.$ac_objext'
61855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61856 (eval $ac_try) 2>&5
61857 ac_status=$?
61858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61859 (exit $ac_status); }; }; then
61860 glibcxx_cv_func__logf_use=yes
61861 else
61862 echo "$as_me: failed program was:" >&5
61863 sed 's/^/| /' conftest.$ac_ext >&5
61865 glibcxx_cv_func__logf_use=no
61867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61868 ac_ext=c
61869 ac_cpp='$CPP $CPPFLAGS'
61870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61879 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61881 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61883 for ac_func in _logf
61885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61886 echo "$as_me:$LINENO: checking for $ac_func" >&5
61887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61888 if eval "test \"\${$as_ac_var+set}\" = set"; then
61889 echo $ECHO_N "(cached) $ECHO_C" >&6
61890 else
61891 if test x$gcc_no_link = xyes; then
61892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61894 { (exit 1); exit 1; }; }
61896 cat >conftest.$ac_ext <<_ACEOF
61897 /* confdefs.h. */
61898 _ACEOF
61899 cat confdefs.h >>conftest.$ac_ext
61900 cat >>conftest.$ac_ext <<_ACEOF
61901 /* end confdefs.h. */
61902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61904 #define $ac_func innocuous_$ac_func
61906 /* System header to define __stub macros and hopefully few prototypes,
61907 which can conflict with char $ac_func (); below.
61908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61909 <limits.h> exists even on freestanding compilers. */
61911 #ifdef __STDC__
61912 # include <limits.h>
61913 #else
61914 # include <assert.h>
61915 #endif
61917 #undef $ac_func
61919 /* Override any gcc2 internal prototype to avoid an error. */
61920 #ifdef __cplusplus
61921 extern "C"
61923 #endif
61924 /* We use char because int might match the return type of a gcc2
61925 builtin and then its argument prototype would still apply. */
61926 char $ac_func ();
61927 /* The GNU C library defines this for functions which it implements
61928 to always fail with ENOSYS. Some functions are actually named
61929 something starting with __ and the normal name is an alias. */
61930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61931 choke me
61932 #else
61933 char (*f) () = $ac_func;
61934 #endif
61935 #ifdef __cplusplus
61937 #endif
61940 main ()
61942 return f != $ac_func;
61944 return 0;
61946 _ACEOF
61947 rm -f conftest.$ac_objext conftest$ac_exeext
61948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61949 (eval $ac_link) 2>conftest.er1
61950 ac_status=$?
61951 grep -v '^ *+' conftest.er1 >conftest.err
61952 rm -f conftest.er1
61953 cat conftest.err >&5
61954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61955 (exit $ac_status); } &&
61956 { ac_try='test -z "$ac_c_werror_flag"
61957 || test ! -s conftest.err'
61958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61959 (eval $ac_try) 2>&5
61960 ac_status=$?
61961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61962 (exit $ac_status); }; } &&
61963 { ac_try='test -s conftest$ac_exeext'
61964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61965 (eval $ac_try) 2>&5
61966 ac_status=$?
61967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61968 (exit $ac_status); }; }; then
61969 eval "$as_ac_var=yes"
61970 else
61971 echo "$as_me: failed program was:" >&5
61972 sed 's/^/| /' conftest.$ac_ext >&5
61974 eval "$as_ac_var=no"
61976 rm -f conftest.err conftest.$ac_objext \
61977 conftest$ac_exeext conftest.$ac_ext
61979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61981 if test `eval echo '${'$as_ac_var'}'` = yes; then
61982 cat >>confdefs.h <<_ACEOF
61983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61984 _ACEOF
61987 done
61997 echo "$as_me:$LINENO: checking for log10f declaration" >&5
61998 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61999 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62000 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62001 echo $ECHO_N "(cached) $ECHO_C" >&6
62002 else
62006 ac_ext=cc
62007 ac_cpp='$CXXCPP $CPPFLAGS'
62008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62012 cat >conftest.$ac_ext <<_ACEOF
62013 /* confdefs.h. */
62014 _ACEOF
62015 cat confdefs.h >>conftest.$ac_ext
62016 cat >>conftest.$ac_ext <<_ACEOF
62017 /* end confdefs.h. */
62018 #include <math.h>
62019 #ifdef HAVE_IEEEFP_H
62020 #include <ieeefp.h>
62021 #endif
62024 main ()
62026 log10f(0);
62028 return 0;
62030 _ACEOF
62031 rm -f conftest.$ac_objext
62032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62033 (eval $ac_compile) 2>conftest.er1
62034 ac_status=$?
62035 grep -v '^ *+' conftest.er1 >conftest.err
62036 rm -f conftest.er1
62037 cat conftest.err >&5
62038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62039 (exit $ac_status); } &&
62040 { ac_try='test -z "$ac_cxx_werror_flag"
62041 || test ! -s conftest.err'
62042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62043 (eval $ac_try) 2>&5
62044 ac_status=$?
62045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62046 (exit $ac_status); }; } &&
62047 { ac_try='test -s conftest.$ac_objext'
62048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62049 (eval $ac_try) 2>&5
62050 ac_status=$?
62051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62052 (exit $ac_status); }; }; then
62053 glibcxx_cv_func_log10f_use=yes
62054 else
62055 echo "$as_me: failed program was:" >&5
62056 sed 's/^/| /' conftest.$ac_ext >&5
62058 glibcxx_cv_func_log10f_use=no
62060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62072 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62074 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62076 for ac_func in log10f
62078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62079 echo "$as_me:$LINENO: checking for $ac_func" >&5
62080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62081 if eval "test \"\${$as_ac_var+set}\" = set"; then
62082 echo $ECHO_N "(cached) $ECHO_C" >&6
62083 else
62084 if test x$gcc_no_link = xyes; then
62085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62087 { (exit 1); exit 1; }; }
62089 cat >conftest.$ac_ext <<_ACEOF
62090 /* confdefs.h. */
62091 _ACEOF
62092 cat confdefs.h >>conftest.$ac_ext
62093 cat >>conftest.$ac_ext <<_ACEOF
62094 /* end confdefs.h. */
62095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62097 #define $ac_func innocuous_$ac_func
62099 /* System header to define __stub macros and hopefully few prototypes,
62100 which can conflict with char $ac_func (); below.
62101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62102 <limits.h> exists even on freestanding compilers. */
62104 #ifdef __STDC__
62105 # include <limits.h>
62106 #else
62107 # include <assert.h>
62108 #endif
62110 #undef $ac_func
62112 /* Override any gcc2 internal prototype to avoid an error. */
62113 #ifdef __cplusplus
62114 extern "C"
62116 #endif
62117 /* We use char because int might match the return type of a gcc2
62118 builtin and then its argument prototype would still apply. */
62119 char $ac_func ();
62120 /* The GNU C library defines this for functions which it implements
62121 to always fail with ENOSYS. Some functions are actually named
62122 something starting with __ and the normal name is an alias. */
62123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62124 choke me
62125 #else
62126 char (*f) () = $ac_func;
62127 #endif
62128 #ifdef __cplusplus
62130 #endif
62133 main ()
62135 return f != $ac_func;
62137 return 0;
62139 _ACEOF
62140 rm -f conftest.$ac_objext conftest$ac_exeext
62141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62142 (eval $ac_link) 2>conftest.er1
62143 ac_status=$?
62144 grep -v '^ *+' conftest.er1 >conftest.err
62145 rm -f conftest.er1
62146 cat conftest.err >&5
62147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62148 (exit $ac_status); } &&
62149 { ac_try='test -z "$ac_c_werror_flag"
62150 || test ! -s conftest.err'
62151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62152 (eval $ac_try) 2>&5
62153 ac_status=$?
62154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62155 (exit $ac_status); }; } &&
62156 { ac_try='test -s conftest$ac_exeext'
62157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62158 (eval $ac_try) 2>&5
62159 ac_status=$?
62160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62161 (exit $ac_status); }; }; then
62162 eval "$as_ac_var=yes"
62163 else
62164 echo "$as_me: failed program was:" >&5
62165 sed 's/^/| /' conftest.$ac_ext >&5
62167 eval "$as_ac_var=no"
62169 rm -f conftest.err conftest.$ac_objext \
62170 conftest$ac_exeext conftest.$ac_ext
62172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62174 if test `eval echo '${'$as_ac_var'}'` = yes; then
62175 cat >>confdefs.h <<_ACEOF
62176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62177 _ACEOF
62180 done
62182 else
62184 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62185 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62186 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62187 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62188 echo $ECHO_N "(cached) $ECHO_C" >&6
62189 else
62193 ac_ext=cc
62194 ac_cpp='$CXXCPP $CPPFLAGS'
62195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62199 cat >conftest.$ac_ext <<_ACEOF
62200 /* confdefs.h. */
62201 _ACEOF
62202 cat confdefs.h >>conftest.$ac_ext
62203 cat >>conftest.$ac_ext <<_ACEOF
62204 /* end confdefs.h. */
62205 #include <math.h>
62206 #ifdef HAVE_IEEEFP_H
62207 #include <ieeefp.h>
62208 #endif
62211 main ()
62213 _log10f(0);
62215 return 0;
62217 _ACEOF
62218 rm -f conftest.$ac_objext
62219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62220 (eval $ac_compile) 2>conftest.er1
62221 ac_status=$?
62222 grep -v '^ *+' conftest.er1 >conftest.err
62223 rm -f conftest.er1
62224 cat conftest.err >&5
62225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62226 (exit $ac_status); } &&
62227 { ac_try='test -z "$ac_cxx_werror_flag"
62228 || test ! -s conftest.err'
62229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62230 (eval $ac_try) 2>&5
62231 ac_status=$?
62232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62233 (exit $ac_status); }; } &&
62234 { ac_try='test -s conftest.$ac_objext'
62235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62236 (eval $ac_try) 2>&5
62237 ac_status=$?
62238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62239 (exit $ac_status); }; }; then
62240 glibcxx_cv_func__log10f_use=yes
62241 else
62242 echo "$as_me: failed program was:" >&5
62243 sed 's/^/| /' conftest.$ac_ext >&5
62245 glibcxx_cv_func__log10f_use=no
62247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62259 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62261 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62263 for ac_func in _log10f
62265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62266 echo "$as_me:$LINENO: checking for $ac_func" >&5
62267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62268 if eval "test \"\${$as_ac_var+set}\" = set"; then
62269 echo $ECHO_N "(cached) $ECHO_C" >&6
62270 else
62271 if test x$gcc_no_link = xyes; then
62272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62274 { (exit 1); exit 1; }; }
62276 cat >conftest.$ac_ext <<_ACEOF
62277 /* confdefs.h. */
62278 _ACEOF
62279 cat confdefs.h >>conftest.$ac_ext
62280 cat >>conftest.$ac_ext <<_ACEOF
62281 /* end confdefs.h. */
62282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62284 #define $ac_func innocuous_$ac_func
62286 /* System header to define __stub macros and hopefully few prototypes,
62287 which can conflict with char $ac_func (); below.
62288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62289 <limits.h> exists even on freestanding compilers. */
62291 #ifdef __STDC__
62292 # include <limits.h>
62293 #else
62294 # include <assert.h>
62295 #endif
62297 #undef $ac_func
62299 /* Override any gcc2 internal prototype to avoid an error. */
62300 #ifdef __cplusplus
62301 extern "C"
62303 #endif
62304 /* We use char because int might match the return type of a gcc2
62305 builtin and then its argument prototype would still apply. */
62306 char $ac_func ();
62307 /* The GNU C library defines this for functions which it implements
62308 to always fail with ENOSYS. Some functions are actually named
62309 something starting with __ and the normal name is an alias. */
62310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62311 choke me
62312 #else
62313 char (*f) () = $ac_func;
62314 #endif
62315 #ifdef __cplusplus
62317 #endif
62320 main ()
62322 return f != $ac_func;
62324 return 0;
62326 _ACEOF
62327 rm -f conftest.$ac_objext conftest$ac_exeext
62328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62329 (eval $ac_link) 2>conftest.er1
62330 ac_status=$?
62331 grep -v '^ *+' conftest.er1 >conftest.err
62332 rm -f conftest.er1
62333 cat conftest.err >&5
62334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62335 (exit $ac_status); } &&
62336 { ac_try='test -z "$ac_c_werror_flag"
62337 || test ! -s conftest.err'
62338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62339 (eval $ac_try) 2>&5
62340 ac_status=$?
62341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342 (exit $ac_status); }; } &&
62343 { ac_try='test -s conftest$ac_exeext'
62344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62345 (eval $ac_try) 2>&5
62346 ac_status=$?
62347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62348 (exit $ac_status); }; }; then
62349 eval "$as_ac_var=yes"
62350 else
62351 echo "$as_me: failed program was:" >&5
62352 sed 's/^/| /' conftest.$ac_ext >&5
62354 eval "$as_ac_var=no"
62356 rm -f conftest.err conftest.$ac_objext \
62357 conftest$ac_exeext conftest.$ac_ext
62359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62361 if test `eval echo '${'$as_ac_var'}'` = yes; then
62362 cat >>confdefs.h <<_ACEOF
62363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62364 _ACEOF
62367 done
62377 echo "$as_me:$LINENO: checking for modff declaration" >&5
62378 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62379 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62380 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62381 echo $ECHO_N "(cached) $ECHO_C" >&6
62382 else
62386 ac_ext=cc
62387 ac_cpp='$CXXCPP $CPPFLAGS'
62388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62392 cat >conftest.$ac_ext <<_ACEOF
62393 /* confdefs.h. */
62394 _ACEOF
62395 cat confdefs.h >>conftest.$ac_ext
62396 cat >>conftest.$ac_ext <<_ACEOF
62397 /* end confdefs.h. */
62398 #include <math.h>
62400 main ()
62402 modff(0, 0);
62404 return 0;
62406 _ACEOF
62407 rm -f conftest.$ac_objext
62408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62409 (eval $ac_compile) 2>conftest.er1
62410 ac_status=$?
62411 grep -v '^ *+' conftest.er1 >conftest.err
62412 rm -f conftest.er1
62413 cat conftest.err >&5
62414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62415 (exit $ac_status); } &&
62416 { ac_try='test -z "$ac_cxx_werror_flag"
62417 || test ! -s conftest.err'
62418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419 (eval $ac_try) 2>&5
62420 ac_status=$?
62421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422 (exit $ac_status); }; } &&
62423 { ac_try='test -s conftest.$ac_objext'
62424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62425 (eval $ac_try) 2>&5
62426 ac_status=$?
62427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62428 (exit $ac_status); }; }; then
62429 glibcxx_cv_func_modff_use=yes
62430 else
62431 echo "$as_me: failed program was:" >&5
62432 sed 's/^/| /' conftest.$ac_ext >&5
62434 glibcxx_cv_func_modff_use=no
62436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62437 ac_ext=c
62438 ac_cpp='$CPP $CPPFLAGS'
62439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62448 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62450 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62452 for ac_func in modff
62454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62455 echo "$as_me:$LINENO: checking for $ac_func" >&5
62456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62457 if eval "test \"\${$as_ac_var+set}\" = set"; then
62458 echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62460 if test x$gcc_no_link = xyes; then
62461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62463 { (exit 1); exit 1; }; }
62465 cat >conftest.$ac_ext <<_ACEOF
62466 /* confdefs.h. */
62467 _ACEOF
62468 cat confdefs.h >>conftest.$ac_ext
62469 cat >>conftest.$ac_ext <<_ACEOF
62470 /* end confdefs.h. */
62471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62473 #define $ac_func innocuous_$ac_func
62475 /* System header to define __stub macros and hopefully few prototypes,
62476 which can conflict with char $ac_func (); below.
62477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62478 <limits.h> exists even on freestanding compilers. */
62480 #ifdef __STDC__
62481 # include <limits.h>
62482 #else
62483 # include <assert.h>
62484 #endif
62486 #undef $ac_func
62488 /* Override any gcc2 internal prototype to avoid an error. */
62489 #ifdef __cplusplus
62490 extern "C"
62492 #endif
62493 /* We use char because int might match the return type of a gcc2
62494 builtin and then its argument prototype would still apply. */
62495 char $ac_func ();
62496 /* The GNU C library defines this for functions which it implements
62497 to always fail with ENOSYS. Some functions are actually named
62498 something starting with __ and the normal name is an alias. */
62499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62500 choke me
62501 #else
62502 char (*f) () = $ac_func;
62503 #endif
62504 #ifdef __cplusplus
62506 #endif
62509 main ()
62511 return f != $ac_func;
62513 return 0;
62515 _ACEOF
62516 rm -f conftest.$ac_objext conftest$ac_exeext
62517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62518 (eval $ac_link) 2>conftest.er1
62519 ac_status=$?
62520 grep -v '^ *+' conftest.er1 >conftest.err
62521 rm -f conftest.er1
62522 cat conftest.err >&5
62523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62524 (exit $ac_status); } &&
62525 { ac_try='test -z "$ac_c_werror_flag"
62526 || test ! -s conftest.err'
62527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528 (eval $ac_try) 2>&5
62529 ac_status=$?
62530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531 (exit $ac_status); }; } &&
62532 { ac_try='test -s conftest$ac_exeext'
62533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62534 (eval $ac_try) 2>&5
62535 ac_status=$?
62536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62537 (exit $ac_status); }; }; then
62538 eval "$as_ac_var=yes"
62539 else
62540 echo "$as_me: failed program was:" >&5
62541 sed 's/^/| /' conftest.$ac_ext >&5
62543 eval "$as_ac_var=no"
62545 rm -f conftest.err conftest.$ac_objext \
62546 conftest$ac_exeext conftest.$ac_ext
62548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62550 if test `eval echo '${'$as_ac_var'}'` = yes; then
62551 cat >>confdefs.h <<_ACEOF
62552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62553 _ACEOF
62556 done
62558 else
62560 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62561 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62562 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62563 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62564 echo $ECHO_N "(cached) $ECHO_C" >&6
62565 else
62569 ac_ext=cc
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62575 cat >conftest.$ac_ext <<_ACEOF
62576 /* confdefs.h. */
62577 _ACEOF
62578 cat confdefs.h >>conftest.$ac_ext
62579 cat >>conftest.$ac_ext <<_ACEOF
62580 /* end confdefs.h. */
62581 #include <math.h>
62583 main ()
62585 _modff(0, 0);
62587 return 0;
62589 _ACEOF
62590 rm -f conftest.$ac_objext
62591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62592 (eval $ac_compile) 2>conftest.er1
62593 ac_status=$?
62594 grep -v '^ *+' conftest.er1 >conftest.err
62595 rm -f conftest.er1
62596 cat conftest.err >&5
62597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62598 (exit $ac_status); } &&
62599 { ac_try='test -z "$ac_cxx_werror_flag"
62600 || test ! -s conftest.err'
62601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62602 (eval $ac_try) 2>&5
62603 ac_status=$?
62604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62605 (exit $ac_status); }; } &&
62606 { ac_try='test -s conftest.$ac_objext'
62607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62608 (eval $ac_try) 2>&5
62609 ac_status=$?
62610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62611 (exit $ac_status); }; }; then
62612 glibcxx_cv_func__modff_use=yes
62613 else
62614 echo "$as_me: failed program was:" >&5
62615 sed 's/^/| /' conftest.$ac_ext >&5
62617 glibcxx_cv_func__modff_use=no
62619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62620 ac_ext=c
62621 ac_cpp='$CPP $CPPFLAGS'
62622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62631 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62633 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62635 for ac_func in _modff
62637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62638 echo "$as_me:$LINENO: checking for $ac_func" >&5
62639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62640 if eval "test \"\${$as_ac_var+set}\" = set"; then
62641 echo $ECHO_N "(cached) $ECHO_C" >&6
62642 else
62643 if test x$gcc_no_link = xyes; then
62644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62646 { (exit 1); exit 1; }; }
62648 cat >conftest.$ac_ext <<_ACEOF
62649 /* confdefs.h. */
62650 _ACEOF
62651 cat confdefs.h >>conftest.$ac_ext
62652 cat >>conftest.$ac_ext <<_ACEOF
62653 /* end confdefs.h. */
62654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62656 #define $ac_func innocuous_$ac_func
62658 /* System header to define __stub macros and hopefully few prototypes,
62659 which can conflict with char $ac_func (); below.
62660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62661 <limits.h> exists even on freestanding compilers. */
62663 #ifdef __STDC__
62664 # include <limits.h>
62665 #else
62666 # include <assert.h>
62667 #endif
62669 #undef $ac_func
62671 /* Override any gcc2 internal prototype to avoid an error. */
62672 #ifdef __cplusplus
62673 extern "C"
62675 #endif
62676 /* We use char because int might match the return type of a gcc2
62677 builtin and then its argument prototype would still apply. */
62678 char $ac_func ();
62679 /* The GNU C library defines this for functions which it implements
62680 to always fail with ENOSYS. Some functions are actually named
62681 something starting with __ and the normal name is an alias. */
62682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62683 choke me
62684 #else
62685 char (*f) () = $ac_func;
62686 #endif
62687 #ifdef __cplusplus
62689 #endif
62692 main ()
62694 return f != $ac_func;
62696 return 0;
62698 _ACEOF
62699 rm -f conftest.$ac_objext conftest$ac_exeext
62700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62701 (eval $ac_link) 2>conftest.er1
62702 ac_status=$?
62703 grep -v '^ *+' conftest.er1 >conftest.err
62704 rm -f conftest.er1
62705 cat conftest.err >&5
62706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62707 (exit $ac_status); } &&
62708 { ac_try='test -z "$ac_c_werror_flag"
62709 || test ! -s conftest.err'
62710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62711 (eval $ac_try) 2>&5
62712 ac_status=$?
62713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62714 (exit $ac_status); }; } &&
62715 { ac_try='test -s conftest$ac_exeext'
62716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62717 (eval $ac_try) 2>&5
62718 ac_status=$?
62719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62720 (exit $ac_status); }; }; then
62721 eval "$as_ac_var=yes"
62722 else
62723 echo "$as_me: failed program was:" >&5
62724 sed 's/^/| /' conftest.$ac_ext >&5
62726 eval "$as_ac_var=no"
62728 rm -f conftest.err conftest.$ac_objext \
62729 conftest$ac_exeext conftest.$ac_ext
62731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62733 if test `eval echo '${'$as_ac_var'}'` = yes; then
62734 cat >>confdefs.h <<_ACEOF
62735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62736 _ACEOF
62739 done
62749 echo "$as_me:$LINENO: checking for modf declaration" >&5
62750 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62751 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62752 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62753 echo $ECHO_N "(cached) $ECHO_C" >&6
62754 else
62758 ac_ext=cc
62759 ac_cpp='$CXXCPP $CPPFLAGS'
62760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62764 cat >conftest.$ac_ext <<_ACEOF
62765 /* confdefs.h. */
62766 _ACEOF
62767 cat confdefs.h >>conftest.$ac_ext
62768 cat >>conftest.$ac_ext <<_ACEOF
62769 /* end confdefs.h. */
62770 #include <math.h>
62772 main ()
62774 modf(0, 0);
62776 return 0;
62778 _ACEOF
62779 rm -f conftest.$ac_objext
62780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62781 (eval $ac_compile) 2>conftest.er1
62782 ac_status=$?
62783 grep -v '^ *+' conftest.er1 >conftest.err
62784 rm -f conftest.er1
62785 cat conftest.err >&5
62786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62787 (exit $ac_status); } &&
62788 { ac_try='test -z "$ac_cxx_werror_flag"
62789 || test ! -s conftest.err'
62790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62791 (eval $ac_try) 2>&5
62792 ac_status=$?
62793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62794 (exit $ac_status); }; } &&
62795 { ac_try='test -s conftest.$ac_objext'
62796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62797 (eval $ac_try) 2>&5
62798 ac_status=$?
62799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62800 (exit $ac_status); }; }; then
62801 glibcxx_cv_func_modf_use=yes
62802 else
62803 echo "$as_me: failed program was:" >&5
62804 sed 's/^/| /' conftest.$ac_ext >&5
62806 glibcxx_cv_func_modf_use=no
62808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62809 ac_ext=c
62810 ac_cpp='$CPP $CPPFLAGS'
62811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62820 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62822 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62824 for ac_func in modf
62826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62827 echo "$as_me:$LINENO: checking for $ac_func" >&5
62828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62829 if eval "test \"\${$as_ac_var+set}\" = set"; then
62830 echo $ECHO_N "(cached) $ECHO_C" >&6
62831 else
62832 if test x$gcc_no_link = xyes; then
62833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62835 { (exit 1); exit 1; }; }
62837 cat >conftest.$ac_ext <<_ACEOF
62838 /* confdefs.h. */
62839 _ACEOF
62840 cat confdefs.h >>conftest.$ac_ext
62841 cat >>conftest.$ac_ext <<_ACEOF
62842 /* end confdefs.h. */
62843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62845 #define $ac_func innocuous_$ac_func
62847 /* System header to define __stub macros and hopefully few prototypes,
62848 which can conflict with char $ac_func (); below.
62849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62850 <limits.h> exists even on freestanding compilers. */
62852 #ifdef __STDC__
62853 # include <limits.h>
62854 #else
62855 # include <assert.h>
62856 #endif
62858 #undef $ac_func
62860 /* Override any gcc2 internal prototype to avoid an error. */
62861 #ifdef __cplusplus
62862 extern "C"
62864 #endif
62865 /* We use char because int might match the return type of a gcc2
62866 builtin and then its argument prototype would still apply. */
62867 char $ac_func ();
62868 /* The GNU C library defines this for functions which it implements
62869 to always fail with ENOSYS. Some functions are actually named
62870 something starting with __ and the normal name is an alias. */
62871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62872 choke me
62873 #else
62874 char (*f) () = $ac_func;
62875 #endif
62876 #ifdef __cplusplus
62878 #endif
62881 main ()
62883 return f != $ac_func;
62885 return 0;
62887 _ACEOF
62888 rm -f conftest.$ac_objext conftest$ac_exeext
62889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62890 (eval $ac_link) 2>conftest.er1
62891 ac_status=$?
62892 grep -v '^ *+' conftest.er1 >conftest.err
62893 rm -f conftest.er1
62894 cat conftest.err >&5
62895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62896 (exit $ac_status); } &&
62897 { ac_try='test -z "$ac_c_werror_flag"
62898 || test ! -s conftest.err'
62899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62900 (eval $ac_try) 2>&5
62901 ac_status=$?
62902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62903 (exit $ac_status); }; } &&
62904 { ac_try='test -s conftest$ac_exeext'
62905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62906 (eval $ac_try) 2>&5
62907 ac_status=$?
62908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62909 (exit $ac_status); }; }; then
62910 eval "$as_ac_var=yes"
62911 else
62912 echo "$as_me: failed program was:" >&5
62913 sed 's/^/| /' conftest.$ac_ext >&5
62915 eval "$as_ac_var=no"
62917 rm -f conftest.err conftest.$ac_objext \
62918 conftest$ac_exeext conftest.$ac_ext
62920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62922 if test `eval echo '${'$as_ac_var'}'` = yes; then
62923 cat >>confdefs.h <<_ACEOF
62924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62925 _ACEOF
62928 done
62930 else
62932 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62933 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62934 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62935 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62936 echo $ECHO_N "(cached) $ECHO_C" >&6
62937 else
62941 ac_ext=cc
62942 ac_cpp='$CXXCPP $CPPFLAGS'
62943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62947 cat >conftest.$ac_ext <<_ACEOF
62948 /* confdefs.h. */
62949 _ACEOF
62950 cat confdefs.h >>conftest.$ac_ext
62951 cat >>conftest.$ac_ext <<_ACEOF
62952 /* end confdefs.h. */
62953 #include <math.h>
62955 main ()
62957 _modf(0, 0);
62959 return 0;
62961 _ACEOF
62962 rm -f conftest.$ac_objext
62963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62964 (eval $ac_compile) 2>conftest.er1
62965 ac_status=$?
62966 grep -v '^ *+' conftest.er1 >conftest.err
62967 rm -f conftest.er1
62968 cat conftest.err >&5
62969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62970 (exit $ac_status); } &&
62971 { ac_try='test -z "$ac_cxx_werror_flag"
62972 || test ! -s conftest.err'
62973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62974 (eval $ac_try) 2>&5
62975 ac_status=$?
62976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62977 (exit $ac_status); }; } &&
62978 { ac_try='test -s conftest.$ac_objext'
62979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62980 (eval $ac_try) 2>&5
62981 ac_status=$?
62982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62983 (exit $ac_status); }; }; then
62984 glibcxx_cv_func__modf_use=yes
62985 else
62986 echo "$as_me: failed program was:" >&5
62987 sed 's/^/| /' conftest.$ac_ext >&5
62989 glibcxx_cv_func__modf_use=no
62991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62992 ac_ext=c
62993 ac_cpp='$CPP $CPPFLAGS'
62994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63003 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63005 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63007 for ac_func in _modf
63009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63010 echo "$as_me:$LINENO: checking for $ac_func" >&5
63011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63012 if eval "test \"\${$as_ac_var+set}\" = set"; then
63013 echo $ECHO_N "(cached) $ECHO_C" >&6
63014 else
63015 if test x$gcc_no_link = xyes; then
63016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63018 { (exit 1); exit 1; }; }
63020 cat >conftest.$ac_ext <<_ACEOF
63021 /* confdefs.h. */
63022 _ACEOF
63023 cat confdefs.h >>conftest.$ac_ext
63024 cat >>conftest.$ac_ext <<_ACEOF
63025 /* end confdefs.h. */
63026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63028 #define $ac_func innocuous_$ac_func
63030 /* System header to define __stub macros and hopefully few prototypes,
63031 which can conflict with char $ac_func (); below.
63032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63033 <limits.h> exists even on freestanding compilers. */
63035 #ifdef __STDC__
63036 # include <limits.h>
63037 #else
63038 # include <assert.h>
63039 #endif
63041 #undef $ac_func
63043 /* Override any gcc2 internal prototype to avoid an error. */
63044 #ifdef __cplusplus
63045 extern "C"
63047 #endif
63048 /* We use char because int might match the return type of a gcc2
63049 builtin and then its argument prototype would still apply. */
63050 char $ac_func ();
63051 /* The GNU C library defines this for functions which it implements
63052 to always fail with ENOSYS. Some functions are actually named
63053 something starting with __ and the normal name is an alias. */
63054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63055 choke me
63056 #else
63057 char (*f) () = $ac_func;
63058 #endif
63059 #ifdef __cplusplus
63061 #endif
63064 main ()
63066 return f != $ac_func;
63068 return 0;
63070 _ACEOF
63071 rm -f conftest.$ac_objext conftest$ac_exeext
63072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63073 (eval $ac_link) 2>conftest.er1
63074 ac_status=$?
63075 grep -v '^ *+' conftest.er1 >conftest.err
63076 rm -f conftest.er1
63077 cat conftest.err >&5
63078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63079 (exit $ac_status); } &&
63080 { ac_try='test -z "$ac_c_werror_flag"
63081 || test ! -s conftest.err'
63082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63083 (eval $ac_try) 2>&5
63084 ac_status=$?
63085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63086 (exit $ac_status); }; } &&
63087 { ac_try='test -s conftest$ac_exeext'
63088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63089 (eval $ac_try) 2>&5
63090 ac_status=$?
63091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63092 (exit $ac_status); }; }; then
63093 eval "$as_ac_var=yes"
63094 else
63095 echo "$as_me: failed program was:" >&5
63096 sed 's/^/| /' conftest.$ac_ext >&5
63098 eval "$as_ac_var=no"
63100 rm -f conftest.err conftest.$ac_objext \
63101 conftest$ac_exeext conftest.$ac_ext
63103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63105 if test `eval echo '${'$as_ac_var'}'` = yes; then
63106 cat >>confdefs.h <<_ACEOF
63107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63108 _ACEOF
63111 done
63121 echo "$as_me:$LINENO: checking for powf declaration" >&5
63122 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63123 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63124 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63125 echo $ECHO_N "(cached) $ECHO_C" >&6
63126 else
63130 ac_ext=cc
63131 ac_cpp='$CXXCPP $CPPFLAGS'
63132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63136 cat >conftest.$ac_ext <<_ACEOF
63137 /* confdefs.h. */
63138 _ACEOF
63139 cat confdefs.h >>conftest.$ac_ext
63140 cat >>conftest.$ac_ext <<_ACEOF
63141 /* end confdefs.h. */
63142 #include <math.h>
63144 main ()
63146 powf(0, 0);
63148 return 0;
63150 _ACEOF
63151 rm -f conftest.$ac_objext
63152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63153 (eval $ac_compile) 2>conftest.er1
63154 ac_status=$?
63155 grep -v '^ *+' conftest.er1 >conftest.err
63156 rm -f conftest.er1
63157 cat conftest.err >&5
63158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63159 (exit $ac_status); } &&
63160 { ac_try='test -z "$ac_cxx_werror_flag"
63161 || test ! -s conftest.err'
63162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63163 (eval $ac_try) 2>&5
63164 ac_status=$?
63165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166 (exit $ac_status); }; } &&
63167 { ac_try='test -s conftest.$ac_objext'
63168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63169 (eval $ac_try) 2>&5
63170 ac_status=$?
63171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63172 (exit $ac_status); }; }; then
63173 glibcxx_cv_func_powf_use=yes
63174 else
63175 echo "$as_me: failed program was:" >&5
63176 sed 's/^/| /' conftest.$ac_ext >&5
63178 glibcxx_cv_func_powf_use=no
63180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63191 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63192 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63194 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63196 for ac_func in powf
63198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63199 echo "$as_me:$LINENO: checking for $ac_func" >&5
63200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63201 if eval "test \"\${$as_ac_var+set}\" = set"; then
63202 echo $ECHO_N "(cached) $ECHO_C" >&6
63203 else
63204 if test x$gcc_no_link = xyes; then
63205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63207 { (exit 1); exit 1; }; }
63209 cat >conftest.$ac_ext <<_ACEOF
63210 /* confdefs.h. */
63211 _ACEOF
63212 cat confdefs.h >>conftest.$ac_ext
63213 cat >>conftest.$ac_ext <<_ACEOF
63214 /* end confdefs.h. */
63215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63217 #define $ac_func innocuous_$ac_func
63219 /* System header to define __stub macros and hopefully few prototypes,
63220 which can conflict with char $ac_func (); below.
63221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63222 <limits.h> exists even on freestanding compilers. */
63224 #ifdef __STDC__
63225 # include <limits.h>
63226 #else
63227 # include <assert.h>
63228 #endif
63230 #undef $ac_func
63232 /* Override any gcc2 internal prototype to avoid an error. */
63233 #ifdef __cplusplus
63234 extern "C"
63236 #endif
63237 /* We use char because int might match the return type of a gcc2
63238 builtin and then its argument prototype would still apply. */
63239 char $ac_func ();
63240 /* The GNU C library defines this for functions which it implements
63241 to always fail with ENOSYS. Some functions are actually named
63242 something starting with __ and the normal name is an alias. */
63243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63244 choke me
63245 #else
63246 char (*f) () = $ac_func;
63247 #endif
63248 #ifdef __cplusplus
63250 #endif
63253 main ()
63255 return f != $ac_func;
63257 return 0;
63259 _ACEOF
63260 rm -f conftest.$ac_objext conftest$ac_exeext
63261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63262 (eval $ac_link) 2>conftest.er1
63263 ac_status=$?
63264 grep -v '^ *+' conftest.er1 >conftest.err
63265 rm -f conftest.er1
63266 cat conftest.err >&5
63267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63268 (exit $ac_status); } &&
63269 { ac_try='test -z "$ac_c_werror_flag"
63270 || test ! -s conftest.err'
63271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63272 (eval $ac_try) 2>&5
63273 ac_status=$?
63274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275 (exit $ac_status); }; } &&
63276 { ac_try='test -s conftest$ac_exeext'
63277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63278 (eval $ac_try) 2>&5
63279 ac_status=$?
63280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63281 (exit $ac_status); }; }; then
63282 eval "$as_ac_var=yes"
63283 else
63284 echo "$as_me: failed program was:" >&5
63285 sed 's/^/| /' conftest.$ac_ext >&5
63287 eval "$as_ac_var=no"
63289 rm -f conftest.err conftest.$ac_objext \
63290 conftest$ac_exeext conftest.$ac_ext
63292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63294 if test `eval echo '${'$as_ac_var'}'` = yes; then
63295 cat >>confdefs.h <<_ACEOF
63296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63297 _ACEOF
63300 done
63302 else
63304 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63305 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63306 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63307 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63308 echo $ECHO_N "(cached) $ECHO_C" >&6
63309 else
63313 ac_ext=cc
63314 ac_cpp='$CXXCPP $CPPFLAGS'
63315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63319 cat >conftest.$ac_ext <<_ACEOF
63320 /* confdefs.h. */
63321 _ACEOF
63322 cat confdefs.h >>conftest.$ac_ext
63323 cat >>conftest.$ac_ext <<_ACEOF
63324 /* end confdefs.h. */
63325 #include <math.h>
63327 main ()
63329 _powf(0, 0);
63331 return 0;
63333 _ACEOF
63334 rm -f conftest.$ac_objext
63335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63336 (eval $ac_compile) 2>conftest.er1
63337 ac_status=$?
63338 grep -v '^ *+' conftest.er1 >conftest.err
63339 rm -f conftest.er1
63340 cat conftest.err >&5
63341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63342 (exit $ac_status); } &&
63343 { ac_try='test -z "$ac_cxx_werror_flag"
63344 || test ! -s conftest.err'
63345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63346 (eval $ac_try) 2>&5
63347 ac_status=$?
63348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63349 (exit $ac_status); }; } &&
63350 { ac_try='test -s conftest.$ac_objext'
63351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63352 (eval $ac_try) 2>&5
63353 ac_status=$?
63354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63355 (exit $ac_status); }; }; then
63356 glibcxx_cv_func__powf_use=yes
63357 else
63358 echo "$as_me: failed program was:" >&5
63359 sed 's/^/| /' conftest.$ac_ext >&5
63361 glibcxx_cv_func__powf_use=no
63363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63364 ac_ext=c
63365 ac_cpp='$CPP $CPPFLAGS'
63366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63375 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63377 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63379 for ac_func in _powf
63381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63382 echo "$as_me:$LINENO: checking for $ac_func" >&5
63383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63384 if eval "test \"\${$as_ac_var+set}\" = set"; then
63385 echo $ECHO_N "(cached) $ECHO_C" >&6
63386 else
63387 if test x$gcc_no_link = xyes; then
63388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63390 { (exit 1); exit 1; }; }
63392 cat >conftest.$ac_ext <<_ACEOF
63393 /* confdefs.h. */
63394 _ACEOF
63395 cat confdefs.h >>conftest.$ac_ext
63396 cat >>conftest.$ac_ext <<_ACEOF
63397 /* end confdefs.h. */
63398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63400 #define $ac_func innocuous_$ac_func
63402 /* System header to define __stub macros and hopefully few prototypes,
63403 which can conflict with char $ac_func (); below.
63404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63405 <limits.h> exists even on freestanding compilers. */
63407 #ifdef __STDC__
63408 # include <limits.h>
63409 #else
63410 # include <assert.h>
63411 #endif
63413 #undef $ac_func
63415 /* Override any gcc2 internal prototype to avoid an error. */
63416 #ifdef __cplusplus
63417 extern "C"
63419 #endif
63420 /* We use char because int might match the return type of a gcc2
63421 builtin and then its argument prototype would still apply. */
63422 char $ac_func ();
63423 /* The GNU C library defines this for functions which it implements
63424 to always fail with ENOSYS. Some functions are actually named
63425 something starting with __ and the normal name is an alias. */
63426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63427 choke me
63428 #else
63429 char (*f) () = $ac_func;
63430 #endif
63431 #ifdef __cplusplus
63433 #endif
63436 main ()
63438 return f != $ac_func;
63440 return 0;
63442 _ACEOF
63443 rm -f conftest.$ac_objext conftest$ac_exeext
63444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63445 (eval $ac_link) 2>conftest.er1
63446 ac_status=$?
63447 grep -v '^ *+' conftest.er1 >conftest.err
63448 rm -f conftest.er1
63449 cat conftest.err >&5
63450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63451 (exit $ac_status); } &&
63452 { ac_try='test -z "$ac_c_werror_flag"
63453 || test ! -s conftest.err'
63454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63455 (eval $ac_try) 2>&5
63456 ac_status=$?
63457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458 (exit $ac_status); }; } &&
63459 { ac_try='test -s conftest$ac_exeext'
63460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63461 (eval $ac_try) 2>&5
63462 ac_status=$?
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); }; }; then
63465 eval "$as_ac_var=yes"
63466 else
63467 echo "$as_me: failed program was:" >&5
63468 sed 's/^/| /' conftest.$ac_ext >&5
63470 eval "$as_ac_var=no"
63472 rm -f conftest.err conftest.$ac_objext \
63473 conftest$ac_exeext conftest.$ac_ext
63475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63477 if test `eval echo '${'$as_ac_var'}'` = yes; then
63478 cat >>confdefs.h <<_ACEOF
63479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63480 _ACEOF
63483 done
63493 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63494 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63495 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63496 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63497 echo $ECHO_N "(cached) $ECHO_C" >&6
63498 else
63502 ac_ext=cc
63503 ac_cpp='$CXXCPP $CPPFLAGS'
63504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63508 cat >conftest.$ac_ext <<_ACEOF
63509 /* confdefs.h. */
63510 _ACEOF
63511 cat confdefs.h >>conftest.$ac_ext
63512 cat >>conftest.$ac_ext <<_ACEOF
63513 /* end confdefs.h. */
63514 #include <math.h>
63515 #ifdef HAVE_IEEEFP_H
63516 #include <ieeefp.h>
63517 #endif
63520 main ()
63522 sqrtf(0);
63524 return 0;
63526 _ACEOF
63527 rm -f conftest.$ac_objext
63528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63529 (eval $ac_compile) 2>conftest.er1
63530 ac_status=$?
63531 grep -v '^ *+' conftest.er1 >conftest.err
63532 rm -f conftest.er1
63533 cat conftest.err >&5
63534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 (exit $ac_status); } &&
63536 { ac_try='test -z "$ac_cxx_werror_flag"
63537 || test ! -s conftest.err'
63538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63539 (eval $ac_try) 2>&5
63540 ac_status=$?
63541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63542 (exit $ac_status); }; } &&
63543 { ac_try='test -s conftest.$ac_objext'
63544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63545 (eval $ac_try) 2>&5
63546 ac_status=$?
63547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63548 (exit $ac_status); }; }; then
63549 glibcxx_cv_func_sqrtf_use=yes
63550 else
63551 echo "$as_me: failed program was:" >&5
63552 sed 's/^/| /' conftest.$ac_ext >&5
63554 glibcxx_cv_func_sqrtf_use=no
63556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63557 ac_ext=c
63558 ac_cpp='$CPP $CPPFLAGS'
63559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63568 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63570 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63572 for ac_func in sqrtf
63574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63575 echo "$as_me:$LINENO: checking for $ac_func" >&5
63576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63577 if eval "test \"\${$as_ac_var+set}\" = set"; then
63578 echo $ECHO_N "(cached) $ECHO_C" >&6
63579 else
63580 if test x$gcc_no_link = xyes; then
63581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63583 { (exit 1); exit 1; }; }
63585 cat >conftest.$ac_ext <<_ACEOF
63586 /* confdefs.h. */
63587 _ACEOF
63588 cat confdefs.h >>conftest.$ac_ext
63589 cat >>conftest.$ac_ext <<_ACEOF
63590 /* end confdefs.h. */
63591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63593 #define $ac_func innocuous_$ac_func
63595 /* System header to define __stub macros and hopefully few prototypes,
63596 which can conflict with char $ac_func (); below.
63597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63598 <limits.h> exists even on freestanding compilers. */
63600 #ifdef __STDC__
63601 # include <limits.h>
63602 #else
63603 # include <assert.h>
63604 #endif
63606 #undef $ac_func
63608 /* Override any gcc2 internal prototype to avoid an error. */
63609 #ifdef __cplusplus
63610 extern "C"
63612 #endif
63613 /* We use char because int might match the return type of a gcc2
63614 builtin and then its argument prototype would still apply. */
63615 char $ac_func ();
63616 /* The GNU C library defines this for functions which it implements
63617 to always fail with ENOSYS. Some functions are actually named
63618 something starting with __ and the normal name is an alias. */
63619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63620 choke me
63621 #else
63622 char (*f) () = $ac_func;
63623 #endif
63624 #ifdef __cplusplus
63626 #endif
63629 main ()
63631 return f != $ac_func;
63633 return 0;
63635 _ACEOF
63636 rm -f conftest.$ac_objext conftest$ac_exeext
63637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63638 (eval $ac_link) 2>conftest.er1
63639 ac_status=$?
63640 grep -v '^ *+' conftest.er1 >conftest.err
63641 rm -f conftest.er1
63642 cat conftest.err >&5
63643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63644 (exit $ac_status); } &&
63645 { ac_try='test -z "$ac_c_werror_flag"
63646 || test ! -s conftest.err'
63647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63648 (eval $ac_try) 2>&5
63649 ac_status=$?
63650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63651 (exit $ac_status); }; } &&
63652 { ac_try='test -s conftest$ac_exeext'
63653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63654 (eval $ac_try) 2>&5
63655 ac_status=$?
63656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63657 (exit $ac_status); }; }; then
63658 eval "$as_ac_var=yes"
63659 else
63660 echo "$as_me: failed program was:" >&5
63661 sed 's/^/| /' conftest.$ac_ext >&5
63663 eval "$as_ac_var=no"
63665 rm -f conftest.err conftest.$ac_objext \
63666 conftest$ac_exeext conftest.$ac_ext
63668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63670 if test `eval echo '${'$as_ac_var'}'` = yes; then
63671 cat >>confdefs.h <<_ACEOF
63672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63673 _ACEOF
63676 done
63678 else
63680 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63681 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63682 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63683 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63684 echo $ECHO_N "(cached) $ECHO_C" >&6
63685 else
63689 ac_ext=cc
63690 ac_cpp='$CXXCPP $CPPFLAGS'
63691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63695 cat >conftest.$ac_ext <<_ACEOF
63696 /* confdefs.h. */
63697 _ACEOF
63698 cat confdefs.h >>conftest.$ac_ext
63699 cat >>conftest.$ac_ext <<_ACEOF
63700 /* end confdefs.h. */
63701 #include <math.h>
63702 #ifdef HAVE_IEEEFP_H
63703 #include <ieeefp.h>
63704 #endif
63707 main ()
63709 _sqrtf(0);
63711 return 0;
63713 _ACEOF
63714 rm -f conftest.$ac_objext
63715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63716 (eval $ac_compile) 2>conftest.er1
63717 ac_status=$?
63718 grep -v '^ *+' conftest.er1 >conftest.err
63719 rm -f conftest.er1
63720 cat conftest.err >&5
63721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63722 (exit $ac_status); } &&
63723 { ac_try='test -z "$ac_cxx_werror_flag"
63724 || test ! -s conftest.err'
63725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63726 (eval $ac_try) 2>&5
63727 ac_status=$?
63728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63729 (exit $ac_status); }; } &&
63730 { ac_try='test -s conftest.$ac_objext'
63731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63732 (eval $ac_try) 2>&5
63733 ac_status=$?
63734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63735 (exit $ac_status); }; }; then
63736 glibcxx_cv_func__sqrtf_use=yes
63737 else
63738 echo "$as_me: failed program was:" >&5
63739 sed 's/^/| /' conftest.$ac_ext >&5
63741 glibcxx_cv_func__sqrtf_use=no
63743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63744 ac_ext=c
63745 ac_cpp='$CPP $CPPFLAGS'
63746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63755 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63757 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63759 for ac_func in _sqrtf
63761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63762 echo "$as_me:$LINENO: checking for $ac_func" >&5
63763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63764 if eval "test \"\${$as_ac_var+set}\" = set"; then
63765 echo $ECHO_N "(cached) $ECHO_C" >&6
63766 else
63767 if test x$gcc_no_link = xyes; then
63768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63770 { (exit 1); exit 1; }; }
63772 cat >conftest.$ac_ext <<_ACEOF
63773 /* confdefs.h. */
63774 _ACEOF
63775 cat confdefs.h >>conftest.$ac_ext
63776 cat >>conftest.$ac_ext <<_ACEOF
63777 /* end confdefs.h. */
63778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63780 #define $ac_func innocuous_$ac_func
63782 /* System header to define __stub macros and hopefully few prototypes,
63783 which can conflict with char $ac_func (); below.
63784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63785 <limits.h> exists even on freestanding compilers. */
63787 #ifdef __STDC__
63788 # include <limits.h>
63789 #else
63790 # include <assert.h>
63791 #endif
63793 #undef $ac_func
63795 /* Override any gcc2 internal prototype to avoid an error. */
63796 #ifdef __cplusplus
63797 extern "C"
63799 #endif
63800 /* We use char because int might match the return type of a gcc2
63801 builtin and then its argument prototype would still apply. */
63802 char $ac_func ();
63803 /* The GNU C library defines this for functions which it implements
63804 to always fail with ENOSYS. Some functions are actually named
63805 something starting with __ and the normal name is an alias. */
63806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63807 choke me
63808 #else
63809 char (*f) () = $ac_func;
63810 #endif
63811 #ifdef __cplusplus
63813 #endif
63816 main ()
63818 return f != $ac_func;
63820 return 0;
63822 _ACEOF
63823 rm -f conftest.$ac_objext conftest$ac_exeext
63824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63825 (eval $ac_link) 2>conftest.er1
63826 ac_status=$?
63827 grep -v '^ *+' conftest.er1 >conftest.err
63828 rm -f conftest.er1
63829 cat conftest.err >&5
63830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63831 (exit $ac_status); } &&
63832 { ac_try='test -z "$ac_c_werror_flag"
63833 || test ! -s conftest.err'
63834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63835 (eval $ac_try) 2>&5
63836 ac_status=$?
63837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63838 (exit $ac_status); }; } &&
63839 { ac_try='test -s conftest$ac_exeext'
63840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63841 (eval $ac_try) 2>&5
63842 ac_status=$?
63843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63844 (exit $ac_status); }; }; then
63845 eval "$as_ac_var=yes"
63846 else
63847 echo "$as_me: failed program was:" >&5
63848 sed 's/^/| /' conftest.$ac_ext >&5
63850 eval "$as_ac_var=no"
63852 rm -f conftest.err conftest.$ac_objext \
63853 conftest$ac_exeext conftest.$ac_ext
63855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63857 if test `eval echo '${'$as_ac_var'}'` = yes; then
63858 cat >>confdefs.h <<_ACEOF
63859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63860 _ACEOF
63863 done
63873 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63874 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63875 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63876 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63877 echo $ECHO_N "(cached) $ECHO_C" >&6
63878 else
63882 ac_ext=cc
63883 ac_cpp='$CXXCPP $CPPFLAGS'
63884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63888 cat >conftest.$ac_ext <<_ACEOF
63889 /* confdefs.h. */
63890 _ACEOF
63891 cat confdefs.h >>conftest.$ac_ext
63892 cat >>conftest.$ac_ext <<_ACEOF
63893 /* end confdefs.h. */
63894 #include <math.h>
63896 main ()
63898 sincosf(0, 0, 0);
63900 return 0;
63902 _ACEOF
63903 rm -f conftest.$ac_objext
63904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63905 (eval $ac_compile) 2>conftest.er1
63906 ac_status=$?
63907 grep -v '^ *+' conftest.er1 >conftest.err
63908 rm -f conftest.er1
63909 cat conftest.err >&5
63910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63911 (exit $ac_status); } &&
63912 { ac_try='test -z "$ac_cxx_werror_flag"
63913 || test ! -s conftest.err'
63914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63915 (eval $ac_try) 2>&5
63916 ac_status=$?
63917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918 (exit $ac_status); }; } &&
63919 { ac_try='test -s conftest.$ac_objext'
63920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63921 (eval $ac_try) 2>&5
63922 ac_status=$?
63923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924 (exit $ac_status); }; }; then
63925 glibcxx_cv_func_sincosf_use=yes
63926 else
63927 echo "$as_me: failed program was:" >&5
63928 sed 's/^/| /' conftest.$ac_ext >&5
63930 glibcxx_cv_func_sincosf_use=no
63932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63933 ac_ext=c
63934 ac_cpp='$CPP $CPPFLAGS'
63935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63944 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63946 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63948 for ac_func in sincosf
63950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63951 echo "$as_me:$LINENO: checking for $ac_func" >&5
63952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63953 if eval "test \"\${$as_ac_var+set}\" = set"; then
63954 echo $ECHO_N "(cached) $ECHO_C" >&6
63955 else
63956 if test x$gcc_no_link = xyes; then
63957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63959 { (exit 1); exit 1; }; }
63961 cat >conftest.$ac_ext <<_ACEOF
63962 /* confdefs.h. */
63963 _ACEOF
63964 cat confdefs.h >>conftest.$ac_ext
63965 cat >>conftest.$ac_ext <<_ACEOF
63966 /* end confdefs.h. */
63967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63969 #define $ac_func innocuous_$ac_func
63971 /* System header to define __stub macros and hopefully few prototypes,
63972 which can conflict with char $ac_func (); below.
63973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63974 <limits.h> exists even on freestanding compilers. */
63976 #ifdef __STDC__
63977 # include <limits.h>
63978 #else
63979 # include <assert.h>
63980 #endif
63982 #undef $ac_func
63984 /* Override any gcc2 internal prototype to avoid an error. */
63985 #ifdef __cplusplus
63986 extern "C"
63988 #endif
63989 /* We use char because int might match the return type of a gcc2
63990 builtin and then its argument prototype would still apply. */
63991 char $ac_func ();
63992 /* The GNU C library defines this for functions which it implements
63993 to always fail with ENOSYS. Some functions are actually named
63994 something starting with __ and the normal name is an alias. */
63995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63996 choke me
63997 #else
63998 char (*f) () = $ac_func;
63999 #endif
64000 #ifdef __cplusplus
64002 #endif
64005 main ()
64007 return f != $ac_func;
64009 return 0;
64011 _ACEOF
64012 rm -f conftest.$ac_objext conftest$ac_exeext
64013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64014 (eval $ac_link) 2>conftest.er1
64015 ac_status=$?
64016 grep -v '^ *+' conftest.er1 >conftest.err
64017 rm -f conftest.er1
64018 cat conftest.err >&5
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); } &&
64021 { ac_try='test -z "$ac_c_werror_flag"
64022 || test ! -s conftest.err'
64023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64024 (eval $ac_try) 2>&5
64025 ac_status=$?
64026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027 (exit $ac_status); }; } &&
64028 { ac_try='test -s conftest$ac_exeext'
64029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64030 (eval $ac_try) 2>&5
64031 ac_status=$?
64032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64033 (exit $ac_status); }; }; then
64034 eval "$as_ac_var=yes"
64035 else
64036 echo "$as_me: failed program was:" >&5
64037 sed 's/^/| /' conftest.$ac_ext >&5
64039 eval "$as_ac_var=no"
64041 rm -f conftest.err conftest.$ac_objext \
64042 conftest$ac_exeext conftest.$ac_ext
64044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64046 if test `eval echo '${'$as_ac_var'}'` = yes; then
64047 cat >>confdefs.h <<_ACEOF
64048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64049 _ACEOF
64052 done
64054 else
64056 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64057 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64058 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64059 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64060 echo $ECHO_N "(cached) $ECHO_C" >&6
64061 else
64065 ac_ext=cc
64066 ac_cpp='$CXXCPP $CPPFLAGS'
64067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64071 cat >conftest.$ac_ext <<_ACEOF
64072 /* confdefs.h. */
64073 _ACEOF
64074 cat confdefs.h >>conftest.$ac_ext
64075 cat >>conftest.$ac_ext <<_ACEOF
64076 /* end confdefs.h. */
64077 #include <math.h>
64079 main ()
64081 _sincosf(0, 0, 0);
64083 return 0;
64085 _ACEOF
64086 rm -f conftest.$ac_objext
64087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64088 (eval $ac_compile) 2>conftest.er1
64089 ac_status=$?
64090 grep -v '^ *+' conftest.er1 >conftest.err
64091 rm -f conftest.er1
64092 cat conftest.err >&5
64093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094 (exit $ac_status); } &&
64095 { ac_try='test -z "$ac_cxx_werror_flag"
64096 || test ! -s conftest.err'
64097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64098 (eval $ac_try) 2>&5
64099 ac_status=$?
64100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101 (exit $ac_status); }; } &&
64102 { ac_try='test -s conftest.$ac_objext'
64103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64104 (eval $ac_try) 2>&5
64105 ac_status=$?
64106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107 (exit $ac_status); }; }; then
64108 glibcxx_cv_func__sincosf_use=yes
64109 else
64110 echo "$as_me: failed program was:" >&5
64111 sed 's/^/| /' conftest.$ac_ext >&5
64113 glibcxx_cv_func__sincosf_use=no
64115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64127 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64129 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64131 for ac_func in _sincosf
64133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64134 echo "$as_me:$LINENO: checking for $ac_func" >&5
64135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64136 if eval "test \"\${$as_ac_var+set}\" = set"; then
64137 echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64139 if test x$gcc_no_link = xyes; then
64140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64142 { (exit 1); exit 1; }; }
64144 cat >conftest.$ac_ext <<_ACEOF
64145 /* confdefs.h. */
64146 _ACEOF
64147 cat confdefs.h >>conftest.$ac_ext
64148 cat >>conftest.$ac_ext <<_ACEOF
64149 /* end confdefs.h. */
64150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64152 #define $ac_func innocuous_$ac_func
64154 /* System header to define __stub macros and hopefully few prototypes,
64155 which can conflict with char $ac_func (); below.
64156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64157 <limits.h> exists even on freestanding compilers. */
64159 #ifdef __STDC__
64160 # include <limits.h>
64161 #else
64162 # include <assert.h>
64163 #endif
64165 #undef $ac_func
64167 /* Override any gcc2 internal prototype to avoid an error. */
64168 #ifdef __cplusplus
64169 extern "C"
64171 #endif
64172 /* We use char because int might match the return type of a gcc2
64173 builtin and then its argument prototype would still apply. */
64174 char $ac_func ();
64175 /* The GNU C library defines this for functions which it implements
64176 to always fail with ENOSYS. Some functions are actually named
64177 something starting with __ and the normal name is an alias. */
64178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64179 choke me
64180 #else
64181 char (*f) () = $ac_func;
64182 #endif
64183 #ifdef __cplusplus
64185 #endif
64188 main ()
64190 return f != $ac_func;
64192 return 0;
64194 _ACEOF
64195 rm -f conftest.$ac_objext conftest$ac_exeext
64196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64197 (eval $ac_link) 2>conftest.er1
64198 ac_status=$?
64199 grep -v '^ *+' conftest.er1 >conftest.err
64200 rm -f conftest.er1
64201 cat conftest.err >&5
64202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203 (exit $ac_status); } &&
64204 { ac_try='test -z "$ac_c_werror_flag"
64205 || test ! -s conftest.err'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; } &&
64211 { ac_try='test -s conftest$ac_exeext'
64212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64213 (eval $ac_try) 2>&5
64214 ac_status=$?
64215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216 (exit $ac_status); }; }; then
64217 eval "$as_ac_var=yes"
64218 else
64219 echo "$as_me: failed program was:" >&5
64220 sed 's/^/| /' conftest.$ac_ext >&5
64222 eval "$as_ac_var=no"
64224 rm -f conftest.err conftest.$ac_objext \
64225 conftest$ac_exeext conftest.$ac_ext
64227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64229 if test `eval echo '${'$as_ac_var'}'` = yes; then
64230 cat >>confdefs.h <<_ACEOF
64231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64232 _ACEOF
64235 done
64245 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64246 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64247 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64248 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64249 echo $ECHO_N "(cached) $ECHO_C" >&6
64250 else
64254 ac_ext=cc
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64260 cat >conftest.$ac_ext <<_ACEOF
64261 /* confdefs.h. */
64262 _ACEOF
64263 cat confdefs.h >>conftest.$ac_ext
64264 cat >>conftest.$ac_ext <<_ACEOF
64265 /* end confdefs.h. */
64266 #include <math.h>
64267 #ifdef HAVE_IEEEFP_H
64268 #include <ieeefp.h>
64269 #endif
64272 main ()
64274 finitef(0);
64276 return 0;
64278 _ACEOF
64279 rm -f conftest.$ac_objext
64280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64281 (eval $ac_compile) 2>conftest.er1
64282 ac_status=$?
64283 grep -v '^ *+' conftest.er1 >conftest.err
64284 rm -f conftest.er1
64285 cat conftest.err >&5
64286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64287 (exit $ac_status); } &&
64288 { ac_try='test -z "$ac_cxx_werror_flag"
64289 || test ! -s conftest.err'
64290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64291 (eval $ac_try) 2>&5
64292 ac_status=$?
64293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64294 (exit $ac_status); }; } &&
64295 { ac_try='test -s conftest.$ac_objext'
64296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64297 (eval $ac_try) 2>&5
64298 ac_status=$?
64299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64300 (exit $ac_status); }; }; then
64301 glibcxx_cv_func_finitef_use=yes
64302 else
64303 echo "$as_me: failed program was:" >&5
64304 sed 's/^/| /' conftest.$ac_ext >&5
64306 glibcxx_cv_func_finitef_use=no
64308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64309 ac_ext=c
64310 ac_cpp='$CPP $CPPFLAGS'
64311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64320 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64322 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64324 for ac_func in finitef
64326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64327 echo "$as_me:$LINENO: checking for $ac_func" >&5
64328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64329 if eval "test \"\${$as_ac_var+set}\" = set"; then
64330 echo $ECHO_N "(cached) $ECHO_C" >&6
64331 else
64332 if test x$gcc_no_link = xyes; then
64333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64335 { (exit 1); exit 1; }; }
64337 cat >conftest.$ac_ext <<_ACEOF
64338 /* confdefs.h. */
64339 _ACEOF
64340 cat confdefs.h >>conftest.$ac_ext
64341 cat >>conftest.$ac_ext <<_ACEOF
64342 /* end confdefs.h. */
64343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64345 #define $ac_func innocuous_$ac_func
64347 /* System header to define __stub macros and hopefully few prototypes,
64348 which can conflict with char $ac_func (); below.
64349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64350 <limits.h> exists even on freestanding compilers. */
64352 #ifdef __STDC__
64353 # include <limits.h>
64354 #else
64355 # include <assert.h>
64356 #endif
64358 #undef $ac_func
64360 /* Override any gcc2 internal prototype to avoid an error. */
64361 #ifdef __cplusplus
64362 extern "C"
64364 #endif
64365 /* We use char because int might match the return type of a gcc2
64366 builtin and then its argument prototype would still apply. */
64367 char $ac_func ();
64368 /* The GNU C library defines this for functions which it implements
64369 to always fail with ENOSYS. Some functions are actually named
64370 something starting with __ and the normal name is an alias. */
64371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64372 choke me
64373 #else
64374 char (*f) () = $ac_func;
64375 #endif
64376 #ifdef __cplusplus
64378 #endif
64381 main ()
64383 return f != $ac_func;
64385 return 0;
64387 _ACEOF
64388 rm -f conftest.$ac_objext conftest$ac_exeext
64389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64390 (eval $ac_link) 2>conftest.er1
64391 ac_status=$?
64392 grep -v '^ *+' conftest.er1 >conftest.err
64393 rm -f conftest.er1
64394 cat conftest.err >&5
64395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64396 (exit $ac_status); } &&
64397 { ac_try='test -z "$ac_c_werror_flag"
64398 || test ! -s conftest.err'
64399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64400 (eval $ac_try) 2>&5
64401 ac_status=$?
64402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403 (exit $ac_status); }; } &&
64404 { ac_try='test -s conftest$ac_exeext'
64405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64406 (eval $ac_try) 2>&5
64407 ac_status=$?
64408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64409 (exit $ac_status); }; }; then
64410 eval "$as_ac_var=yes"
64411 else
64412 echo "$as_me: failed program was:" >&5
64413 sed 's/^/| /' conftest.$ac_ext >&5
64415 eval "$as_ac_var=no"
64417 rm -f conftest.err conftest.$ac_objext \
64418 conftest$ac_exeext conftest.$ac_ext
64420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64422 if test `eval echo '${'$as_ac_var'}'` = yes; then
64423 cat >>confdefs.h <<_ACEOF
64424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64425 _ACEOF
64428 done
64430 else
64432 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64433 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64434 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64435 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64436 echo $ECHO_N "(cached) $ECHO_C" >&6
64437 else
64441 ac_ext=cc
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64447 cat >conftest.$ac_ext <<_ACEOF
64448 /* confdefs.h. */
64449 _ACEOF
64450 cat confdefs.h >>conftest.$ac_ext
64451 cat >>conftest.$ac_ext <<_ACEOF
64452 /* end confdefs.h. */
64453 #include <math.h>
64454 #ifdef HAVE_IEEEFP_H
64455 #include <ieeefp.h>
64456 #endif
64459 main ()
64461 _finitef(0);
64463 return 0;
64465 _ACEOF
64466 rm -f conftest.$ac_objext
64467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64468 (eval $ac_compile) 2>conftest.er1
64469 ac_status=$?
64470 grep -v '^ *+' conftest.er1 >conftest.err
64471 rm -f conftest.er1
64472 cat conftest.err >&5
64473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64474 (exit $ac_status); } &&
64475 { ac_try='test -z "$ac_cxx_werror_flag"
64476 || test ! -s conftest.err'
64477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64478 (eval $ac_try) 2>&5
64479 ac_status=$?
64480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481 (exit $ac_status); }; } &&
64482 { ac_try='test -s conftest.$ac_objext'
64483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64484 (eval $ac_try) 2>&5
64485 ac_status=$?
64486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64487 (exit $ac_status); }; }; then
64488 glibcxx_cv_func__finitef_use=yes
64489 else
64490 echo "$as_me: failed program was:" >&5
64491 sed 's/^/| /' conftest.$ac_ext >&5
64493 glibcxx_cv_func__finitef_use=no
64495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64496 ac_ext=c
64497 ac_cpp='$CPP $CPPFLAGS'
64498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64507 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64509 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64511 for ac_func in _finitef
64513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64514 echo "$as_me:$LINENO: checking for $ac_func" >&5
64515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64516 if eval "test \"\${$as_ac_var+set}\" = set"; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64519 if test x$gcc_no_link = xyes; then
64520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64522 { (exit 1); exit 1; }; }
64524 cat >conftest.$ac_ext <<_ACEOF
64525 /* confdefs.h. */
64526 _ACEOF
64527 cat confdefs.h >>conftest.$ac_ext
64528 cat >>conftest.$ac_ext <<_ACEOF
64529 /* end confdefs.h. */
64530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64532 #define $ac_func innocuous_$ac_func
64534 /* System header to define __stub macros and hopefully few prototypes,
64535 which can conflict with char $ac_func (); below.
64536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64537 <limits.h> exists even on freestanding compilers. */
64539 #ifdef __STDC__
64540 # include <limits.h>
64541 #else
64542 # include <assert.h>
64543 #endif
64545 #undef $ac_func
64547 /* Override any gcc2 internal prototype to avoid an error. */
64548 #ifdef __cplusplus
64549 extern "C"
64551 #endif
64552 /* We use char because int might match the return type of a gcc2
64553 builtin and then its argument prototype would still apply. */
64554 char $ac_func ();
64555 /* The GNU C library defines this for functions which it implements
64556 to always fail with ENOSYS. Some functions are actually named
64557 something starting with __ and the normal name is an alias. */
64558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64559 choke me
64560 #else
64561 char (*f) () = $ac_func;
64562 #endif
64563 #ifdef __cplusplus
64565 #endif
64568 main ()
64570 return f != $ac_func;
64572 return 0;
64574 _ACEOF
64575 rm -f conftest.$ac_objext conftest$ac_exeext
64576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64577 (eval $ac_link) 2>conftest.er1
64578 ac_status=$?
64579 grep -v '^ *+' conftest.er1 >conftest.err
64580 rm -f conftest.er1
64581 cat conftest.err >&5
64582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64583 (exit $ac_status); } &&
64584 { ac_try='test -z "$ac_c_werror_flag"
64585 || test ! -s conftest.err'
64586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64587 (eval $ac_try) 2>&5
64588 ac_status=$?
64589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64590 (exit $ac_status); }; } &&
64591 { ac_try='test -s conftest$ac_exeext'
64592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64593 (eval $ac_try) 2>&5
64594 ac_status=$?
64595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64596 (exit $ac_status); }; }; then
64597 eval "$as_ac_var=yes"
64598 else
64599 echo "$as_me: failed program was:" >&5
64600 sed 's/^/| /' conftest.$ac_ext >&5
64602 eval "$as_ac_var=no"
64604 rm -f conftest.err conftest.$ac_objext \
64605 conftest$ac_exeext conftest.$ac_ext
64607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64609 if test `eval echo '${'$as_ac_var'}'` = yes; then
64610 cat >>confdefs.h <<_ACEOF
64611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64612 _ACEOF
64615 done
64625 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64626 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64627 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64628 echo $ECHO_N "(cached) $ECHO_C" >&6
64629 else
64633 ac_ext=cc
64634 ac_cpp='$CXXCPP $CPPFLAGS'
64635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64639 cat >conftest.$ac_ext <<_ACEOF
64640 /* confdefs.h. */
64641 _ACEOF
64642 cat confdefs.h >>conftest.$ac_ext
64643 cat >>conftest.$ac_ext <<_ACEOF
64644 /* end confdefs.h. */
64645 #include <math.h>
64647 main ()
64649 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64651 return 0;
64653 _ACEOF
64654 rm -f conftest.$ac_objext
64655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64656 (eval $ac_compile) 2>conftest.er1
64657 ac_status=$?
64658 grep -v '^ *+' conftest.er1 >conftest.err
64659 rm -f conftest.er1
64660 cat conftest.err >&5
64661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64662 (exit $ac_status); } &&
64663 { ac_try='test -z "$ac_cxx_werror_flag"
64664 || test ! -s conftest.err'
64665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64666 (eval $ac_try) 2>&5
64667 ac_status=$?
64668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64669 (exit $ac_status); }; } &&
64670 { ac_try='test -s conftest.$ac_objext'
64671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64672 (eval $ac_try) 2>&5
64673 ac_status=$?
64674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64675 (exit $ac_status); }; }; then
64676 glibcxx_cv_func_long_double_trig_use=yes
64677 else
64678 echo "$as_me: failed program was:" >&5
64679 sed 's/^/| /' conftest.$ac_ext >&5
64681 glibcxx_cv_func_long_double_trig_use=no
64683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64684 ac_ext=c
64685 ac_cpp='$CPP $CPPFLAGS'
64686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64693 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64694 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64704 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64707 echo "$as_me:$LINENO: checking for $ac_func" >&5
64708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64709 if eval "test \"\${$as_ac_var+set}\" = set"; then
64710 echo $ECHO_N "(cached) $ECHO_C" >&6
64711 else
64712 if test x$gcc_no_link = xyes; then
64713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64715 { (exit 1); exit 1; }; }
64717 cat >conftest.$ac_ext <<_ACEOF
64718 /* confdefs.h. */
64719 _ACEOF
64720 cat confdefs.h >>conftest.$ac_ext
64721 cat >>conftest.$ac_ext <<_ACEOF
64722 /* end confdefs.h. */
64723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64725 #define $ac_func innocuous_$ac_func
64727 /* System header to define __stub macros and hopefully few prototypes,
64728 which can conflict with char $ac_func (); below.
64729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64730 <limits.h> exists even on freestanding compilers. */
64732 #ifdef __STDC__
64733 # include <limits.h>
64734 #else
64735 # include <assert.h>
64736 #endif
64738 #undef $ac_func
64740 /* Override any gcc2 internal prototype to avoid an error. */
64741 #ifdef __cplusplus
64742 extern "C"
64744 #endif
64745 /* We use char because int might match the return type of a gcc2
64746 builtin and then its argument prototype would still apply. */
64747 char $ac_func ();
64748 /* The GNU C library defines this for functions which it implements
64749 to always fail with ENOSYS. Some functions are actually named
64750 something starting with __ and the normal name is an alias. */
64751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64752 choke me
64753 #else
64754 char (*f) () = $ac_func;
64755 #endif
64756 #ifdef __cplusplus
64758 #endif
64761 main ()
64763 return f != $ac_func;
64765 return 0;
64767 _ACEOF
64768 rm -f conftest.$ac_objext conftest$ac_exeext
64769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64770 (eval $ac_link) 2>conftest.er1
64771 ac_status=$?
64772 grep -v '^ *+' conftest.er1 >conftest.err
64773 rm -f conftest.er1
64774 cat conftest.err >&5
64775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64776 (exit $ac_status); } &&
64777 { ac_try='test -z "$ac_c_werror_flag"
64778 || test ! -s conftest.err'
64779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780 (eval $ac_try) 2>&5
64781 ac_status=$?
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); }; } &&
64784 { ac_try='test -s conftest$ac_exeext'
64785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64786 (eval $ac_try) 2>&5
64787 ac_status=$?
64788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789 (exit $ac_status); }; }; then
64790 eval "$as_ac_var=yes"
64791 else
64792 echo "$as_me: failed program was:" >&5
64793 sed 's/^/| /' conftest.$ac_ext >&5
64795 eval "$as_ac_var=no"
64797 rm -f conftest.err conftest.$ac_objext \
64798 conftest$ac_exeext conftest.$ac_ext
64800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64802 if test `eval echo '${'$as_ac_var'}'` = yes; then
64803 cat >>confdefs.h <<_ACEOF
64804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64805 _ACEOF
64808 done
64810 else
64811 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64812 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64813 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64814 echo $ECHO_N "(cached) $ECHO_C" >&6
64815 else
64819 ac_ext=cc
64820 ac_cpp='$CXXCPP $CPPFLAGS'
64821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64825 cat >conftest.$ac_ext <<_ACEOF
64826 /* confdefs.h. */
64827 _ACEOF
64828 cat confdefs.h >>conftest.$ac_ext
64829 cat >>conftest.$ac_ext <<_ACEOF
64830 /* end confdefs.h. */
64831 #include <math.h>
64833 main ()
64835 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64837 return 0;
64839 _ACEOF
64840 rm -f conftest.$ac_objext
64841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64842 (eval $ac_compile) 2>conftest.er1
64843 ac_status=$?
64844 grep -v '^ *+' conftest.er1 >conftest.err
64845 rm -f conftest.er1
64846 cat conftest.err >&5
64847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64848 (exit $ac_status); } &&
64849 { ac_try='test -z "$ac_cxx_werror_flag"
64850 || test ! -s conftest.err'
64851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64852 (eval $ac_try) 2>&5
64853 ac_status=$?
64854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855 (exit $ac_status); }; } &&
64856 { ac_try='test -s conftest.$ac_objext'
64857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64858 (eval $ac_try) 2>&5
64859 ac_status=$?
64860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64861 (exit $ac_status); }; }; then
64862 glibcxx_cv_func__long_double_trig_use=yes
64863 else
64864 echo "$as_me: failed program was:" >&5
64865 sed 's/^/| /' conftest.$ac_ext >&5
64867 glibcxx_cv_func__long_double_trig_use=no
64869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64870 ac_ext=c
64871 ac_cpp='$CPP $CPPFLAGS'
64872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64879 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64880 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64890 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64893 echo "$as_me:$LINENO: checking for $ac_func" >&5
64894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64895 if eval "test \"\${$as_ac_var+set}\" = set"; then
64896 echo $ECHO_N "(cached) $ECHO_C" >&6
64897 else
64898 if test x$gcc_no_link = xyes; then
64899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64901 { (exit 1); exit 1; }; }
64903 cat >conftest.$ac_ext <<_ACEOF
64904 /* confdefs.h. */
64905 _ACEOF
64906 cat confdefs.h >>conftest.$ac_ext
64907 cat >>conftest.$ac_ext <<_ACEOF
64908 /* end confdefs.h. */
64909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64911 #define $ac_func innocuous_$ac_func
64913 /* System header to define __stub macros and hopefully few prototypes,
64914 which can conflict with char $ac_func (); below.
64915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64916 <limits.h> exists even on freestanding compilers. */
64918 #ifdef __STDC__
64919 # include <limits.h>
64920 #else
64921 # include <assert.h>
64922 #endif
64924 #undef $ac_func
64926 /* Override any gcc2 internal prototype to avoid an error. */
64927 #ifdef __cplusplus
64928 extern "C"
64930 #endif
64931 /* We use char because int might match the return type of a gcc2
64932 builtin and then its argument prototype would still apply. */
64933 char $ac_func ();
64934 /* The GNU C library defines this for functions which it implements
64935 to always fail with ENOSYS. Some functions are actually named
64936 something starting with __ and the normal name is an alias. */
64937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64938 choke me
64939 #else
64940 char (*f) () = $ac_func;
64941 #endif
64942 #ifdef __cplusplus
64944 #endif
64947 main ()
64949 return f != $ac_func;
64951 return 0;
64953 _ACEOF
64954 rm -f conftest.$ac_objext conftest$ac_exeext
64955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64956 (eval $ac_link) 2>conftest.er1
64957 ac_status=$?
64958 grep -v '^ *+' conftest.er1 >conftest.err
64959 rm -f conftest.er1
64960 cat conftest.err >&5
64961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64962 (exit $ac_status); } &&
64963 { ac_try='test -z "$ac_c_werror_flag"
64964 || test ! -s conftest.err'
64965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64966 (eval $ac_try) 2>&5
64967 ac_status=$?
64968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64969 (exit $ac_status); }; } &&
64970 { ac_try='test -s conftest$ac_exeext'
64971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64972 (eval $ac_try) 2>&5
64973 ac_status=$?
64974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64975 (exit $ac_status); }; }; then
64976 eval "$as_ac_var=yes"
64977 else
64978 echo "$as_me: failed program was:" >&5
64979 sed 's/^/| /' conftest.$ac_ext >&5
64981 eval "$as_ac_var=no"
64983 rm -f conftest.err conftest.$ac_objext \
64984 conftest$ac_exeext conftest.$ac_ext
64986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64988 if test `eval echo '${'$as_ac_var'}'` = yes; then
64989 cat >>confdefs.h <<_ACEOF
64990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64991 _ACEOF
64994 done
65012 echo "$as_me:$LINENO: checking for long double round functions" >&5
65013 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65014 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65015 echo $ECHO_N "(cached) $ECHO_C" >&6
65016 else
65020 ac_ext=cc
65021 ac_cpp='$CXXCPP $CPPFLAGS'
65022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65026 cat >conftest.$ac_ext <<_ACEOF
65027 /* confdefs.h. */
65028 _ACEOF
65029 cat confdefs.h >>conftest.$ac_ext
65030 cat >>conftest.$ac_ext <<_ACEOF
65031 /* end confdefs.h. */
65032 #include <math.h>
65034 main ()
65036 ceill (0); floorl (0);
65038 return 0;
65040 _ACEOF
65041 rm -f conftest.$ac_objext
65042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65043 (eval $ac_compile) 2>conftest.er1
65044 ac_status=$?
65045 grep -v '^ *+' conftest.er1 >conftest.err
65046 rm -f conftest.er1
65047 cat conftest.err >&5
65048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65049 (exit $ac_status); } &&
65050 { ac_try='test -z "$ac_cxx_werror_flag"
65051 || test ! -s conftest.err'
65052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65053 (eval $ac_try) 2>&5
65054 ac_status=$?
65055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65056 (exit $ac_status); }; } &&
65057 { ac_try='test -s conftest.$ac_objext'
65058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65059 (eval $ac_try) 2>&5
65060 ac_status=$?
65061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65062 (exit $ac_status); }; }; then
65063 glibcxx_cv_func_long_double_round_use=yes
65064 else
65065 echo "$as_me: failed program was:" >&5
65066 sed 's/^/| /' conftest.$ac_ext >&5
65068 glibcxx_cv_func_long_double_round_use=no
65070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65071 ac_ext=c
65072 ac_cpp='$CPP $CPPFLAGS'
65073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65080 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65081 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65084 for ac_func in ceill floorl
65086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65087 echo "$as_me:$LINENO: checking for $ac_func" >&5
65088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65089 if eval "test \"\${$as_ac_var+set}\" = set"; then
65090 echo $ECHO_N "(cached) $ECHO_C" >&6
65091 else
65092 if test x$gcc_no_link = xyes; then
65093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65095 { (exit 1); exit 1; }; }
65097 cat >conftest.$ac_ext <<_ACEOF
65098 /* confdefs.h. */
65099 _ACEOF
65100 cat confdefs.h >>conftest.$ac_ext
65101 cat >>conftest.$ac_ext <<_ACEOF
65102 /* end confdefs.h. */
65103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65105 #define $ac_func innocuous_$ac_func
65107 /* System header to define __stub macros and hopefully few prototypes,
65108 which can conflict with char $ac_func (); below.
65109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65110 <limits.h> exists even on freestanding compilers. */
65112 #ifdef __STDC__
65113 # include <limits.h>
65114 #else
65115 # include <assert.h>
65116 #endif
65118 #undef $ac_func
65120 /* Override any gcc2 internal prototype to avoid an error. */
65121 #ifdef __cplusplus
65122 extern "C"
65124 #endif
65125 /* We use char because int might match the return type of a gcc2
65126 builtin and then its argument prototype would still apply. */
65127 char $ac_func ();
65128 /* The GNU C library defines this for functions which it implements
65129 to always fail with ENOSYS. Some functions are actually named
65130 something starting with __ and the normal name is an alias. */
65131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65132 choke me
65133 #else
65134 char (*f) () = $ac_func;
65135 #endif
65136 #ifdef __cplusplus
65138 #endif
65141 main ()
65143 return f != $ac_func;
65145 return 0;
65147 _ACEOF
65148 rm -f conftest.$ac_objext conftest$ac_exeext
65149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65150 (eval $ac_link) 2>conftest.er1
65151 ac_status=$?
65152 grep -v '^ *+' conftest.er1 >conftest.err
65153 rm -f conftest.er1
65154 cat conftest.err >&5
65155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65156 (exit $ac_status); } &&
65157 { ac_try='test -z "$ac_c_werror_flag"
65158 || test ! -s conftest.err'
65159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65160 (eval $ac_try) 2>&5
65161 ac_status=$?
65162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65163 (exit $ac_status); }; } &&
65164 { ac_try='test -s conftest$ac_exeext'
65165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65166 (eval $ac_try) 2>&5
65167 ac_status=$?
65168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65169 (exit $ac_status); }; }; then
65170 eval "$as_ac_var=yes"
65171 else
65172 echo "$as_me: failed program was:" >&5
65173 sed 's/^/| /' conftest.$ac_ext >&5
65175 eval "$as_ac_var=no"
65177 rm -f conftest.err conftest.$ac_objext \
65178 conftest$ac_exeext conftest.$ac_ext
65180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65182 if test `eval echo '${'$as_ac_var'}'` = yes; then
65183 cat >>confdefs.h <<_ACEOF
65184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65185 _ACEOF
65188 done
65190 else
65191 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65192 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65193 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65194 echo $ECHO_N "(cached) $ECHO_C" >&6
65195 else
65199 ac_ext=cc
65200 ac_cpp='$CXXCPP $CPPFLAGS'
65201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65205 cat >conftest.$ac_ext <<_ACEOF
65206 /* confdefs.h. */
65207 _ACEOF
65208 cat confdefs.h >>conftest.$ac_ext
65209 cat >>conftest.$ac_ext <<_ACEOF
65210 /* end confdefs.h. */
65211 #include <math.h>
65213 main ()
65215 _ceill (0); _floorl (0);
65217 return 0;
65219 _ACEOF
65220 rm -f conftest.$ac_objext
65221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65222 (eval $ac_compile) 2>conftest.er1
65223 ac_status=$?
65224 grep -v '^ *+' conftest.er1 >conftest.err
65225 rm -f conftest.er1
65226 cat conftest.err >&5
65227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65228 (exit $ac_status); } &&
65229 { ac_try='test -z "$ac_cxx_werror_flag"
65230 || test ! -s conftest.err'
65231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65232 (eval $ac_try) 2>&5
65233 ac_status=$?
65234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65235 (exit $ac_status); }; } &&
65236 { ac_try='test -s conftest.$ac_objext'
65237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65238 (eval $ac_try) 2>&5
65239 ac_status=$?
65240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65241 (exit $ac_status); }; }; then
65242 glibcxx_cv_func__long_double_round_use=yes
65243 else
65244 echo "$as_me: failed program was:" >&5
65245 sed 's/^/| /' conftest.$ac_ext >&5
65247 glibcxx_cv_func__long_double_round_use=no
65249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65250 ac_ext=c
65251 ac_cpp='$CPP $CPPFLAGS'
65252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65259 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65260 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65263 for ac_func in _ceill _floorl
65265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65266 echo "$as_me:$LINENO: checking for $ac_func" >&5
65267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65268 if eval "test \"\${$as_ac_var+set}\" = set"; then
65269 echo $ECHO_N "(cached) $ECHO_C" >&6
65270 else
65271 if test x$gcc_no_link = xyes; then
65272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65274 { (exit 1); exit 1; }; }
65276 cat >conftest.$ac_ext <<_ACEOF
65277 /* confdefs.h. */
65278 _ACEOF
65279 cat confdefs.h >>conftest.$ac_ext
65280 cat >>conftest.$ac_ext <<_ACEOF
65281 /* end confdefs.h. */
65282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65284 #define $ac_func innocuous_$ac_func
65286 /* System header to define __stub macros and hopefully few prototypes,
65287 which can conflict with char $ac_func (); below.
65288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65289 <limits.h> exists even on freestanding compilers. */
65291 #ifdef __STDC__
65292 # include <limits.h>
65293 #else
65294 # include <assert.h>
65295 #endif
65297 #undef $ac_func
65299 /* Override any gcc2 internal prototype to avoid an error. */
65300 #ifdef __cplusplus
65301 extern "C"
65303 #endif
65304 /* We use char because int might match the return type of a gcc2
65305 builtin and then its argument prototype would still apply. */
65306 char $ac_func ();
65307 /* The GNU C library defines this for functions which it implements
65308 to always fail with ENOSYS. Some functions are actually named
65309 something starting with __ and the normal name is an alias. */
65310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65311 choke me
65312 #else
65313 char (*f) () = $ac_func;
65314 #endif
65315 #ifdef __cplusplus
65317 #endif
65320 main ()
65322 return f != $ac_func;
65324 return 0;
65326 _ACEOF
65327 rm -f conftest.$ac_objext conftest$ac_exeext
65328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65329 (eval $ac_link) 2>conftest.er1
65330 ac_status=$?
65331 grep -v '^ *+' conftest.er1 >conftest.err
65332 rm -f conftest.er1
65333 cat conftest.err >&5
65334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65335 (exit $ac_status); } &&
65336 { ac_try='test -z "$ac_c_werror_flag"
65337 || test ! -s conftest.err'
65338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65339 (eval $ac_try) 2>&5
65340 ac_status=$?
65341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342 (exit $ac_status); }; } &&
65343 { ac_try='test -s conftest$ac_exeext'
65344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65345 (eval $ac_try) 2>&5
65346 ac_status=$?
65347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65348 (exit $ac_status); }; }; then
65349 eval "$as_ac_var=yes"
65350 else
65351 echo "$as_me: failed program was:" >&5
65352 sed 's/^/| /' conftest.$ac_ext >&5
65354 eval "$as_ac_var=no"
65356 rm -f conftest.err conftest.$ac_objext \
65357 conftest$ac_exeext conftest.$ac_ext
65359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65361 if test `eval echo '${'$as_ac_var'}'` = yes; then
65362 cat >>confdefs.h <<_ACEOF
65363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65364 _ACEOF
65367 done
65379 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65380 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65381 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65382 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65383 echo $ECHO_N "(cached) $ECHO_C" >&6
65384 else
65388 ac_ext=cc
65389 ac_cpp='$CXXCPP $CPPFLAGS'
65390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65394 cat >conftest.$ac_ext <<_ACEOF
65395 /* confdefs.h. */
65396 _ACEOF
65397 cat confdefs.h >>conftest.$ac_ext
65398 cat >>conftest.$ac_ext <<_ACEOF
65399 /* end confdefs.h. */
65400 #include <math.h>
65401 #ifdef HAVE_IEEEFP_H
65402 #include <ieeefp.h>
65403 #endif
65406 main ()
65408 isnanl(0);
65410 return 0;
65412 _ACEOF
65413 rm -f conftest.$ac_objext
65414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65415 (eval $ac_compile) 2>conftest.er1
65416 ac_status=$?
65417 grep -v '^ *+' conftest.er1 >conftest.err
65418 rm -f conftest.er1
65419 cat conftest.err >&5
65420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65421 (exit $ac_status); } &&
65422 { ac_try='test -z "$ac_cxx_werror_flag"
65423 || test ! -s conftest.err'
65424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65425 (eval $ac_try) 2>&5
65426 ac_status=$?
65427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65428 (exit $ac_status); }; } &&
65429 { ac_try='test -s conftest.$ac_objext'
65430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65431 (eval $ac_try) 2>&5
65432 ac_status=$?
65433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65434 (exit $ac_status); }; }; then
65435 glibcxx_cv_func_isnanl_use=yes
65436 else
65437 echo "$as_me: failed program was:" >&5
65438 sed 's/^/| /' conftest.$ac_ext >&5
65440 glibcxx_cv_func_isnanl_use=no
65442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65443 ac_ext=c
65444 ac_cpp='$CPP $CPPFLAGS'
65445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65454 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65456 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65458 for ac_func in isnanl
65460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65461 echo "$as_me:$LINENO: checking for $ac_func" >&5
65462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65463 if eval "test \"\${$as_ac_var+set}\" = set"; then
65464 echo $ECHO_N "(cached) $ECHO_C" >&6
65465 else
65466 if test x$gcc_no_link = xyes; then
65467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65469 { (exit 1); exit 1; }; }
65471 cat >conftest.$ac_ext <<_ACEOF
65472 /* confdefs.h. */
65473 _ACEOF
65474 cat confdefs.h >>conftest.$ac_ext
65475 cat >>conftest.$ac_ext <<_ACEOF
65476 /* end confdefs.h. */
65477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65479 #define $ac_func innocuous_$ac_func
65481 /* System header to define __stub macros and hopefully few prototypes,
65482 which can conflict with char $ac_func (); below.
65483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65484 <limits.h> exists even on freestanding compilers. */
65486 #ifdef __STDC__
65487 # include <limits.h>
65488 #else
65489 # include <assert.h>
65490 #endif
65492 #undef $ac_func
65494 /* Override any gcc2 internal prototype to avoid an error. */
65495 #ifdef __cplusplus
65496 extern "C"
65498 #endif
65499 /* We use char because int might match the return type of a gcc2
65500 builtin and then its argument prototype would still apply. */
65501 char $ac_func ();
65502 /* The GNU C library defines this for functions which it implements
65503 to always fail with ENOSYS. Some functions are actually named
65504 something starting with __ and the normal name is an alias. */
65505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65506 choke me
65507 #else
65508 char (*f) () = $ac_func;
65509 #endif
65510 #ifdef __cplusplus
65512 #endif
65515 main ()
65517 return f != $ac_func;
65519 return 0;
65521 _ACEOF
65522 rm -f conftest.$ac_objext conftest$ac_exeext
65523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65524 (eval $ac_link) 2>conftest.er1
65525 ac_status=$?
65526 grep -v '^ *+' conftest.er1 >conftest.err
65527 rm -f conftest.er1
65528 cat conftest.err >&5
65529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65530 (exit $ac_status); } &&
65531 { ac_try='test -z "$ac_c_werror_flag"
65532 || test ! -s conftest.err'
65533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65534 (eval $ac_try) 2>&5
65535 ac_status=$?
65536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65537 (exit $ac_status); }; } &&
65538 { ac_try='test -s conftest$ac_exeext'
65539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65540 (eval $ac_try) 2>&5
65541 ac_status=$?
65542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65543 (exit $ac_status); }; }; then
65544 eval "$as_ac_var=yes"
65545 else
65546 echo "$as_me: failed program was:" >&5
65547 sed 's/^/| /' conftest.$ac_ext >&5
65549 eval "$as_ac_var=no"
65551 rm -f conftest.err conftest.$ac_objext \
65552 conftest$ac_exeext conftest.$ac_ext
65554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65556 if test `eval echo '${'$as_ac_var'}'` = yes; then
65557 cat >>confdefs.h <<_ACEOF
65558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65559 _ACEOF
65562 done
65564 else
65566 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65567 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65568 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65569 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65570 echo $ECHO_N "(cached) $ECHO_C" >&6
65571 else
65575 ac_ext=cc
65576 ac_cpp='$CXXCPP $CPPFLAGS'
65577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65581 cat >conftest.$ac_ext <<_ACEOF
65582 /* confdefs.h. */
65583 _ACEOF
65584 cat confdefs.h >>conftest.$ac_ext
65585 cat >>conftest.$ac_ext <<_ACEOF
65586 /* end confdefs.h. */
65587 #include <math.h>
65588 #ifdef HAVE_IEEEFP_H
65589 #include <ieeefp.h>
65590 #endif
65593 main ()
65595 _isnanl(0);
65597 return 0;
65599 _ACEOF
65600 rm -f conftest.$ac_objext
65601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65602 (eval $ac_compile) 2>conftest.er1
65603 ac_status=$?
65604 grep -v '^ *+' conftest.er1 >conftest.err
65605 rm -f conftest.er1
65606 cat conftest.err >&5
65607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65608 (exit $ac_status); } &&
65609 { ac_try='test -z "$ac_cxx_werror_flag"
65610 || test ! -s conftest.err'
65611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65612 (eval $ac_try) 2>&5
65613 ac_status=$?
65614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65615 (exit $ac_status); }; } &&
65616 { ac_try='test -s conftest.$ac_objext'
65617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65618 (eval $ac_try) 2>&5
65619 ac_status=$?
65620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65621 (exit $ac_status); }; }; then
65622 glibcxx_cv_func__isnanl_use=yes
65623 else
65624 echo "$as_me: failed program was:" >&5
65625 sed 's/^/| /' conftest.$ac_ext >&5
65627 glibcxx_cv_func__isnanl_use=no
65629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65630 ac_ext=c
65631 ac_cpp='$CPP $CPPFLAGS'
65632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65641 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65643 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65645 for ac_func in _isnanl
65647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65648 echo "$as_me:$LINENO: checking for $ac_func" >&5
65649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65650 if eval "test \"\${$as_ac_var+set}\" = set"; then
65651 echo $ECHO_N "(cached) $ECHO_C" >&6
65652 else
65653 if test x$gcc_no_link = xyes; then
65654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65656 { (exit 1); exit 1; }; }
65658 cat >conftest.$ac_ext <<_ACEOF
65659 /* confdefs.h. */
65660 _ACEOF
65661 cat confdefs.h >>conftest.$ac_ext
65662 cat >>conftest.$ac_ext <<_ACEOF
65663 /* end confdefs.h. */
65664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65666 #define $ac_func innocuous_$ac_func
65668 /* System header to define __stub macros and hopefully few prototypes,
65669 which can conflict with char $ac_func (); below.
65670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65671 <limits.h> exists even on freestanding compilers. */
65673 #ifdef __STDC__
65674 # include <limits.h>
65675 #else
65676 # include <assert.h>
65677 #endif
65679 #undef $ac_func
65681 /* Override any gcc2 internal prototype to avoid an error. */
65682 #ifdef __cplusplus
65683 extern "C"
65685 #endif
65686 /* We use char because int might match the return type of a gcc2
65687 builtin and then its argument prototype would still apply. */
65688 char $ac_func ();
65689 /* The GNU C library defines this for functions which it implements
65690 to always fail with ENOSYS. Some functions are actually named
65691 something starting with __ and the normal name is an alias. */
65692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65693 choke me
65694 #else
65695 char (*f) () = $ac_func;
65696 #endif
65697 #ifdef __cplusplus
65699 #endif
65702 main ()
65704 return f != $ac_func;
65706 return 0;
65708 _ACEOF
65709 rm -f conftest.$ac_objext conftest$ac_exeext
65710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65711 (eval $ac_link) 2>conftest.er1
65712 ac_status=$?
65713 grep -v '^ *+' conftest.er1 >conftest.err
65714 rm -f conftest.er1
65715 cat conftest.err >&5
65716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65717 (exit $ac_status); } &&
65718 { ac_try='test -z "$ac_c_werror_flag"
65719 || test ! -s conftest.err'
65720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65721 (eval $ac_try) 2>&5
65722 ac_status=$?
65723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65724 (exit $ac_status); }; } &&
65725 { ac_try='test -s conftest$ac_exeext'
65726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65727 (eval $ac_try) 2>&5
65728 ac_status=$?
65729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65730 (exit $ac_status); }; }; then
65731 eval "$as_ac_var=yes"
65732 else
65733 echo "$as_me: failed program was:" >&5
65734 sed 's/^/| /' conftest.$ac_ext >&5
65736 eval "$as_ac_var=no"
65738 rm -f conftest.err conftest.$ac_objext \
65739 conftest$ac_exeext conftest.$ac_ext
65741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65743 if test `eval echo '${'$as_ac_var'}'` = yes; then
65744 cat >>confdefs.h <<_ACEOF
65745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65746 _ACEOF
65749 done
65759 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65760 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65761 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65762 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65763 echo $ECHO_N "(cached) $ECHO_C" >&6
65764 else
65768 ac_ext=cc
65769 ac_cpp='$CXXCPP $CPPFLAGS'
65770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65774 cat >conftest.$ac_ext <<_ACEOF
65775 /* confdefs.h. */
65776 _ACEOF
65777 cat confdefs.h >>conftest.$ac_ext
65778 cat >>conftest.$ac_ext <<_ACEOF
65779 /* end confdefs.h. */
65780 #include <math.h>
65781 #ifdef HAVE_IEEEFP_H
65782 #include <ieeefp.h>
65783 #endif
65786 main ()
65788 isinfl(0);
65790 return 0;
65792 _ACEOF
65793 rm -f conftest.$ac_objext
65794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65795 (eval $ac_compile) 2>conftest.er1
65796 ac_status=$?
65797 grep -v '^ *+' conftest.er1 >conftest.err
65798 rm -f conftest.er1
65799 cat conftest.err >&5
65800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801 (exit $ac_status); } &&
65802 { ac_try='test -z "$ac_cxx_werror_flag"
65803 || test ! -s conftest.err'
65804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65805 (eval $ac_try) 2>&5
65806 ac_status=$?
65807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65808 (exit $ac_status); }; } &&
65809 { ac_try='test -s conftest.$ac_objext'
65810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65811 (eval $ac_try) 2>&5
65812 ac_status=$?
65813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65814 (exit $ac_status); }; }; then
65815 glibcxx_cv_func_isinfl_use=yes
65816 else
65817 echo "$as_me: failed program was:" >&5
65818 sed 's/^/| /' conftest.$ac_ext >&5
65820 glibcxx_cv_func_isinfl_use=no
65822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65823 ac_ext=c
65824 ac_cpp='$CPP $CPPFLAGS'
65825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65834 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65836 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65838 for ac_func in isinfl
65840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65841 echo "$as_me:$LINENO: checking for $ac_func" >&5
65842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65843 if eval "test \"\${$as_ac_var+set}\" = set"; then
65844 echo $ECHO_N "(cached) $ECHO_C" >&6
65845 else
65846 if test x$gcc_no_link = xyes; then
65847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65849 { (exit 1); exit 1; }; }
65851 cat >conftest.$ac_ext <<_ACEOF
65852 /* confdefs.h. */
65853 _ACEOF
65854 cat confdefs.h >>conftest.$ac_ext
65855 cat >>conftest.$ac_ext <<_ACEOF
65856 /* end confdefs.h. */
65857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65859 #define $ac_func innocuous_$ac_func
65861 /* System header to define __stub macros and hopefully few prototypes,
65862 which can conflict with char $ac_func (); below.
65863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65864 <limits.h> exists even on freestanding compilers. */
65866 #ifdef __STDC__
65867 # include <limits.h>
65868 #else
65869 # include <assert.h>
65870 #endif
65872 #undef $ac_func
65874 /* Override any gcc2 internal prototype to avoid an error. */
65875 #ifdef __cplusplus
65876 extern "C"
65878 #endif
65879 /* We use char because int might match the return type of a gcc2
65880 builtin and then its argument prototype would still apply. */
65881 char $ac_func ();
65882 /* The GNU C library defines this for functions which it implements
65883 to always fail with ENOSYS. Some functions are actually named
65884 something starting with __ and the normal name is an alias. */
65885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65886 choke me
65887 #else
65888 char (*f) () = $ac_func;
65889 #endif
65890 #ifdef __cplusplus
65892 #endif
65895 main ()
65897 return f != $ac_func;
65899 return 0;
65901 _ACEOF
65902 rm -f conftest.$ac_objext conftest$ac_exeext
65903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65904 (eval $ac_link) 2>conftest.er1
65905 ac_status=$?
65906 grep -v '^ *+' conftest.er1 >conftest.err
65907 rm -f conftest.er1
65908 cat conftest.err >&5
65909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65910 (exit $ac_status); } &&
65911 { ac_try='test -z "$ac_c_werror_flag"
65912 || test ! -s conftest.err'
65913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65914 (eval $ac_try) 2>&5
65915 ac_status=$?
65916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917 (exit $ac_status); }; } &&
65918 { ac_try='test -s conftest$ac_exeext'
65919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65920 (eval $ac_try) 2>&5
65921 ac_status=$?
65922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65923 (exit $ac_status); }; }; then
65924 eval "$as_ac_var=yes"
65925 else
65926 echo "$as_me: failed program was:" >&5
65927 sed 's/^/| /' conftest.$ac_ext >&5
65929 eval "$as_ac_var=no"
65931 rm -f conftest.err conftest.$ac_objext \
65932 conftest$ac_exeext conftest.$ac_ext
65934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65936 if test `eval echo '${'$as_ac_var'}'` = yes; then
65937 cat >>confdefs.h <<_ACEOF
65938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65939 _ACEOF
65942 done
65944 else
65946 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65947 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65948 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65949 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65950 echo $ECHO_N "(cached) $ECHO_C" >&6
65951 else
65955 ac_ext=cc
65956 ac_cpp='$CXXCPP $CPPFLAGS'
65957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65961 cat >conftest.$ac_ext <<_ACEOF
65962 /* confdefs.h. */
65963 _ACEOF
65964 cat confdefs.h >>conftest.$ac_ext
65965 cat >>conftest.$ac_ext <<_ACEOF
65966 /* end confdefs.h. */
65967 #include <math.h>
65968 #ifdef HAVE_IEEEFP_H
65969 #include <ieeefp.h>
65970 #endif
65973 main ()
65975 _isinfl(0);
65977 return 0;
65979 _ACEOF
65980 rm -f conftest.$ac_objext
65981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65982 (eval $ac_compile) 2>conftest.er1
65983 ac_status=$?
65984 grep -v '^ *+' conftest.er1 >conftest.err
65985 rm -f conftest.er1
65986 cat conftest.err >&5
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); } &&
65989 { ac_try='test -z "$ac_cxx_werror_flag"
65990 || test ! -s conftest.err'
65991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65992 (eval $ac_try) 2>&5
65993 ac_status=$?
65994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65995 (exit $ac_status); }; } &&
65996 { ac_try='test -s conftest.$ac_objext'
65997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65998 (eval $ac_try) 2>&5
65999 ac_status=$?
66000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66001 (exit $ac_status); }; }; then
66002 glibcxx_cv_func__isinfl_use=yes
66003 else
66004 echo "$as_me: failed program was:" >&5
66005 sed 's/^/| /' conftest.$ac_ext >&5
66007 glibcxx_cv_func__isinfl_use=no
66009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66010 ac_ext=c
66011 ac_cpp='$CPP $CPPFLAGS'
66012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66021 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66023 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66025 for ac_func in _isinfl
66027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66028 echo "$as_me:$LINENO: checking for $ac_func" >&5
66029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66030 if eval "test \"\${$as_ac_var+set}\" = set"; then
66031 echo $ECHO_N "(cached) $ECHO_C" >&6
66032 else
66033 if test x$gcc_no_link = xyes; then
66034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66036 { (exit 1); exit 1; }; }
66038 cat >conftest.$ac_ext <<_ACEOF
66039 /* confdefs.h. */
66040 _ACEOF
66041 cat confdefs.h >>conftest.$ac_ext
66042 cat >>conftest.$ac_ext <<_ACEOF
66043 /* end confdefs.h. */
66044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66046 #define $ac_func innocuous_$ac_func
66048 /* System header to define __stub macros and hopefully few prototypes,
66049 which can conflict with char $ac_func (); below.
66050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66051 <limits.h> exists even on freestanding compilers. */
66053 #ifdef __STDC__
66054 # include <limits.h>
66055 #else
66056 # include <assert.h>
66057 #endif
66059 #undef $ac_func
66061 /* Override any gcc2 internal prototype to avoid an error. */
66062 #ifdef __cplusplus
66063 extern "C"
66065 #endif
66066 /* We use char because int might match the return type of a gcc2
66067 builtin and then its argument prototype would still apply. */
66068 char $ac_func ();
66069 /* The GNU C library defines this for functions which it implements
66070 to always fail with ENOSYS. Some functions are actually named
66071 something starting with __ and the normal name is an alias. */
66072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66073 choke me
66074 #else
66075 char (*f) () = $ac_func;
66076 #endif
66077 #ifdef __cplusplus
66079 #endif
66082 main ()
66084 return f != $ac_func;
66086 return 0;
66088 _ACEOF
66089 rm -f conftest.$ac_objext conftest$ac_exeext
66090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66091 (eval $ac_link) 2>conftest.er1
66092 ac_status=$?
66093 grep -v '^ *+' conftest.er1 >conftest.err
66094 rm -f conftest.er1
66095 cat conftest.err >&5
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); } &&
66098 { ac_try='test -z "$ac_c_werror_flag"
66099 || test ! -s conftest.err'
66100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101 (eval $ac_try) 2>&5
66102 ac_status=$?
66103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104 (exit $ac_status); }; } &&
66105 { ac_try='test -s conftest$ac_exeext'
66106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66107 (eval $ac_try) 2>&5
66108 ac_status=$?
66109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110 (exit $ac_status); }; }; then
66111 eval "$as_ac_var=yes"
66112 else
66113 echo "$as_me: failed program was:" >&5
66114 sed 's/^/| /' conftest.$ac_ext >&5
66116 eval "$as_ac_var=no"
66118 rm -f conftest.err conftest.$ac_objext \
66119 conftest$ac_exeext conftest.$ac_ext
66121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66123 if test `eval echo '${'$as_ac_var'}'` = yes; then
66124 cat >>confdefs.h <<_ACEOF
66125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66126 _ACEOF
66129 done
66139 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66140 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66141 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66142 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66143 echo $ECHO_N "(cached) $ECHO_C" >&6
66144 else
66148 ac_ext=cc
66149 ac_cpp='$CXXCPP $CPPFLAGS'
66150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66154 cat >conftest.$ac_ext <<_ACEOF
66155 /* confdefs.h. */
66156 _ACEOF
66157 cat confdefs.h >>conftest.$ac_ext
66158 cat >>conftest.$ac_ext <<_ACEOF
66159 /* end confdefs.h. */
66160 #include <math.h>
66162 main ()
66164 copysignl(0, 0);
66166 return 0;
66168 _ACEOF
66169 rm -f conftest.$ac_objext
66170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66171 (eval $ac_compile) 2>conftest.er1
66172 ac_status=$?
66173 grep -v '^ *+' conftest.er1 >conftest.err
66174 rm -f conftest.er1
66175 cat conftest.err >&5
66176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66177 (exit $ac_status); } &&
66178 { ac_try='test -z "$ac_cxx_werror_flag"
66179 || test ! -s conftest.err'
66180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66181 (eval $ac_try) 2>&5
66182 ac_status=$?
66183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184 (exit $ac_status); }; } &&
66185 { ac_try='test -s conftest.$ac_objext'
66186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66187 (eval $ac_try) 2>&5
66188 ac_status=$?
66189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66190 (exit $ac_status); }; }; then
66191 glibcxx_cv_func_copysignl_use=yes
66192 else
66193 echo "$as_me: failed program was:" >&5
66194 sed 's/^/| /' conftest.$ac_ext >&5
66196 glibcxx_cv_func_copysignl_use=no
66198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66199 ac_ext=c
66200 ac_cpp='$CPP $CPPFLAGS'
66201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66210 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66212 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66214 for ac_func in copysignl
66216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66217 echo "$as_me:$LINENO: checking for $ac_func" >&5
66218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66219 if eval "test \"\${$as_ac_var+set}\" = set"; then
66220 echo $ECHO_N "(cached) $ECHO_C" >&6
66221 else
66222 if test x$gcc_no_link = xyes; then
66223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66225 { (exit 1); exit 1; }; }
66227 cat >conftest.$ac_ext <<_ACEOF
66228 /* confdefs.h. */
66229 _ACEOF
66230 cat confdefs.h >>conftest.$ac_ext
66231 cat >>conftest.$ac_ext <<_ACEOF
66232 /* end confdefs.h. */
66233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66235 #define $ac_func innocuous_$ac_func
66237 /* System header to define __stub macros and hopefully few prototypes,
66238 which can conflict with char $ac_func (); below.
66239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66240 <limits.h> exists even on freestanding compilers. */
66242 #ifdef __STDC__
66243 # include <limits.h>
66244 #else
66245 # include <assert.h>
66246 #endif
66248 #undef $ac_func
66250 /* Override any gcc2 internal prototype to avoid an error. */
66251 #ifdef __cplusplus
66252 extern "C"
66254 #endif
66255 /* We use char because int might match the return type of a gcc2
66256 builtin and then its argument prototype would still apply. */
66257 char $ac_func ();
66258 /* The GNU C library defines this for functions which it implements
66259 to always fail with ENOSYS. Some functions are actually named
66260 something starting with __ and the normal name is an alias. */
66261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66262 choke me
66263 #else
66264 char (*f) () = $ac_func;
66265 #endif
66266 #ifdef __cplusplus
66268 #endif
66271 main ()
66273 return f != $ac_func;
66275 return 0;
66277 _ACEOF
66278 rm -f conftest.$ac_objext conftest$ac_exeext
66279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66280 (eval $ac_link) 2>conftest.er1
66281 ac_status=$?
66282 grep -v '^ *+' conftest.er1 >conftest.err
66283 rm -f conftest.er1
66284 cat conftest.err >&5
66285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66286 (exit $ac_status); } &&
66287 { ac_try='test -z "$ac_c_werror_flag"
66288 || test ! -s conftest.err'
66289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290 (eval $ac_try) 2>&5
66291 ac_status=$?
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); }; } &&
66294 { ac_try='test -s conftest$ac_exeext'
66295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66296 (eval $ac_try) 2>&5
66297 ac_status=$?
66298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66299 (exit $ac_status); }; }; then
66300 eval "$as_ac_var=yes"
66301 else
66302 echo "$as_me: failed program was:" >&5
66303 sed 's/^/| /' conftest.$ac_ext >&5
66305 eval "$as_ac_var=no"
66307 rm -f conftest.err conftest.$ac_objext \
66308 conftest$ac_exeext conftest.$ac_ext
66310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66312 if test `eval echo '${'$as_ac_var'}'` = yes; then
66313 cat >>confdefs.h <<_ACEOF
66314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66315 _ACEOF
66318 done
66320 else
66322 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66323 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66324 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66325 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66326 echo $ECHO_N "(cached) $ECHO_C" >&6
66327 else
66331 ac_ext=cc
66332 ac_cpp='$CXXCPP $CPPFLAGS'
66333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337 cat >conftest.$ac_ext <<_ACEOF
66338 /* confdefs.h. */
66339 _ACEOF
66340 cat confdefs.h >>conftest.$ac_ext
66341 cat >>conftest.$ac_ext <<_ACEOF
66342 /* end confdefs.h. */
66343 #include <math.h>
66345 main ()
66347 _copysignl(0, 0);
66349 return 0;
66351 _ACEOF
66352 rm -f conftest.$ac_objext
66353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66354 (eval $ac_compile) 2>conftest.er1
66355 ac_status=$?
66356 grep -v '^ *+' conftest.er1 >conftest.err
66357 rm -f conftest.er1
66358 cat conftest.err >&5
66359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66360 (exit $ac_status); } &&
66361 { ac_try='test -z "$ac_cxx_werror_flag"
66362 || test ! -s conftest.err'
66363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66364 (eval $ac_try) 2>&5
66365 ac_status=$?
66366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367 (exit $ac_status); }; } &&
66368 { ac_try='test -s conftest.$ac_objext'
66369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66370 (eval $ac_try) 2>&5
66371 ac_status=$?
66372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373 (exit $ac_status); }; }; then
66374 glibcxx_cv_func__copysignl_use=yes
66375 else
66376 echo "$as_me: failed program was:" >&5
66377 sed 's/^/| /' conftest.$ac_ext >&5
66379 glibcxx_cv_func__copysignl_use=no
66381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66382 ac_ext=c
66383 ac_cpp='$CPP $CPPFLAGS'
66384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66393 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66395 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66397 for ac_func in _copysignl
66399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66400 echo "$as_me:$LINENO: checking for $ac_func" >&5
66401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66402 if eval "test \"\${$as_ac_var+set}\" = set"; then
66403 echo $ECHO_N "(cached) $ECHO_C" >&6
66404 else
66405 if test x$gcc_no_link = xyes; then
66406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66408 { (exit 1); exit 1; }; }
66410 cat >conftest.$ac_ext <<_ACEOF
66411 /* confdefs.h. */
66412 _ACEOF
66413 cat confdefs.h >>conftest.$ac_ext
66414 cat >>conftest.$ac_ext <<_ACEOF
66415 /* end confdefs.h. */
66416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66418 #define $ac_func innocuous_$ac_func
66420 /* System header to define __stub macros and hopefully few prototypes,
66421 which can conflict with char $ac_func (); below.
66422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66423 <limits.h> exists even on freestanding compilers. */
66425 #ifdef __STDC__
66426 # include <limits.h>
66427 #else
66428 # include <assert.h>
66429 #endif
66431 #undef $ac_func
66433 /* Override any gcc2 internal prototype to avoid an error. */
66434 #ifdef __cplusplus
66435 extern "C"
66437 #endif
66438 /* We use char because int might match the return type of a gcc2
66439 builtin and then its argument prototype would still apply. */
66440 char $ac_func ();
66441 /* The GNU C library defines this for functions which it implements
66442 to always fail with ENOSYS. Some functions are actually named
66443 something starting with __ and the normal name is an alias. */
66444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66445 choke me
66446 #else
66447 char (*f) () = $ac_func;
66448 #endif
66449 #ifdef __cplusplus
66451 #endif
66454 main ()
66456 return f != $ac_func;
66458 return 0;
66460 _ACEOF
66461 rm -f conftest.$ac_objext conftest$ac_exeext
66462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66463 (eval $ac_link) 2>conftest.er1
66464 ac_status=$?
66465 grep -v '^ *+' conftest.er1 >conftest.err
66466 rm -f conftest.er1
66467 cat conftest.err >&5
66468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469 (exit $ac_status); } &&
66470 { ac_try='test -z "$ac_c_werror_flag"
66471 || test ! -s conftest.err'
66472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66473 (eval $ac_try) 2>&5
66474 ac_status=$?
66475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476 (exit $ac_status); }; } &&
66477 { ac_try='test -s conftest$ac_exeext'
66478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66479 (eval $ac_try) 2>&5
66480 ac_status=$?
66481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482 (exit $ac_status); }; }; then
66483 eval "$as_ac_var=yes"
66484 else
66485 echo "$as_me: failed program was:" >&5
66486 sed 's/^/| /' conftest.$ac_ext >&5
66488 eval "$as_ac_var=no"
66490 rm -f conftest.err conftest.$ac_objext \
66491 conftest$ac_exeext conftest.$ac_ext
66493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66495 if test `eval echo '${'$as_ac_var'}'` = yes; then
66496 cat >>confdefs.h <<_ACEOF
66497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66498 _ACEOF
66501 done
66511 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66512 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66513 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66514 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66515 echo $ECHO_N "(cached) $ECHO_C" >&6
66516 else
66520 ac_ext=cc
66521 ac_cpp='$CXXCPP $CPPFLAGS'
66522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66526 cat >conftest.$ac_ext <<_ACEOF
66527 /* confdefs.h. */
66528 _ACEOF
66529 cat confdefs.h >>conftest.$ac_ext
66530 cat >>conftest.$ac_ext <<_ACEOF
66531 /* end confdefs.h. */
66532 #include <math.h>
66534 main ()
66536 atan2l(0, 0);
66538 return 0;
66540 _ACEOF
66541 rm -f conftest.$ac_objext
66542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66543 (eval $ac_compile) 2>conftest.er1
66544 ac_status=$?
66545 grep -v '^ *+' conftest.er1 >conftest.err
66546 rm -f conftest.er1
66547 cat conftest.err >&5
66548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66549 (exit $ac_status); } &&
66550 { ac_try='test -z "$ac_cxx_werror_flag"
66551 || test ! -s conftest.err'
66552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66553 (eval $ac_try) 2>&5
66554 ac_status=$?
66555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66556 (exit $ac_status); }; } &&
66557 { ac_try='test -s conftest.$ac_objext'
66558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66559 (eval $ac_try) 2>&5
66560 ac_status=$?
66561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66562 (exit $ac_status); }; }; then
66563 glibcxx_cv_func_atan2l_use=yes
66564 else
66565 echo "$as_me: failed program was:" >&5
66566 sed 's/^/| /' conftest.$ac_ext >&5
66568 glibcxx_cv_func_atan2l_use=no
66570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66571 ac_ext=c
66572 ac_cpp='$CPP $CPPFLAGS'
66573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66582 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66584 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66586 for ac_func in atan2l
66588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66589 echo "$as_me:$LINENO: checking for $ac_func" >&5
66590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66591 if eval "test \"\${$as_ac_var+set}\" = set"; then
66592 echo $ECHO_N "(cached) $ECHO_C" >&6
66593 else
66594 if test x$gcc_no_link = xyes; then
66595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66597 { (exit 1); exit 1; }; }
66599 cat >conftest.$ac_ext <<_ACEOF
66600 /* confdefs.h. */
66601 _ACEOF
66602 cat confdefs.h >>conftest.$ac_ext
66603 cat >>conftest.$ac_ext <<_ACEOF
66604 /* end confdefs.h. */
66605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66607 #define $ac_func innocuous_$ac_func
66609 /* System header to define __stub macros and hopefully few prototypes,
66610 which can conflict with char $ac_func (); below.
66611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66612 <limits.h> exists even on freestanding compilers. */
66614 #ifdef __STDC__
66615 # include <limits.h>
66616 #else
66617 # include <assert.h>
66618 #endif
66620 #undef $ac_func
66622 /* Override any gcc2 internal prototype to avoid an error. */
66623 #ifdef __cplusplus
66624 extern "C"
66626 #endif
66627 /* We use char because int might match the return type of a gcc2
66628 builtin and then its argument prototype would still apply. */
66629 char $ac_func ();
66630 /* The GNU C library defines this for functions which it implements
66631 to always fail with ENOSYS. Some functions are actually named
66632 something starting with __ and the normal name is an alias. */
66633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66634 choke me
66635 #else
66636 char (*f) () = $ac_func;
66637 #endif
66638 #ifdef __cplusplus
66640 #endif
66643 main ()
66645 return f != $ac_func;
66647 return 0;
66649 _ACEOF
66650 rm -f conftest.$ac_objext conftest$ac_exeext
66651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66652 (eval $ac_link) 2>conftest.er1
66653 ac_status=$?
66654 grep -v '^ *+' conftest.er1 >conftest.err
66655 rm -f conftest.er1
66656 cat conftest.err >&5
66657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66658 (exit $ac_status); } &&
66659 { ac_try='test -z "$ac_c_werror_flag"
66660 || test ! -s conftest.err'
66661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66662 (eval $ac_try) 2>&5
66663 ac_status=$?
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); }; } &&
66666 { ac_try='test -s conftest$ac_exeext'
66667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66668 (eval $ac_try) 2>&5
66669 ac_status=$?
66670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66671 (exit $ac_status); }; }; then
66672 eval "$as_ac_var=yes"
66673 else
66674 echo "$as_me: failed program was:" >&5
66675 sed 's/^/| /' conftest.$ac_ext >&5
66677 eval "$as_ac_var=no"
66679 rm -f conftest.err conftest.$ac_objext \
66680 conftest$ac_exeext conftest.$ac_ext
66682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66684 if test `eval echo '${'$as_ac_var'}'` = yes; then
66685 cat >>confdefs.h <<_ACEOF
66686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66687 _ACEOF
66690 done
66692 else
66694 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66695 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66696 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66697 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66698 echo $ECHO_N "(cached) $ECHO_C" >&6
66699 else
66703 ac_ext=cc
66704 ac_cpp='$CXXCPP $CPPFLAGS'
66705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66709 cat >conftest.$ac_ext <<_ACEOF
66710 /* confdefs.h. */
66711 _ACEOF
66712 cat confdefs.h >>conftest.$ac_ext
66713 cat >>conftest.$ac_ext <<_ACEOF
66714 /* end confdefs.h. */
66715 #include <math.h>
66717 main ()
66719 _atan2l(0, 0);
66721 return 0;
66723 _ACEOF
66724 rm -f conftest.$ac_objext
66725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66726 (eval $ac_compile) 2>conftest.er1
66727 ac_status=$?
66728 grep -v '^ *+' conftest.er1 >conftest.err
66729 rm -f conftest.er1
66730 cat conftest.err >&5
66731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66732 (exit $ac_status); } &&
66733 { ac_try='test -z "$ac_cxx_werror_flag"
66734 || test ! -s conftest.err'
66735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66736 (eval $ac_try) 2>&5
66737 ac_status=$?
66738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66739 (exit $ac_status); }; } &&
66740 { ac_try='test -s conftest.$ac_objext'
66741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66742 (eval $ac_try) 2>&5
66743 ac_status=$?
66744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745 (exit $ac_status); }; }; then
66746 glibcxx_cv_func__atan2l_use=yes
66747 else
66748 echo "$as_me: failed program was:" >&5
66749 sed 's/^/| /' conftest.$ac_ext >&5
66751 glibcxx_cv_func__atan2l_use=no
66753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66754 ac_ext=c
66755 ac_cpp='$CPP $CPPFLAGS'
66756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66765 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66767 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66769 for ac_func in _atan2l
66771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66772 echo "$as_me:$LINENO: checking for $ac_func" >&5
66773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66774 if eval "test \"\${$as_ac_var+set}\" = set"; then
66775 echo $ECHO_N "(cached) $ECHO_C" >&6
66776 else
66777 if test x$gcc_no_link = xyes; then
66778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66780 { (exit 1); exit 1; }; }
66782 cat >conftest.$ac_ext <<_ACEOF
66783 /* confdefs.h. */
66784 _ACEOF
66785 cat confdefs.h >>conftest.$ac_ext
66786 cat >>conftest.$ac_ext <<_ACEOF
66787 /* end confdefs.h. */
66788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66790 #define $ac_func innocuous_$ac_func
66792 /* System header to define __stub macros and hopefully few prototypes,
66793 which can conflict with char $ac_func (); below.
66794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66795 <limits.h> exists even on freestanding compilers. */
66797 #ifdef __STDC__
66798 # include <limits.h>
66799 #else
66800 # include <assert.h>
66801 #endif
66803 #undef $ac_func
66805 /* Override any gcc2 internal prototype to avoid an error. */
66806 #ifdef __cplusplus
66807 extern "C"
66809 #endif
66810 /* We use char because int might match the return type of a gcc2
66811 builtin and then its argument prototype would still apply. */
66812 char $ac_func ();
66813 /* The GNU C library defines this for functions which it implements
66814 to always fail with ENOSYS. Some functions are actually named
66815 something starting with __ and the normal name is an alias. */
66816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66817 choke me
66818 #else
66819 char (*f) () = $ac_func;
66820 #endif
66821 #ifdef __cplusplus
66823 #endif
66826 main ()
66828 return f != $ac_func;
66830 return 0;
66832 _ACEOF
66833 rm -f conftest.$ac_objext conftest$ac_exeext
66834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66835 (eval $ac_link) 2>conftest.er1
66836 ac_status=$?
66837 grep -v '^ *+' conftest.er1 >conftest.err
66838 rm -f conftest.er1
66839 cat conftest.err >&5
66840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66841 (exit $ac_status); } &&
66842 { ac_try='test -z "$ac_c_werror_flag"
66843 || test ! -s conftest.err'
66844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66845 (eval $ac_try) 2>&5
66846 ac_status=$?
66847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848 (exit $ac_status); }; } &&
66849 { ac_try='test -s conftest$ac_exeext'
66850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66851 (eval $ac_try) 2>&5
66852 ac_status=$?
66853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66854 (exit $ac_status); }; }; then
66855 eval "$as_ac_var=yes"
66856 else
66857 echo "$as_me: failed program was:" >&5
66858 sed 's/^/| /' conftest.$ac_ext >&5
66860 eval "$as_ac_var=no"
66862 rm -f conftest.err conftest.$ac_objext \
66863 conftest$ac_exeext conftest.$ac_ext
66865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66867 if test `eval echo '${'$as_ac_var'}'` = yes; then
66868 cat >>confdefs.h <<_ACEOF
66869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66870 _ACEOF
66873 done
66883 echo "$as_me:$LINENO: checking for expl declaration" >&5
66884 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66885 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66886 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66887 echo $ECHO_N "(cached) $ECHO_C" >&6
66888 else
66892 ac_ext=cc
66893 ac_cpp='$CXXCPP $CPPFLAGS'
66894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66898 cat >conftest.$ac_ext <<_ACEOF
66899 /* confdefs.h. */
66900 _ACEOF
66901 cat confdefs.h >>conftest.$ac_ext
66902 cat >>conftest.$ac_ext <<_ACEOF
66903 /* end confdefs.h. */
66904 #include <math.h>
66905 #ifdef HAVE_IEEEFP_H
66906 #include <ieeefp.h>
66907 #endif
66910 main ()
66912 expl(0);
66914 return 0;
66916 _ACEOF
66917 rm -f conftest.$ac_objext
66918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66919 (eval $ac_compile) 2>conftest.er1
66920 ac_status=$?
66921 grep -v '^ *+' conftest.er1 >conftest.err
66922 rm -f conftest.er1
66923 cat conftest.err >&5
66924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66925 (exit $ac_status); } &&
66926 { ac_try='test -z "$ac_cxx_werror_flag"
66927 || test ! -s conftest.err'
66928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66929 (eval $ac_try) 2>&5
66930 ac_status=$?
66931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66932 (exit $ac_status); }; } &&
66933 { ac_try='test -s conftest.$ac_objext'
66934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66935 (eval $ac_try) 2>&5
66936 ac_status=$?
66937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66938 (exit $ac_status); }; }; then
66939 glibcxx_cv_func_expl_use=yes
66940 else
66941 echo "$as_me: failed program was:" >&5
66942 sed 's/^/| /' conftest.$ac_ext >&5
66944 glibcxx_cv_func_expl_use=no
66946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66947 ac_ext=c
66948 ac_cpp='$CPP $CPPFLAGS'
66949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66958 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66960 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66962 for ac_func in expl
66964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66965 echo "$as_me:$LINENO: checking for $ac_func" >&5
66966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66967 if eval "test \"\${$as_ac_var+set}\" = set"; then
66968 echo $ECHO_N "(cached) $ECHO_C" >&6
66969 else
66970 if test x$gcc_no_link = xyes; then
66971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66973 { (exit 1); exit 1; }; }
66975 cat >conftest.$ac_ext <<_ACEOF
66976 /* confdefs.h. */
66977 _ACEOF
66978 cat confdefs.h >>conftest.$ac_ext
66979 cat >>conftest.$ac_ext <<_ACEOF
66980 /* end confdefs.h. */
66981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66983 #define $ac_func innocuous_$ac_func
66985 /* System header to define __stub macros and hopefully few prototypes,
66986 which can conflict with char $ac_func (); below.
66987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66988 <limits.h> exists even on freestanding compilers. */
66990 #ifdef __STDC__
66991 # include <limits.h>
66992 #else
66993 # include <assert.h>
66994 #endif
66996 #undef $ac_func
66998 /* Override any gcc2 internal prototype to avoid an error. */
66999 #ifdef __cplusplus
67000 extern "C"
67002 #endif
67003 /* We use char because int might match the return type of a gcc2
67004 builtin and then its argument prototype would still apply. */
67005 char $ac_func ();
67006 /* The GNU C library defines this for functions which it implements
67007 to always fail with ENOSYS. Some functions are actually named
67008 something starting with __ and the normal name is an alias. */
67009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67010 choke me
67011 #else
67012 char (*f) () = $ac_func;
67013 #endif
67014 #ifdef __cplusplus
67016 #endif
67019 main ()
67021 return f != $ac_func;
67023 return 0;
67025 _ACEOF
67026 rm -f conftest.$ac_objext conftest$ac_exeext
67027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67028 (eval $ac_link) 2>conftest.er1
67029 ac_status=$?
67030 grep -v '^ *+' conftest.er1 >conftest.err
67031 rm -f conftest.er1
67032 cat conftest.err >&5
67033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67034 (exit $ac_status); } &&
67035 { ac_try='test -z "$ac_c_werror_flag"
67036 || test ! -s conftest.err'
67037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67038 (eval $ac_try) 2>&5
67039 ac_status=$?
67040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67041 (exit $ac_status); }; } &&
67042 { ac_try='test -s conftest$ac_exeext'
67043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67044 (eval $ac_try) 2>&5
67045 ac_status=$?
67046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67047 (exit $ac_status); }; }; then
67048 eval "$as_ac_var=yes"
67049 else
67050 echo "$as_me: failed program was:" >&5
67051 sed 's/^/| /' conftest.$ac_ext >&5
67053 eval "$as_ac_var=no"
67055 rm -f conftest.err conftest.$ac_objext \
67056 conftest$ac_exeext conftest.$ac_ext
67058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67060 if test `eval echo '${'$as_ac_var'}'` = yes; then
67061 cat >>confdefs.h <<_ACEOF
67062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67063 _ACEOF
67066 done
67068 else
67070 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67071 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67072 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67073 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67074 echo $ECHO_N "(cached) $ECHO_C" >&6
67075 else
67079 ac_ext=cc
67080 ac_cpp='$CXXCPP $CPPFLAGS'
67081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67085 cat >conftest.$ac_ext <<_ACEOF
67086 /* confdefs.h. */
67087 _ACEOF
67088 cat confdefs.h >>conftest.$ac_ext
67089 cat >>conftest.$ac_ext <<_ACEOF
67090 /* end confdefs.h. */
67091 #include <math.h>
67092 #ifdef HAVE_IEEEFP_H
67093 #include <ieeefp.h>
67094 #endif
67097 main ()
67099 _expl(0);
67101 return 0;
67103 _ACEOF
67104 rm -f conftest.$ac_objext
67105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67106 (eval $ac_compile) 2>conftest.er1
67107 ac_status=$?
67108 grep -v '^ *+' conftest.er1 >conftest.err
67109 rm -f conftest.er1
67110 cat conftest.err >&5
67111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67112 (exit $ac_status); } &&
67113 { ac_try='test -z "$ac_cxx_werror_flag"
67114 || test ! -s conftest.err'
67115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67116 (eval $ac_try) 2>&5
67117 ac_status=$?
67118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67119 (exit $ac_status); }; } &&
67120 { ac_try='test -s conftest.$ac_objext'
67121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67122 (eval $ac_try) 2>&5
67123 ac_status=$?
67124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67125 (exit $ac_status); }; }; then
67126 glibcxx_cv_func__expl_use=yes
67127 else
67128 echo "$as_me: failed program was:" >&5
67129 sed 's/^/| /' conftest.$ac_ext >&5
67131 glibcxx_cv_func__expl_use=no
67133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67134 ac_ext=c
67135 ac_cpp='$CPP $CPPFLAGS'
67136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67145 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67147 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67149 for ac_func in _expl
67151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67152 echo "$as_me:$LINENO: checking for $ac_func" >&5
67153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67154 if eval "test \"\${$as_ac_var+set}\" = set"; then
67155 echo $ECHO_N "(cached) $ECHO_C" >&6
67156 else
67157 if test x$gcc_no_link = xyes; then
67158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67160 { (exit 1); exit 1; }; }
67162 cat >conftest.$ac_ext <<_ACEOF
67163 /* confdefs.h. */
67164 _ACEOF
67165 cat confdefs.h >>conftest.$ac_ext
67166 cat >>conftest.$ac_ext <<_ACEOF
67167 /* end confdefs.h. */
67168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67170 #define $ac_func innocuous_$ac_func
67172 /* System header to define __stub macros and hopefully few prototypes,
67173 which can conflict with char $ac_func (); below.
67174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67175 <limits.h> exists even on freestanding compilers. */
67177 #ifdef __STDC__
67178 # include <limits.h>
67179 #else
67180 # include <assert.h>
67181 #endif
67183 #undef $ac_func
67185 /* Override any gcc2 internal prototype to avoid an error. */
67186 #ifdef __cplusplus
67187 extern "C"
67189 #endif
67190 /* We use char because int might match the return type of a gcc2
67191 builtin and then its argument prototype would still apply. */
67192 char $ac_func ();
67193 /* The GNU C library defines this for functions which it implements
67194 to always fail with ENOSYS. Some functions are actually named
67195 something starting with __ and the normal name is an alias. */
67196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67197 choke me
67198 #else
67199 char (*f) () = $ac_func;
67200 #endif
67201 #ifdef __cplusplus
67203 #endif
67206 main ()
67208 return f != $ac_func;
67210 return 0;
67212 _ACEOF
67213 rm -f conftest.$ac_objext conftest$ac_exeext
67214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67215 (eval $ac_link) 2>conftest.er1
67216 ac_status=$?
67217 grep -v '^ *+' conftest.er1 >conftest.err
67218 rm -f conftest.er1
67219 cat conftest.err >&5
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); } &&
67222 { ac_try='test -z "$ac_c_werror_flag"
67223 || test ! -s conftest.err'
67224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67225 (eval $ac_try) 2>&5
67226 ac_status=$?
67227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228 (exit $ac_status); }; } &&
67229 { ac_try='test -s conftest$ac_exeext'
67230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231 (eval $ac_try) 2>&5
67232 ac_status=$?
67233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234 (exit $ac_status); }; }; then
67235 eval "$as_ac_var=yes"
67236 else
67237 echo "$as_me: failed program was:" >&5
67238 sed 's/^/| /' conftest.$ac_ext >&5
67240 eval "$as_ac_var=no"
67242 rm -f conftest.err conftest.$ac_objext \
67243 conftest$ac_exeext conftest.$ac_ext
67245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67247 if test `eval echo '${'$as_ac_var'}'` = yes; then
67248 cat >>confdefs.h <<_ACEOF
67249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67250 _ACEOF
67253 done
67263 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67264 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67265 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67266 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67267 echo $ECHO_N "(cached) $ECHO_C" >&6
67268 else
67272 ac_ext=cc
67273 ac_cpp='$CXXCPP $CPPFLAGS'
67274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67278 cat >conftest.$ac_ext <<_ACEOF
67279 /* confdefs.h. */
67280 _ACEOF
67281 cat confdefs.h >>conftest.$ac_ext
67282 cat >>conftest.$ac_ext <<_ACEOF
67283 /* end confdefs.h. */
67284 #include <math.h>
67285 #ifdef HAVE_IEEEFP_H
67286 #include <ieeefp.h>
67287 #endif
67290 main ()
67292 fabsl(0);
67294 return 0;
67296 _ACEOF
67297 rm -f conftest.$ac_objext
67298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67299 (eval $ac_compile) 2>conftest.er1
67300 ac_status=$?
67301 grep -v '^ *+' conftest.er1 >conftest.err
67302 rm -f conftest.er1
67303 cat conftest.err >&5
67304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67305 (exit $ac_status); } &&
67306 { ac_try='test -z "$ac_cxx_werror_flag"
67307 || test ! -s conftest.err'
67308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67309 (eval $ac_try) 2>&5
67310 ac_status=$?
67311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312 (exit $ac_status); }; } &&
67313 { ac_try='test -s conftest.$ac_objext'
67314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67315 (eval $ac_try) 2>&5
67316 ac_status=$?
67317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67318 (exit $ac_status); }; }; then
67319 glibcxx_cv_func_fabsl_use=yes
67320 else
67321 echo "$as_me: failed program was:" >&5
67322 sed 's/^/| /' conftest.$ac_ext >&5
67324 glibcxx_cv_func_fabsl_use=no
67326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67327 ac_ext=c
67328 ac_cpp='$CPP $CPPFLAGS'
67329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67338 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67340 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67342 for ac_func in fabsl
67344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67345 echo "$as_me:$LINENO: checking for $ac_func" >&5
67346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67347 if eval "test \"\${$as_ac_var+set}\" = set"; then
67348 echo $ECHO_N "(cached) $ECHO_C" >&6
67349 else
67350 if test x$gcc_no_link = xyes; then
67351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67353 { (exit 1); exit 1; }; }
67355 cat >conftest.$ac_ext <<_ACEOF
67356 /* confdefs.h. */
67357 _ACEOF
67358 cat confdefs.h >>conftest.$ac_ext
67359 cat >>conftest.$ac_ext <<_ACEOF
67360 /* end confdefs.h. */
67361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67363 #define $ac_func innocuous_$ac_func
67365 /* System header to define __stub macros and hopefully few prototypes,
67366 which can conflict with char $ac_func (); below.
67367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67368 <limits.h> exists even on freestanding compilers. */
67370 #ifdef __STDC__
67371 # include <limits.h>
67372 #else
67373 # include <assert.h>
67374 #endif
67376 #undef $ac_func
67378 /* Override any gcc2 internal prototype to avoid an error. */
67379 #ifdef __cplusplus
67380 extern "C"
67382 #endif
67383 /* We use char because int might match the return type of a gcc2
67384 builtin and then its argument prototype would still apply. */
67385 char $ac_func ();
67386 /* The GNU C library defines this for functions which it implements
67387 to always fail with ENOSYS. Some functions are actually named
67388 something starting with __ and the normal name is an alias. */
67389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67390 choke me
67391 #else
67392 char (*f) () = $ac_func;
67393 #endif
67394 #ifdef __cplusplus
67396 #endif
67399 main ()
67401 return f != $ac_func;
67403 return 0;
67405 _ACEOF
67406 rm -f conftest.$ac_objext conftest$ac_exeext
67407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67408 (eval $ac_link) 2>conftest.er1
67409 ac_status=$?
67410 grep -v '^ *+' conftest.er1 >conftest.err
67411 rm -f conftest.er1
67412 cat conftest.err >&5
67413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67414 (exit $ac_status); } &&
67415 { ac_try='test -z "$ac_c_werror_flag"
67416 || test ! -s conftest.err'
67417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67418 (eval $ac_try) 2>&5
67419 ac_status=$?
67420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421 (exit $ac_status); }; } &&
67422 { ac_try='test -s conftest$ac_exeext'
67423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67424 (eval $ac_try) 2>&5
67425 ac_status=$?
67426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67427 (exit $ac_status); }; }; then
67428 eval "$as_ac_var=yes"
67429 else
67430 echo "$as_me: failed program was:" >&5
67431 sed 's/^/| /' conftest.$ac_ext >&5
67433 eval "$as_ac_var=no"
67435 rm -f conftest.err conftest.$ac_objext \
67436 conftest$ac_exeext conftest.$ac_ext
67438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67440 if test `eval echo '${'$as_ac_var'}'` = yes; then
67441 cat >>confdefs.h <<_ACEOF
67442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67443 _ACEOF
67446 done
67448 else
67450 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67451 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67452 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67453 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67454 echo $ECHO_N "(cached) $ECHO_C" >&6
67455 else
67459 ac_ext=cc
67460 ac_cpp='$CXXCPP $CPPFLAGS'
67461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67465 cat >conftest.$ac_ext <<_ACEOF
67466 /* confdefs.h. */
67467 _ACEOF
67468 cat confdefs.h >>conftest.$ac_ext
67469 cat >>conftest.$ac_ext <<_ACEOF
67470 /* end confdefs.h. */
67471 #include <math.h>
67472 #ifdef HAVE_IEEEFP_H
67473 #include <ieeefp.h>
67474 #endif
67477 main ()
67479 _fabsl(0);
67481 return 0;
67483 _ACEOF
67484 rm -f conftest.$ac_objext
67485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67486 (eval $ac_compile) 2>conftest.er1
67487 ac_status=$?
67488 grep -v '^ *+' conftest.er1 >conftest.err
67489 rm -f conftest.er1
67490 cat conftest.err >&5
67491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67492 (exit $ac_status); } &&
67493 { ac_try='test -z "$ac_cxx_werror_flag"
67494 || test ! -s conftest.err'
67495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496 (eval $ac_try) 2>&5
67497 ac_status=$?
67498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499 (exit $ac_status); }; } &&
67500 { ac_try='test -s conftest.$ac_objext'
67501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67502 (eval $ac_try) 2>&5
67503 ac_status=$?
67504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67505 (exit $ac_status); }; }; then
67506 glibcxx_cv_func__fabsl_use=yes
67507 else
67508 echo "$as_me: failed program was:" >&5
67509 sed 's/^/| /' conftest.$ac_ext >&5
67511 glibcxx_cv_func__fabsl_use=no
67513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67514 ac_ext=c
67515 ac_cpp='$CPP $CPPFLAGS'
67516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67525 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67527 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67529 for ac_func in _fabsl
67531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67532 echo "$as_me:$LINENO: checking for $ac_func" >&5
67533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67534 if eval "test \"\${$as_ac_var+set}\" = set"; then
67535 echo $ECHO_N "(cached) $ECHO_C" >&6
67536 else
67537 if test x$gcc_no_link = xyes; then
67538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67540 { (exit 1); exit 1; }; }
67542 cat >conftest.$ac_ext <<_ACEOF
67543 /* confdefs.h. */
67544 _ACEOF
67545 cat confdefs.h >>conftest.$ac_ext
67546 cat >>conftest.$ac_ext <<_ACEOF
67547 /* end confdefs.h. */
67548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67550 #define $ac_func innocuous_$ac_func
67552 /* System header to define __stub macros and hopefully few prototypes,
67553 which can conflict with char $ac_func (); below.
67554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67555 <limits.h> exists even on freestanding compilers. */
67557 #ifdef __STDC__
67558 # include <limits.h>
67559 #else
67560 # include <assert.h>
67561 #endif
67563 #undef $ac_func
67565 /* Override any gcc2 internal prototype to avoid an error. */
67566 #ifdef __cplusplus
67567 extern "C"
67569 #endif
67570 /* We use char because int might match the return type of a gcc2
67571 builtin and then its argument prototype would still apply. */
67572 char $ac_func ();
67573 /* The GNU C library defines this for functions which it implements
67574 to always fail with ENOSYS. Some functions are actually named
67575 something starting with __ and the normal name is an alias. */
67576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67577 choke me
67578 #else
67579 char (*f) () = $ac_func;
67580 #endif
67581 #ifdef __cplusplus
67583 #endif
67586 main ()
67588 return f != $ac_func;
67590 return 0;
67592 _ACEOF
67593 rm -f conftest.$ac_objext conftest$ac_exeext
67594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67595 (eval $ac_link) 2>conftest.er1
67596 ac_status=$?
67597 grep -v '^ *+' conftest.er1 >conftest.err
67598 rm -f conftest.er1
67599 cat conftest.err >&5
67600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67601 (exit $ac_status); } &&
67602 { ac_try='test -z "$ac_c_werror_flag"
67603 || test ! -s conftest.err'
67604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67605 (eval $ac_try) 2>&5
67606 ac_status=$?
67607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67608 (exit $ac_status); }; } &&
67609 { ac_try='test -s conftest$ac_exeext'
67610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67611 (eval $ac_try) 2>&5
67612 ac_status=$?
67613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67614 (exit $ac_status); }; }; then
67615 eval "$as_ac_var=yes"
67616 else
67617 echo "$as_me: failed program was:" >&5
67618 sed 's/^/| /' conftest.$ac_ext >&5
67620 eval "$as_ac_var=no"
67622 rm -f conftest.err conftest.$ac_objext \
67623 conftest$ac_exeext conftest.$ac_ext
67625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67627 if test `eval echo '${'$as_ac_var'}'` = yes; then
67628 cat >>confdefs.h <<_ACEOF
67629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67630 _ACEOF
67633 done
67643 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67644 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67647 echo $ECHO_N "(cached) $ECHO_C" >&6
67648 else
67652 ac_ext=cc
67653 ac_cpp='$CXXCPP $CPPFLAGS'
67654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67658 cat >conftest.$ac_ext <<_ACEOF
67659 /* confdefs.h. */
67660 _ACEOF
67661 cat confdefs.h >>conftest.$ac_ext
67662 cat >>conftest.$ac_ext <<_ACEOF
67663 /* end confdefs.h. */
67664 #include <math.h>
67666 main ()
67668 fmodl(0, 0);
67670 return 0;
67672 _ACEOF
67673 rm -f conftest.$ac_objext
67674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67675 (eval $ac_compile) 2>conftest.er1
67676 ac_status=$?
67677 grep -v '^ *+' conftest.er1 >conftest.err
67678 rm -f conftest.er1
67679 cat conftest.err >&5
67680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67681 (exit $ac_status); } &&
67682 { ac_try='test -z "$ac_cxx_werror_flag"
67683 || test ! -s conftest.err'
67684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67685 (eval $ac_try) 2>&5
67686 ac_status=$?
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); }; } &&
67689 { ac_try='test -s conftest.$ac_objext'
67690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67691 (eval $ac_try) 2>&5
67692 ac_status=$?
67693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67694 (exit $ac_status); }; }; then
67695 glibcxx_cv_func_fmodl_use=yes
67696 else
67697 echo "$as_me: failed program was:" >&5
67698 sed 's/^/| /' conftest.$ac_ext >&5
67700 glibcxx_cv_func_fmodl_use=no
67702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67703 ac_ext=c
67704 ac_cpp='$CPP $CPPFLAGS'
67705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67714 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67716 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67718 for ac_func in fmodl
67720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67721 echo "$as_me:$LINENO: checking for $ac_func" >&5
67722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67723 if eval "test \"\${$as_ac_var+set}\" = set"; then
67724 echo $ECHO_N "(cached) $ECHO_C" >&6
67725 else
67726 if test x$gcc_no_link = xyes; then
67727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67729 { (exit 1); exit 1; }; }
67731 cat >conftest.$ac_ext <<_ACEOF
67732 /* confdefs.h. */
67733 _ACEOF
67734 cat confdefs.h >>conftest.$ac_ext
67735 cat >>conftest.$ac_ext <<_ACEOF
67736 /* end confdefs.h. */
67737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67739 #define $ac_func innocuous_$ac_func
67741 /* System header to define __stub macros and hopefully few prototypes,
67742 which can conflict with char $ac_func (); below.
67743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67744 <limits.h> exists even on freestanding compilers. */
67746 #ifdef __STDC__
67747 # include <limits.h>
67748 #else
67749 # include <assert.h>
67750 #endif
67752 #undef $ac_func
67754 /* Override any gcc2 internal prototype to avoid an error. */
67755 #ifdef __cplusplus
67756 extern "C"
67758 #endif
67759 /* We use char because int might match the return type of a gcc2
67760 builtin and then its argument prototype would still apply. */
67761 char $ac_func ();
67762 /* The GNU C library defines this for functions which it implements
67763 to always fail with ENOSYS. Some functions are actually named
67764 something starting with __ and the normal name is an alias. */
67765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67766 choke me
67767 #else
67768 char (*f) () = $ac_func;
67769 #endif
67770 #ifdef __cplusplus
67772 #endif
67775 main ()
67777 return f != $ac_func;
67779 return 0;
67781 _ACEOF
67782 rm -f conftest.$ac_objext conftest$ac_exeext
67783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67784 (eval $ac_link) 2>conftest.er1
67785 ac_status=$?
67786 grep -v '^ *+' conftest.er1 >conftest.err
67787 rm -f conftest.er1
67788 cat conftest.err >&5
67789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67790 (exit $ac_status); } &&
67791 { ac_try='test -z "$ac_c_werror_flag"
67792 || test ! -s conftest.err'
67793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67794 (eval $ac_try) 2>&5
67795 ac_status=$?
67796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797 (exit $ac_status); }; } &&
67798 { ac_try='test -s conftest$ac_exeext'
67799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67800 (eval $ac_try) 2>&5
67801 ac_status=$?
67802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67803 (exit $ac_status); }; }; then
67804 eval "$as_ac_var=yes"
67805 else
67806 echo "$as_me: failed program was:" >&5
67807 sed 's/^/| /' conftest.$ac_ext >&5
67809 eval "$as_ac_var=no"
67811 rm -f conftest.err conftest.$ac_objext \
67812 conftest$ac_exeext conftest.$ac_ext
67814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67816 if test `eval echo '${'$as_ac_var'}'` = yes; then
67817 cat >>confdefs.h <<_ACEOF
67818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67819 _ACEOF
67822 done
67824 else
67826 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67827 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67828 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67829 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67830 echo $ECHO_N "(cached) $ECHO_C" >&6
67831 else
67835 ac_ext=cc
67836 ac_cpp='$CXXCPP $CPPFLAGS'
67837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67841 cat >conftest.$ac_ext <<_ACEOF
67842 /* confdefs.h. */
67843 _ACEOF
67844 cat confdefs.h >>conftest.$ac_ext
67845 cat >>conftest.$ac_ext <<_ACEOF
67846 /* end confdefs.h. */
67847 #include <math.h>
67849 main ()
67851 _fmodl(0, 0);
67853 return 0;
67855 _ACEOF
67856 rm -f conftest.$ac_objext
67857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67858 (eval $ac_compile) 2>conftest.er1
67859 ac_status=$?
67860 grep -v '^ *+' conftest.er1 >conftest.err
67861 rm -f conftest.er1
67862 cat conftest.err >&5
67863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67864 (exit $ac_status); } &&
67865 { ac_try='test -z "$ac_cxx_werror_flag"
67866 || test ! -s conftest.err'
67867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67868 (eval $ac_try) 2>&5
67869 ac_status=$?
67870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871 (exit $ac_status); }; } &&
67872 { ac_try='test -s conftest.$ac_objext'
67873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67874 (eval $ac_try) 2>&5
67875 ac_status=$?
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); }; }; then
67878 glibcxx_cv_func__fmodl_use=yes
67879 else
67880 echo "$as_me: failed program was:" >&5
67881 sed 's/^/| /' conftest.$ac_ext >&5
67883 glibcxx_cv_func__fmodl_use=no
67885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67897 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67899 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67901 for ac_func in _fmodl
67903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67904 echo "$as_me:$LINENO: checking for $ac_func" >&5
67905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67906 if eval "test \"\${$as_ac_var+set}\" = set"; then
67907 echo $ECHO_N "(cached) $ECHO_C" >&6
67908 else
67909 if test x$gcc_no_link = xyes; then
67910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67912 { (exit 1); exit 1; }; }
67914 cat >conftest.$ac_ext <<_ACEOF
67915 /* confdefs.h. */
67916 _ACEOF
67917 cat confdefs.h >>conftest.$ac_ext
67918 cat >>conftest.$ac_ext <<_ACEOF
67919 /* end confdefs.h. */
67920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67922 #define $ac_func innocuous_$ac_func
67924 /* System header to define __stub macros and hopefully few prototypes,
67925 which can conflict with char $ac_func (); below.
67926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67927 <limits.h> exists even on freestanding compilers. */
67929 #ifdef __STDC__
67930 # include <limits.h>
67931 #else
67932 # include <assert.h>
67933 #endif
67935 #undef $ac_func
67937 /* Override any gcc2 internal prototype to avoid an error. */
67938 #ifdef __cplusplus
67939 extern "C"
67941 #endif
67942 /* We use char because int might match the return type of a gcc2
67943 builtin and then its argument prototype would still apply. */
67944 char $ac_func ();
67945 /* The GNU C library defines this for functions which it implements
67946 to always fail with ENOSYS. Some functions are actually named
67947 something starting with __ and the normal name is an alias. */
67948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67949 choke me
67950 #else
67951 char (*f) () = $ac_func;
67952 #endif
67953 #ifdef __cplusplus
67955 #endif
67958 main ()
67960 return f != $ac_func;
67962 return 0;
67964 _ACEOF
67965 rm -f conftest.$ac_objext conftest$ac_exeext
67966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67967 (eval $ac_link) 2>conftest.er1
67968 ac_status=$?
67969 grep -v '^ *+' conftest.er1 >conftest.err
67970 rm -f conftest.er1
67971 cat conftest.err >&5
67972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67973 (exit $ac_status); } &&
67974 { ac_try='test -z "$ac_c_werror_flag"
67975 || test ! -s conftest.err'
67976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67977 (eval $ac_try) 2>&5
67978 ac_status=$?
67979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67980 (exit $ac_status); }; } &&
67981 { ac_try='test -s conftest$ac_exeext'
67982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67983 (eval $ac_try) 2>&5
67984 ac_status=$?
67985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986 (exit $ac_status); }; }; then
67987 eval "$as_ac_var=yes"
67988 else
67989 echo "$as_me: failed program was:" >&5
67990 sed 's/^/| /' conftest.$ac_ext >&5
67992 eval "$as_ac_var=no"
67994 rm -f conftest.err conftest.$ac_objext \
67995 conftest$ac_exeext conftest.$ac_ext
67997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67999 if test `eval echo '${'$as_ac_var'}'` = yes; then
68000 cat >>confdefs.h <<_ACEOF
68001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68002 _ACEOF
68005 done
68015 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68016 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68017 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68018 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68019 echo $ECHO_N "(cached) $ECHO_C" >&6
68020 else
68024 ac_ext=cc
68025 ac_cpp='$CXXCPP $CPPFLAGS'
68026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68030 cat >conftest.$ac_ext <<_ACEOF
68031 /* confdefs.h. */
68032 _ACEOF
68033 cat confdefs.h >>conftest.$ac_ext
68034 cat >>conftest.$ac_ext <<_ACEOF
68035 /* end confdefs.h. */
68036 #include <math.h>
68038 main ()
68040 frexpl(0, 0);
68042 return 0;
68044 _ACEOF
68045 rm -f conftest.$ac_objext
68046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68047 (eval $ac_compile) 2>conftest.er1
68048 ac_status=$?
68049 grep -v '^ *+' conftest.er1 >conftest.err
68050 rm -f conftest.er1
68051 cat conftest.err >&5
68052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68053 (exit $ac_status); } &&
68054 { ac_try='test -z "$ac_cxx_werror_flag"
68055 || test ! -s conftest.err'
68056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68057 (eval $ac_try) 2>&5
68058 ac_status=$?
68059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68060 (exit $ac_status); }; } &&
68061 { ac_try='test -s conftest.$ac_objext'
68062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68063 (eval $ac_try) 2>&5
68064 ac_status=$?
68065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68066 (exit $ac_status); }; }; then
68067 glibcxx_cv_func_frexpl_use=yes
68068 else
68069 echo "$as_me: failed program was:" >&5
68070 sed 's/^/| /' conftest.$ac_ext >&5
68072 glibcxx_cv_func_frexpl_use=no
68074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68075 ac_ext=c
68076 ac_cpp='$CPP $CPPFLAGS'
68077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68086 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68088 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68090 for ac_func in frexpl
68092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68093 echo "$as_me:$LINENO: checking for $ac_func" >&5
68094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68095 if eval "test \"\${$as_ac_var+set}\" = set"; then
68096 echo $ECHO_N "(cached) $ECHO_C" >&6
68097 else
68098 if test x$gcc_no_link = xyes; then
68099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68101 { (exit 1); exit 1; }; }
68103 cat >conftest.$ac_ext <<_ACEOF
68104 /* confdefs.h. */
68105 _ACEOF
68106 cat confdefs.h >>conftest.$ac_ext
68107 cat >>conftest.$ac_ext <<_ACEOF
68108 /* end confdefs.h. */
68109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68111 #define $ac_func innocuous_$ac_func
68113 /* System header to define __stub macros and hopefully few prototypes,
68114 which can conflict with char $ac_func (); below.
68115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68116 <limits.h> exists even on freestanding compilers. */
68118 #ifdef __STDC__
68119 # include <limits.h>
68120 #else
68121 # include <assert.h>
68122 #endif
68124 #undef $ac_func
68126 /* Override any gcc2 internal prototype to avoid an error. */
68127 #ifdef __cplusplus
68128 extern "C"
68130 #endif
68131 /* We use char because int might match the return type of a gcc2
68132 builtin and then its argument prototype would still apply. */
68133 char $ac_func ();
68134 /* The GNU C library defines this for functions which it implements
68135 to always fail with ENOSYS. Some functions are actually named
68136 something starting with __ and the normal name is an alias. */
68137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68138 choke me
68139 #else
68140 char (*f) () = $ac_func;
68141 #endif
68142 #ifdef __cplusplus
68144 #endif
68147 main ()
68149 return f != $ac_func;
68151 return 0;
68153 _ACEOF
68154 rm -f conftest.$ac_objext conftest$ac_exeext
68155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68156 (eval $ac_link) 2>conftest.er1
68157 ac_status=$?
68158 grep -v '^ *+' conftest.er1 >conftest.err
68159 rm -f conftest.er1
68160 cat conftest.err >&5
68161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68162 (exit $ac_status); } &&
68163 { ac_try='test -z "$ac_c_werror_flag"
68164 || test ! -s conftest.err'
68165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68166 (eval $ac_try) 2>&5
68167 ac_status=$?
68168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68169 (exit $ac_status); }; } &&
68170 { ac_try='test -s conftest$ac_exeext'
68171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68172 (eval $ac_try) 2>&5
68173 ac_status=$?
68174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68175 (exit $ac_status); }; }; then
68176 eval "$as_ac_var=yes"
68177 else
68178 echo "$as_me: failed program was:" >&5
68179 sed 's/^/| /' conftest.$ac_ext >&5
68181 eval "$as_ac_var=no"
68183 rm -f conftest.err conftest.$ac_objext \
68184 conftest$ac_exeext conftest.$ac_ext
68186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68188 if test `eval echo '${'$as_ac_var'}'` = yes; then
68189 cat >>confdefs.h <<_ACEOF
68190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68191 _ACEOF
68194 done
68196 else
68198 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68199 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68200 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68201 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68202 echo $ECHO_N "(cached) $ECHO_C" >&6
68203 else
68207 ac_ext=cc
68208 ac_cpp='$CXXCPP $CPPFLAGS'
68209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68213 cat >conftest.$ac_ext <<_ACEOF
68214 /* confdefs.h. */
68215 _ACEOF
68216 cat confdefs.h >>conftest.$ac_ext
68217 cat >>conftest.$ac_ext <<_ACEOF
68218 /* end confdefs.h. */
68219 #include <math.h>
68221 main ()
68223 _frexpl(0, 0);
68225 return 0;
68227 _ACEOF
68228 rm -f conftest.$ac_objext
68229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68230 (eval $ac_compile) 2>conftest.er1
68231 ac_status=$?
68232 grep -v '^ *+' conftest.er1 >conftest.err
68233 rm -f conftest.er1
68234 cat conftest.err >&5
68235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68236 (exit $ac_status); } &&
68237 { ac_try='test -z "$ac_cxx_werror_flag"
68238 || test ! -s conftest.err'
68239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68240 (eval $ac_try) 2>&5
68241 ac_status=$?
68242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68243 (exit $ac_status); }; } &&
68244 { ac_try='test -s conftest.$ac_objext'
68245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68246 (eval $ac_try) 2>&5
68247 ac_status=$?
68248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68249 (exit $ac_status); }; }; then
68250 glibcxx_cv_func__frexpl_use=yes
68251 else
68252 echo "$as_me: failed program was:" >&5
68253 sed 's/^/| /' conftest.$ac_ext >&5
68255 glibcxx_cv_func__frexpl_use=no
68257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68258 ac_ext=c
68259 ac_cpp='$CPP $CPPFLAGS'
68260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68269 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68271 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68273 for ac_func in _frexpl
68275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68276 echo "$as_me:$LINENO: checking for $ac_func" >&5
68277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68278 if eval "test \"\${$as_ac_var+set}\" = set"; then
68279 echo $ECHO_N "(cached) $ECHO_C" >&6
68280 else
68281 if test x$gcc_no_link = xyes; then
68282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68284 { (exit 1); exit 1; }; }
68286 cat >conftest.$ac_ext <<_ACEOF
68287 /* confdefs.h. */
68288 _ACEOF
68289 cat confdefs.h >>conftest.$ac_ext
68290 cat >>conftest.$ac_ext <<_ACEOF
68291 /* end confdefs.h. */
68292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68294 #define $ac_func innocuous_$ac_func
68296 /* System header to define __stub macros and hopefully few prototypes,
68297 which can conflict with char $ac_func (); below.
68298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68299 <limits.h> exists even on freestanding compilers. */
68301 #ifdef __STDC__
68302 # include <limits.h>
68303 #else
68304 # include <assert.h>
68305 #endif
68307 #undef $ac_func
68309 /* Override any gcc2 internal prototype to avoid an error. */
68310 #ifdef __cplusplus
68311 extern "C"
68313 #endif
68314 /* We use char because int might match the return type of a gcc2
68315 builtin and then its argument prototype would still apply. */
68316 char $ac_func ();
68317 /* The GNU C library defines this for functions which it implements
68318 to always fail with ENOSYS. Some functions are actually named
68319 something starting with __ and the normal name is an alias. */
68320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68321 choke me
68322 #else
68323 char (*f) () = $ac_func;
68324 #endif
68325 #ifdef __cplusplus
68327 #endif
68330 main ()
68332 return f != $ac_func;
68334 return 0;
68336 _ACEOF
68337 rm -f conftest.$ac_objext conftest$ac_exeext
68338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68339 (eval $ac_link) 2>conftest.er1
68340 ac_status=$?
68341 grep -v '^ *+' conftest.er1 >conftest.err
68342 rm -f conftest.er1
68343 cat conftest.err >&5
68344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68345 (exit $ac_status); } &&
68346 { ac_try='test -z "$ac_c_werror_flag"
68347 || test ! -s conftest.err'
68348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68349 (eval $ac_try) 2>&5
68350 ac_status=$?
68351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68352 (exit $ac_status); }; } &&
68353 { ac_try='test -s conftest$ac_exeext'
68354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68355 (eval $ac_try) 2>&5
68356 ac_status=$?
68357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68358 (exit $ac_status); }; }; then
68359 eval "$as_ac_var=yes"
68360 else
68361 echo "$as_me: failed program was:" >&5
68362 sed 's/^/| /' conftest.$ac_ext >&5
68364 eval "$as_ac_var=no"
68366 rm -f conftest.err conftest.$ac_objext \
68367 conftest$ac_exeext conftest.$ac_ext
68369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68371 if test `eval echo '${'$as_ac_var'}'` = yes; then
68372 cat >>confdefs.h <<_ACEOF
68373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68374 _ACEOF
68377 done
68387 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68388 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68389 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68390 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68391 echo $ECHO_N "(cached) $ECHO_C" >&6
68392 else
68396 ac_ext=cc
68397 ac_cpp='$CXXCPP $CPPFLAGS'
68398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68402 cat >conftest.$ac_ext <<_ACEOF
68403 /* confdefs.h. */
68404 _ACEOF
68405 cat confdefs.h >>conftest.$ac_ext
68406 cat >>conftest.$ac_ext <<_ACEOF
68407 /* end confdefs.h. */
68408 #include <math.h>
68410 main ()
68412 hypotl(0, 0);
68414 return 0;
68416 _ACEOF
68417 rm -f conftest.$ac_objext
68418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68419 (eval $ac_compile) 2>conftest.er1
68420 ac_status=$?
68421 grep -v '^ *+' conftest.er1 >conftest.err
68422 rm -f conftest.er1
68423 cat conftest.err >&5
68424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68425 (exit $ac_status); } &&
68426 { ac_try='test -z "$ac_cxx_werror_flag"
68427 || test ! -s conftest.err'
68428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68429 (eval $ac_try) 2>&5
68430 ac_status=$?
68431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432 (exit $ac_status); }; } &&
68433 { ac_try='test -s conftest.$ac_objext'
68434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68435 (eval $ac_try) 2>&5
68436 ac_status=$?
68437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438 (exit $ac_status); }; }; then
68439 glibcxx_cv_func_hypotl_use=yes
68440 else
68441 echo "$as_me: failed program was:" >&5
68442 sed 's/^/| /' conftest.$ac_ext >&5
68444 glibcxx_cv_func_hypotl_use=no
68446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68447 ac_ext=c
68448 ac_cpp='$CPP $CPPFLAGS'
68449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68458 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68460 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68462 for ac_func in hypotl
68464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68465 echo "$as_me:$LINENO: checking for $ac_func" >&5
68466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68467 if eval "test \"\${$as_ac_var+set}\" = set"; then
68468 echo $ECHO_N "(cached) $ECHO_C" >&6
68469 else
68470 if test x$gcc_no_link = xyes; then
68471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68473 { (exit 1); exit 1; }; }
68475 cat >conftest.$ac_ext <<_ACEOF
68476 /* confdefs.h. */
68477 _ACEOF
68478 cat confdefs.h >>conftest.$ac_ext
68479 cat >>conftest.$ac_ext <<_ACEOF
68480 /* end confdefs.h. */
68481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68483 #define $ac_func innocuous_$ac_func
68485 /* System header to define __stub macros and hopefully few prototypes,
68486 which can conflict with char $ac_func (); below.
68487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68488 <limits.h> exists even on freestanding compilers. */
68490 #ifdef __STDC__
68491 # include <limits.h>
68492 #else
68493 # include <assert.h>
68494 #endif
68496 #undef $ac_func
68498 /* Override any gcc2 internal prototype to avoid an error. */
68499 #ifdef __cplusplus
68500 extern "C"
68502 #endif
68503 /* We use char because int might match the return type of a gcc2
68504 builtin and then its argument prototype would still apply. */
68505 char $ac_func ();
68506 /* The GNU C library defines this for functions which it implements
68507 to always fail with ENOSYS. Some functions are actually named
68508 something starting with __ and the normal name is an alias. */
68509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68510 choke me
68511 #else
68512 char (*f) () = $ac_func;
68513 #endif
68514 #ifdef __cplusplus
68516 #endif
68519 main ()
68521 return f != $ac_func;
68523 return 0;
68525 _ACEOF
68526 rm -f conftest.$ac_objext conftest$ac_exeext
68527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68528 (eval $ac_link) 2>conftest.er1
68529 ac_status=$?
68530 grep -v '^ *+' conftest.er1 >conftest.err
68531 rm -f conftest.er1
68532 cat conftest.err >&5
68533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68534 (exit $ac_status); } &&
68535 { ac_try='test -z "$ac_c_werror_flag"
68536 || test ! -s conftest.err'
68537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68538 (eval $ac_try) 2>&5
68539 ac_status=$?
68540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541 (exit $ac_status); }; } &&
68542 { ac_try='test -s conftest$ac_exeext'
68543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68544 (eval $ac_try) 2>&5
68545 ac_status=$?
68546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68547 (exit $ac_status); }; }; then
68548 eval "$as_ac_var=yes"
68549 else
68550 echo "$as_me: failed program was:" >&5
68551 sed 's/^/| /' conftest.$ac_ext >&5
68553 eval "$as_ac_var=no"
68555 rm -f conftest.err conftest.$ac_objext \
68556 conftest$ac_exeext conftest.$ac_ext
68558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68560 if test `eval echo '${'$as_ac_var'}'` = yes; then
68561 cat >>confdefs.h <<_ACEOF
68562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68563 _ACEOF
68566 done
68568 else
68570 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68571 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68572 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68573 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68574 echo $ECHO_N "(cached) $ECHO_C" >&6
68575 else
68579 ac_ext=cc
68580 ac_cpp='$CXXCPP $CPPFLAGS'
68581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68585 cat >conftest.$ac_ext <<_ACEOF
68586 /* confdefs.h. */
68587 _ACEOF
68588 cat confdefs.h >>conftest.$ac_ext
68589 cat >>conftest.$ac_ext <<_ACEOF
68590 /* end confdefs.h. */
68591 #include <math.h>
68593 main ()
68595 _hypotl(0, 0);
68597 return 0;
68599 _ACEOF
68600 rm -f conftest.$ac_objext
68601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68602 (eval $ac_compile) 2>conftest.er1
68603 ac_status=$?
68604 grep -v '^ *+' conftest.er1 >conftest.err
68605 rm -f conftest.er1
68606 cat conftest.err >&5
68607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68608 (exit $ac_status); } &&
68609 { ac_try='test -z "$ac_cxx_werror_flag"
68610 || test ! -s conftest.err'
68611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68612 (eval $ac_try) 2>&5
68613 ac_status=$?
68614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68615 (exit $ac_status); }; } &&
68616 { ac_try='test -s conftest.$ac_objext'
68617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68618 (eval $ac_try) 2>&5
68619 ac_status=$?
68620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621 (exit $ac_status); }; }; then
68622 glibcxx_cv_func__hypotl_use=yes
68623 else
68624 echo "$as_me: failed program was:" >&5
68625 sed 's/^/| /' conftest.$ac_ext >&5
68627 glibcxx_cv_func__hypotl_use=no
68629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68630 ac_ext=c
68631 ac_cpp='$CPP $CPPFLAGS'
68632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68641 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68643 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68645 for ac_func in _hypotl
68647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68648 echo "$as_me:$LINENO: checking for $ac_func" >&5
68649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68650 if eval "test \"\${$as_ac_var+set}\" = set"; then
68651 echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68653 if test x$gcc_no_link = xyes; then
68654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68656 { (exit 1); exit 1; }; }
68658 cat >conftest.$ac_ext <<_ACEOF
68659 /* confdefs.h. */
68660 _ACEOF
68661 cat confdefs.h >>conftest.$ac_ext
68662 cat >>conftest.$ac_ext <<_ACEOF
68663 /* end confdefs.h. */
68664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68666 #define $ac_func innocuous_$ac_func
68668 /* System header to define __stub macros and hopefully few prototypes,
68669 which can conflict with char $ac_func (); below.
68670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68671 <limits.h> exists even on freestanding compilers. */
68673 #ifdef __STDC__
68674 # include <limits.h>
68675 #else
68676 # include <assert.h>
68677 #endif
68679 #undef $ac_func
68681 /* Override any gcc2 internal prototype to avoid an error. */
68682 #ifdef __cplusplus
68683 extern "C"
68685 #endif
68686 /* We use char because int might match the return type of a gcc2
68687 builtin and then its argument prototype would still apply. */
68688 char $ac_func ();
68689 /* The GNU C library defines this for functions which it implements
68690 to always fail with ENOSYS. Some functions are actually named
68691 something starting with __ and the normal name is an alias. */
68692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68693 choke me
68694 #else
68695 char (*f) () = $ac_func;
68696 #endif
68697 #ifdef __cplusplus
68699 #endif
68702 main ()
68704 return f != $ac_func;
68706 return 0;
68708 _ACEOF
68709 rm -f conftest.$ac_objext conftest$ac_exeext
68710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68711 (eval $ac_link) 2>conftest.er1
68712 ac_status=$?
68713 grep -v '^ *+' conftest.er1 >conftest.err
68714 rm -f conftest.er1
68715 cat conftest.err >&5
68716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68717 (exit $ac_status); } &&
68718 { ac_try='test -z "$ac_c_werror_flag"
68719 || test ! -s conftest.err'
68720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68721 (eval $ac_try) 2>&5
68722 ac_status=$?
68723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68724 (exit $ac_status); }; } &&
68725 { ac_try='test -s conftest$ac_exeext'
68726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68727 (eval $ac_try) 2>&5
68728 ac_status=$?
68729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730 (exit $ac_status); }; }; then
68731 eval "$as_ac_var=yes"
68732 else
68733 echo "$as_me: failed program was:" >&5
68734 sed 's/^/| /' conftest.$ac_ext >&5
68736 eval "$as_ac_var=no"
68738 rm -f conftest.err conftest.$ac_objext \
68739 conftest$ac_exeext conftest.$ac_ext
68741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68743 if test `eval echo '${'$as_ac_var'}'` = yes; then
68744 cat >>confdefs.h <<_ACEOF
68745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68746 _ACEOF
68749 done
68759 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68760 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68761 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68762 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68763 echo $ECHO_N "(cached) $ECHO_C" >&6
68764 else
68768 ac_ext=cc
68769 ac_cpp='$CXXCPP $CPPFLAGS'
68770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68774 cat >conftest.$ac_ext <<_ACEOF
68775 /* confdefs.h. */
68776 _ACEOF
68777 cat confdefs.h >>conftest.$ac_ext
68778 cat >>conftest.$ac_ext <<_ACEOF
68779 /* end confdefs.h. */
68780 #include <math.h>
68782 main ()
68784 ldexpl(0, 0);
68786 return 0;
68788 _ACEOF
68789 rm -f conftest.$ac_objext
68790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68791 (eval $ac_compile) 2>conftest.er1
68792 ac_status=$?
68793 grep -v '^ *+' conftest.er1 >conftest.err
68794 rm -f conftest.er1
68795 cat conftest.err >&5
68796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68797 (exit $ac_status); } &&
68798 { ac_try='test -z "$ac_cxx_werror_flag"
68799 || test ! -s conftest.err'
68800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68801 (eval $ac_try) 2>&5
68802 ac_status=$?
68803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804 (exit $ac_status); }; } &&
68805 { ac_try='test -s conftest.$ac_objext'
68806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68807 (eval $ac_try) 2>&5
68808 ac_status=$?
68809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68810 (exit $ac_status); }; }; then
68811 glibcxx_cv_func_ldexpl_use=yes
68812 else
68813 echo "$as_me: failed program was:" >&5
68814 sed 's/^/| /' conftest.$ac_ext >&5
68816 glibcxx_cv_func_ldexpl_use=no
68818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68819 ac_ext=c
68820 ac_cpp='$CPP $CPPFLAGS'
68821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68830 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68832 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68834 for ac_func in ldexpl
68836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68837 echo "$as_me:$LINENO: checking for $ac_func" >&5
68838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68839 if eval "test \"\${$as_ac_var+set}\" = set"; then
68840 echo $ECHO_N "(cached) $ECHO_C" >&6
68841 else
68842 if test x$gcc_no_link = xyes; then
68843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68845 { (exit 1); exit 1; }; }
68847 cat >conftest.$ac_ext <<_ACEOF
68848 /* confdefs.h. */
68849 _ACEOF
68850 cat confdefs.h >>conftest.$ac_ext
68851 cat >>conftest.$ac_ext <<_ACEOF
68852 /* end confdefs.h. */
68853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68855 #define $ac_func innocuous_$ac_func
68857 /* System header to define __stub macros and hopefully few prototypes,
68858 which can conflict with char $ac_func (); below.
68859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68860 <limits.h> exists even on freestanding compilers. */
68862 #ifdef __STDC__
68863 # include <limits.h>
68864 #else
68865 # include <assert.h>
68866 #endif
68868 #undef $ac_func
68870 /* Override any gcc2 internal prototype to avoid an error. */
68871 #ifdef __cplusplus
68872 extern "C"
68874 #endif
68875 /* We use char because int might match the return type of a gcc2
68876 builtin and then its argument prototype would still apply. */
68877 char $ac_func ();
68878 /* The GNU C library defines this for functions which it implements
68879 to always fail with ENOSYS. Some functions are actually named
68880 something starting with __ and the normal name is an alias. */
68881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68882 choke me
68883 #else
68884 char (*f) () = $ac_func;
68885 #endif
68886 #ifdef __cplusplus
68888 #endif
68891 main ()
68893 return f != $ac_func;
68895 return 0;
68897 _ACEOF
68898 rm -f conftest.$ac_objext conftest$ac_exeext
68899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68900 (eval $ac_link) 2>conftest.er1
68901 ac_status=$?
68902 grep -v '^ *+' conftest.er1 >conftest.err
68903 rm -f conftest.er1
68904 cat conftest.err >&5
68905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68906 (exit $ac_status); } &&
68907 { ac_try='test -z "$ac_c_werror_flag"
68908 || test ! -s conftest.err'
68909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910 (eval $ac_try) 2>&5
68911 ac_status=$?
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); }; } &&
68914 { ac_try='test -s conftest$ac_exeext'
68915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68916 (eval $ac_try) 2>&5
68917 ac_status=$?
68918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68919 (exit $ac_status); }; }; then
68920 eval "$as_ac_var=yes"
68921 else
68922 echo "$as_me: failed program was:" >&5
68923 sed 's/^/| /' conftest.$ac_ext >&5
68925 eval "$as_ac_var=no"
68927 rm -f conftest.err conftest.$ac_objext \
68928 conftest$ac_exeext conftest.$ac_ext
68930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68932 if test `eval echo '${'$as_ac_var'}'` = yes; then
68933 cat >>confdefs.h <<_ACEOF
68934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68935 _ACEOF
68938 done
68940 else
68942 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68943 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68944 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68945 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68946 echo $ECHO_N "(cached) $ECHO_C" >&6
68947 else
68951 ac_ext=cc
68952 ac_cpp='$CXXCPP $CPPFLAGS'
68953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68957 cat >conftest.$ac_ext <<_ACEOF
68958 /* confdefs.h. */
68959 _ACEOF
68960 cat confdefs.h >>conftest.$ac_ext
68961 cat >>conftest.$ac_ext <<_ACEOF
68962 /* end confdefs.h. */
68963 #include <math.h>
68965 main ()
68967 _ldexpl(0, 0);
68969 return 0;
68971 _ACEOF
68972 rm -f conftest.$ac_objext
68973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68974 (eval $ac_compile) 2>conftest.er1
68975 ac_status=$?
68976 grep -v '^ *+' conftest.er1 >conftest.err
68977 rm -f conftest.er1
68978 cat conftest.err >&5
68979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68980 (exit $ac_status); } &&
68981 { ac_try='test -z "$ac_cxx_werror_flag"
68982 || test ! -s conftest.err'
68983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68984 (eval $ac_try) 2>&5
68985 ac_status=$?
68986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68987 (exit $ac_status); }; } &&
68988 { ac_try='test -s conftest.$ac_objext'
68989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68990 (eval $ac_try) 2>&5
68991 ac_status=$?
68992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68993 (exit $ac_status); }; }; then
68994 glibcxx_cv_func__ldexpl_use=yes
68995 else
68996 echo "$as_me: failed program was:" >&5
68997 sed 's/^/| /' conftest.$ac_ext >&5
68999 glibcxx_cv_func__ldexpl_use=no
69001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69002 ac_ext=c
69003 ac_cpp='$CPP $CPPFLAGS'
69004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69013 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69015 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69017 for ac_func in _ldexpl
69019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69020 echo "$as_me:$LINENO: checking for $ac_func" >&5
69021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69022 if eval "test \"\${$as_ac_var+set}\" = set"; then
69023 echo $ECHO_N "(cached) $ECHO_C" >&6
69024 else
69025 if test x$gcc_no_link = xyes; then
69026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69028 { (exit 1); exit 1; }; }
69030 cat >conftest.$ac_ext <<_ACEOF
69031 /* confdefs.h. */
69032 _ACEOF
69033 cat confdefs.h >>conftest.$ac_ext
69034 cat >>conftest.$ac_ext <<_ACEOF
69035 /* end confdefs.h. */
69036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69038 #define $ac_func innocuous_$ac_func
69040 /* System header to define __stub macros and hopefully few prototypes,
69041 which can conflict with char $ac_func (); below.
69042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69043 <limits.h> exists even on freestanding compilers. */
69045 #ifdef __STDC__
69046 # include <limits.h>
69047 #else
69048 # include <assert.h>
69049 #endif
69051 #undef $ac_func
69053 /* Override any gcc2 internal prototype to avoid an error. */
69054 #ifdef __cplusplus
69055 extern "C"
69057 #endif
69058 /* We use char because int might match the return type of a gcc2
69059 builtin and then its argument prototype would still apply. */
69060 char $ac_func ();
69061 /* The GNU C library defines this for functions which it implements
69062 to always fail with ENOSYS. Some functions are actually named
69063 something starting with __ and the normal name is an alias. */
69064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69065 choke me
69066 #else
69067 char (*f) () = $ac_func;
69068 #endif
69069 #ifdef __cplusplus
69071 #endif
69074 main ()
69076 return f != $ac_func;
69078 return 0;
69080 _ACEOF
69081 rm -f conftest.$ac_objext conftest$ac_exeext
69082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69083 (eval $ac_link) 2>conftest.er1
69084 ac_status=$?
69085 grep -v '^ *+' conftest.er1 >conftest.err
69086 rm -f conftest.er1
69087 cat conftest.err >&5
69088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69089 (exit $ac_status); } &&
69090 { ac_try='test -z "$ac_c_werror_flag"
69091 || test ! -s conftest.err'
69092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093 (eval $ac_try) 2>&5
69094 ac_status=$?
69095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096 (exit $ac_status); }; } &&
69097 { ac_try='test -s conftest$ac_exeext'
69098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69099 (eval $ac_try) 2>&5
69100 ac_status=$?
69101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69102 (exit $ac_status); }; }; then
69103 eval "$as_ac_var=yes"
69104 else
69105 echo "$as_me: failed program was:" >&5
69106 sed 's/^/| /' conftest.$ac_ext >&5
69108 eval "$as_ac_var=no"
69110 rm -f conftest.err conftest.$ac_objext \
69111 conftest$ac_exeext conftest.$ac_ext
69113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69115 if test `eval echo '${'$as_ac_var'}'` = yes; then
69116 cat >>confdefs.h <<_ACEOF
69117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69118 _ACEOF
69121 done
69131 echo "$as_me:$LINENO: checking for logl declaration" >&5
69132 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69133 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69134 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69135 echo $ECHO_N "(cached) $ECHO_C" >&6
69136 else
69140 ac_ext=cc
69141 ac_cpp='$CXXCPP $CPPFLAGS'
69142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69146 cat >conftest.$ac_ext <<_ACEOF
69147 /* confdefs.h. */
69148 _ACEOF
69149 cat confdefs.h >>conftest.$ac_ext
69150 cat >>conftest.$ac_ext <<_ACEOF
69151 /* end confdefs.h. */
69152 #include <math.h>
69153 #ifdef HAVE_IEEEFP_H
69154 #include <ieeefp.h>
69155 #endif
69158 main ()
69160 logl(0);
69162 return 0;
69164 _ACEOF
69165 rm -f conftest.$ac_objext
69166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69167 (eval $ac_compile) 2>conftest.er1
69168 ac_status=$?
69169 grep -v '^ *+' conftest.er1 >conftest.err
69170 rm -f conftest.er1
69171 cat conftest.err >&5
69172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69173 (exit $ac_status); } &&
69174 { ac_try='test -z "$ac_cxx_werror_flag"
69175 || test ! -s conftest.err'
69176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69177 (eval $ac_try) 2>&5
69178 ac_status=$?
69179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69180 (exit $ac_status); }; } &&
69181 { ac_try='test -s conftest.$ac_objext'
69182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69183 (eval $ac_try) 2>&5
69184 ac_status=$?
69185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69186 (exit $ac_status); }; }; then
69187 glibcxx_cv_func_logl_use=yes
69188 else
69189 echo "$as_me: failed program was:" >&5
69190 sed 's/^/| /' conftest.$ac_ext >&5
69192 glibcxx_cv_func_logl_use=no
69194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69195 ac_ext=c
69196 ac_cpp='$CPP $CPPFLAGS'
69197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69206 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69208 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69210 for ac_func in logl
69212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69213 echo "$as_me:$LINENO: checking for $ac_func" >&5
69214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69215 if eval "test \"\${$as_ac_var+set}\" = set"; then
69216 echo $ECHO_N "(cached) $ECHO_C" >&6
69217 else
69218 if test x$gcc_no_link = xyes; then
69219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69221 { (exit 1); exit 1; }; }
69223 cat >conftest.$ac_ext <<_ACEOF
69224 /* confdefs.h. */
69225 _ACEOF
69226 cat confdefs.h >>conftest.$ac_ext
69227 cat >>conftest.$ac_ext <<_ACEOF
69228 /* end confdefs.h. */
69229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69231 #define $ac_func innocuous_$ac_func
69233 /* System header to define __stub macros and hopefully few prototypes,
69234 which can conflict with char $ac_func (); below.
69235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69236 <limits.h> exists even on freestanding compilers. */
69238 #ifdef __STDC__
69239 # include <limits.h>
69240 #else
69241 # include <assert.h>
69242 #endif
69244 #undef $ac_func
69246 /* Override any gcc2 internal prototype to avoid an error. */
69247 #ifdef __cplusplus
69248 extern "C"
69250 #endif
69251 /* We use char because int might match the return type of a gcc2
69252 builtin and then its argument prototype would still apply. */
69253 char $ac_func ();
69254 /* The GNU C library defines this for functions which it implements
69255 to always fail with ENOSYS. Some functions are actually named
69256 something starting with __ and the normal name is an alias. */
69257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69258 choke me
69259 #else
69260 char (*f) () = $ac_func;
69261 #endif
69262 #ifdef __cplusplus
69264 #endif
69267 main ()
69269 return f != $ac_func;
69271 return 0;
69273 _ACEOF
69274 rm -f conftest.$ac_objext conftest$ac_exeext
69275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69276 (eval $ac_link) 2>conftest.er1
69277 ac_status=$?
69278 grep -v '^ *+' conftest.er1 >conftest.err
69279 rm -f conftest.er1
69280 cat conftest.err >&5
69281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69282 (exit $ac_status); } &&
69283 { ac_try='test -z "$ac_c_werror_flag"
69284 || test ! -s conftest.err'
69285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69286 (eval $ac_try) 2>&5
69287 ac_status=$?
69288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69289 (exit $ac_status); }; } &&
69290 { ac_try='test -s conftest$ac_exeext'
69291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69292 (eval $ac_try) 2>&5
69293 ac_status=$?
69294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69295 (exit $ac_status); }; }; then
69296 eval "$as_ac_var=yes"
69297 else
69298 echo "$as_me: failed program was:" >&5
69299 sed 's/^/| /' conftest.$ac_ext >&5
69301 eval "$as_ac_var=no"
69303 rm -f conftest.err conftest.$ac_objext \
69304 conftest$ac_exeext conftest.$ac_ext
69306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69308 if test `eval echo '${'$as_ac_var'}'` = yes; then
69309 cat >>confdefs.h <<_ACEOF
69310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69311 _ACEOF
69314 done
69316 else
69318 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69319 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69320 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69321 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69322 echo $ECHO_N "(cached) $ECHO_C" >&6
69323 else
69327 ac_ext=cc
69328 ac_cpp='$CXXCPP $CPPFLAGS'
69329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69333 cat >conftest.$ac_ext <<_ACEOF
69334 /* confdefs.h. */
69335 _ACEOF
69336 cat confdefs.h >>conftest.$ac_ext
69337 cat >>conftest.$ac_ext <<_ACEOF
69338 /* end confdefs.h. */
69339 #include <math.h>
69340 #ifdef HAVE_IEEEFP_H
69341 #include <ieeefp.h>
69342 #endif
69345 main ()
69347 _logl(0);
69349 return 0;
69351 _ACEOF
69352 rm -f conftest.$ac_objext
69353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69354 (eval $ac_compile) 2>conftest.er1
69355 ac_status=$?
69356 grep -v '^ *+' conftest.er1 >conftest.err
69357 rm -f conftest.er1
69358 cat conftest.err >&5
69359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69360 (exit $ac_status); } &&
69361 { ac_try='test -z "$ac_cxx_werror_flag"
69362 || test ! -s conftest.err'
69363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69364 (eval $ac_try) 2>&5
69365 ac_status=$?
69366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367 (exit $ac_status); }; } &&
69368 { ac_try='test -s conftest.$ac_objext'
69369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69370 (eval $ac_try) 2>&5
69371 ac_status=$?
69372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69373 (exit $ac_status); }; }; then
69374 glibcxx_cv_func__logl_use=yes
69375 else
69376 echo "$as_me: failed program was:" >&5
69377 sed 's/^/| /' conftest.$ac_ext >&5
69379 glibcxx_cv_func__logl_use=no
69381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69382 ac_ext=c
69383 ac_cpp='$CPP $CPPFLAGS'
69384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69393 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69395 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69397 for ac_func in _logl
69399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69400 echo "$as_me:$LINENO: checking for $ac_func" >&5
69401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69402 if eval "test \"\${$as_ac_var+set}\" = set"; then
69403 echo $ECHO_N "(cached) $ECHO_C" >&6
69404 else
69405 if test x$gcc_no_link = xyes; then
69406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69408 { (exit 1); exit 1; }; }
69410 cat >conftest.$ac_ext <<_ACEOF
69411 /* confdefs.h. */
69412 _ACEOF
69413 cat confdefs.h >>conftest.$ac_ext
69414 cat >>conftest.$ac_ext <<_ACEOF
69415 /* end confdefs.h. */
69416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69418 #define $ac_func innocuous_$ac_func
69420 /* System header to define __stub macros and hopefully few prototypes,
69421 which can conflict with char $ac_func (); below.
69422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69423 <limits.h> exists even on freestanding compilers. */
69425 #ifdef __STDC__
69426 # include <limits.h>
69427 #else
69428 # include <assert.h>
69429 #endif
69431 #undef $ac_func
69433 /* Override any gcc2 internal prototype to avoid an error. */
69434 #ifdef __cplusplus
69435 extern "C"
69437 #endif
69438 /* We use char because int might match the return type of a gcc2
69439 builtin and then its argument prototype would still apply. */
69440 char $ac_func ();
69441 /* The GNU C library defines this for functions which it implements
69442 to always fail with ENOSYS. Some functions are actually named
69443 something starting with __ and the normal name is an alias. */
69444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69445 choke me
69446 #else
69447 char (*f) () = $ac_func;
69448 #endif
69449 #ifdef __cplusplus
69451 #endif
69454 main ()
69456 return f != $ac_func;
69458 return 0;
69460 _ACEOF
69461 rm -f conftest.$ac_objext conftest$ac_exeext
69462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69463 (eval $ac_link) 2>conftest.er1
69464 ac_status=$?
69465 grep -v '^ *+' conftest.er1 >conftest.err
69466 rm -f conftest.er1
69467 cat conftest.err >&5
69468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69469 (exit $ac_status); } &&
69470 { ac_try='test -z "$ac_c_werror_flag"
69471 || test ! -s conftest.err'
69472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69473 (eval $ac_try) 2>&5
69474 ac_status=$?
69475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69476 (exit $ac_status); }; } &&
69477 { ac_try='test -s conftest$ac_exeext'
69478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69479 (eval $ac_try) 2>&5
69480 ac_status=$?
69481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69482 (exit $ac_status); }; }; then
69483 eval "$as_ac_var=yes"
69484 else
69485 echo "$as_me: failed program was:" >&5
69486 sed 's/^/| /' conftest.$ac_ext >&5
69488 eval "$as_ac_var=no"
69490 rm -f conftest.err conftest.$ac_objext \
69491 conftest$ac_exeext conftest.$ac_ext
69493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69495 if test `eval echo '${'$as_ac_var'}'` = yes; then
69496 cat >>confdefs.h <<_ACEOF
69497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69498 _ACEOF
69501 done
69511 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69512 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69513 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69514 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69515 echo $ECHO_N "(cached) $ECHO_C" >&6
69516 else
69520 ac_ext=cc
69521 ac_cpp='$CXXCPP $CPPFLAGS'
69522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69526 cat >conftest.$ac_ext <<_ACEOF
69527 /* confdefs.h. */
69528 _ACEOF
69529 cat confdefs.h >>conftest.$ac_ext
69530 cat >>conftest.$ac_ext <<_ACEOF
69531 /* end confdefs.h. */
69532 #include <math.h>
69533 #ifdef HAVE_IEEEFP_H
69534 #include <ieeefp.h>
69535 #endif
69538 main ()
69540 log10l(0);
69542 return 0;
69544 _ACEOF
69545 rm -f conftest.$ac_objext
69546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69547 (eval $ac_compile) 2>conftest.er1
69548 ac_status=$?
69549 grep -v '^ *+' conftest.er1 >conftest.err
69550 rm -f conftest.er1
69551 cat conftest.err >&5
69552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69553 (exit $ac_status); } &&
69554 { ac_try='test -z "$ac_cxx_werror_flag"
69555 || test ! -s conftest.err'
69556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69557 (eval $ac_try) 2>&5
69558 ac_status=$?
69559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69560 (exit $ac_status); }; } &&
69561 { ac_try='test -s conftest.$ac_objext'
69562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69563 (eval $ac_try) 2>&5
69564 ac_status=$?
69565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69566 (exit $ac_status); }; }; then
69567 glibcxx_cv_func_log10l_use=yes
69568 else
69569 echo "$as_me: failed program was:" >&5
69570 sed 's/^/| /' conftest.$ac_ext >&5
69572 glibcxx_cv_func_log10l_use=no
69574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69575 ac_ext=c
69576 ac_cpp='$CPP $CPPFLAGS'
69577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69586 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69588 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69590 for ac_func in log10l
69592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69593 echo "$as_me:$LINENO: checking for $ac_func" >&5
69594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69595 if eval "test \"\${$as_ac_var+set}\" = set"; then
69596 echo $ECHO_N "(cached) $ECHO_C" >&6
69597 else
69598 if test x$gcc_no_link = xyes; then
69599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69601 { (exit 1); exit 1; }; }
69603 cat >conftest.$ac_ext <<_ACEOF
69604 /* confdefs.h. */
69605 _ACEOF
69606 cat confdefs.h >>conftest.$ac_ext
69607 cat >>conftest.$ac_ext <<_ACEOF
69608 /* end confdefs.h. */
69609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69611 #define $ac_func innocuous_$ac_func
69613 /* System header to define __stub macros and hopefully few prototypes,
69614 which can conflict with char $ac_func (); below.
69615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69616 <limits.h> exists even on freestanding compilers. */
69618 #ifdef __STDC__
69619 # include <limits.h>
69620 #else
69621 # include <assert.h>
69622 #endif
69624 #undef $ac_func
69626 /* Override any gcc2 internal prototype to avoid an error. */
69627 #ifdef __cplusplus
69628 extern "C"
69630 #endif
69631 /* We use char because int might match the return type of a gcc2
69632 builtin and then its argument prototype would still apply. */
69633 char $ac_func ();
69634 /* The GNU C library defines this for functions which it implements
69635 to always fail with ENOSYS. Some functions are actually named
69636 something starting with __ and the normal name is an alias. */
69637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69638 choke me
69639 #else
69640 char (*f) () = $ac_func;
69641 #endif
69642 #ifdef __cplusplus
69644 #endif
69647 main ()
69649 return f != $ac_func;
69651 return 0;
69653 _ACEOF
69654 rm -f conftest.$ac_objext conftest$ac_exeext
69655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69656 (eval $ac_link) 2>conftest.er1
69657 ac_status=$?
69658 grep -v '^ *+' conftest.er1 >conftest.err
69659 rm -f conftest.er1
69660 cat conftest.err >&5
69661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69662 (exit $ac_status); } &&
69663 { ac_try='test -z "$ac_c_werror_flag"
69664 || test ! -s conftest.err'
69665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69666 (eval $ac_try) 2>&5
69667 ac_status=$?
69668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69669 (exit $ac_status); }; } &&
69670 { ac_try='test -s conftest$ac_exeext'
69671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69672 (eval $ac_try) 2>&5
69673 ac_status=$?
69674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69675 (exit $ac_status); }; }; then
69676 eval "$as_ac_var=yes"
69677 else
69678 echo "$as_me: failed program was:" >&5
69679 sed 's/^/| /' conftest.$ac_ext >&5
69681 eval "$as_ac_var=no"
69683 rm -f conftest.err conftest.$ac_objext \
69684 conftest$ac_exeext conftest.$ac_ext
69686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69688 if test `eval echo '${'$as_ac_var'}'` = yes; then
69689 cat >>confdefs.h <<_ACEOF
69690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69691 _ACEOF
69694 done
69696 else
69698 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69699 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69700 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69701 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69702 echo $ECHO_N "(cached) $ECHO_C" >&6
69703 else
69707 ac_ext=cc
69708 ac_cpp='$CXXCPP $CPPFLAGS'
69709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69713 cat >conftest.$ac_ext <<_ACEOF
69714 /* confdefs.h. */
69715 _ACEOF
69716 cat confdefs.h >>conftest.$ac_ext
69717 cat >>conftest.$ac_ext <<_ACEOF
69718 /* end confdefs.h. */
69719 #include <math.h>
69720 #ifdef HAVE_IEEEFP_H
69721 #include <ieeefp.h>
69722 #endif
69725 main ()
69727 _log10l(0);
69729 return 0;
69731 _ACEOF
69732 rm -f conftest.$ac_objext
69733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69734 (eval $ac_compile) 2>conftest.er1
69735 ac_status=$?
69736 grep -v '^ *+' conftest.er1 >conftest.err
69737 rm -f conftest.er1
69738 cat conftest.err >&5
69739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740 (exit $ac_status); } &&
69741 { ac_try='test -z "$ac_cxx_werror_flag"
69742 || test ! -s conftest.err'
69743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69744 (eval $ac_try) 2>&5
69745 ac_status=$?
69746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69747 (exit $ac_status); }; } &&
69748 { ac_try='test -s conftest.$ac_objext'
69749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69750 (eval $ac_try) 2>&5
69751 ac_status=$?
69752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69753 (exit $ac_status); }; }; then
69754 glibcxx_cv_func__log10l_use=yes
69755 else
69756 echo "$as_me: failed program was:" >&5
69757 sed 's/^/| /' conftest.$ac_ext >&5
69759 glibcxx_cv_func__log10l_use=no
69761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69762 ac_ext=c
69763 ac_cpp='$CPP $CPPFLAGS'
69764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69773 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69775 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69777 for ac_func in _log10l
69779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69780 echo "$as_me:$LINENO: checking for $ac_func" >&5
69781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69782 if eval "test \"\${$as_ac_var+set}\" = set"; then
69783 echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69785 if test x$gcc_no_link = xyes; then
69786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69788 { (exit 1); exit 1; }; }
69790 cat >conftest.$ac_ext <<_ACEOF
69791 /* confdefs.h. */
69792 _ACEOF
69793 cat confdefs.h >>conftest.$ac_ext
69794 cat >>conftest.$ac_ext <<_ACEOF
69795 /* end confdefs.h. */
69796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69798 #define $ac_func innocuous_$ac_func
69800 /* System header to define __stub macros and hopefully few prototypes,
69801 which can conflict with char $ac_func (); below.
69802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69803 <limits.h> exists even on freestanding compilers. */
69805 #ifdef __STDC__
69806 # include <limits.h>
69807 #else
69808 # include <assert.h>
69809 #endif
69811 #undef $ac_func
69813 /* Override any gcc2 internal prototype to avoid an error. */
69814 #ifdef __cplusplus
69815 extern "C"
69817 #endif
69818 /* We use char because int might match the return type of a gcc2
69819 builtin and then its argument prototype would still apply. */
69820 char $ac_func ();
69821 /* The GNU C library defines this for functions which it implements
69822 to always fail with ENOSYS. Some functions are actually named
69823 something starting with __ and the normal name is an alias. */
69824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69825 choke me
69826 #else
69827 char (*f) () = $ac_func;
69828 #endif
69829 #ifdef __cplusplus
69831 #endif
69834 main ()
69836 return f != $ac_func;
69838 return 0;
69840 _ACEOF
69841 rm -f conftest.$ac_objext conftest$ac_exeext
69842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69843 (eval $ac_link) 2>conftest.er1
69844 ac_status=$?
69845 grep -v '^ *+' conftest.er1 >conftest.err
69846 rm -f conftest.er1
69847 cat conftest.err >&5
69848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69849 (exit $ac_status); } &&
69850 { ac_try='test -z "$ac_c_werror_flag"
69851 || test ! -s conftest.err'
69852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69853 (eval $ac_try) 2>&5
69854 ac_status=$?
69855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69856 (exit $ac_status); }; } &&
69857 { ac_try='test -s conftest$ac_exeext'
69858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69859 (eval $ac_try) 2>&5
69860 ac_status=$?
69861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69862 (exit $ac_status); }; }; then
69863 eval "$as_ac_var=yes"
69864 else
69865 echo "$as_me: failed program was:" >&5
69866 sed 's/^/| /' conftest.$ac_ext >&5
69868 eval "$as_ac_var=no"
69870 rm -f conftest.err conftest.$ac_objext \
69871 conftest$ac_exeext conftest.$ac_ext
69873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69875 if test `eval echo '${'$as_ac_var'}'` = yes; then
69876 cat >>confdefs.h <<_ACEOF
69877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69878 _ACEOF
69881 done
69891 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69892 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69893 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69894 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69895 echo $ECHO_N "(cached) $ECHO_C" >&6
69896 else
69900 ac_ext=cc
69901 ac_cpp='$CXXCPP $CPPFLAGS'
69902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69906 cat >conftest.$ac_ext <<_ACEOF
69907 /* confdefs.h. */
69908 _ACEOF
69909 cat confdefs.h >>conftest.$ac_ext
69910 cat >>conftest.$ac_ext <<_ACEOF
69911 /* end confdefs.h. */
69912 #include <math.h>
69914 main ()
69916 modfl(0, 0);
69918 return 0;
69920 _ACEOF
69921 rm -f conftest.$ac_objext
69922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69923 (eval $ac_compile) 2>conftest.er1
69924 ac_status=$?
69925 grep -v '^ *+' conftest.er1 >conftest.err
69926 rm -f conftest.er1
69927 cat conftest.err >&5
69928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69929 (exit $ac_status); } &&
69930 { ac_try='test -z "$ac_cxx_werror_flag"
69931 || test ! -s conftest.err'
69932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69933 (eval $ac_try) 2>&5
69934 ac_status=$?
69935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936 (exit $ac_status); }; } &&
69937 { ac_try='test -s conftest.$ac_objext'
69938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69939 (eval $ac_try) 2>&5
69940 ac_status=$?
69941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69942 (exit $ac_status); }; }; then
69943 glibcxx_cv_func_modfl_use=yes
69944 else
69945 echo "$as_me: failed program was:" >&5
69946 sed 's/^/| /' conftest.$ac_ext >&5
69948 glibcxx_cv_func_modfl_use=no
69950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69951 ac_ext=c
69952 ac_cpp='$CPP $CPPFLAGS'
69953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69962 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69964 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69966 for ac_func in modfl
69968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69969 echo "$as_me:$LINENO: checking for $ac_func" >&5
69970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69971 if eval "test \"\${$as_ac_var+set}\" = set"; then
69972 echo $ECHO_N "(cached) $ECHO_C" >&6
69973 else
69974 if test x$gcc_no_link = xyes; then
69975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69977 { (exit 1); exit 1; }; }
69979 cat >conftest.$ac_ext <<_ACEOF
69980 /* confdefs.h. */
69981 _ACEOF
69982 cat confdefs.h >>conftest.$ac_ext
69983 cat >>conftest.$ac_ext <<_ACEOF
69984 /* end confdefs.h. */
69985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69987 #define $ac_func innocuous_$ac_func
69989 /* System header to define __stub macros and hopefully few prototypes,
69990 which can conflict with char $ac_func (); below.
69991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69992 <limits.h> exists even on freestanding compilers. */
69994 #ifdef __STDC__
69995 # include <limits.h>
69996 #else
69997 # include <assert.h>
69998 #endif
70000 #undef $ac_func
70002 /* Override any gcc2 internal prototype to avoid an error. */
70003 #ifdef __cplusplus
70004 extern "C"
70006 #endif
70007 /* We use char because int might match the return type of a gcc2
70008 builtin and then its argument prototype would still apply. */
70009 char $ac_func ();
70010 /* The GNU C library defines this for functions which it implements
70011 to always fail with ENOSYS. Some functions are actually named
70012 something starting with __ and the normal name is an alias. */
70013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70014 choke me
70015 #else
70016 char (*f) () = $ac_func;
70017 #endif
70018 #ifdef __cplusplus
70020 #endif
70023 main ()
70025 return f != $ac_func;
70027 return 0;
70029 _ACEOF
70030 rm -f conftest.$ac_objext conftest$ac_exeext
70031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70032 (eval $ac_link) 2>conftest.er1
70033 ac_status=$?
70034 grep -v '^ *+' conftest.er1 >conftest.err
70035 rm -f conftest.er1
70036 cat conftest.err >&5
70037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70038 (exit $ac_status); } &&
70039 { ac_try='test -z "$ac_c_werror_flag"
70040 || test ! -s conftest.err'
70041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70042 (eval $ac_try) 2>&5
70043 ac_status=$?
70044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045 (exit $ac_status); }; } &&
70046 { ac_try='test -s conftest$ac_exeext'
70047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70048 (eval $ac_try) 2>&5
70049 ac_status=$?
70050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70051 (exit $ac_status); }; }; then
70052 eval "$as_ac_var=yes"
70053 else
70054 echo "$as_me: failed program was:" >&5
70055 sed 's/^/| /' conftest.$ac_ext >&5
70057 eval "$as_ac_var=no"
70059 rm -f conftest.err conftest.$ac_objext \
70060 conftest$ac_exeext conftest.$ac_ext
70062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70064 if test `eval echo '${'$as_ac_var'}'` = yes; then
70065 cat >>confdefs.h <<_ACEOF
70066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70067 _ACEOF
70070 done
70072 else
70074 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70075 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70076 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70077 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70078 echo $ECHO_N "(cached) $ECHO_C" >&6
70079 else
70083 ac_ext=cc
70084 ac_cpp='$CXXCPP $CPPFLAGS'
70085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089 cat >conftest.$ac_ext <<_ACEOF
70090 /* confdefs.h. */
70091 _ACEOF
70092 cat confdefs.h >>conftest.$ac_ext
70093 cat >>conftest.$ac_ext <<_ACEOF
70094 /* end confdefs.h. */
70095 #include <math.h>
70097 main ()
70099 _modfl(0, 0);
70101 return 0;
70103 _ACEOF
70104 rm -f conftest.$ac_objext
70105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70106 (eval $ac_compile) 2>conftest.er1
70107 ac_status=$?
70108 grep -v '^ *+' conftest.er1 >conftest.err
70109 rm -f conftest.er1
70110 cat conftest.err >&5
70111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70112 (exit $ac_status); } &&
70113 { ac_try='test -z "$ac_cxx_werror_flag"
70114 || test ! -s conftest.err'
70115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70116 (eval $ac_try) 2>&5
70117 ac_status=$?
70118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70119 (exit $ac_status); }; } &&
70120 { ac_try='test -s conftest.$ac_objext'
70121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70122 (eval $ac_try) 2>&5
70123 ac_status=$?
70124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70125 (exit $ac_status); }; }; then
70126 glibcxx_cv_func__modfl_use=yes
70127 else
70128 echo "$as_me: failed program was:" >&5
70129 sed 's/^/| /' conftest.$ac_ext >&5
70131 glibcxx_cv_func__modfl_use=no
70133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70134 ac_ext=c
70135 ac_cpp='$CPP $CPPFLAGS'
70136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70145 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70147 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70149 for ac_func in _modfl
70151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70152 echo "$as_me:$LINENO: checking for $ac_func" >&5
70153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70154 if eval "test \"\${$as_ac_var+set}\" = set"; then
70155 echo $ECHO_N "(cached) $ECHO_C" >&6
70156 else
70157 if test x$gcc_no_link = xyes; then
70158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70160 { (exit 1); exit 1; }; }
70162 cat >conftest.$ac_ext <<_ACEOF
70163 /* confdefs.h. */
70164 _ACEOF
70165 cat confdefs.h >>conftest.$ac_ext
70166 cat >>conftest.$ac_ext <<_ACEOF
70167 /* end confdefs.h. */
70168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70170 #define $ac_func innocuous_$ac_func
70172 /* System header to define __stub macros and hopefully few prototypes,
70173 which can conflict with char $ac_func (); below.
70174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70175 <limits.h> exists even on freestanding compilers. */
70177 #ifdef __STDC__
70178 # include <limits.h>
70179 #else
70180 # include <assert.h>
70181 #endif
70183 #undef $ac_func
70185 /* Override any gcc2 internal prototype to avoid an error. */
70186 #ifdef __cplusplus
70187 extern "C"
70189 #endif
70190 /* We use char because int might match the return type of a gcc2
70191 builtin and then its argument prototype would still apply. */
70192 char $ac_func ();
70193 /* The GNU C library defines this for functions which it implements
70194 to always fail with ENOSYS. Some functions are actually named
70195 something starting with __ and the normal name is an alias. */
70196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70197 choke me
70198 #else
70199 char (*f) () = $ac_func;
70200 #endif
70201 #ifdef __cplusplus
70203 #endif
70206 main ()
70208 return f != $ac_func;
70210 return 0;
70212 _ACEOF
70213 rm -f conftest.$ac_objext conftest$ac_exeext
70214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70215 (eval $ac_link) 2>conftest.er1
70216 ac_status=$?
70217 grep -v '^ *+' conftest.er1 >conftest.err
70218 rm -f conftest.er1
70219 cat conftest.err >&5
70220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70221 (exit $ac_status); } &&
70222 { ac_try='test -z "$ac_c_werror_flag"
70223 || test ! -s conftest.err'
70224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70225 (eval $ac_try) 2>&5
70226 ac_status=$?
70227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70228 (exit $ac_status); }; } &&
70229 { ac_try='test -s conftest$ac_exeext'
70230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70231 (eval $ac_try) 2>&5
70232 ac_status=$?
70233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70234 (exit $ac_status); }; }; then
70235 eval "$as_ac_var=yes"
70236 else
70237 echo "$as_me: failed program was:" >&5
70238 sed 's/^/| /' conftest.$ac_ext >&5
70240 eval "$as_ac_var=no"
70242 rm -f conftest.err conftest.$ac_objext \
70243 conftest$ac_exeext conftest.$ac_ext
70245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70247 if test `eval echo '${'$as_ac_var'}'` = yes; then
70248 cat >>confdefs.h <<_ACEOF
70249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70250 _ACEOF
70253 done
70263 echo "$as_me:$LINENO: checking for powl declaration" >&5
70264 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70266 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70267 echo $ECHO_N "(cached) $ECHO_C" >&6
70268 else
70272 ac_ext=cc
70273 ac_cpp='$CXXCPP $CPPFLAGS'
70274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70278 cat >conftest.$ac_ext <<_ACEOF
70279 /* confdefs.h. */
70280 _ACEOF
70281 cat confdefs.h >>conftest.$ac_ext
70282 cat >>conftest.$ac_ext <<_ACEOF
70283 /* end confdefs.h. */
70284 #include <math.h>
70286 main ()
70288 powl(0, 0);
70290 return 0;
70292 _ACEOF
70293 rm -f conftest.$ac_objext
70294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70295 (eval $ac_compile) 2>conftest.er1
70296 ac_status=$?
70297 grep -v '^ *+' conftest.er1 >conftest.err
70298 rm -f conftest.er1
70299 cat conftest.err >&5
70300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70301 (exit $ac_status); } &&
70302 { ac_try='test -z "$ac_cxx_werror_flag"
70303 || test ! -s conftest.err'
70304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70305 (eval $ac_try) 2>&5
70306 ac_status=$?
70307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70308 (exit $ac_status); }; } &&
70309 { ac_try='test -s conftest.$ac_objext'
70310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70311 (eval $ac_try) 2>&5
70312 ac_status=$?
70313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314 (exit $ac_status); }; }; then
70315 glibcxx_cv_func_powl_use=yes
70316 else
70317 echo "$as_me: failed program was:" >&5
70318 sed 's/^/| /' conftest.$ac_ext >&5
70320 glibcxx_cv_func_powl_use=no
70322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70323 ac_ext=c
70324 ac_cpp='$CPP $CPPFLAGS'
70325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70334 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70336 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70338 for ac_func in powl
70340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70341 echo "$as_me:$LINENO: checking for $ac_func" >&5
70342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70343 if eval "test \"\${$as_ac_var+set}\" = set"; then
70344 echo $ECHO_N "(cached) $ECHO_C" >&6
70345 else
70346 if test x$gcc_no_link = xyes; then
70347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70349 { (exit 1); exit 1; }; }
70351 cat >conftest.$ac_ext <<_ACEOF
70352 /* confdefs.h. */
70353 _ACEOF
70354 cat confdefs.h >>conftest.$ac_ext
70355 cat >>conftest.$ac_ext <<_ACEOF
70356 /* end confdefs.h. */
70357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70359 #define $ac_func innocuous_$ac_func
70361 /* System header to define __stub macros and hopefully few prototypes,
70362 which can conflict with char $ac_func (); below.
70363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70364 <limits.h> exists even on freestanding compilers. */
70366 #ifdef __STDC__
70367 # include <limits.h>
70368 #else
70369 # include <assert.h>
70370 #endif
70372 #undef $ac_func
70374 /* Override any gcc2 internal prototype to avoid an error. */
70375 #ifdef __cplusplus
70376 extern "C"
70378 #endif
70379 /* We use char because int might match the return type of a gcc2
70380 builtin and then its argument prototype would still apply. */
70381 char $ac_func ();
70382 /* The GNU C library defines this for functions which it implements
70383 to always fail with ENOSYS. Some functions are actually named
70384 something starting with __ and the normal name is an alias. */
70385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70386 choke me
70387 #else
70388 char (*f) () = $ac_func;
70389 #endif
70390 #ifdef __cplusplus
70392 #endif
70395 main ()
70397 return f != $ac_func;
70399 return 0;
70401 _ACEOF
70402 rm -f conftest.$ac_objext conftest$ac_exeext
70403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70404 (eval $ac_link) 2>conftest.er1
70405 ac_status=$?
70406 grep -v '^ *+' conftest.er1 >conftest.err
70407 rm -f conftest.er1
70408 cat conftest.err >&5
70409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70410 (exit $ac_status); } &&
70411 { ac_try='test -z "$ac_c_werror_flag"
70412 || test ! -s conftest.err'
70413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70414 (eval $ac_try) 2>&5
70415 ac_status=$?
70416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70417 (exit $ac_status); }; } &&
70418 { ac_try='test -s conftest$ac_exeext'
70419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70420 (eval $ac_try) 2>&5
70421 ac_status=$?
70422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70423 (exit $ac_status); }; }; then
70424 eval "$as_ac_var=yes"
70425 else
70426 echo "$as_me: failed program was:" >&5
70427 sed 's/^/| /' conftest.$ac_ext >&5
70429 eval "$as_ac_var=no"
70431 rm -f conftest.err conftest.$ac_objext \
70432 conftest$ac_exeext conftest.$ac_ext
70434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70436 if test `eval echo '${'$as_ac_var'}'` = yes; then
70437 cat >>confdefs.h <<_ACEOF
70438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70439 _ACEOF
70442 done
70444 else
70446 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70447 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70448 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70449 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70450 echo $ECHO_N "(cached) $ECHO_C" >&6
70451 else
70455 ac_ext=cc
70456 ac_cpp='$CXXCPP $CPPFLAGS'
70457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70461 cat >conftest.$ac_ext <<_ACEOF
70462 /* confdefs.h. */
70463 _ACEOF
70464 cat confdefs.h >>conftest.$ac_ext
70465 cat >>conftest.$ac_ext <<_ACEOF
70466 /* end confdefs.h. */
70467 #include <math.h>
70469 main ()
70471 _powl(0, 0);
70473 return 0;
70475 _ACEOF
70476 rm -f conftest.$ac_objext
70477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70478 (eval $ac_compile) 2>conftest.er1
70479 ac_status=$?
70480 grep -v '^ *+' conftest.er1 >conftest.err
70481 rm -f conftest.er1
70482 cat conftest.err >&5
70483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70484 (exit $ac_status); } &&
70485 { ac_try='test -z "$ac_cxx_werror_flag"
70486 || test ! -s conftest.err'
70487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70488 (eval $ac_try) 2>&5
70489 ac_status=$?
70490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70491 (exit $ac_status); }; } &&
70492 { ac_try='test -s conftest.$ac_objext'
70493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70494 (eval $ac_try) 2>&5
70495 ac_status=$?
70496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497 (exit $ac_status); }; }; then
70498 glibcxx_cv_func__powl_use=yes
70499 else
70500 echo "$as_me: failed program was:" >&5
70501 sed 's/^/| /' conftest.$ac_ext >&5
70503 glibcxx_cv_func__powl_use=no
70505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70506 ac_ext=c
70507 ac_cpp='$CPP $CPPFLAGS'
70508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70517 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70519 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70521 for ac_func in _powl
70523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70524 echo "$as_me:$LINENO: checking for $ac_func" >&5
70525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70526 if eval "test \"\${$as_ac_var+set}\" = set"; then
70527 echo $ECHO_N "(cached) $ECHO_C" >&6
70528 else
70529 if test x$gcc_no_link = xyes; then
70530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70532 { (exit 1); exit 1; }; }
70534 cat >conftest.$ac_ext <<_ACEOF
70535 /* confdefs.h. */
70536 _ACEOF
70537 cat confdefs.h >>conftest.$ac_ext
70538 cat >>conftest.$ac_ext <<_ACEOF
70539 /* end confdefs.h. */
70540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70542 #define $ac_func innocuous_$ac_func
70544 /* System header to define __stub macros and hopefully few prototypes,
70545 which can conflict with char $ac_func (); below.
70546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70547 <limits.h> exists even on freestanding compilers. */
70549 #ifdef __STDC__
70550 # include <limits.h>
70551 #else
70552 # include <assert.h>
70553 #endif
70555 #undef $ac_func
70557 /* Override any gcc2 internal prototype to avoid an error. */
70558 #ifdef __cplusplus
70559 extern "C"
70561 #endif
70562 /* We use char because int might match the return type of a gcc2
70563 builtin and then its argument prototype would still apply. */
70564 char $ac_func ();
70565 /* The GNU C library defines this for functions which it implements
70566 to always fail with ENOSYS. Some functions are actually named
70567 something starting with __ and the normal name is an alias. */
70568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70569 choke me
70570 #else
70571 char (*f) () = $ac_func;
70572 #endif
70573 #ifdef __cplusplus
70575 #endif
70578 main ()
70580 return f != $ac_func;
70582 return 0;
70584 _ACEOF
70585 rm -f conftest.$ac_objext conftest$ac_exeext
70586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70587 (eval $ac_link) 2>conftest.er1
70588 ac_status=$?
70589 grep -v '^ *+' conftest.er1 >conftest.err
70590 rm -f conftest.er1
70591 cat conftest.err >&5
70592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70593 (exit $ac_status); } &&
70594 { ac_try='test -z "$ac_c_werror_flag"
70595 || test ! -s conftest.err'
70596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70597 (eval $ac_try) 2>&5
70598 ac_status=$?
70599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70600 (exit $ac_status); }; } &&
70601 { ac_try='test -s conftest$ac_exeext'
70602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70603 (eval $ac_try) 2>&5
70604 ac_status=$?
70605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70606 (exit $ac_status); }; }; then
70607 eval "$as_ac_var=yes"
70608 else
70609 echo "$as_me: failed program was:" >&5
70610 sed 's/^/| /' conftest.$ac_ext >&5
70612 eval "$as_ac_var=no"
70614 rm -f conftest.err conftest.$ac_objext \
70615 conftest$ac_exeext conftest.$ac_ext
70617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70619 if test `eval echo '${'$as_ac_var'}'` = yes; then
70620 cat >>confdefs.h <<_ACEOF
70621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70622 _ACEOF
70625 done
70635 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70636 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70637 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70638 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70639 echo $ECHO_N "(cached) $ECHO_C" >&6
70640 else
70644 ac_ext=cc
70645 ac_cpp='$CXXCPP $CPPFLAGS'
70646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70650 cat >conftest.$ac_ext <<_ACEOF
70651 /* confdefs.h. */
70652 _ACEOF
70653 cat confdefs.h >>conftest.$ac_ext
70654 cat >>conftest.$ac_ext <<_ACEOF
70655 /* end confdefs.h. */
70656 #include <math.h>
70657 #ifdef HAVE_IEEEFP_H
70658 #include <ieeefp.h>
70659 #endif
70662 main ()
70664 sqrtl(0);
70666 return 0;
70668 _ACEOF
70669 rm -f conftest.$ac_objext
70670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70671 (eval $ac_compile) 2>conftest.er1
70672 ac_status=$?
70673 grep -v '^ *+' conftest.er1 >conftest.err
70674 rm -f conftest.er1
70675 cat conftest.err >&5
70676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70677 (exit $ac_status); } &&
70678 { ac_try='test -z "$ac_cxx_werror_flag"
70679 || test ! -s conftest.err'
70680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70681 (eval $ac_try) 2>&5
70682 ac_status=$?
70683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684 (exit $ac_status); }; } &&
70685 { ac_try='test -s conftest.$ac_objext'
70686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70687 (eval $ac_try) 2>&5
70688 ac_status=$?
70689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70690 (exit $ac_status); }; }; then
70691 glibcxx_cv_func_sqrtl_use=yes
70692 else
70693 echo "$as_me: failed program was:" >&5
70694 sed 's/^/| /' conftest.$ac_ext >&5
70696 glibcxx_cv_func_sqrtl_use=no
70698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70699 ac_ext=c
70700 ac_cpp='$CPP $CPPFLAGS'
70701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70710 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70712 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70714 for ac_func in sqrtl
70716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70717 echo "$as_me:$LINENO: checking for $ac_func" >&5
70718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70719 if eval "test \"\${$as_ac_var+set}\" = set"; then
70720 echo $ECHO_N "(cached) $ECHO_C" >&6
70721 else
70722 if test x$gcc_no_link = xyes; then
70723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70725 { (exit 1); exit 1; }; }
70727 cat >conftest.$ac_ext <<_ACEOF
70728 /* confdefs.h. */
70729 _ACEOF
70730 cat confdefs.h >>conftest.$ac_ext
70731 cat >>conftest.$ac_ext <<_ACEOF
70732 /* end confdefs.h. */
70733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70735 #define $ac_func innocuous_$ac_func
70737 /* System header to define __stub macros and hopefully few prototypes,
70738 which can conflict with char $ac_func (); below.
70739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70740 <limits.h> exists even on freestanding compilers. */
70742 #ifdef __STDC__
70743 # include <limits.h>
70744 #else
70745 # include <assert.h>
70746 #endif
70748 #undef $ac_func
70750 /* Override any gcc2 internal prototype to avoid an error. */
70751 #ifdef __cplusplus
70752 extern "C"
70754 #endif
70755 /* We use char because int might match the return type of a gcc2
70756 builtin and then its argument prototype would still apply. */
70757 char $ac_func ();
70758 /* The GNU C library defines this for functions which it implements
70759 to always fail with ENOSYS. Some functions are actually named
70760 something starting with __ and the normal name is an alias. */
70761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70762 choke me
70763 #else
70764 char (*f) () = $ac_func;
70765 #endif
70766 #ifdef __cplusplus
70768 #endif
70771 main ()
70773 return f != $ac_func;
70775 return 0;
70777 _ACEOF
70778 rm -f conftest.$ac_objext conftest$ac_exeext
70779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70780 (eval $ac_link) 2>conftest.er1
70781 ac_status=$?
70782 grep -v '^ *+' conftest.er1 >conftest.err
70783 rm -f conftest.er1
70784 cat conftest.err >&5
70785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70786 (exit $ac_status); } &&
70787 { ac_try='test -z "$ac_c_werror_flag"
70788 || test ! -s conftest.err'
70789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70790 (eval $ac_try) 2>&5
70791 ac_status=$?
70792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70793 (exit $ac_status); }; } &&
70794 { ac_try='test -s conftest$ac_exeext'
70795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70796 (eval $ac_try) 2>&5
70797 ac_status=$?
70798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70799 (exit $ac_status); }; }; then
70800 eval "$as_ac_var=yes"
70801 else
70802 echo "$as_me: failed program was:" >&5
70803 sed 's/^/| /' conftest.$ac_ext >&5
70805 eval "$as_ac_var=no"
70807 rm -f conftest.err conftest.$ac_objext \
70808 conftest$ac_exeext conftest.$ac_ext
70810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70812 if test `eval echo '${'$as_ac_var'}'` = yes; then
70813 cat >>confdefs.h <<_ACEOF
70814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70815 _ACEOF
70818 done
70820 else
70822 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70823 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70824 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70825 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70826 echo $ECHO_N "(cached) $ECHO_C" >&6
70827 else
70831 ac_ext=cc
70832 ac_cpp='$CXXCPP $CPPFLAGS'
70833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70837 cat >conftest.$ac_ext <<_ACEOF
70838 /* confdefs.h. */
70839 _ACEOF
70840 cat confdefs.h >>conftest.$ac_ext
70841 cat >>conftest.$ac_ext <<_ACEOF
70842 /* end confdefs.h. */
70843 #include <math.h>
70844 #ifdef HAVE_IEEEFP_H
70845 #include <ieeefp.h>
70846 #endif
70849 main ()
70851 _sqrtl(0);
70853 return 0;
70855 _ACEOF
70856 rm -f conftest.$ac_objext
70857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70858 (eval $ac_compile) 2>conftest.er1
70859 ac_status=$?
70860 grep -v '^ *+' conftest.er1 >conftest.err
70861 rm -f conftest.er1
70862 cat conftest.err >&5
70863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864 (exit $ac_status); } &&
70865 { ac_try='test -z "$ac_cxx_werror_flag"
70866 || test ! -s conftest.err'
70867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70868 (eval $ac_try) 2>&5
70869 ac_status=$?
70870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70871 (exit $ac_status); }; } &&
70872 { ac_try='test -s conftest.$ac_objext'
70873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70874 (eval $ac_try) 2>&5
70875 ac_status=$?
70876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70877 (exit $ac_status); }; }; then
70878 glibcxx_cv_func__sqrtl_use=yes
70879 else
70880 echo "$as_me: failed program was:" >&5
70881 sed 's/^/| /' conftest.$ac_ext >&5
70883 glibcxx_cv_func__sqrtl_use=no
70885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70886 ac_ext=c
70887 ac_cpp='$CPP $CPPFLAGS'
70888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70897 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70899 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70901 for ac_func in _sqrtl
70903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70904 echo "$as_me:$LINENO: checking for $ac_func" >&5
70905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70906 if eval "test \"\${$as_ac_var+set}\" = set"; then
70907 echo $ECHO_N "(cached) $ECHO_C" >&6
70908 else
70909 if test x$gcc_no_link = xyes; then
70910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70912 { (exit 1); exit 1; }; }
70914 cat >conftest.$ac_ext <<_ACEOF
70915 /* confdefs.h. */
70916 _ACEOF
70917 cat confdefs.h >>conftest.$ac_ext
70918 cat >>conftest.$ac_ext <<_ACEOF
70919 /* end confdefs.h. */
70920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70922 #define $ac_func innocuous_$ac_func
70924 /* System header to define __stub macros and hopefully few prototypes,
70925 which can conflict with char $ac_func (); below.
70926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70927 <limits.h> exists even on freestanding compilers. */
70929 #ifdef __STDC__
70930 # include <limits.h>
70931 #else
70932 # include <assert.h>
70933 #endif
70935 #undef $ac_func
70937 /* Override any gcc2 internal prototype to avoid an error. */
70938 #ifdef __cplusplus
70939 extern "C"
70941 #endif
70942 /* We use char because int might match the return type of a gcc2
70943 builtin and then its argument prototype would still apply. */
70944 char $ac_func ();
70945 /* The GNU C library defines this for functions which it implements
70946 to always fail with ENOSYS. Some functions are actually named
70947 something starting with __ and the normal name is an alias. */
70948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70949 choke me
70950 #else
70951 char (*f) () = $ac_func;
70952 #endif
70953 #ifdef __cplusplus
70955 #endif
70958 main ()
70960 return f != $ac_func;
70962 return 0;
70964 _ACEOF
70965 rm -f conftest.$ac_objext conftest$ac_exeext
70966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70967 (eval $ac_link) 2>conftest.er1
70968 ac_status=$?
70969 grep -v '^ *+' conftest.er1 >conftest.err
70970 rm -f conftest.er1
70971 cat conftest.err >&5
70972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70973 (exit $ac_status); } &&
70974 { ac_try='test -z "$ac_c_werror_flag"
70975 || test ! -s conftest.err'
70976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70977 (eval $ac_try) 2>&5
70978 ac_status=$?
70979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70980 (exit $ac_status); }; } &&
70981 { ac_try='test -s conftest$ac_exeext'
70982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70983 (eval $ac_try) 2>&5
70984 ac_status=$?
70985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70986 (exit $ac_status); }; }; then
70987 eval "$as_ac_var=yes"
70988 else
70989 echo "$as_me: failed program was:" >&5
70990 sed 's/^/| /' conftest.$ac_ext >&5
70992 eval "$as_ac_var=no"
70994 rm -f conftest.err conftest.$ac_objext \
70995 conftest$ac_exeext conftest.$ac_ext
70997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70999 if test `eval echo '${'$as_ac_var'}'` = yes; then
71000 cat >>confdefs.h <<_ACEOF
71001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71002 _ACEOF
71005 done
71015 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71016 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71017 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71018 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71019 echo $ECHO_N "(cached) $ECHO_C" >&6
71020 else
71024 ac_ext=cc
71025 ac_cpp='$CXXCPP $CPPFLAGS'
71026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71030 cat >conftest.$ac_ext <<_ACEOF
71031 /* confdefs.h. */
71032 _ACEOF
71033 cat confdefs.h >>conftest.$ac_ext
71034 cat >>conftest.$ac_ext <<_ACEOF
71035 /* end confdefs.h. */
71036 #include <math.h>
71038 main ()
71040 sincosl(0, 0, 0);
71042 return 0;
71044 _ACEOF
71045 rm -f conftest.$ac_objext
71046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71047 (eval $ac_compile) 2>conftest.er1
71048 ac_status=$?
71049 grep -v '^ *+' conftest.er1 >conftest.err
71050 rm -f conftest.er1
71051 cat conftest.err >&5
71052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71053 (exit $ac_status); } &&
71054 { ac_try='test -z "$ac_cxx_werror_flag"
71055 || test ! -s conftest.err'
71056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71057 (eval $ac_try) 2>&5
71058 ac_status=$?
71059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060 (exit $ac_status); }; } &&
71061 { ac_try='test -s conftest.$ac_objext'
71062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71063 (eval $ac_try) 2>&5
71064 ac_status=$?
71065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71066 (exit $ac_status); }; }; then
71067 glibcxx_cv_func_sincosl_use=yes
71068 else
71069 echo "$as_me: failed program was:" >&5
71070 sed 's/^/| /' conftest.$ac_ext >&5
71072 glibcxx_cv_func_sincosl_use=no
71074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71075 ac_ext=c
71076 ac_cpp='$CPP $CPPFLAGS'
71077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71086 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71088 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71090 for ac_func in sincosl
71092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71093 echo "$as_me:$LINENO: checking for $ac_func" >&5
71094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71095 if eval "test \"\${$as_ac_var+set}\" = set"; then
71096 echo $ECHO_N "(cached) $ECHO_C" >&6
71097 else
71098 if test x$gcc_no_link = xyes; then
71099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71101 { (exit 1); exit 1; }; }
71103 cat >conftest.$ac_ext <<_ACEOF
71104 /* confdefs.h. */
71105 _ACEOF
71106 cat confdefs.h >>conftest.$ac_ext
71107 cat >>conftest.$ac_ext <<_ACEOF
71108 /* end confdefs.h. */
71109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71111 #define $ac_func innocuous_$ac_func
71113 /* System header to define __stub macros and hopefully few prototypes,
71114 which can conflict with char $ac_func (); below.
71115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71116 <limits.h> exists even on freestanding compilers. */
71118 #ifdef __STDC__
71119 # include <limits.h>
71120 #else
71121 # include <assert.h>
71122 #endif
71124 #undef $ac_func
71126 /* Override any gcc2 internal prototype to avoid an error. */
71127 #ifdef __cplusplus
71128 extern "C"
71130 #endif
71131 /* We use char because int might match the return type of a gcc2
71132 builtin and then its argument prototype would still apply. */
71133 char $ac_func ();
71134 /* The GNU C library defines this for functions which it implements
71135 to always fail with ENOSYS. Some functions are actually named
71136 something starting with __ and the normal name is an alias. */
71137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71138 choke me
71139 #else
71140 char (*f) () = $ac_func;
71141 #endif
71142 #ifdef __cplusplus
71144 #endif
71147 main ()
71149 return f != $ac_func;
71151 return 0;
71153 _ACEOF
71154 rm -f conftest.$ac_objext conftest$ac_exeext
71155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71156 (eval $ac_link) 2>conftest.er1
71157 ac_status=$?
71158 grep -v '^ *+' conftest.er1 >conftest.err
71159 rm -f conftest.er1
71160 cat conftest.err >&5
71161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71162 (exit $ac_status); } &&
71163 { ac_try='test -z "$ac_c_werror_flag"
71164 || test ! -s conftest.err'
71165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71166 (eval $ac_try) 2>&5
71167 ac_status=$?
71168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169 (exit $ac_status); }; } &&
71170 { ac_try='test -s conftest$ac_exeext'
71171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71172 (eval $ac_try) 2>&5
71173 ac_status=$?
71174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71175 (exit $ac_status); }; }; then
71176 eval "$as_ac_var=yes"
71177 else
71178 echo "$as_me: failed program was:" >&5
71179 sed 's/^/| /' conftest.$ac_ext >&5
71181 eval "$as_ac_var=no"
71183 rm -f conftest.err conftest.$ac_objext \
71184 conftest$ac_exeext conftest.$ac_ext
71186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71188 if test `eval echo '${'$as_ac_var'}'` = yes; then
71189 cat >>confdefs.h <<_ACEOF
71190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71191 _ACEOF
71194 done
71196 else
71198 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71199 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71200 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71201 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71202 echo $ECHO_N "(cached) $ECHO_C" >&6
71203 else
71207 ac_ext=cc
71208 ac_cpp='$CXXCPP $CPPFLAGS'
71209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71213 cat >conftest.$ac_ext <<_ACEOF
71214 /* confdefs.h. */
71215 _ACEOF
71216 cat confdefs.h >>conftest.$ac_ext
71217 cat >>conftest.$ac_ext <<_ACEOF
71218 /* end confdefs.h. */
71219 #include <math.h>
71221 main ()
71223 _sincosl(0, 0, 0);
71225 return 0;
71227 _ACEOF
71228 rm -f conftest.$ac_objext
71229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71230 (eval $ac_compile) 2>conftest.er1
71231 ac_status=$?
71232 grep -v '^ *+' conftest.er1 >conftest.err
71233 rm -f conftest.er1
71234 cat conftest.err >&5
71235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71236 (exit $ac_status); } &&
71237 { ac_try='test -z "$ac_cxx_werror_flag"
71238 || test ! -s conftest.err'
71239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71240 (eval $ac_try) 2>&5
71241 ac_status=$?
71242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243 (exit $ac_status); }; } &&
71244 { ac_try='test -s conftest.$ac_objext'
71245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71246 (eval $ac_try) 2>&5
71247 ac_status=$?
71248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249 (exit $ac_status); }; }; then
71250 glibcxx_cv_func__sincosl_use=yes
71251 else
71252 echo "$as_me: failed program was:" >&5
71253 sed 's/^/| /' conftest.$ac_ext >&5
71255 glibcxx_cv_func__sincosl_use=no
71257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71258 ac_ext=c
71259 ac_cpp='$CPP $CPPFLAGS'
71260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71269 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71271 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71273 for ac_func in _sincosl
71275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71276 echo "$as_me:$LINENO: checking for $ac_func" >&5
71277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71278 if eval "test \"\${$as_ac_var+set}\" = set"; then
71279 echo $ECHO_N "(cached) $ECHO_C" >&6
71280 else
71281 if test x$gcc_no_link = xyes; then
71282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71284 { (exit 1); exit 1; }; }
71286 cat >conftest.$ac_ext <<_ACEOF
71287 /* confdefs.h. */
71288 _ACEOF
71289 cat confdefs.h >>conftest.$ac_ext
71290 cat >>conftest.$ac_ext <<_ACEOF
71291 /* end confdefs.h. */
71292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71294 #define $ac_func innocuous_$ac_func
71296 /* System header to define __stub macros and hopefully few prototypes,
71297 which can conflict with char $ac_func (); below.
71298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71299 <limits.h> exists even on freestanding compilers. */
71301 #ifdef __STDC__
71302 # include <limits.h>
71303 #else
71304 # include <assert.h>
71305 #endif
71307 #undef $ac_func
71309 /* Override any gcc2 internal prototype to avoid an error. */
71310 #ifdef __cplusplus
71311 extern "C"
71313 #endif
71314 /* We use char because int might match the return type of a gcc2
71315 builtin and then its argument prototype would still apply. */
71316 char $ac_func ();
71317 /* The GNU C library defines this for functions which it implements
71318 to always fail with ENOSYS. Some functions are actually named
71319 something starting with __ and the normal name is an alias. */
71320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71321 choke me
71322 #else
71323 char (*f) () = $ac_func;
71324 #endif
71325 #ifdef __cplusplus
71327 #endif
71330 main ()
71332 return f != $ac_func;
71334 return 0;
71336 _ACEOF
71337 rm -f conftest.$ac_objext conftest$ac_exeext
71338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71339 (eval $ac_link) 2>conftest.er1
71340 ac_status=$?
71341 grep -v '^ *+' conftest.er1 >conftest.err
71342 rm -f conftest.er1
71343 cat conftest.err >&5
71344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71345 (exit $ac_status); } &&
71346 { ac_try='test -z "$ac_c_werror_flag"
71347 || test ! -s conftest.err'
71348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71349 (eval $ac_try) 2>&5
71350 ac_status=$?
71351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71352 (exit $ac_status); }; } &&
71353 { ac_try='test -s conftest$ac_exeext'
71354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71355 (eval $ac_try) 2>&5
71356 ac_status=$?
71357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71358 (exit $ac_status); }; }; then
71359 eval "$as_ac_var=yes"
71360 else
71361 echo "$as_me: failed program was:" >&5
71362 sed 's/^/| /' conftest.$ac_ext >&5
71364 eval "$as_ac_var=no"
71366 rm -f conftest.err conftest.$ac_objext \
71367 conftest$ac_exeext conftest.$ac_ext
71369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71371 if test `eval echo '${'$as_ac_var'}'` = yes; then
71372 cat >>confdefs.h <<_ACEOF
71373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71374 _ACEOF
71377 done
71387 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71388 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71389 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71390 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71391 echo $ECHO_N "(cached) $ECHO_C" >&6
71392 else
71396 ac_ext=cc
71397 ac_cpp='$CXXCPP $CPPFLAGS'
71398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71402 cat >conftest.$ac_ext <<_ACEOF
71403 /* confdefs.h. */
71404 _ACEOF
71405 cat confdefs.h >>conftest.$ac_ext
71406 cat >>conftest.$ac_ext <<_ACEOF
71407 /* end confdefs.h. */
71408 #include <math.h>
71409 #ifdef HAVE_IEEEFP_H
71410 #include <ieeefp.h>
71411 #endif
71414 main ()
71416 finitel(0);
71418 return 0;
71420 _ACEOF
71421 rm -f conftest.$ac_objext
71422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71423 (eval $ac_compile) 2>conftest.er1
71424 ac_status=$?
71425 grep -v '^ *+' conftest.er1 >conftest.err
71426 rm -f conftest.er1
71427 cat conftest.err >&5
71428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429 (exit $ac_status); } &&
71430 { ac_try='test -z "$ac_cxx_werror_flag"
71431 || test ! -s conftest.err'
71432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71433 (eval $ac_try) 2>&5
71434 ac_status=$?
71435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436 (exit $ac_status); }; } &&
71437 { ac_try='test -s conftest.$ac_objext'
71438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71439 (eval $ac_try) 2>&5
71440 ac_status=$?
71441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71442 (exit $ac_status); }; }; then
71443 glibcxx_cv_func_finitel_use=yes
71444 else
71445 echo "$as_me: failed program was:" >&5
71446 sed 's/^/| /' conftest.$ac_ext >&5
71448 glibcxx_cv_func_finitel_use=no
71450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71451 ac_ext=c
71452 ac_cpp='$CPP $CPPFLAGS'
71453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71462 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71464 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71466 for ac_func in finitel
71468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71469 echo "$as_me:$LINENO: checking for $ac_func" >&5
71470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71471 if eval "test \"\${$as_ac_var+set}\" = set"; then
71472 echo $ECHO_N "(cached) $ECHO_C" >&6
71473 else
71474 if test x$gcc_no_link = xyes; then
71475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71477 { (exit 1); exit 1; }; }
71479 cat >conftest.$ac_ext <<_ACEOF
71480 /* confdefs.h. */
71481 _ACEOF
71482 cat confdefs.h >>conftest.$ac_ext
71483 cat >>conftest.$ac_ext <<_ACEOF
71484 /* end confdefs.h. */
71485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71487 #define $ac_func innocuous_$ac_func
71489 /* System header to define __stub macros and hopefully few prototypes,
71490 which can conflict with char $ac_func (); below.
71491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71492 <limits.h> exists even on freestanding compilers. */
71494 #ifdef __STDC__
71495 # include <limits.h>
71496 #else
71497 # include <assert.h>
71498 #endif
71500 #undef $ac_func
71502 /* Override any gcc2 internal prototype to avoid an error. */
71503 #ifdef __cplusplus
71504 extern "C"
71506 #endif
71507 /* We use char because int might match the return type of a gcc2
71508 builtin and then its argument prototype would still apply. */
71509 char $ac_func ();
71510 /* The GNU C library defines this for functions which it implements
71511 to always fail with ENOSYS. Some functions are actually named
71512 something starting with __ and the normal name is an alias. */
71513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71514 choke me
71515 #else
71516 char (*f) () = $ac_func;
71517 #endif
71518 #ifdef __cplusplus
71520 #endif
71523 main ()
71525 return f != $ac_func;
71527 return 0;
71529 _ACEOF
71530 rm -f conftest.$ac_objext conftest$ac_exeext
71531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71532 (eval $ac_link) 2>conftest.er1
71533 ac_status=$?
71534 grep -v '^ *+' conftest.er1 >conftest.err
71535 rm -f conftest.er1
71536 cat conftest.err >&5
71537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71538 (exit $ac_status); } &&
71539 { ac_try='test -z "$ac_c_werror_flag"
71540 || test ! -s conftest.err'
71541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71542 (eval $ac_try) 2>&5
71543 ac_status=$?
71544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545 (exit $ac_status); }; } &&
71546 { ac_try='test -s conftest$ac_exeext'
71547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71548 (eval $ac_try) 2>&5
71549 ac_status=$?
71550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71551 (exit $ac_status); }; }; then
71552 eval "$as_ac_var=yes"
71553 else
71554 echo "$as_me: failed program was:" >&5
71555 sed 's/^/| /' conftest.$ac_ext >&5
71557 eval "$as_ac_var=no"
71559 rm -f conftest.err conftest.$ac_objext \
71560 conftest$ac_exeext conftest.$ac_ext
71562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71564 if test `eval echo '${'$as_ac_var'}'` = yes; then
71565 cat >>confdefs.h <<_ACEOF
71566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71567 _ACEOF
71570 done
71572 else
71574 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71575 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71576 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71577 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71578 echo $ECHO_N "(cached) $ECHO_C" >&6
71579 else
71583 ac_ext=cc
71584 ac_cpp='$CXXCPP $CPPFLAGS'
71585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71589 cat >conftest.$ac_ext <<_ACEOF
71590 /* confdefs.h. */
71591 _ACEOF
71592 cat confdefs.h >>conftest.$ac_ext
71593 cat >>conftest.$ac_ext <<_ACEOF
71594 /* end confdefs.h. */
71595 #include <math.h>
71596 #ifdef HAVE_IEEEFP_H
71597 #include <ieeefp.h>
71598 #endif
71601 main ()
71603 _finitel(0);
71605 return 0;
71607 _ACEOF
71608 rm -f conftest.$ac_objext
71609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71610 (eval $ac_compile) 2>conftest.er1
71611 ac_status=$?
71612 grep -v '^ *+' conftest.er1 >conftest.err
71613 rm -f conftest.er1
71614 cat conftest.err >&5
71615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71616 (exit $ac_status); } &&
71617 { ac_try='test -z "$ac_cxx_werror_flag"
71618 || test ! -s conftest.err'
71619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71620 (eval $ac_try) 2>&5
71621 ac_status=$?
71622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71623 (exit $ac_status); }; } &&
71624 { ac_try='test -s conftest.$ac_objext'
71625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626 (eval $ac_try) 2>&5
71627 ac_status=$?
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); }; }; then
71630 glibcxx_cv_func__finitel_use=yes
71631 else
71632 echo "$as_me: failed program was:" >&5
71633 sed 's/^/| /' conftest.$ac_ext >&5
71635 glibcxx_cv_func__finitel_use=no
71637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71638 ac_ext=c
71639 ac_cpp='$CPP $CPPFLAGS'
71640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71649 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71651 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71653 for ac_func in _finitel
71655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71656 echo "$as_me:$LINENO: checking for $ac_func" >&5
71657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71658 if eval "test \"\${$as_ac_var+set}\" = set"; then
71659 echo $ECHO_N "(cached) $ECHO_C" >&6
71660 else
71661 if test x$gcc_no_link = xyes; then
71662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71664 { (exit 1); exit 1; }; }
71666 cat >conftest.$ac_ext <<_ACEOF
71667 /* confdefs.h. */
71668 _ACEOF
71669 cat confdefs.h >>conftest.$ac_ext
71670 cat >>conftest.$ac_ext <<_ACEOF
71671 /* end confdefs.h. */
71672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71674 #define $ac_func innocuous_$ac_func
71676 /* System header to define __stub macros and hopefully few prototypes,
71677 which can conflict with char $ac_func (); below.
71678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71679 <limits.h> exists even on freestanding compilers. */
71681 #ifdef __STDC__
71682 # include <limits.h>
71683 #else
71684 # include <assert.h>
71685 #endif
71687 #undef $ac_func
71689 /* Override any gcc2 internal prototype to avoid an error. */
71690 #ifdef __cplusplus
71691 extern "C"
71693 #endif
71694 /* We use char because int might match the return type of a gcc2
71695 builtin and then its argument prototype would still apply. */
71696 char $ac_func ();
71697 /* The GNU C library defines this for functions which it implements
71698 to always fail with ENOSYS. Some functions are actually named
71699 something starting with __ and the normal name is an alias. */
71700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71701 choke me
71702 #else
71703 char (*f) () = $ac_func;
71704 #endif
71705 #ifdef __cplusplus
71707 #endif
71710 main ()
71712 return f != $ac_func;
71714 return 0;
71716 _ACEOF
71717 rm -f conftest.$ac_objext conftest$ac_exeext
71718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71719 (eval $ac_link) 2>conftest.er1
71720 ac_status=$?
71721 grep -v '^ *+' conftest.er1 >conftest.err
71722 rm -f conftest.er1
71723 cat conftest.err >&5
71724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71725 (exit $ac_status); } &&
71726 { ac_try='test -z "$ac_c_werror_flag"
71727 || test ! -s conftest.err'
71728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71729 (eval $ac_try) 2>&5
71730 ac_status=$?
71731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71732 (exit $ac_status); }; } &&
71733 { ac_try='test -s conftest$ac_exeext'
71734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71735 (eval $ac_try) 2>&5
71736 ac_status=$?
71737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71738 (exit $ac_status); }; }; then
71739 eval "$as_ac_var=yes"
71740 else
71741 echo "$as_me: failed program was:" >&5
71742 sed 's/^/| /' conftest.$ac_ext >&5
71744 eval "$as_ac_var=no"
71746 rm -f conftest.err conftest.$ac_objext \
71747 conftest$ac_exeext conftest.$ac_ext
71749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71751 if test `eval echo '${'$as_ac_var'}'` = yes; then
71752 cat >>confdefs.h <<_ACEOF
71753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71754 _ACEOF
71757 done
71766 LIBS="$ac_save_LIBS"
71767 CXXFLAGS="$ac_save_CXXFLAGS"
71771 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71772 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71773 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71774 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71775 echo $ECHO_N "(cached) $ECHO_C" >&6
71776 else
71780 ac_ext=cc
71781 ac_cpp='$CXXCPP $CPPFLAGS'
71782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71786 cat >conftest.$ac_ext <<_ACEOF
71787 /* confdefs.h. */
71788 _ACEOF
71789 cat confdefs.h >>conftest.$ac_ext
71790 cat >>conftest.$ac_ext <<_ACEOF
71791 /* end confdefs.h. */
71792 #include <math.h>
71794 main ()
71796 __builtin_abs(0);
71798 return 0;
71800 _ACEOF
71801 rm -f conftest.$ac_objext
71802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71803 (eval $ac_compile) 2>conftest.er1
71804 ac_status=$?
71805 grep -v '^ *+' conftest.er1 >conftest.err
71806 rm -f conftest.er1
71807 cat conftest.err >&5
71808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71809 (exit $ac_status); } &&
71810 { ac_try='test -z "$ac_cxx_werror_flag"
71811 || test ! -s conftest.err'
71812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71813 (eval $ac_try) 2>&5
71814 ac_status=$?
71815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816 (exit $ac_status); }; } &&
71817 { ac_try='test -s conftest.$ac_objext'
71818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71819 (eval $ac_try) 2>&5
71820 ac_status=$?
71821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71822 (exit $ac_status); }; }; then
71823 glibcxx_cv_func___builtin_abs_use=yes
71824 else
71825 echo "$as_me: failed program was:" >&5
71826 sed 's/^/| /' conftest.$ac_ext >&5
71828 glibcxx_cv_func___builtin_abs_use=no
71830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71831 ac_ext=c
71832 ac_cpp='$CPP $CPPFLAGS'
71833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71842 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71843 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71844 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71845 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71846 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71847 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71848 echo $ECHO_N "(cached) $ECHO_C" >&6
71849 else
71851 if test x$gcc_no_link = xyes; then
71852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71854 { (exit 1); exit 1; }; }
71856 cat >conftest.$ac_ext <<_ACEOF
71857 /* confdefs.h. */
71858 _ACEOF
71859 cat confdefs.h >>conftest.$ac_ext
71860 cat >>conftest.$ac_ext <<_ACEOF
71861 /* end confdefs.h. */
71862 #include <math.h>
71864 main ()
71866 __builtin_abs(0);
71868 return 0;
71870 _ACEOF
71871 rm -f conftest.$ac_objext conftest$ac_exeext
71872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71873 (eval $ac_link) 2>conftest.er1
71874 ac_status=$?
71875 grep -v '^ *+' conftest.er1 >conftest.err
71876 rm -f conftest.er1
71877 cat conftest.err >&5
71878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71879 (exit $ac_status); } &&
71880 { ac_try='test -z "$ac_c_werror_flag"
71881 || test ! -s conftest.err'
71882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71883 (eval $ac_try) 2>&5
71884 ac_status=$?
71885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71886 (exit $ac_status); }; } &&
71887 { ac_try='test -s conftest$ac_exeext'
71888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71889 (eval $ac_try) 2>&5
71890 ac_status=$?
71891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71892 (exit $ac_status); }; }; then
71893 glibcxx_cv_func___builtin_abs_link=yes
71894 else
71895 echo "$as_me: failed program was:" >&5
71896 sed 's/^/| /' conftest.$ac_ext >&5
71898 glibcxx_cv_func___builtin_abs_link=no
71900 rm -f conftest.err conftest.$ac_objext \
71901 conftest$ac_exeext conftest.$ac_ext
71906 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71907 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71909 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71911 cat >>confdefs.h <<\_ACEOF
71912 #define HAVE___BUILTIN_ABS 1
71913 _ACEOF
71920 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71921 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71922 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71923 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71924 echo $ECHO_N "(cached) $ECHO_C" >&6
71925 else
71929 ac_ext=cc
71930 ac_cpp='$CXXCPP $CPPFLAGS'
71931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71935 cat >conftest.$ac_ext <<_ACEOF
71936 /* confdefs.h. */
71937 _ACEOF
71938 cat confdefs.h >>conftest.$ac_ext
71939 cat >>conftest.$ac_ext <<_ACEOF
71940 /* end confdefs.h. */
71941 #include <math.h>
71943 main ()
71945 __builtin_fabsf(0);
71947 return 0;
71949 _ACEOF
71950 rm -f conftest.$ac_objext
71951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71952 (eval $ac_compile) 2>conftest.er1
71953 ac_status=$?
71954 grep -v '^ *+' conftest.er1 >conftest.err
71955 rm -f conftest.er1
71956 cat conftest.err >&5
71957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71958 (exit $ac_status); } &&
71959 { ac_try='test -z "$ac_cxx_werror_flag"
71960 || test ! -s conftest.err'
71961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962 (eval $ac_try) 2>&5
71963 ac_status=$?
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); }; } &&
71966 { ac_try='test -s conftest.$ac_objext'
71967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71968 (eval $ac_try) 2>&5
71969 ac_status=$?
71970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71971 (exit $ac_status); }; }; then
71972 glibcxx_cv_func___builtin_fabsf_use=yes
71973 else
71974 echo "$as_me: failed program was:" >&5
71975 sed 's/^/| /' conftest.$ac_ext >&5
71977 glibcxx_cv_func___builtin_fabsf_use=no
71979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71980 ac_ext=c
71981 ac_cpp='$CPP $CPPFLAGS'
71982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71991 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71992 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71993 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71994 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71995 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71996 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71997 echo $ECHO_N "(cached) $ECHO_C" >&6
71998 else
72000 if test x$gcc_no_link = xyes; then
72001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72003 { (exit 1); exit 1; }; }
72005 cat >conftest.$ac_ext <<_ACEOF
72006 /* confdefs.h. */
72007 _ACEOF
72008 cat confdefs.h >>conftest.$ac_ext
72009 cat >>conftest.$ac_ext <<_ACEOF
72010 /* end confdefs.h. */
72011 #include <math.h>
72013 main ()
72015 __builtin_fabsf(0);
72017 return 0;
72019 _ACEOF
72020 rm -f conftest.$ac_objext conftest$ac_exeext
72021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72022 (eval $ac_link) 2>conftest.er1
72023 ac_status=$?
72024 grep -v '^ *+' conftest.er1 >conftest.err
72025 rm -f conftest.er1
72026 cat conftest.err >&5
72027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72028 (exit $ac_status); } &&
72029 { ac_try='test -z "$ac_c_werror_flag"
72030 || test ! -s conftest.err'
72031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72032 (eval $ac_try) 2>&5
72033 ac_status=$?
72034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72035 (exit $ac_status); }; } &&
72036 { ac_try='test -s conftest$ac_exeext'
72037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72038 (eval $ac_try) 2>&5
72039 ac_status=$?
72040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72041 (exit $ac_status); }; }; then
72042 glibcxx_cv_func___builtin_fabsf_link=yes
72043 else
72044 echo "$as_me: failed program was:" >&5
72045 sed 's/^/| /' conftest.$ac_ext >&5
72047 glibcxx_cv_func___builtin_fabsf_link=no
72049 rm -f conftest.err conftest.$ac_objext \
72050 conftest$ac_exeext conftest.$ac_ext
72055 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72056 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72058 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72060 cat >>confdefs.h <<\_ACEOF
72061 #define HAVE___BUILTIN_FABSF 1
72062 _ACEOF
72069 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72070 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72071 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72072 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72073 echo $ECHO_N "(cached) $ECHO_C" >&6
72074 else
72078 ac_ext=cc
72079 ac_cpp='$CXXCPP $CPPFLAGS'
72080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72084 cat >conftest.$ac_ext <<_ACEOF
72085 /* confdefs.h. */
72086 _ACEOF
72087 cat confdefs.h >>conftest.$ac_ext
72088 cat >>conftest.$ac_ext <<_ACEOF
72089 /* end confdefs.h. */
72090 #include <math.h>
72092 main ()
72094 __builtin_fabs(0);
72096 return 0;
72098 _ACEOF
72099 rm -f conftest.$ac_objext
72100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72101 (eval $ac_compile) 2>conftest.er1
72102 ac_status=$?
72103 grep -v '^ *+' conftest.er1 >conftest.err
72104 rm -f conftest.er1
72105 cat conftest.err >&5
72106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72107 (exit $ac_status); } &&
72108 { ac_try='test -z "$ac_cxx_werror_flag"
72109 || test ! -s conftest.err'
72110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72111 (eval $ac_try) 2>&5
72112 ac_status=$?
72113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72114 (exit $ac_status); }; } &&
72115 { ac_try='test -s conftest.$ac_objext'
72116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72117 (eval $ac_try) 2>&5
72118 ac_status=$?
72119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72120 (exit $ac_status); }; }; then
72121 glibcxx_cv_func___builtin_fabs_use=yes
72122 else
72123 echo "$as_me: failed program was:" >&5
72124 sed 's/^/| /' conftest.$ac_ext >&5
72126 glibcxx_cv_func___builtin_fabs_use=no
72128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72129 ac_ext=c
72130 ac_cpp='$CPP $CPPFLAGS'
72131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72139 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72140 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72141 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72142 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72143 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72144 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72145 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72146 echo $ECHO_N "(cached) $ECHO_C" >&6
72147 else
72149 if test x$gcc_no_link = xyes; then
72150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72152 { (exit 1); exit 1; }; }
72154 cat >conftest.$ac_ext <<_ACEOF
72155 /* confdefs.h. */
72156 _ACEOF
72157 cat confdefs.h >>conftest.$ac_ext
72158 cat >>conftest.$ac_ext <<_ACEOF
72159 /* end confdefs.h. */
72160 #include <math.h>
72162 main ()
72164 __builtin_fabs(0);
72166 return 0;
72168 _ACEOF
72169 rm -f conftest.$ac_objext conftest$ac_exeext
72170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72171 (eval $ac_link) 2>conftest.er1
72172 ac_status=$?
72173 grep -v '^ *+' conftest.er1 >conftest.err
72174 rm -f conftest.er1
72175 cat conftest.err >&5
72176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72177 (exit $ac_status); } &&
72178 { ac_try='test -z "$ac_c_werror_flag"
72179 || test ! -s conftest.err'
72180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72181 (eval $ac_try) 2>&5
72182 ac_status=$?
72183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72184 (exit $ac_status); }; } &&
72185 { ac_try='test -s conftest$ac_exeext'
72186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72187 (eval $ac_try) 2>&5
72188 ac_status=$?
72189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190 (exit $ac_status); }; }; then
72191 glibcxx_cv_func___builtin_fabs_link=yes
72192 else
72193 echo "$as_me: failed program was:" >&5
72194 sed 's/^/| /' conftest.$ac_ext >&5
72196 glibcxx_cv_func___builtin_fabs_link=no
72198 rm -f conftest.err conftest.$ac_objext \
72199 conftest$ac_exeext conftest.$ac_ext
72204 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72205 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72207 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72209 cat >>confdefs.h <<\_ACEOF
72210 #define HAVE___BUILTIN_FABS 1
72211 _ACEOF
72218 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72219 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72220 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72221 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72222 echo $ECHO_N "(cached) $ECHO_C" >&6
72223 else
72227 ac_ext=cc
72228 ac_cpp='$CXXCPP $CPPFLAGS'
72229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72233 cat >conftest.$ac_ext <<_ACEOF
72234 /* confdefs.h. */
72235 _ACEOF
72236 cat confdefs.h >>conftest.$ac_ext
72237 cat >>conftest.$ac_ext <<_ACEOF
72238 /* end confdefs.h. */
72239 #include <math.h>
72241 main ()
72243 __builtin_fabsl(0);
72245 return 0;
72247 _ACEOF
72248 rm -f conftest.$ac_objext
72249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72250 (eval $ac_compile) 2>conftest.er1
72251 ac_status=$?
72252 grep -v '^ *+' conftest.er1 >conftest.err
72253 rm -f conftest.er1
72254 cat conftest.err >&5
72255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72256 (exit $ac_status); } &&
72257 { ac_try='test -z "$ac_cxx_werror_flag"
72258 || test ! -s conftest.err'
72259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72260 (eval $ac_try) 2>&5
72261 ac_status=$?
72262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72263 (exit $ac_status); }; } &&
72264 { ac_try='test -s conftest.$ac_objext'
72265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72266 (eval $ac_try) 2>&5
72267 ac_status=$?
72268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72269 (exit $ac_status); }; }; then
72270 glibcxx_cv_func___builtin_fabsl_use=yes
72271 else
72272 echo "$as_me: failed program was:" >&5
72273 sed 's/^/| /' conftest.$ac_ext >&5
72275 glibcxx_cv_func___builtin_fabsl_use=no
72277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72278 ac_ext=c
72279 ac_cpp='$CPP $CPPFLAGS'
72280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72288 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72289 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72290 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72291 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72292 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72293 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72294 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72295 echo $ECHO_N "(cached) $ECHO_C" >&6
72296 else
72298 if test x$gcc_no_link = xyes; then
72299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72301 { (exit 1); exit 1; }; }
72303 cat >conftest.$ac_ext <<_ACEOF
72304 /* confdefs.h. */
72305 _ACEOF
72306 cat confdefs.h >>conftest.$ac_ext
72307 cat >>conftest.$ac_ext <<_ACEOF
72308 /* end confdefs.h. */
72309 #include <math.h>
72311 main ()
72313 __builtin_fabsl(0);
72315 return 0;
72317 _ACEOF
72318 rm -f conftest.$ac_objext conftest$ac_exeext
72319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72320 (eval $ac_link) 2>conftest.er1
72321 ac_status=$?
72322 grep -v '^ *+' conftest.er1 >conftest.err
72323 rm -f conftest.er1
72324 cat conftest.err >&5
72325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72326 (exit $ac_status); } &&
72327 { ac_try='test -z "$ac_c_werror_flag"
72328 || test ! -s conftest.err'
72329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72330 (eval $ac_try) 2>&5
72331 ac_status=$?
72332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72333 (exit $ac_status); }; } &&
72334 { ac_try='test -s conftest$ac_exeext'
72335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72336 (eval $ac_try) 2>&5
72337 ac_status=$?
72338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72339 (exit $ac_status); }; }; then
72340 glibcxx_cv_func___builtin_fabsl_link=yes
72341 else
72342 echo "$as_me: failed program was:" >&5
72343 sed 's/^/| /' conftest.$ac_ext >&5
72345 glibcxx_cv_func___builtin_fabsl_link=no
72347 rm -f conftest.err conftest.$ac_objext \
72348 conftest$ac_exeext conftest.$ac_ext
72353 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72354 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72356 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72358 cat >>confdefs.h <<\_ACEOF
72359 #define HAVE___BUILTIN_FABSL 1
72360 _ACEOF
72367 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72368 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72369 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72370 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72371 echo $ECHO_N "(cached) $ECHO_C" >&6
72372 else
72376 ac_ext=cc
72377 ac_cpp='$CXXCPP $CPPFLAGS'
72378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72382 cat >conftest.$ac_ext <<_ACEOF
72383 /* confdefs.h. */
72384 _ACEOF
72385 cat confdefs.h >>conftest.$ac_ext
72386 cat >>conftest.$ac_ext <<_ACEOF
72387 /* end confdefs.h. */
72388 #include <math.h>
72390 main ()
72392 __builtin_labs(0);
72394 return 0;
72396 _ACEOF
72397 rm -f conftest.$ac_objext
72398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72399 (eval $ac_compile) 2>conftest.er1
72400 ac_status=$?
72401 grep -v '^ *+' conftest.er1 >conftest.err
72402 rm -f conftest.er1
72403 cat conftest.err >&5
72404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72405 (exit $ac_status); } &&
72406 { ac_try='test -z "$ac_cxx_werror_flag"
72407 || test ! -s conftest.err'
72408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72409 (eval $ac_try) 2>&5
72410 ac_status=$?
72411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72412 (exit $ac_status); }; } &&
72413 { ac_try='test -s conftest.$ac_objext'
72414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72415 (eval $ac_try) 2>&5
72416 ac_status=$?
72417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72418 (exit $ac_status); }; }; then
72419 glibcxx_cv_func___builtin_labs_use=yes
72420 else
72421 echo "$as_me: failed program was:" >&5
72422 sed 's/^/| /' conftest.$ac_ext >&5
72424 glibcxx_cv_func___builtin_labs_use=no
72426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72427 ac_ext=c
72428 ac_cpp='$CPP $CPPFLAGS'
72429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72437 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72438 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72439 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72440 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72441 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72442 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72443 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72444 echo $ECHO_N "(cached) $ECHO_C" >&6
72445 else
72447 if test x$gcc_no_link = xyes; then
72448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72450 { (exit 1); exit 1; }; }
72452 cat >conftest.$ac_ext <<_ACEOF
72453 /* confdefs.h. */
72454 _ACEOF
72455 cat confdefs.h >>conftest.$ac_ext
72456 cat >>conftest.$ac_ext <<_ACEOF
72457 /* end confdefs.h. */
72458 #include <math.h>
72460 main ()
72462 __builtin_labs(0);
72464 return 0;
72466 _ACEOF
72467 rm -f conftest.$ac_objext conftest$ac_exeext
72468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72469 (eval $ac_link) 2>conftest.er1
72470 ac_status=$?
72471 grep -v '^ *+' conftest.er1 >conftest.err
72472 rm -f conftest.er1
72473 cat conftest.err >&5
72474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72475 (exit $ac_status); } &&
72476 { ac_try='test -z "$ac_c_werror_flag"
72477 || test ! -s conftest.err'
72478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72479 (eval $ac_try) 2>&5
72480 ac_status=$?
72481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72482 (exit $ac_status); }; } &&
72483 { ac_try='test -s conftest$ac_exeext'
72484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72485 (eval $ac_try) 2>&5
72486 ac_status=$?
72487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72488 (exit $ac_status); }; }; then
72489 glibcxx_cv_func___builtin_labs_link=yes
72490 else
72491 echo "$as_me: failed program was:" >&5
72492 sed 's/^/| /' conftest.$ac_ext >&5
72494 glibcxx_cv_func___builtin_labs_link=no
72496 rm -f conftest.err conftest.$ac_objext \
72497 conftest$ac_exeext conftest.$ac_ext
72502 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72503 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72505 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72507 cat >>confdefs.h <<\_ACEOF
72508 #define HAVE___BUILTIN_LABS 1
72509 _ACEOF
72517 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72518 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72519 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72520 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72521 echo $ECHO_N "(cached) $ECHO_C" >&6
72522 else
72526 ac_ext=cc
72527 ac_cpp='$CXXCPP $CPPFLAGS'
72528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72532 cat >conftest.$ac_ext <<_ACEOF
72533 /* confdefs.h. */
72534 _ACEOF
72535 cat confdefs.h >>conftest.$ac_ext
72536 cat >>conftest.$ac_ext <<_ACEOF
72537 /* end confdefs.h. */
72538 #include <math.h>
72540 main ()
72542 __builtin_sqrtf(0);
72544 return 0;
72546 _ACEOF
72547 rm -f conftest.$ac_objext
72548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72549 (eval $ac_compile) 2>conftest.er1
72550 ac_status=$?
72551 grep -v '^ *+' conftest.er1 >conftest.err
72552 rm -f conftest.er1
72553 cat conftest.err >&5
72554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72555 (exit $ac_status); } &&
72556 { ac_try='test -z "$ac_cxx_werror_flag"
72557 || test ! -s conftest.err'
72558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559 (eval $ac_try) 2>&5
72560 ac_status=$?
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); }; } &&
72563 { ac_try='test -s conftest.$ac_objext'
72564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72565 (eval $ac_try) 2>&5
72566 ac_status=$?
72567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72568 (exit $ac_status); }; }; then
72569 glibcxx_cv_func___builtin_sqrtf_use=yes
72570 else
72571 echo "$as_me: failed program was:" >&5
72572 sed 's/^/| /' conftest.$ac_ext >&5
72574 glibcxx_cv_func___builtin_sqrtf_use=no
72576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72577 ac_ext=c
72578 ac_cpp='$CPP $CPPFLAGS'
72579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72588 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72589 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72590 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72591 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72592 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72593 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72594 echo $ECHO_N "(cached) $ECHO_C" >&6
72595 else
72597 if test x$gcc_no_link = xyes; then
72598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72600 { (exit 1); exit 1; }; }
72602 cat >conftest.$ac_ext <<_ACEOF
72603 /* confdefs.h. */
72604 _ACEOF
72605 cat confdefs.h >>conftest.$ac_ext
72606 cat >>conftest.$ac_ext <<_ACEOF
72607 /* end confdefs.h. */
72608 #include <math.h>
72610 main ()
72612 __builtin_sqrtf(0);
72614 return 0;
72616 _ACEOF
72617 rm -f conftest.$ac_objext conftest$ac_exeext
72618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72619 (eval $ac_link) 2>conftest.er1
72620 ac_status=$?
72621 grep -v '^ *+' conftest.er1 >conftest.err
72622 rm -f conftest.er1
72623 cat conftest.err >&5
72624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72625 (exit $ac_status); } &&
72626 { ac_try='test -z "$ac_c_werror_flag"
72627 || test ! -s conftest.err'
72628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72629 (eval $ac_try) 2>&5
72630 ac_status=$?
72631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632 (exit $ac_status); }; } &&
72633 { ac_try='test -s conftest$ac_exeext'
72634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72635 (eval $ac_try) 2>&5
72636 ac_status=$?
72637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72638 (exit $ac_status); }; }; then
72639 glibcxx_cv_func___builtin_sqrtf_link=yes
72640 else
72641 echo "$as_me: failed program was:" >&5
72642 sed 's/^/| /' conftest.$ac_ext >&5
72644 glibcxx_cv_func___builtin_sqrtf_link=no
72646 rm -f conftest.err conftest.$ac_objext \
72647 conftest$ac_exeext conftest.$ac_ext
72652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72653 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72655 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72657 cat >>confdefs.h <<\_ACEOF
72658 #define HAVE___BUILTIN_SQRTF 1
72659 _ACEOF
72666 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72667 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72668 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72669 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72670 echo $ECHO_N "(cached) $ECHO_C" >&6
72671 else
72675 ac_ext=cc
72676 ac_cpp='$CXXCPP $CPPFLAGS'
72677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72681 cat >conftest.$ac_ext <<_ACEOF
72682 /* confdefs.h. */
72683 _ACEOF
72684 cat confdefs.h >>conftest.$ac_ext
72685 cat >>conftest.$ac_ext <<_ACEOF
72686 /* end confdefs.h. */
72687 #include <math.h>
72689 main ()
72691 __builtin_sqrt(0);
72693 return 0;
72695 _ACEOF
72696 rm -f conftest.$ac_objext
72697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72698 (eval $ac_compile) 2>conftest.er1
72699 ac_status=$?
72700 grep -v '^ *+' conftest.er1 >conftest.err
72701 rm -f conftest.er1
72702 cat conftest.err >&5
72703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72704 (exit $ac_status); } &&
72705 { ac_try='test -z "$ac_cxx_werror_flag"
72706 || test ! -s conftest.err'
72707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72708 (eval $ac_try) 2>&5
72709 ac_status=$?
72710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72711 (exit $ac_status); }; } &&
72712 { ac_try='test -s conftest.$ac_objext'
72713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72714 (eval $ac_try) 2>&5
72715 ac_status=$?
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); }; }; then
72718 glibcxx_cv_func___builtin_sqrt_use=yes
72719 else
72720 echo "$as_me: failed program was:" >&5
72721 sed 's/^/| /' conftest.$ac_ext >&5
72723 glibcxx_cv_func___builtin_sqrt_use=no
72725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72726 ac_ext=c
72727 ac_cpp='$CPP $CPPFLAGS'
72728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72737 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72738 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72739 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72740 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72741 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72742 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72743 echo $ECHO_N "(cached) $ECHO_C" >&6
72744 else
72746 if test x$gcc_no_link = xyes; then
72747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72749 { (exit 1); exit 1; }; }
72751 cat >conftest.$ac_ext <<_ACEOF
72752 /* confdefs.h. */
72753 _ACEOF
72754 cat confdefs.h >>conftest.$ac_ext
72755 cat >>conftest.$ac_ext <<_ACEOF
72756 /* end confdefs.h. */
72757 #include <math.h>
72759 main ()
72761 __builtin_sqrt(0);
72763 return 0;
72765 _ACEOF
72766 rm -f conftest.$ac_objext conftest$ac_exeext
72767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72768 (eval $ac_link) 2>conftest.er1
72769 ac_status=$?
72770 grep -v '^ *+' conftest.er1 >conftest.err
72771 rm -f conftest.er1
72772 cat conftest.err >&5
72773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774 (exit $ac_status); } &&
72775 { ac_try='test -z "$ac_c_werror_flag"
72776 || test ! -s conftest.err'
72777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778 (eval $ac_try) 2>&5
72779 ac_status=$?
72780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781 (exit $ac_status); }; } &&
72782 { ac_try='test -s conftest$ac_exeext'
72783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784 (eval $ac_try) 2>&5
72785 ac_status=$?
72786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787 (exit $ac_status); }; }; then
72788 glibcxx_cv_func___builtin_sqrt_link=yes
72789 else
72790 echo "$as_me: failed program was:" >&5
72791 sed 's/^/| /' conftest.$ac_ext >&5
72793 glibcxx_cv_func___builtin_sqrt_link=no
72795 rm -f conftest.err conftest.$ac_objext \
72796 conftest$ac_exeext conftest.$ac_ext
72801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72802 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72804 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72806 cat >>confdefs.h <<\_ACEOF
72807 #define HAVE___BUILTIN_SQRT 1
72808 _ACEOF
72815 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72816 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72817 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72818 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72819 echo $ECHO_N "(cached) $ECHO_C" >&6
72820 else
72824 ac_ext=cc
72825 ac_cpp='$CXXCPP $CPPFLAGS'
72826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72830 cat >conftest.$ac_ext <<_ACEOF
72831 /* confdefs.h. */
72832 _ACEOF
72833 cat confdefs.h >>conftest.$ac_ext
72834 cat >>conftest.$ac_ext <<_ACEOF
72835 /* end confdefs.h. */
72836 #include <math.h>
72838 main ()
72840 __builtin_sqrtl(0);
72842 return 0;
72844 _ACEOF
72845 rm -f conftest.$ac_objext
72846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72847 (eval $ac_compile) 2>conftest.er1
72848 ac_status=$?
72849 grep -v '^ *+' conftest.er1 >conftest.err
72850 rm -f conftest.er1
72851 cat conftest.err >&5
72852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72853 (exit $ac_status); } &&
72854 { ac_try='test -z "$ac_cxx_werror_flag"
72855 || test ! -s conftest.err'
72856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72857 (eval $ac_try) 2>&5
72858 ac_status=$?
72859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860 (exit $ac_status); }; } &&
72861 { ac_try='test -s conftest.$ac_objext'
72862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72863 (eval $ac_try) 2>&5
72864 ac_status=$?
72865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72866 (exit $ac_status); }; }; then
72867 glibcxx_cv_func___builtin_sqrtl_use=yes
72868 else
72869 echo "$as_me: failed program was:" >&5
72870 sed 's/^/| /' conftest.$ac_ext >&5
72872 glibcxx_cv_func___builtin_sqrtl_use=no
72874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72875 ac_ext=c
72876 ac_cpp='$CPP $CPPFLAGS'
72877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72885 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72886 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72887 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72888 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72889 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72890 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72891 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72892 echo $ECHO_N "(cached) $ECHO_C" >&6
72893 else
72895 if test x$gcc_no_link = xyes; then
72896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72898 { (exit 1); exit 1; }; }
72900 cat >conftest.$ac_ext <<_ACEOF
72901 /* confdefs.h. */
72902 _ACEOF
72903 cat confdefs.h >>conftest.$ac_ext
72904 cat >>conftest.$ac_ext <<_ACEOF
72905 /* end confdefs.h. */
72906 #include <math.h>
72908 main ()
72910 __builtin_sqrtl(0);
72912 return 0;
72914 _ACEOF
72915 rm -f conftest.$ac_objext conftest$ac_exeext
72916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72917 (eval $ac_link) 2>conftest.er1
72918 ac_status=$?
72919 grep -v '^ *+' conftest.er1 >conftest.err
72920 rm -f conftest.er1
72921 cat conftest.err >&5
72922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72923 (exit $ac_status); } &&
72924 { ac_try='test -z "$ac_c_werror_flag"
72925 || test ! -s conftest.err'
72926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72927 (eval $ac_try) 2>&5
72928 ac_status=$?
72929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72930 (exit $ac_status); }; } &&
72931 { ac_try='test -s conftest$ac_exeext'
72932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72933 (eval $ac_try) 2>&5
72934 ac_status=$?
72935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 (exit $ac_status); }; }; then
72937 glibcxx_cv_func___builtin_sqrtl_link=yes
72938 else
72939 echo "$as_me: failed program was:" >&5
72940 sed 's/^/| /' conftest.$ac_ext >&5
72942 glibcxx_cv_func___builtin_sqrtl_link=no
72944 rm -f conftest.err conftest.$ac_objext \
72945 conftest$ac_exeext conftest.$ac_ext
72950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72951 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72953 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72955 cat >>confdefs.h <<\_ACEOF
72956 #define HAVE___BUILTIN_SQRTL 1
72957 _ACEOF
72965 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72966 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72967 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72968 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72969 echo $ECHO_N "(cached) $ECHO_C" >&6
72970 else
72974 ac_ext=cc
72975 ac_cpp='$CXXCPP $CPPFLAGS'
72976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72980 cat >conftest.$ac_ext <<_ACEOF
72981 /* confdefs.h. */
72982 _ACEOF
72983 cat confdefs.h >>conftest.$ac_ext
72984 cat >>conftest.$ac_ext <<_ACEOF
72985 /* end confdefs.h. */
72986 #include <math.h>
72988 main ()
72990 __builtin_sinf(0);
72992 return 0;
72994 _ACEOF
72995 rm -f conftest.$ac_objext
72996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72997 (eval $ac_compile) 2>conftest.er1
72998 ac_status=$?
72999 grep -v '^ *+' conftest.er1 >conftest.err
73000 rm -f conftest.er1
73001 cat conftest.err >&5
73002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73003 (exit $ac_status); } &&
73004 { ac_try='test -z "$ac_cxx_werror_flag"
73005 || test ! -s conftest.err'
73006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73007 (eval $ac_try) 2>&5
73008 ac_status=$?
73009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73010 (exit $ac_status); }; } &&
73011 { ac_try='test -s conftest.$ac_objext'
73012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73013 (eval $ac_try) 2>&5
73014 ac_status=$?
73015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73016 (exit $ac_status); }; }; then
73017 glibcxx_cv_func___builtin_sinf_use=yes
73018 else
73019 echo "$as_me: failed program was:" >&5
73020 sed 's/^/| /' conftest.$ac_ext >&5
73022 glibcxx_cv_func___builtin_sinf_use=no
73024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73025 ac_ext=c
73026 ac_cpp='$CPP $CPPFLAGS'
73027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73036 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73037 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73038 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73039 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73040 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73041 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73042 echo $ECHO_N "(cached) $ECHO_C" >&6
73043 else
73045 if test x$gcc_no_link = xyes; then
73046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73048 { (exit 1); exit 1; }; }
73050 cat >conftest.$ac_ext <<_ACEOF
73051 /* confdefs.h. */
73052 _ACEOF
73053 cat confdefs.h >>conftest.$ac_ext
73054 cat >>conftest.$ac_ext <<_ACEOF
73055 /* end confdefs.h. */
73056 #include <math.h>
73058 main ()
73060 __builtin_sinf(0);
73062 return 0;
73064 _ACEOF
73065 rm -f conftest.$ac_objext conftest$ac_exeext
73066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73067 (eval $ac_link) 2>conftest.er1
73068 ac_status=$?
73069 grep -v '^ *+' conftest.er1 >conftest.err
73070 rm -f conftest.er1
73071 cat conftest.err >&5
73072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73073 (exit $ac_status); } &&
73074 { ac_try='test -z "$ac_c_werror_flag"
73075 || test ! -s conftest.err'
73076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73077 (eval $ac_try) 2>&5
73078 ac_status=$?
73079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73080 (exit $ac_status); }; } &&
73081 { ac_try='test -s conftest$ac_exeext'
73082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73083 (eval $ac_try) 2>&5
73084 ac_status=$?
73085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73086 (exit $ac_status); }; }; then
73087 glibcxx_cv_func___builtin_sinf_link=yes
73088 else
73089 echo "$as_me: failed program was:" >&5
73090 sed 's/^/| /' conftest.$ac_ext >&5
73092 glibcxx_cv_func___builtin_sinf_link=no
73094 rm -f conftest.err conftest.$ac_objext \
73095 conftest$ac_exeext conftest.$ac_ext
73100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73101 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73103 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73105 cat >>confdefs.h <<\_ACEOF
73106 #define HAVE___BUILTIN_SINF 1
73107 _ACEOF
73114 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73115 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73116 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73117 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73118 echo $ECHO_N "(cached) $ECHO_C" >&6
73119 else
73123 ac_ext=cc
73124 ac_cpp='$CXXCPP $CPPFLAGS'
73125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73129 cat >conftest.$ac_ext <<_ACEOF
73130 /* confdefs.h. */
73131 _ACEOF
73132 cat confdefs.h >>conftest.$ac_ext
73133 cat >>conftest.$ac_ext <<_ACEOF
73134 /* end confdefs.h. */
73135 #include <math.h>
73137 main ()
73139 __builtin_sin(0);
73141 return 0;
73143 _ACEOF
73144 rm -f conftest.$ac_objext
73145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73146 (eval $ac_compile) 2>conftest.er1
73147 ac_status=$?
73148 grep -v '^ *+' conftest.er1 >conftest.err
73149 rm -f conftest.er1
73150 cat conftest.err >&5
73151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152 (exit $ac_status); } &&
73153 { ac_try='test -z "$ac_cxx_werror_flag"
73154 || test ! -s conftest.err'
73155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156 (eval $ac_try) 2>&5
73157 ac_status=$?
73158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159 (exit $ac_status); }; } &&
73160 { ac_try='test -s conftest.$ac_objext'
73161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73162 (eval $ac_try) 2>&5
73163 ac_status=$?
73164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73165 (exit $ac_status); }; }; then
73166 glibcxx_cv_func___builtin_sin_use=yes
73167 else
73168 echo "$as_me: failed program was:" >&5
73169 sed 's/^/| /' conftest.$ac_ext >&5
73171 glibcxx_cv_func___builtin_sin_use=no
73173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73174 ac_ext=c
73175 ac_cpp='$CPP $CPPFLAGS'
73176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73184 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73185 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73186 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73187 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73188 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73189 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73190 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73191 echo $ECHO_N "(cached) $ECHO_C" >&6
73192 else
73194 if test x$gcc_no_link = xyes; then
73195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73197 { (exit 1); exit 1; }; }
73199 cat >conftest.$ac_ext <<_ACEOF
73200 /* confdefs.h. */
73201 _ACEOF
73202 cat confdefs.h >>conftest.$ac_ext
73203 cat >>conftest.$ac_ext <<_ACEOF
73204 /* end confdefs.h. */
73205 #include <math.h>
73207 main ()
73209 __builtin_sin(0);
73211 return 0;
73213 _ACEOF
73214 rm -f conftest.$ac_objext conftest$ac_exeext
73215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73216 (eval $ac_link) 2>conftest.er1
73217 ac_status=$?
73218 grep -v '^ *+' conftest.er1 >conftest.err
73219 rm -f conftest.er1
73220 cat conftest.err >&5
73221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73222 (exit $ac_status); } &&
73223 { ac_try='test -z "$ac_c_werror_flag"
73224 || test ! -s conftest.err'
73225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73226 (eval $ac_try) 2>&5
73227 ac_status=$?
73228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73229 (exit $ac_status); }; } &&
73230 { ac_try='test -s conftest$ac_exeext'
73231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73232 (eval $ac_try) 2>&5
73233 ac_status=$?
73234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73235 (exit $ac_status); }; }; then
73236 glibcxx_cv_func___builtin_sin_link=yes
73237 else
73238 echo "$as_me: failed program was:" >&5
73239 sed 's/^/| /' conftest.$ac_ext >&5
73241 glibcxx_cv_func___builtin_sin_link=no
73243 rm -f conftest.err conftest.$ac_objext \
73244 conftest$ac_exeext conftest.$ac_ext
73249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73250 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73252 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73254 cat >>confdefs.h <<\_ACEOF
73255 #define HAVE___BUILTIN_SIN 1
73256 _ACEOF
73263 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73264 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73265 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73266 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73267 echo $ECHO_N "(cached) $ECHO_C" >&6
73268 else
73272 ac_ext=cc
73273 ac_cpp='$CXXCPP $CPPFLAGS'
73274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73278 cat >conftest.$ac_ext <<_ACEOF
73279 /* confdefs.h. */
73280 _ACEOF
73281 cat confdefs.h >>conftest.$ac_ext
73282 cat >>conftest.$ac_ext <<_ACEOF
73283 /* end confdefs.h. */
73284 #include <math.h>
73286 main ()
73288 __builtin_sinl(0);
73290 return 0;
73292 _ACEOF
73293 rm -f conftest.$ac_objext
73294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73295 (eval $ac_compile) 2>conftest.er1
73296 ac_status=$?
73297 grep -v '^ *+' conftest.er1 >conftest.err
73298 rm -f conftest.er1
73299 cat conftest.err >&5
73300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73301 (exit $ac_status); } &&
73302 { ac_try='test -z "$ac_cxx_werror_flag"
73303 || test ! -s conftest.err'
73304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73305 (eval $ac_try) 2>&5
73306 ac_status=$?
73307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73308 (exit $ac_status); }; } &&
73309 { ac_try='test -s conftest.$ac_objext'
73310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73311 (eval $ac_try) 2>&5
73312 ac_status=$?
73313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73314 (exit $ac_status); }; }; then
73315 glibcxx_cv_func___builtin_sinl_use=yes
73316 else
73317 echo "$as_me: failed program was:" >&5
73318 sed 's/^/| /' conftest.$ac_ext >&5
73320 glibcxx_cv_func___builtin_sinl_use=no
73322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73323 ac_ext=c
73324 ac_cpp='$CPP $CPPFLAGS'
73325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73333 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73334 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73335 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73336 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73337 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73338 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73339 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73340 echo $ECHO_N "(cached) $ECHO_C" >&6
73341 else
73343 if test x$gcc_no_link = xyes; then
73344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73346 { (exit 1); exit 1; }; }
73348 cat >conftest.$ac_ext <<_ACEOF
73349 /* confdefs.h. */
73350 _ACEOF
73351 cat confdefs.h >>conftest.$ac_ext
73352 cat >>conftest.$ac_ext <<_ACEOF
73353 /* end confdefs.h. */
73354 #include <math.h>
73356 main ()
73358 __builtin_sinl(0);
73360 return 0;
73362 _ACEOF
73363 rm -f conftest.$ac_objext conftest$ac_exeext
73364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73365 (eval $ac_link) 2>conftest.er1
73366 ac_status=$?
73367 grep -v '^ *+' conftest.er1 >conftest.err
73368 rm -f conftest.er1
73369 cat conftest.err >&5
73370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73371 (exit $ac_status); } &&
73372 { ac_try='test -z "$ac_c_werror_flag"
73373 || test ! -s conftest.err'
73374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73375 (eval $ac_try) 2>&5
73376 ac_status=$?
73377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73378 (exit $ac_status); }; } &&
73379 { ac_try='test -s conftest$ac_exeext'
73380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73381 (eval $ac_try) 2>&5
73382 ac_status=$?
73383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73384 (exit $ac_status); }; }; then
73385 glibcxx_cv_func___builtin_sinl_link=yes
73386 else
73387 echo "$as_me: failed program was:" >&5
73388 sed 's/^/| /' conftest.$ac_ext >&5
73390 glibcxx_cv_func___builtin_sinl_link=no
73392 rm -f conftest.err conftest.$ac_objext \
73393 conftest$ac_exeext conftest.$ac_ext
73398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73401 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73403 cat >>confdefs.h <<\_ACEOF
73404 #define HAVE___BUILTIN_SINL 1
73405 _ACEOF
73413 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73414 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73415 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73416 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73417 echo $ECHO_N "(cached) $ECHO_C" >&6
73418 else
73422 ac_ext=cc
73423 ac_cpp='$CXXCPP $CPPFLAGS'
73424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73428 cat >conftest.$ac_ext <<_ACEOF
73429 /* confdefs.h. */
73430 _ACEOF
73431 cat confdefs.h >>conftest.$ac_ext
73432 cat >>conftest.$ac_ext <<_ACEOF
73433 /* end confdefs.h. */
73434 #include <math.h>
73436 main ()
73438 __builtin_cosf(0);
73440 return 0;
73442 _ACEOF
73443 rm -f conftest.$ac_objext
73444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73445 (eval $ac_compile) 2>conftest.er1
73446 ac_status=$?
73447 grep -v '^ *+' conftest.er1 >conftest.err
73448 rm -f conftest.er1
73449 cat conftest.err >&5
73450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73451 (exit $ac_status); } &&
73452 { ac_try='test -z "$ac_cxx_werror_flag"
73453 || test ! -s conftest.err'
73454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73455 (eval $ac_try) 2>&5
73456 ac_status=$?
73457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73458 (exit $ac_status); }; } &&
73459 { ac_try='test -s conftest.$ac_objext'
73460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73461 (eval $ac_try) 2>&5
73462 ac_status=$?
73463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73464 (exit $ac_status); }; }; then
73465 glibcxx_cv_func___builtin_cosf_use=yes
73466 else
73467 echo "$as_me: failed program was:" >&5
73468 sed 's/^/| /' conftest.$ac_ext >&5
73470 glibcxx_cv_func___builtin_cosf_use=no
73472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73473 ac_ext=c
73474 ac_cpp='$CPP $CPPFLAGS'
73475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73483 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73484 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73485 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73486 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73487 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73488 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73489 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73490 echo $ECHO_N "(cached) $ECHO_C" >&6
73491 else
73493 if test x$gcc_no_link = xyes; then
73494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73496 { (exit 1); exit 1; }; }
73498 cat >conftest.$ac_ext <<_ACEOF
73499 /* confdefs.h. */
73500 _ACEOF
73501 cat confdefs.h >>conftest.$ac_ext
73502 cat >>conftest.$ac_ext <<_ACEOF
73503 /* end confdefs.h. */
73504 #include <math.h>
73506 main ()
73508 __builtin_cosf(0);
73510 return 0;
73512 _ACEOF
73513 rm -f conftest.$ac_objext conftest$ac_exeext
73514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73515 (eval $ac_link) 2>conftest.er1
73516 ac_status=$?
73517 grep -v '^ *+' conftest.er1 >conftest.err
73518 rm -f conftest.er1
73519 cat conftest.err >&5
73520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73521 (exit $ac_status); } &&
73522 { ac_try='test -z "$ac_c_werror_flag"
73523 || test ! -s conftest.err'
73524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73525 (eval $ac_try) 2>&5
73526 ac_status=$?
73527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73528 (exit $ac_status); }; } &&
73529 { ac_try='test -s conftest$ac_exeext'
73530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73531 (eval $ac_try) 2>&5
73532 ac_status=$?
73533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73534 (exit $ac_status); }; }; then
73535 glibcxx_cv_func___builtin_cosf_link=yes
73536 else
73537 echo "$as_me: failed program was:" >&5
73538 sed 's/^/| /' conftest.$ac_ext >&5
73540 glibcxx_cv_func___builtin_cosf_link=no
73542 rm -f conftest.err conftest.$ac_objext \
73543 conftest$ac_exeext conftest.$ac_ext
73548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73549 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73551 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73553 cat >>confdefs.h <<\_ACEOF
73554 #define HAVE___BUILTIN_COSF 1
73555 _ACEOF
73562 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73563 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73564 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73565 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73566 echo $ECHO_N "(cached) $ECHO_C" >&6
73567 else
73571 ac_ext=cc
73572 ac_cpp='$CXXCPP $CPPFLAGS'
73573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73577 cat >conftest.$ac_ext <<_ACEOF
73578 /* confdefs.h. */
73579 _ACEOF
73580 cat confdefs.h >>conftest.$ac_ext
73581 cat >>conftest.$ac_ext <<_ACEOF
73582 /* end confdefs.h. */
73583 #include <math.h>
73585 main ()
73587 __builtin_cos(0);
73589 return 0;
73591 _ACEOF
73592 rm -f conftest.$ac_objext
73593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73594 (eval $ac_compile) 2>conftest.er1
73595 ac_status=$?
73596 grep -v '^ *+' conftest.er1 >conftest.err
73597 rm -f conftest.er1
73598 cat conftest.err >&5
73599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73600 (exit $ac_status); } &&
73601 { ac_try='test -z "$ac_cxx_werror_flag"
73602 || test ! -s conftest.err'
73603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73604 (eval $ac_try) 2>&5
73605 ac_status=$?
73606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73607 (exit $ac_status); }; } &&
73608 { ac_try='test -s conftest.$ac_objext'
73609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73610 (eval $ac_try) 2>&5
73611 ac_status=$?
73612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73613 (exit $ac_status); }; }; then
73614 glibcxx_cv_func___builtin_cos_use=yes
73615 else
73616 echo "$as_me: failed program was:" >&5
73617 sed 's/^/| /' conftest.$ac_ext >&5
73619 glibcxx_cv_func___builtin_cos_use=no
73621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73622 ac_ext=c
73623 ac_cpp='$CPP $CPPFLAGS'
73624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73633 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73634 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73635 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73636 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73637 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73638 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73639 echo $ECHO_N "(cached) $ECHO_C" >&6
73640 else
73642 if test x$gcc_no_link = xyes; then
73643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73645 { (exit 1); exit 1; }; }
73647 cat >conftest.$ac_ext <<_ACEOF
73648 /* confdefs.h. */
73649 _ACEOF
73650 cat confdefs.h >>conftest.$ac_ext
73651 cat >>conftest.$ac_ext <<_ACEOF
73652 /* end confdefs.h. */
73653 #include <math.h>
73655 main ()
73657 __builtin_cos(0);
73659 return 0;
73661 _ACEOF
73662 rm -f conftest.$ac_objext conftest$ac_exeext
73663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73664 (eval $ac_link) 2>conftest.er1
73665 ac_status=$?
73666 grep -v '^ *+' conftest.er1 >conftest.err
73667 rm -f conftest.er1
73668 cat conftest.err >&5
73669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670 (exit $ac_status); } &&
73671 { ac_try='test -z "$ac_c_werror_flag"
73672 || test ! -s conftest.err'
73673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73674 (eval $ac_try) 2>&5
73675 ac_status=$?
73676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73677 (exit $ac_status); }; } &&
73678 { ac_try='test -s conftest$ac_exeext'
73679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73680 (eval $ac_try) 2>&5
73681 ac_status=$?
73682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73683 (exit $ac_status); }; }; then
73684 glibcxx_cv_func___builtin_cos_link=yes
73685 else
73686 echo "$as_me: failed program was:" >&5
73687 sed 's/^/| /' conftest.$ac_ext >&5
73689 glibcxx_cv_func___builtin_cos_link=no
73691 rm -f conftest.err conftest.$ac_objext \
73692 conftest$ac_exeext conftest.$ac_ext
73697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73698 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73700 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73702 cat >>confdefs.h <<\_ACEOF
73703 #define HAVE___BUILTIN_COS 1
73704 _ACEOF
73711 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73712 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73713 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73714 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73715 echo $ECHO_N "(cached) $ECHO_C" >&6
73716 else
73720 ac_ext=cc
73721 ac_cpp='$CXXCPP $CPPFLAGS'
73722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73726 cat >conftest.$ac_ext <<_ACEOF
73727 /* confdefs.h. */
73728 _ACEOF
73729 cat confdefs.h >>conftest.$ac_ext
73730 cat >>conftest.$ac_ext <<_ACEOF
73731 /* end confdefs.h. */
73732 #include <math.h>
73734 main ()
73736 __builtin_cosl(0);
73738 return 0;
73740 _ACEOF
73741 rm -f conftest.$ac_objext
73742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73743 (eval $ac_compile) 2>conftest.er1
73744 ac_status=$?
73745 grep -v '^ *+' conftest.er1 >conftest.err
73746 rm -f conftest.er1
73747 cat conftest.err >&5
73748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73749 (exit $ac_status); } &&
73750 { ac_try='test -z "$ac_cxx_werror_flag"
73751 || test ! -s conftest.err'
73752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73753 (eval $ac_try) 2>&5
73754 ac_status=$?
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); }; } &&
73757 { ac_try='test -s conftest.$ac_objext'
73758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73759 (eval $ac_try) 2>&5
73760 ac_status=$?
73761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73762 (exit $ac_status); }; }; then
73763 glibcxx_cv_func___builtin_cosl_use=yes
73764 else
73765 echo "$as_me: failed program was:" >&5
73766 sed 's/^/| /' conftest.$ac_ext >&5
73768 glibcxx_cv_func___builtin_cosl_use=no
73770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73771 ac_ext=c
73772 ac_cpp='$CPP $CPPFLAGS'
73773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73782 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73783 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73784 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73785 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73786 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73787 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73788 echo $ECHO_N "(cached) $ECHO_C" >&6
73789 else
73791 if test x$gcc_no_link = xyes; then
73792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73794 { (exit 1); exit 1; }; }
73796 cat >conftest.$ac_ext <<_ACEOF
73797 /* confdefs.h. */
73798 _ACEOF
73799 cat confdefs.h >>conftest.$ac_ext
73800 cat >>conftest.$ac_ext <<_ACEOF
73801 /* end confdefs.h. */
73802 #include <math.h>
73804 main ()
73806 __builtin_cosl(0);
73808 return 0;
73810 _ACEOF
73811 rm -f conftest.$ac_objext conftest$ac_exeext
73812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73813 (eval $ac_link) 2>conftest.er1
73814 ac_status=$?
73815 grep -v '^ *+' conftest.er1 >conftest.err
73816 rm -f conftest.er1
73817 cat conftest.err >&5
73818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73819 (exit $ac_status); } &&
73820 { ac_try='test -z "$ac_c_werror_flag"
73821 || test ! -s conftest.err'
73822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73823 (eval $ac_try) 2>&5
73824 ac_status=$?
73825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826 (exit $ac_status); }; } &&
73827 { ac_try='test -s conftest$ac_exeext'
73828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73829 (eval $ac_try) 2>&5
73830 ac_status=$?
73831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73832 (exit $ac_status); }; }; then
73833 glibcxx_cv_func___builtin_cosl_link=yes
73834 else
73835 echo "$as_me: failed program was:" >&5
73836 sed 's/^/| /' conftest.$ac_ext >&5
73838 glibcxx_cv_func___builtin_cosl_link=no
73840 rm -f conftest.err conftest.$ac_objext \
73841 conftest$ac_exeext conftest.$ac_ext
73846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73847 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73849 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73851 cat >>confdefs.h <<\_ACEOF
73852 #define HAVE___BUILTIN_COSL 1
73853 _ACEOF
73862 echo "$as_me:$LINENO: checking for main in -lm" >&5
73863 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73864 if test "${ac_cv_lib_m_main+set}" = set; then
73865 echo $ECHO_N "(cached) $ECHO_C" >&6
73866 else
73867 ac_check_lib_save_LIBS=$LIBS
73868 LIBS="-lm $LIBS"
73869 if test x$gcc_no_link = xyes; then
73870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73872 { (exit 1); exit 1; }; }
73874 cat >conftest.$ac_ext <<_ACEOF
73875 /* confdefs.h. */
73876 _ACEOF
73877 cat confdefs.h >>conftest.$ac_ext
73878 cat >>conftest.$ac_ext <<_ACEOF
73879 /* end confdefs.h. */
73883 main ()
73885 main ();
73887 return 0;
73889 _ACEOF
73890 rm -f conftest.$ac_objext conftest$ac_exeext
73891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73892 (eval $ac_link) 2>conftest.er1
73893 ac_status=$?
73894 grep -v '^ *+' conftest.er1 >conftest.err
73895 rm -f conftest.er1
73896 cat conftest.err >&5
73897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73898 (exit $ac_status); } &&
73899 { ac_try='test -z "$ac_c_werror_flag"
73900 || test ! -s conftest.err'
73901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73902 (eval $ac_try) 2>&5
73903 ac_status=$?
73904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905 (exit $ac_status); }; } &&
73906 { ac_try='test -s conftest$ac_exeext'
73907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73908 (eval $ac_try) 2>&5
73909 ac_status=$?
73910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911 (exit $ac_status); }; }; then
73912 ac_cv_lib_m_main=yes
73913 else
73914 echo "$as_me: failed program was:" >&5
73915 sed 's/^/| /' conftest.$ac_ext >&5
73917 ac_cv_lib_m_main=no
73919 rm -f conftest.err conftest.$ac_objext \
73920 conftest$ac_exeext conftest.$ac_ext
73921 LIBS=$ac_check_lib_save_LIBS
73923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73924 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73925 if test $ac_cv_lib_m_main = yes; then
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE_LIBM 1
73928 _ACEOF
73930 LIBS="-lm $LIBS"
73935 for ac_func in copysignf
73937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73938 echo "$as_me:$LINENO: checking for $ac_func" >&5
73939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73940 if eval "test \"\${$as_ac_var+set}\" = set"; then
73941 echo $ECHO_N "(cached) $ECHO_C" >&6
73942 else
73943 if test x$gcc_no_link = xyes; then
73944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73946 { (exit 1); exit 1; }; }
73948 cat >conftest.$ac_ext <<_ACEOF
73949 /* confdefs.h. */
73950 _ACEOF
73951 cat confdefs.h >>conftest.$ac_ext
73952 cat >>conftest.$ac_ext <<_ACEOF
73953 /* end confdefs.h. */
73954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73956 #define $ac_func innocuous_$ac_func
73958 /* System header to define __stub macros and hopefully few prototypes,
73959 which can conflict with char $ac_func (); below.
73960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73961 <limits.h> exists even on freestanding compilers. */
73963 #ifdef __STDC__
73964 # include <limits.h>
73965 #else
73966 # include <assert.h>
73967 #endif
73969 #undef $ac_func
73971 /* Override any gcc2 internal prototype to avoid an error. */
73972 #ifdef __cplusplus
73973 extern "C"
73975 #endif
73976 /* We use char because int might match the return type of a gcc2
73977 builtin and then its argument prototype would still apply. */
73978 char $ac_func ();
73979 /* The GNU C library defines this for functions which it implements
73980 to always fail with ENOSYS. Some functions are actually named
73981 something starting with __ and the normal name is an alias. */
73982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73983 choke me
73984 #else
73985 char (*f) () = $ac_func;
73986 #endif
73987 #ifdef __cplusplus
73989 #endif
73992 main ()
73994 return f != $ac_func;
73996 return 0;
73998 _ACEOF
73999 rm -f conftest.$ac_objext conftest$ac_exeext
74000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74001 (eval $ac_link) 2>conftest.er1
74002 ac_status=$?
74003 grep -v '^ *+' conftest.er1 >conftest.err
74004 rm -f conftest.er1
74005 cat conftest.err >&5
74006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74007 (exit $ac_status); } &&
74008 { ac_try='test -z "$ac_c_werror_flag"
74009 || test ! -s conftest.err'
74010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74011 (eval $ac_try) 2>&5
74012 ac_status=$?
74013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014 (exit $ac_status); }; } &&
74015 { ac_try='test -s conftest$ac_exeext'
74016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74017 (eval $ac_try) 2>&5
74018 ac_status=$?
74019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74020 (exit $ac_status); }; }; then
74021 eval "$as_ac_var=yes"
74022 else
74023 echo "$as_me: failed program was:" >&5
74024 sed 's/^/| /' conftest.$ac_ext >&5
74026 eval "$as_ac_var=no"
74028 rm -f conftest.err conftest.$ac_objext \
74029 conftest$ac_exeext conftest.$ac_ext
74031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74033 if test `eval echo '${'$as_ac_var'}'` = yes; then
74034 cat >>confdefs.h <<_ACEOF
74035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74036 _ACEOF
74038 else
74039 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74041 done
74045 for ac_func in __signbit
74047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74048 echo "$as_me:$LINENO: checking for $ac_func" >&5
74049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74050 if eval "test \"\${$as_ac_var+set}\" = set"; then
74051 echo $ECHO_N "(cached) $ECHO_C" >&6
74052 else
74053 if test x$gcc_no_link = xyes; then
74054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74056 { (exit 1); exit 1; }; }
74058 cat >conftest.$ac_ext <<_ACEOF
74059 /* confdefs.h. */
74060 _ACEOF
74061 cat confdefs.h >>conftest.$ac_ext
74062 cat >>conftest.$ac_ext <<_ACEOF
74063 /* end confdefs.h. */
74064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74066 #define $ac_func innocuous_$ac_func
74068 /* System header to define __stub macros and hopefully few prototypes,
74069 which can conflict with char $ac_func (); below.
74070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74071 <limits.h> exists even on freestanding compilers. */
74073 #ifdef __STDC__
74074 # include <limits.h>
74075 #else
74076 # include <assert.h>
74077 #endif
74079 #undef $ac_func
74081 /* Override any gcc2 internal prototype to avoid an error. */
74082 #ifdef __cplusplus
74083 extern "C"
74085 #endif
74086 /* We use char because int might match the return type of a gcc2
74087 builtin and then its argument prototype would still apply. */
74088 char $ac_func ();
74089 /* The GNU C library defines this for functions which it implements
74090 to always fail with ENOSYS. Some functions are actually named
74091 something starting with __ and the normal name is an alias. */
74092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74093 choke me
74094 #else
74095 char (*f) () = $ac_func;
74096 #endif
74097 #ifdef __cplusplus
74099 #endif
74102 main ()
74104 return f != $ac_func;
74106 return 0;
74108 _ACEOF
74109 rm -f conftest.$ac_objext conftest$ac_exeext
74110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74111 (eval $ac_link) 2>conftest.er1
74112 ac_status=$?
74113 grep -v '^ *+' conftest.er1 >conftest.err
74114 rm -f conftest.er1
74115 cat conftest.err >&5
74116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74117 (exit $ac_status); } &&
74118 { ac_try='test -z "$ac_c_werror_flag"
74119 || test ! -s conftest.err'
74120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74121 (eval $ac_try) 2>&5
74122 ac_status=$?
74123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74124 (exit $ac_status); }; } &&
74125 { ac_try='test -s conftest$ac_exeext'
74126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74127 (eval $ac_try) 2>&5
74128 ac_status=$?
74129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74130 (exit $ac_status); }; }; then
74131 eval "$as_ac_var=yes"
74132 else
74133 echo "$as_me: failed program was:" >&5
74134 sed 's/^/| /' conftest.$ac_ext >&5
74136 eval "$as_ac_var=no"
74138 rm -f conftest.err conftest.$ac_objext \
74139 conftest$ac_exeext conftest.$ac_ext
74141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74143 if test `eval echo '${'$as_ac_var'}'` = yes; then
74144 cat >>confdefs.h <<_ACEOF
74145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74146 _ACEOF
74148 else
74149 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74151 done
74155 for ac_func in __signbitf
74157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74158 echo "$as_me:$LINENO: checking for $ac_func" >&5
74159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74160 if eval "test \"\${$as_ac_var+set}\" = set"; then
74161 echo $ECHO_N "(cached) $ECHO_C" >&6
74162 else
74163 if test x$gcc_no_link = xyes; then
74164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74166 { (exit 1); exit 1; }; }
74168 cat >conftest.$ac_ext <<_ACEOF
74169 /* confdefs.h. */
74170 _ACEOF
74171 cat confdefs.h >>conftest.$ac_ext
74172 cat >>conftest.$ac_ext <<_ACEOF
74173 /* end confdefs.h. */
74174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74176 #define $ac_func innocuous_$ac_func
74178 /* System header to define __stub macros and hopefully few prototypes,
74179 which can conflict with char $ac_func (); below.
74180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74181 <limits.h> exists even on freestanding compilers. */
74183 #ifdef __STDC__
74184 # include <limits.h>
74185 #else
74186 # include <assert.h>
74187 #endif
74189 #undef $ac_func
74191 /* Override any gcc2 internal prototype to avoid an error. */
74192 #ifdef __cplusplus
74193 extern "C"
74195 #endif
74196 /* We use char because int might match the return type of a gcc2
74197 builtin and then its argument prototype would still apply. */
74198 char $ac_func ();
74199 /* The GNU C library defines this for functions which it implements
74200 to always fail with ENOSYS. Some functions are actually named
74201 something starting with __ and the normal name is an alias. */
74202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74203 choke me
74204 #else
74205 char (*f) () = $ac_func;
74206 #endif
74207 #ifdef __cplusplus
74209 #endif
74212 main ()
74214 return f != $ac_func;
74216 return 0;
74218 _ACEOF
74219 rm -f conftest.$ac_objext conftest$ac_exeext
74220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74221 (eval $ac_link) 2>conftest.er1
74222 ac_status=$?
74223 grep -v '^ *+' conftest.er1 >conftest.err
74224 rm -f conftest.er1
74225 cat conftest.err >&5
74226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74227 (exit $ac_status); } &&
74228 { ac_try='test -z "$ac_c_werror_flag"
74229 || test ! -s conftest.err'
74230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74231 (eval $ac_try) 2>&5
74232 ac_status=$?
74233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74234 (exit $ac_status); }; } &&
74235 { ac_try='test -s conftest$ac_exeext'
74236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74237 (eval $ac_try) 2>&5
74238 ac_status=$?
74239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74240 (exit $ac_status); }; }; then
74241 eval "$as_ac_var=yes"
74242 else
74243 echo "$as_me: failed program was:" >&5
74244 sed 's/^/| /' conftest.$ac_ext >&5
74246 eval "$as_ac_var=no"
74248 rm -f conftest.err conftest.$ac_objext \
74249 conftest$ac_exeext conftest.$ac_ext
74251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74253 if test `eval echo '${'$as_ac_var'}'` = yes; then
74254 cat >>confdefs.h <<_ACEOF
74255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74256 _ACEOF
74258 else
74259 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74261 done
74264 if test x$ac_cv_func_copysignl = x"yes"; then
74266 for ac_func in __signbitl
74268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74269 echo "$as_me:$LINENO: checking for $ac_func" >&5
74270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74271 if eval "test \"\${$as_ac_var+set}\" = set"; then
74272 echo $ECHO_N "(cached) $ECHO_C" >&6
74273 else
74274 if test x$gcc_no_link = xyes; then
74275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74277 { (exit 1); exit 1; }; }
74279 cat >conftest.$ac_ext <<_ACEOF
74280 /* confdefs.h. */
74281 _ACEOF
74282 cat confdefs.h >>conftest.$ac_ext
74283 cat >>conftest.$ac_ext <<_ACEOF
74284 /* end confdefs.h. */
74285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74287 #define $ac_func innocuous_$ac_func
74289 /* System header to define __stub macros and hopefully few prototypes,
74290 which can conflict with char $ac_func (); below.
74291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74292 <limits.h> exists even on freestanding compilers. */
74294 #ifdef __STDC__
74295 # include <limits.h>
74296 #else
74297 # include <assert.h>
74298 #endif
74300 #undef $ac_func
74302 /* Override any gcc2 internal prototype to avoid an error. */
74303 #ifdef __cplusplus
74304 extern "C"
74306 #endif
74307 /* We use char because int might match the return type of a gcc2
74308 builtin and then its argument prototype would still apply. */
74309 char $ac_func ();
74310 /* The GNU C library defines this for functions which it implements
74311 to always fail with ENOSYS. Some functions are actually named
74312 something starting with __ and the normal name is an alias. */
74313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74314 choke me
74315 #else
74316 char (*f) () = $ac_func;
74317 #endif
74318 #ifdef __cplusplus
74320 #endif
74323 main ()
74325 return f != $ac_func;
74327 return 0;
74329 _ACEOF
74330 rm -f conftest.$ac_objext conftest$ac_exeext
74331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74332 (eval $ac_link) 2>conftest.er1
74333 ac_status=$?
74334 grep -v '^ *+' conftest.er1 >conftest.err
74335 rm -f conftest.er1
74336 cat conftest.err >&5
74337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74338 (exit $ac_status); } &&
74339 { ac_try='test -z "$ac_c_werror_flag"
74340 || test ! -s conftest.err'
74341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74342 (eval $ac_try) 2>&5
74343 ac_status=$?
74344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345 (exit $ac_status); }; } &&
74346 { ac_try='test -s conftest$ac_exeext'
74347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74348 (eval $ac_try) 2>&5
74349 ac_status=$?
74350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74351 (exit $ac_status); }; }; then
74352 eval "$as_ac_var=yes"
74353 else
74354 echo "$as_me: failed program was:" >&5
74355 sed 's/^/| /' conftest.$ac_ext >&5
74357 eval "$as_ac_var=no"
74359 rm -f conftest.err conftest.$ac_objext \
74360 conftest$ac_exeext conftest.$ac_ext
74362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74364 if test `eval echo '${'$as_ac_var'}'` = yes; then
74365 cat >>confdefs.h <<_ACEOF
74366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74367 _ACEOF
74369 else
74370 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74372 done
74376 # Used in libmath/Makefile.am.
74377 if test -n "$LIBMATHOBJS"; then
74378 need_libmath=yes
74384 enable_iconv=no
74385 # Only continue checking if the ISO C99 headers exist and support is on.
74386 if test x"$enable_wchar_t" = xyes; then
74388 # Use iconv for wchar_t to char conversions. As such, check for
74389 # X/Open Portability Guide, version 2 features (XPG2).
74390 if test "${ac_cv_header_iconv_h+set}" = set; then
74391 echo "$as_me:$LINENO: checking for iconv.h" >&5
74392 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74393 if test "${ac_cv_header_iconv_h+set}" = set; then
74394 echo $ECHO_N "(cached) $ECHO_C" >&6
74396 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74397 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74398 else
74399 # Is the header compilable?
74400 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74401 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74402 cat >conftest.$ac_ext <<_ACEOF
74403 /* confdefs.h. */
74404 _ACEOF
74405 cat confdefs.h >>conftest.$ac_ext
74406 cat >>conftest.$ac_ext <<_ACEOF
74407 /* end confdefs.h. */
74408 $ac_includes_default
74409 #include <iconv.h>
74410 _ACEOF
74411 rm -f conftest.$ac_objext
74412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74413 (eval $ac_compile) 2>conftest.er1
74414 ac_status=$?
74415 grep -v '^ *+' conftest.er1 >conftest.err
74416 rm -f conftest.er1
74417 cat conftest.err >&5
74418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74419 (exit $ac_status); } &&
74420 { ac_try='test -z "$ac_c_werror_flag"
74421 || test ! -s conftest.err'
74422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74423 (eval $ac_try) 2>&5
74424 ac_status=$?
74425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74426 (exit $ac_status); }; } &&
74427 { ac_try='test -s conftest.$ac_objext'
74428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74429 (eval $ac_try) 2>&5
74430 ac_status=$?
74431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74432 (exit $ac_status); }; }; then
74433 ac_header_compiler=yes
74434 else
74435 echo "$as_me: failed program was:" >&5
74436 sed 's/^/| /' conftest.$ac_ext >&5
74438 ac_header_compiler=no
74440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74442 echo "${ECHO_T}$ac_header_compiler" >&6
74444 # Is the header present?
74445 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74446 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74447 cat >conftest.$ac_ext <<_ACEOF
74448 /* confdefs.h. */
74449 _ACEOF
74450 cat confdefs.h >>conftest.$ac_ext
74451 cat >>conftest.$ac_ext <<_ACEOF
74452 /* end confdefs.h. */
74453 #include <iconv.h>
74454 _ACEOF
74455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74457 ac_status=$?
74458 grep -v '^ *+' conftest.er1 >conftest.err
74459 rm -f conftest.er1
74460 cat conftest.err >&5
74461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74462 (exit $ac_status); } >/dev/null; then
74463 if test -s conftest.err; then
74464 ac_cpp_err=$ac_c_preproc_warn_flag
74465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74466 else
74467 ac_cpp_err=
74469 else
74470 ac_cpp_err=yes
74472 if test -z "$ac_cpp_err"; then
74473 ac_header_preproc=yes
74474 else
74475 echo "$as_me: failed program was:" >&5
74476 sed 's/^/| /' conftest.$ac_ext >&5
74478 ac_header_preproc=no
74480 rm -f conftest.err conftest.$ac_ext
74481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74482 echo "${ECHO_T}$ac_header_preproc" >&6
74484 # So? What about this header?
74485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74486 yes:no: )
74487 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74488 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74489 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74490 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74491 ac_header_preproc=yes
74493 no:yes:* )
74494 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74495 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74496 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74497 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74498 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74499 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74500 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74501 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74502 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74503 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74504 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74505 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74507 cat <<\_ASBOX
74508 ## ----------------------------------------- ##
74509 ## Report this to the package-unused lists. ##
74510 ## ----------------------------------------- ##
74511 _ASBOX
74513 sed "s/^/$as_me: WARNING: /" >&2
74515 esac
74516 echo "$as_me:$LINENO: checking for iconv.h" >&5
74517 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74518 if test "${ac_cv_header_iconv_h+set}" = set; then
74519 echo $ECHO_N "(cached) $ECHO_C" >&6
74520 else
74521 ac_cv_header_iconv_h=$ac_header_preproc
74523 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74524 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74527 if test $ac_cv_header_iconv_h = yes; then
74528 ac_has_iconv_h=yes
74529 else
74530 ac_has_iconv_h=no
74534 if test "${ac_cv_header_langinfo_h+set}" = set; then
74535 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74536 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74537 if test "${ac_cv_header_langinfo_h+set}" = set; then
74538 echo $ECHO_N "(cached) $ECHO_C" >&6
74540 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74541 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74542 else
74543 # Is the header compilable?
74544 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74545 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74546 cat >conftest.$ac_ext <<_ACEOF
74547 /* confdefs.h. */
74548 _ACEOF
74549 cat confdefs.h >>conftest.$ac_ext
74550 cat >>conftest.$ac_ext <<_ACEOF
74551 /* end confdefs.h. */
74552 $ac_includes_default
74553 #include <langinfo.h>
74554 _ACEOF
74555 rm -f conftest.$ac_objext
74556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74557 (eval $ac_compile) 2>conftest.er1
74558 ac_status=$?
74559 grep -v '^ *+' conftest.er1 >conftest.err
74560 rm -f conftest.er1
74561 cat conftest.err >&5
74562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74563 (exit $ac_status); } &&
74564 { ac_try='test -z "$ac_c_werror_flag"
74565 || test ! -s conftest.err'
74566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74567 (eval $ac_try) 2>&5
74568 ac_status=$?
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); }; } &&
74571 { ac_try='test -s conftest.$ac_objext'
74572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74573 (eval $ac_try) 2>&5
74574 ac_status=$?
74575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74576 (exit $ac_status); }; }; then
74577 ac_header_compiler=yes
74578 else
74579 echo "$as_me: failed program was:" >&5
74580 sed 's/^/| /' conftest.$ac_ext >&5
74582 ac_header_compiler=no
74584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74586 echo "${ECHO_T}$ac_header_compiler" >&6
74588 # Is the header present?
74589 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74590 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74591 cat >conftest.$ac_ext <<_ACEOF
74592 /* confdefs.h. */
74593 _ACEOF
74594 cat confdefs.h >>conftest.$ac_ext
74595 cat >>conftest.$ac_ext <<_ACEOF
74596 /* end confdefs.h. */
74597 #include <langinfo.h>
74598 _ACEOF
74599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74601 ac_status=$?
74602 grep -v '^ *+' conftest.er1 >conftest.err
74603 rm -f conftest.er1
74604 cat conftest.err >&5
74605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74606 (exit $ac_status); } >/dev/null; then
74607 if test -s conftest.err; then
74608 ac_cpp_err=$ac_c_preproc_warn_flag
74609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74610 else
74611 ac_cpp_err=
74613 else
74614 ac_cpp_err=yes
74616 if test -z "$ac_cpp_err"; then
74617 ac_header_preproc=yes
74618 else
74619 echo "$as_me: failed program was:" >&5
74620 sed 's/^/| /' conftest.$ac_ext >&5
74622 ac_header_preproc=no
74624 rm -f conftest.err conftest.$ac_ext
74625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74626 echo "${ECHO_T}$ac_header_preproc" >&6
74628 # So? What about this header?
74629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74630 yes:no: )
74631 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74632 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74633 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74634 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74635 ac_header_preproc=yes
74637 no:yes:* )
74638 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74639 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74640 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74641 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74642 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74643 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74644 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74645 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74646 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74647 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74648 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74649 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74651 cat <<\_ASBOX
74652 ## ----------------------------------------- ##
74653 ## Report this to the package-unused lists. ##
74654 ## ----------------------------------------- ##
74655 _ASBOX
74657 sed "s/^/$as_me: WARNING: /" >&2
74659 esac
74660 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74661 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74662 if test "${ac_cv_header_langinfo_h+set}" = set; then
74663 echo $ECHO_N "(cached) $ECHO_C" >&6
74664 else
74665 ac_cv_header_langinfo_h=$ac_header_preproc
74667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74671 if test $ac_cv_header_langinfo_h = yes; then
74672 ac_has_langinfo_h=yes
74673 else
74674 ac_has_langinfo_h=no
74679 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74680 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74681 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74682 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74683 echo $ECHO_N "(cached) $ECHO_C" >&6
74684 else
74685 ac_check_lib_save_LIBS=$LIBS
74686 LIBS="-liconv $LIBS"
74687 if test x$gcc_no_link = xyes; then
74688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74690 { (exit 1); exit 1; }; }
74692 cat >conftest.$ac_ext <<_ACEOF
74693 /* confdefs.h. */
74694 _ACEOF
74695 cat confdefs.h >>conftest.$ac_ext
74696 cat >>conftest.$ac_ext <<_ACEOF
74697 /* end confdefs.h. */
74699 /* Override any gcc2 internal prototype to avoid an error. */
74700 #ifdef __cplusplus
74701 extern "C"
74702 #endif
74703 /* We use char because int might match the return type of a gcc2
74704 builtin and then its argument prototype would still apply. */
74705 char iconv ();
74707 main ()
74709 iconv ();
74711 return 0;
74713 _ACEOF
74714 rm -f conftest.$ac_objext conftest$ac_exeext
74715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74716 (eval $ac_link) 2>conftest.er1
74717 ac_status=$?
74718 grep -v '^ *+' conftest.er1 >conftest.err
74719 rm -f conftest.er1
74720 cat conftest.err >&5
74721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74722 (exit $ac_status); } &&
74723 { ac_try='test -z "$ac_c_werror_flag"
74724 || test ! -s conftest.err'
74725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74726 (eval $ac_try) 2>&5
74727 ac_status=$?
74728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74729 (exit $ac_status); }; } &&
74730 { ac_try='test -s conftest$ac_exeext'
74731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74732 (eval $ac_try) 2>&5
74733 ac_status=$?
74734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74735 (exit $ac_status); }; }; then
74736 ac_cv_lib_iconv_iconv=yes
74737 else
74738 echo "$as_me: failed program was:" >&5
74739 sed 's/^/| /' conftest.$ac_ext >&5
74741 ac_cv_lib_iconv_iconv=no
74743 rm -f conftest.err conftest.$ac_objext \
74744 conftest$ac_exeext conftest.$ac_ext
74745 LIBS=$ac_check_lib_save_LIBS
74747 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74748 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74749 if test $ac_cv_lib_iconv_iconv = yes; then
74750 LIBICONV="-liconv"
74753 ac_save_LIBS="$LIBS"
74754 LIBS="$LIBS $LIBICONV"
74761 for ac_func in iconv_open iconv_close iconv nl_langinfo
74763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74764 echo "$as_me:$LINENO: checking for $ac_func" >&5
74765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74766 if eval "test \"\${$as_ac_var+set}\" = set"; then
74767 echo $ECHO_N "(cached) $ECHO_C" >&6
74768 else
74769 if test x$gcc_no_link = xyes; then
74770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74772 { (exit 1); exit 1; }; }
74774 cat >conftest.$ac_ext <<_ACEOF
74775 /* confdefs.h. */
74776 _ACEOF
74777 cat confdefs.h >>conftest.$ac_ext
74778 cat >>conftest.$ac_ext <<_ACEOF
74779 /* end confdefs.h. */
74780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74782 #define $ac_func innocuous_$ac_func
74784 /* System header to define __stub macros and hopefully few prototypes,
74785 which can conflict with char $ac_func (); below.
74786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74787 <limits.h> exists even on freestanding compilers. */
74789 #ifdef __STDC__
74790 # include <limits.h>
74791 #else
74792 # include <assert.h>
74793 #endif
74795 #undef $ac_func
74797 /* Override any gcc2 internal prototype to avoid an error. */
74798 #ifdef __cplusplus
74799 extern "C"
74801 #endif
74802 /* We use char because int might match the return type of a gcc2
74803 builtin and then its argument prototype would still apply. */
74804 char $ac_func ();
74805 /* The GNU C library defines this for functions which it implements
74806 to always fail with ENOSYS. Some functions are actually named
74807 something starting with __ and the normal name is an alias. */
74808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74809 choke me
74810 #else
74811 char (*f) () = $ac_func;
74812 #endif
74813 #ifdef __cplusplus
74815 #endif
74818 main ()
74820 return f != $ac_func;
74822 return 0;
74824 _ACEOF
74825 rm -f conftest.$ac_objext conftest$ac_exeext
74826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74827 (eval $ac_link) 2>conftest.er1
74828 ac_status=$?
74829 grep -v '^ *+' conftest.er1 >conftest.err
74830 rm -f conftest.er1
74831 cat conftest.err >&5
74832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74833 (exit $ac_status); } &&
74834 { ac_try='test -z "$ac_c_werror_flag"
74835 || test ! -s conftest.err'
74836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74837 (eval $ac_try) 2>&5
74838 ac_status=$?
74839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840 (exit $ac_status); }; } &&
74841 { ac_try='test -s conftest$ac_exeext'
74842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74843 (eval $ac_try) 2>&5
74844 ac_status=$?
74845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74846 (exit $ac_status); }; }; then
74847 eval "$as_ac_var=yes"
74848 else
74849 echo "$as_me: failed program was:" >&5
74850 sed 's/^/| /' conftest.$ac_ext >&5
74852 eval "$as_ac_var=no"
74854 rm -f conftest.err conftest.$ac_objext \
74855 conftest$ac_exeext conftest.$ac_ext
74857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74859 if test `eval echo '${'$as_ac_var'}'` = yes; then
74860 cat >>confdefs.h <<_ACEOF
74861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74862 _ACEOF
74863 ac_XPG2funcs=yes
74864 else
74865 ac_XPG2funcs=no
74867 done
74870 LIBS="$ac_save_LIBS"
74872 if test x"$ac_has_iconv_h" = xyes &&
74873 test x"$ac_has_langinfo_h" = xyes &&
74874 test x"$ac_XPG2funcs" = xyes;
74875 then
74877 cat >>confdefs.h <<\_ACEOF
74878 #define _GLIBCXX_USE_ICONV 1
74879 _ACEOF
74881 enable_iconv=yes
74884 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74885 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74886 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74887 echo "${ECHO_T}$enable_iconv" >&6
74890 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74891 ac_save_CXXFLAGS="$CXXFLAGS"
74892 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74895 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74896 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74897 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74898 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74899 echo $ECHO_N "(cached) $ECHO_C" >&6
74900 else
74904 ac_ext=cc
74905 ac_cpp='$CXXCPP $CPPFLAGS'
74906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74910 cat >conftest.$ac_ext <<_ACEOF
74911 /* confdefs.h. */
74912 _ACEOF
74913 cat confdefs.h >>conftest.$ac_ext
74914 cat >>conftest.$ac_ext <<_ACEOF
74915 /* end confdefs.h. */
74916 #include <stdlib.h>
74918 main ()
74920 strtold(0, 0);
74922 return 0;
74924 _ACEOF
74925 rm -f conftest.$ac_objext
74926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74927 (eval $ac_compile) 2>conftest.er1
74928 ac_status=$?
74929 grep -v '^ *+' conftest.er1 >conftest.err
74930 rm -f conftest.er1
74931 cat conftest.err >&5
74932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74933 (exit $ac_status); } &&
74934 { ac_try='test -z "$ac_cxx_werror_flag"
74935 || test ! -s conftest.err'
74936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74937 (eval $ac_try) 2>&5
74938 ac_status=$?
74939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74940 (exit $ac_status); }; } &&
74941 { ac_try='test -s conftest.$ac_objext'
74942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74943 (eval $ac_try) 2>&5
74944 ac_status=$?
74945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74946 (exit $ac_status); }; }; then
74947 glibcxx_cv_func_strtold_use=yes
74948 else
74949 echo "$as_me: failed program was:" >&5
74950 sed 's/^/| /' conftest.$ac_ext >&5
74952 glibcxx_cv_func_strtold_use=no
74954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74955 ac_ext=c
74956 ac_cpp='$CPP $CPPFLAGS'
74957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74966 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74967 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74969 for ac_func in strtold
74971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74972 echo "$as_me:$LINENO: checking for $ac_func" >&5
74973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74974 if eval "test \"\${$as_ac_var+set}\" = set"; then
74975 echo $ECHO_N "(cached) $ECHO_C" >&6
74976 else
74977 if test x$gcc_no_link = xyes; then
74978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74980 { (exit 1); exit 1; }; }
74982 cat >conftest.$ac_ext <<_ACEOF
74983 /* confdefs.h. */
74984 _ACEOF
74985 cat confdefs.h >>conftest.$ac_ext
74986 cat >>conftest.$ac_ext <<_ACEOF
74987 /* end confdefs.h. */
74988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74990 #define $ac_func innocuous_$ac_func
74992 /* System header to define __stub macros and hopefully few prototypes,
74993 which can conflict with char $ac_func (); below.
74994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74995 <limits.h> exists even on freestanding compilers. */
74997 #ifdef __STDC__
74998 # include <limits.h>
74999 #else
75000 # include <assert.h>
75001 #endif
75003 #undef $ac_func
75005 /* Override any gcc2 internal prototype to avoid an error. */
75006 #ifdef __cplusplus
75007 extern "C"
75009 #endif
75010 /* We use char because int might match the return type of a gcc2
75011 builtin and then its argument prototype would still apply. */
75012 char $ac_func ();
75013 /* The GNU C library defines this for functions which it implements
75014 to always fail with ENOSYS. Some functions are actually named
75015 something starting with __ and the normal name is an alias. */
75016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75017 choke me
75018 #else
75019 char (*f) () = $ac_func;
75020 #endif
75021 #ifdef __cplusplus
75023 #endif
75026 main ()
75028 return f != $ac_func;
75030 return 0;
75032 _ACEOF
75033 rm -f conftest.$ac_objext conftest$ac_exeext
75034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75035 (eval $ac_link) 2>conftest.er1
75036 ac_status=$?
75037 grep -v '^ *+' conftest.er1 >conftest.err
75038 rm -f conftest.er1
75039 cat conftest.err >&5
75040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75041 (exit $ac_status); } &&
75042 { ac_try='test -z "$ac_c_werror_flag"
75043 || test ! -s conftest.err'
75044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75045 (eval $ac_try) 2>&5
75046 ac_status=$?
75047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75048 (exit $ac_status); }; } &&
75049 { ac_try='test -s conftest$ac_exeext'
75050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75051 (eval $ac_try) 2>&5
75052 ac_status=$?
75053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75054 (exit $ac_status); }; }; then
75055 eval "$as_ac_var=yes"
75056 else
75057 echo "$as_me: failed program was:" >&5
75058 sed 's/^/| /' conftest.$ac_ext >&5
75060 eval "$as_ac_var=no"
75062 rm -f conftest.err conftest.$ac_objext \
75063 conftest$ac_exeext conftest.$ac_ext
75065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75067 if test `eval echo '${'$as_ac_var'}'` = yes; then
75068 cat >>confdefs.h <<_ACEOF
75069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75070 _ACEOF
75073 done
75081 echo "$as_me:$LINENO: checking for strtof declaration" >&5
75082 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75083 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75084 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75085 echo $ECHO_N "(cached) $ECHO_C" >&6
75086 else
75090 ac_ext=cc
75091 ac_cpp='$CXXCPP $CPPFLAGS'
75092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75096 cat >conftest.$ac_ext <<_ACEOF
75097 /* confdefs.h. */
75098 _ACEOF
75099 cat confdefs.h >>conftest.$ac_ext
75100 cat >>conftest.$ac_ext <<_ACEOF
75101 /* end confdefs.h. */
75102 #include <stdlib.h>
75104 main ()
75106 strtof(0, 0);
75108 return 0;
75110 _ACEOF
75111 rm -f conftest.$ac_objext
75112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75113 (eval $ac_compile) 2>conftest.er1
75114 ac_status=$?
75115 grep -v '^ *+' conftest.er1 >conftest.err
75116 rm -f conftest.er1
75117 cat conftest.err >&5
75118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119 (exit $ac_status); } &&
75120 { ac_try='test -z "$ac_cxx_werror_flag"
75121 || test ! -s conftest.err'
75122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75123 (eval $ac_try) 2>&5
75124 ac_status=$?
75125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75126 (exit $ac_status); }; } &&
75127 { ac_try='test -s conftest.$ac_objext'
75128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75129 (eval $ac_try) 2>&5
75130 ac_status=$?
75131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75132 (exit $ac_status); }; }; then
75133 glibcxx_cv_func_strtof_use=yes
75134 else
75135 echo "$as_me: failed program was:" >&5
75136 sed 's/^/| /' conftest.$ac_ext >&5
75138 glibcxx_cv_func_strtof_use=no
75140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75141 ac_ext=c
75142 ac_cpp='$CPP $CPPFLAGS'
75143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75152 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75153 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75155 for ac_func in strtof
75157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75158 echo "$as_me:$LINENO: checking for $ac_func" >&5
75159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75160 if eval "test \"\${$as_ac_var+set}\" = set"; then
75161 echo $ECHO_N "(cached) $ECHO_C" >&6
75162 else
75163 if test x$gcc_no_link = xyes; then
75164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75166 { (exit 1); exit 1; }; }
75168 cat >conftest.$ac_ext <<_ACEOF
75169 /* confdefs.h. */
75170 _ACEOF
75171 cat confdefs.h >>conftest.$ac_ext
75172 cat >>conftest.$ac_ext <<_ACEOF
75173 /* end confdefs.h. */
75174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75176 #define $ac_func innocuous_$ac_func
75178 /* System header to define __stub macros and hopefully few prototypes,
75179 which can conflict with char $ac_func (); below.
75180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75181 <limits.h> exists even on freestanding compilers. */
75183 #ifdef __STDC__
75184 # include <limits.h>
75185 #else
75186 # include <assert.h>
75187 #endif
75189 #undef $ac_func
75191 /* Override any gcc2 internal prototype to avoid an error. */
75192 #ifdef __cplusplus
75193 extern "C"
75195 #endif
75196 /* We use char because int might match the return type of a gcc2
75197 builtin and then its argument prototype would still apply. */
75198 char $ac_func ();
75199 /* The GNU C library defines this for functions which it implements
75200 to always fail with ENOSYS. Some functions are actually named
75201 something starting with __ and the normal name is an alias. */
75202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75203 choke me
75204 #else
75205 char (*f) () = $ac_func;
75206 #endif
75207 #ifdef __cplusplus
75209 #endif
75212 main ()
75214 return f != $ac_func;
75216 return 0;
75218 _ACEOF
75219 rm -f conftest.$ac_objext conftest$ac_exeext
75220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75221 (eval $ac_link) 2>conftest.er1
75222 ac_status=$?
75223 grep -v '^ *+' conftest.er1 >conftest.err
75224 rm -f conftest.er1
75225 cat conftest.err >&5
75226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75227 (exit $ac_status); } &&
75228 { ac_try='test -z "$ac_c_werror_flag"
75229 || test ! -s conftest.err'
75230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75231 (eval $ac_try) 2>&5
75232 ac_status=$?
75233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75234 (exit $ac_status); }; } &&
75235 { ac_try='test -s conftest$ac_exeext'
75236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75237 (eval $ac_try) 2>&5
75238 ac_status=$?
75239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75240 (exit $ac_status); }; }; then
75241 eval "$as_ac_var=yes"
75242 else
75243 echo "$as_me: failed program was:" >&5
75244 sed 's/^/| /' conftest.$ac_ext >&5
75246 eval "$as_ac_var=no"
75248 rm -f conftest.err conftest.$ac_objext \
75249 conftest$ac_exeext conftest.$ac_ext
75251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75253 if test `eval echo '${'$as_ac_var'}'` = yes; then
75254 cat >>confdefs.h <<_ACEOF
75255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75256 _ACEOF
75259 done
75267 CXXFLAGS="$ac_save_CXXFLAGS"
75270 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75271 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75272 if test "${glibcxx_cv_S_ISREG+set}" = set; then
75273 echo $ECHO_N "(cached) $ECHO_C" >&6
75274 else
75276 if test x$gcc_no_link = xyes; then
75277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75279 { (exit 1); exit 1; }; }
75281 cat >conftest.$ac_ext <<_ACEOF
75282 /* confdefs.h. */
75283 _ACEOF
75284 cat confdefs.h >>conftest.$ac_ext
75285 cat >>conftest.$ac_ext <<_ACEOF
75286 /* end confdefs.h. */
75287 #include <sys/stat.h>
75289 main ()
75291 struct stat buffer;
75292 fstat(0, &buffer);
75293 S_ISREG(buffer.st_mode);
75295 return 0;
75297 _ACEOF
75298 rm -f conftest.$ac_objext conftest$ac_exeext
75299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75300 (eval $ac_link) 2>conftest.er1
75301 ac_status=$?
75302 grep -v '^ *+' conftest.er1 >conftest.err
75303 rm -f conftest.er1
75304 cat conftest.err >&5
75305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75306 (exit $ac_status); } &&
75307 { ac_try='test -z "$ac_c_werror_flag"
75308 || test ! -s conftest.err'
75309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75310 (eval $ac_try) 2>&5
75311 ac_status=$?
75312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75313 (exit $ac_status); }; } &&
75314 { ac_try='test -s conftest$ac_exeext'
75315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75316 (eval $ac_try) 2>&5
75317 ac_status=$?
75318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75319 (exit $ac_status); }; }; then
75320 glibcxx_cv_S_ISREG=yes
75321 else
75322 echo "$as_me: failed program was:" >&5
75323 sed 's/^/| /' conftest.$ac_ext >&5
75325 glibcxx_cv_S_ISREG=no
75327 rm -f conftest.err conftest.$ac_objext \
75328 conftest$ac_exeext conftest.$ac_ext
75332 if test "${glibcxx_cv_S_IFREG+set}" = set; then
75333 echo $ECHO_N "(cached) $ECHO_C" >&6
75334 else
75336 if test x$gcc_no_link = xyes; then
75337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75339 { (exit 1); exit 1; }; }
75341 cat >conftest.$ac_ext <<_ACEOF
75342 /* confdefs.h. */
75343 _ACEOF
75344 cat confdefs.h >>conftest.$ac_ext
75345 cat >>conftest.$ac_ext <<_ACEOF
75346 /* end confdefs.h. */
75347 #include <sys/stat.h>
75349 main ()
75351 struct stat buffer;
75352 fstat(0, &buffer);
75353 S_IFREG & buffer.st_mode;
75355 return 0;
75357 _ACEOF
75358 rm -f conftest.$ac_objext conftest$ac_exeext
75359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75360 (eval $ac_link) 2>conftest.er1
75361 ac_status=$?
75362 grep -v '^ *+' conftest.er1 >conftest.err
75363 rm -f conftest.er1
75364 cat conftest.err >&5
75365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75366 (exit $ac_status); } &&
75367 { ac_try='test -z "$ac_c_werror_flag"
75368 || test ! -s conftest.err'
75369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75370 (eval $ac_try) 2>&5
75371 ac_status=$?
75372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75373 (exit $ac_status); }; } &&
75374 { ac_try='test -s conftest$ac_exeext'
75375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75376 (eval $ac_try) 2>&5
75377 ac_status=$?
75378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379 (exit $ac_status); }; }; then
75380 glibcxx_cv_S_IFREG=yes
75381 else
75382 echo "$as_me: failed program was:" >&5
75383 sed 's/^/| /' conftest.$ac_ext >&5
75385 glibcxx_cv_S_IFREG=no
75387 rm -f conftest.err conftest.$ac_objext \
75388 conftest$ac_exeext conftest.$ac_ext
75392 res=no
75393 if test $glibcxx_cv_S_ISREG = yes; then
75395 cat >>confdefs.h <<\_ACEOF
75396 #define HAVE_S_ISREG 1
75397 _ACEOF
75399 res=S_ISREG
75400 elif test $glibcxx_cv_S_IFREG = yes; then
75402 cat >>confdefs.h <<\_ACEOF
75403 #define HAVE_S_IFREG 1
75404 _ACEOF
75406 res=S_IFREG
75408 echo "$as_me:$LINENO: result: $res" >&5
75409 echo "${ECHO_T}$res" >&6
75411 cat >>confdefs.h <<\_ACEOF
75412 #define HAVE_WRITEV 1
75413 _ACEOF
75417 *-freebsd*)
75434 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75435 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75436 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75437 sys/time.h unistd.h
75439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75441 echo "$as_me:$LINENO: checking for $ac_header" >&5
75442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75444 echo $ECHO_N "(cached) $ECHO_C" >&6
75446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75448 else
75449 # Is the header compilable?
75450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75452 cat >conftest.$ac_ext <<_ACEOF
75453 /* confdefs.h. */
75454 _ACEOF
75455 cat confdefs.h >>conftest.$ac_ext
75456 cat >>conftest.$ac_ext <<_ACEOF
75457 /* end confdefs.h. */
75458 $ac_includes_default
75459 #include <$ac_header>
75460 _ACEOF
75461 rm -f conftest.$ac_objext
75462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75463 (eval $ac_compile) 2>conftest.er1
75464 ac_status=$?
75465 grep -v '^ *+' conftest.er1 >conftest.err
75466 rm -f conftest.er1
75467 cat conftest.err >&5
75468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75469 (exit $ac_status); } &&
75470 { ac_try='test -z "$ac_c_werror_flag"
75471 || test ! -s conftest.err'
75472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75473 (eval $ac_try) 2>&5
75474 ac_status=$?
75475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75476 (exit $ac_status); }; } &&
75477 { ac_try='test -s conftest.$ac_objext'
75478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75479 (eval $ac_try) 2>&5
75480 ac_status=$?
75481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75482 (exit $ac_status); }; }; then
75483 ac_header_compiler=yes
75484 else
75485 echo "$as_me: failed program was:" >&5
75486 sed 's/^/| /' conftest.$ac_ext >&5
75488 ac_header_compiler=no
75490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75492 echo "${ECHO_T}$ac_header_compiler" >&6
75494 # Is the header present?
75495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75497 cat >conftest.$ac_ext <<_ACEOF
75498 /* confdefs.h. */
75499 _ACEOF
75500 cat confdefs.h >>conftest.$ac_ext
75501 cat >>conftest.$ac_ext <<_ACEOF
75502 /* end confdefs.h. */
75503 #include <$ac_header>
75504 _ACEOF
75505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75507 ac_status=$?
75508 grep -v '^ *+' conftest.er1 >conftest.err
75509 rm -f conftest.er1
75510 cat conftest.err >&5
75511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75512 (exit $ac_status); } >/dev/null; then
75513 if test -s conftest.err; then
75514 ac_cpp_err=$ac_c_preproc_warn_flag
75515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75516 else
75517 ac_cpp_err=
75519 else
75520 ac_cpp_err=yes
75522 if test -z "$ac_cpp_err"; then
75523 ac_header_preproc=yes
75524 else
75525 echo "$as_me: failed program was:" >&5
75526 sed 's/^/| /' conftest.$ac_ext >&5
75528 ac_header_preproc=no
75530 rm -f conftest.err conftest.$ac_ext
75531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75532 echo "${ECHO_T}$ac_header_preproc" >&6
75534 # So? What about this header?
75535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75536 yes:no: )
75537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75541 ac_header_preproc=yes
75543 no:yes:* )
75544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75557 cat <<\_ASBOX
75558 ## ----------------------------------------- ##
75559 ## Report this to the package-unused lists. ##
75560 ## ----------------------------------------- ##
75561 _ASBOX
75563 sed "s/^/$as_me: WARNING: /" >&2
75565 esac
75566 echo "$as_me:$LINENO: checking for $ac_header" >&5
75567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75569 echo $ECHO_N "(cached) $ECHO_C" >&6
75570 else
75571 eval "$as_ac_Header=\$ac_header_preproc"
75573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75578 cat >>confdefs.h <<_ACEOF
75579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75580 _ACEOF
75584 done
75586 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75589 # If we're not using GNU ld, then there's no point in even trying these
75590 # tests. Check for that first. We should have already tested for gld
75591 # by now (in libtool), but require it now just to be safe...
75592 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75593 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75597 # The name set by libtool depends on the version of libtool. Shame on us
75598 # for depending on an impl detail, but c'est la vie. Older versions used
75599 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75600 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75601 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75602 # set (hence we're using an older libtool), then set it.
75603 if test x${with_gnu_ld+set} != xset; then
75604 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75605 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75606 with_gnu_ld=no
75607 else
75608 with_gnu_ld=$ac_cv_prog_gnu_ld
75612 # Start by getting the version number. I think the libtool test already
75613 # does some of this, but throws away the result.
75614 echo "$as_me:$LINENO: checking for ld version" >&5
75615 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75617 ldver=`$LD --version 2>/dev/null | head -1 | \
75618 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75620 glibcxx_gnu_ld_version=`echo $ldver | \
75621 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75622 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75623 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75625 # Set --gc-sections.
75626 glibcxx_gcsections_min_ld=21602
75627 if test x"$with_gnu_ld" = x"yes" &&
75628 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75630 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75631 # NB: This flag only works reliably after 2.16.1. Configure tests
75632 # for this are difficult, so hard wire a value that should work.
75634 # All these tests are for C++, but run with the "C" compiler driver.
75635 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75636 ac_test_CFLAGS="${CFLAGS+set}"
75637 ac_save_CFLAGS="$CFLAGS"
75638 CFLAGS='-x c++ -Wl,--gc-sections'
75640 # Check for -Wl,--gc-sections
75641 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75642 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75643 if test x$gcc_no_link = xyes; then
75644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75646 { (exit 1); exit 1; }; }
75648 cat >conftest.$ac_ext <<_ACEOF
75649 /* confdefs.h. */
75650 _ACEOF
75651 cat confdefs.h >>conftest.$ac_ext
75652 cat >>conftest.$ac_ext <<_ACEOF
75653 /* end confdefs.h. */
75654 int one(void) { return 1; }
75655 int two(void) { return 2; }
75658 main ()
75660 two();
75662 return 0;
75664 _ACEOF
75665 rm -f conftest.$ac_objext conftest$ac_exeext
75666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75667 (eval $ac_link) 2>conftest.er1
75668 ac_status=$?
75669 grep -v '^ *+' conftest.er1 >conftest.err
75670 rm -f conftest.er1
75671 cat conftest.err >&5
75672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75673 (exit $ac_status); } &&
75674 { ac_try='test -z "$ac_c_werror_flag"
75675 || test ! -s conftest.err'
75676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75677 (eval $ac_try) 2>&5
75678 ac_status=$?
75679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680 (exit $ac_status); }; } &&
75681 { ac_try='test -s conftest$ac_exeext'
75682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683 (eval $ac_try) 2>&5
75684 ac_status=$?
75685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686 (exit $ac_status); }; }; then
75687 ac_gcsections=yes
75688 else
75689 echo "$as_me: failed program was:" >&5
75690 sed 's/^/| /' conftest.$ac_ext >&5
75692 ac_gcsections=no
75694 rm -f conftest.err conftest.$ac_objext \
75695 conftest$ac_exeext conftest.$ac_ext
75696 if test "$ac_gcsections" = "yes"; then
75697 rm -f conftest.c
75698 touch conftest.c
75699 if $CC -c conftest.c; then
75700 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75701 grep "Warning: gc-sections option ignored" > /dev/null; then
75702 ac_gcsections=no
75705 rm -f conftest.c conftest.o conftest
75707 if test "$ac_gcsections" = "yes"; then
75708 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75710 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75711 echo "${ECHO_T}$ac_gcsections" >&6
75713 if test "$ac_test_CFLAGS" = set; then
75714 CFLAGS="$ac_save_CFLAGS"
75715 else
75716 # this is the suspicious part
75717 CFLAGS=''
75721 # Set -z,relro.
75722 # Note this is only for shared objects.
75723 ac_ld_relro=no
75724 if test x"$with_gnu_ld" = x"yes"; then
75725 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75726 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75727 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75728 if test -n "$cxx_z_relo"; then
75729 OPT_LDFLAGS="-Wl,-z,relro"
75730 ac_ld_relro=yes
75732 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75733 echo "${ECHO_T}$ac_ld_relro" >&6
75736 # Set linker optimization flags.
75737 if test x"$with_gnu_ld" = x"yes"; then
75738 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75746 echo "$as_me:$LINENO: checking for main in -lm" >&5
75747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75748 if test "${ac_cv_lib_m_main+set}" = set; then
75749 echo $ECHO_N "(cached) $ECHO_C" >&6
75750 else
75751 ac_check_lib_save_LIBS=$LIBS
75752 LIBS="-lm $LIBS"
75753 if test x$gcc_no_link = xyes; then
75754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75756 { (exit 1); exit 1; }; }
75758 cat >conftest.$ac_ext <<_ACEOF
75759 /* confdefs.h. */
75760 _ACEOF
75761 cat confdefs.h >>conftest.$ac_ext
75762 cat >>conftest.$ac_ext <<_ACEOF
75763 /* end confdefs.h. */
75767 main ()
75769 main ();
75771 return 0;
75773 _ACEOF
75774 rm -f conftest.$ac_objext conftest$ac_exeext
75775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75776 (eval $ac_link) 2>conftest.er1
75777 ac_status=$?
75778 grep -v '^ *+' conftest.er1 >conftest.err
75779 rm -f conftest.er1
75780 cat conftest.err >&5
75781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75782 (exit $ac_status); } &&
75783 { ac_try='test -z "$ac_c_werror_flag"
75784 || test ! -s conftest.err'
75785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75786 (eval $ac_try) 2>&5
75787 ac_status=$?
75788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75789 (exit $ac_status); }; } &&
75790 { ac_try='test -s conftest$ac_exeext'
75791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75792 (eval $ac_try) 2>&5
75793 ac_status=$?
75794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75795 (exit $ac_status); }; }; then
75796 ac_cv_lib_m_main=yes
75797 else
75798 echo "$as_me: failed program was:" >&5
75799 sed 's/^/| /' conftest.$ac_ext >&5
75801 ac_cv_lib_m_main=no
75803 rm -f conftest.err conftest.$ac_objext \
75804 conftest$ac_exeext conftest.$ac_ext
75805 LIBS=$ac_check_lib_save_LIBS
75807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75809 if test $ac_cv_lib_m_main = yes; then
75810 cat >>confdefs.h <<_ACEOF
75811 #define HAVE_LIBM 1
75812 _ACEOF
75814 LIBS="-lm $LIBS"
75819 for ac_func in copysignf
75821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75822 echo "$as_me:$LINENO: checking for $ac_func" >&5
75823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75824 if eval "test \"\${$as_ac_var+set}\" = set"; then
75825 echo $ECHO_N "(cached) $ECHO_C" >&6
75826 else
75827 if test x$gcc_no_link = xyes; then
75828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75830 { (exit 1); exit 1; }; }
75832 cat >conftest.$ac_ext <<_ACEOF
75833 /* confdefs.h. */
75834 _ACEOF
75835 cat confdefs.h >>conftest.$ac_ext
75836 cat >>conftest.$ac_ext <<_ACEOF
75837 /* end confdefs.h. */
75838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75840 #define $ac_func innocuous_$ac_func
75842 /* System header to define __stub macros and hopefully few prototypes,
75843 which can conflict with char $ac_func (); below.
75844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75845 <limits.h> exists even on freestanding compilers. */
75847 #ifdef __STDC__
75848 # include <limits.h>
75849 #else
75850 # include <assert.h>
75851 #endif
75853 #undef $ac_func
75855 /* Override any gcc2 internal prototype to avoid an error. */
75856 #ifdef __cplusplus
75857 extern "C"
75859 #endif
75860 /* We use char because int might match the return type of a gcc2
75861 builtin and then its argument prototype would still apply. */
75862 char $ac_func ();
75863 /* The GNU C library defines this for functions which it implements
75864 to always fail with ENOSYS. Some functions are actually named
75865 something starting with __ and the normal name is an alias. */
75866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75867 choke me
75868 #else
75869 char (*f) () = $ac_func;
75870 #endif
75871 #ifdef __cplusplus
75873 #endif
75876 main ()
75878 return f != $ac_func;
75880 return 0;
75882 _ACEOF
75883 rm -f conftest.$ac_objext conftest$ac_exeext
75884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75885 (eval $ac_link) 2>conftest.er1
75886 ac_status=$?
75887 grep -v '^ *+' conftest.er1 >conftest.err
75888 rm -f conftest.er1
75889 cat conftest.err >&5
75890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75891 (exit $ac_status); } &&
75892 { ac_try='test -z "$ac_c_werror_flag"
75893 || test ! -s conftest.err'
75894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75895 (eval $ac_try) 2>&5
75896 ac_status=$?
75897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898 (exit $ac_status); }; } &&
75899 { ac_try='test -s conftest$ac_exeext'
75900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75901 (eval $ac_try) 2>&5
75902 ac_status=$?
75903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75904 (exit $ac_status); }; }; then
75905 eval "$as_ac_var=yes"
75906 else
75907 echo "$as_me: failed program was:" >&5
75908 sed 's/^/| /' conftest.$ac_ext >&5
75910 eval "$as_ac_var=no"
75912 rm -f conftest.err conftest.$ac_objext \
75913 conftest$ac_exeext conftest.$ac_ext
75915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75917 if test `eval echo '${'$as_ac_var'}'` = yes; then
75918 cat >>confdefs.h <<_ACEOF
75919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75920 _ACEOF
75922 else
75923 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75925 done
75929 for ac_func in __signbit
75931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75932 echo "$as_me:$LINENO: checking for $ac_func" >&5
75933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75934 if eval "test \"\${$as_ac_var+set}\" = set"; then
75935 echo $ECHO_N "(cached) $ECHO_C" >&6
75936 else
75937 if test x$gcc_no_link = xyes; then
75938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75940 { (exit 1); exit 1; }; }
75942 cat >conftest.$ac_ext <<_ACEOF
75943 /* confdefs.h. */
75944 _ACEOF
75945 cat confdefs.h >>conftest.$ac_ext
75946 cat >>conftest.$ac_ext <<_ACEOF
75947 /* end confdefs.h. */
75948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75950 #define $ac_func innocuous_$ac_func
75952 /* System header to define __stub macros and hopefully few prototypes,
75953 which can conflict with char $ac_func (); below.
75954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75955 <limits.h> exists even on freestanding compilers. */
75957 #ifdef __STDC__
75958 # include <limits.h>
75959 #else
75960 # include <assert.h>
75961 #endif
75963 #undef $ac_func
75965 /* Override any gcc2 internal prototype to avoid an error. */
75966 #ifdef __cplusplus
75967 extern "C"
75969 #endif
75970 /* We use char because int might match the return type of a gcc2
75971 builtin and then its argument prototype would still apply. */
75972 char $ac_func ();
75973 /* The GNU C library defines this for functions which it implements
75974 to always fail with ENOSYS. Some functions are actually named
75975 something starting with __ and the normal name is an alias. */
75976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75977 choke me
75978 #else
75979 char (*f) () = $ac_func;
75980 #endif
75981 #ifdef __cplusplus
75983 #endif
75986 main ()
75988 return f != $ac_func;
75990 return 0;
75992 _ACEOF
75993 rm -f conftest.$ac_objext conftest$ac_exeext
75994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75995 (eval $ac_link) 2>conftest.er1
75996 ac_status=$?
75997 grep -v '^ *+' conftest.er1 >conftest.err
75998 rm -f conftest.er1
75999 cat conftest.err >&5
76000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76001 (exit $ac_status); } &&
76002 { ac_try='test -z "$ac_c_werror_flag"
76003 || test ! -s conftest.err'
76004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76005 (eval $ac_try) 2>&5
76006 ac_status=$?
76007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76008 (exit $ac_status); }; } &&
76009 { ac_try='test -s conftest$ac_exeext'
76010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76011 (eval $ac_try) 2>&5
76012 ac_status=$?
76013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76014 (exit $ac_status); }; }; then
76015 eval "$as_ac_var=yes"
76016 else
76017 echo "$as_me: failed program was:" >&5
76018 sed 's/^/| /' conftest.$ac_ext >&5
76020 eval "$as_ac_var=no"
76022 rm -f conftest.err conftest.$ac_objext \
76023 conftest$ac_exeext conftest.$ac_ext
76025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76027 if test `eval echo '${'$as_ac_var'}'` = yes; then
76028 cat >>confdefs.h <<_ACEOF
76029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76030 _ACEOF
76032 else
76033 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76035 done
76039 for ac_func in __signbitf
76041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76042 echo "$as_me:$LINENO: checking for $ac_func" >&5
76043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76044 if eval "test \"\${$as_ac_var+set}\" = set"; then
76045 echo $ECHO_N "(cached) $ECHO_C" >&6
76046 else
76047 if test x$gcc_no_link = xyes; then
76048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76050 { (exit 1); exit 1; }; }
76052 cat >conftest.$ac_ext <<_ACEOF
76053 /* confdefs.h. */
76054 _ACEOF
76055 cat confdefs.h >>conftest.$ac_ext
76056 cat >>conftest.$ac_ext <<_ACEOF
76057 /* end confdefs.h. */
76058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76060 #define $ac_func innocuous_$ac_func
76062 /* System header to define __stub macros and hopefully few prototypes,
76063 which can conflict with char $ac_func (); below.
76064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76065 <limits.h> exists even on freestanding compilers. */
76067 #ifdef __STDC__
76068 # include <limits.h>
76069 #else
76070 # include <assert.h>
76071 #endif
76073 #undef $ac_func
76075 /* Override any gcc2 internal prototype to avoid an error. */
76076 #ifdef __cplusplus
76077 extern "C"
76079 #endif
76080 /* We use char because int might match the return type of a gcc2
76081 builtin and then its argument prototype would still apply. */
76082 char $ac_func ();
76083 /* The GNU C library defines this for functions which it implements
76084 to always fail with ENOSYS. Some functions are actually named
76085 something starting with __ and the normal name is an alias. */
76086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76087 choke me
76088 #else
76089 char (*f) () = $ac_func;
76090 #endif
76091 #ifdef __cplusplus
76093 #endif
76096 main ()
76098 return f != $ac_func;
76100 return 0;
76102 _ACEOF
76103 rm -f conftest.$ac_objext conftest$ac_exeext
76104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76105 (eval $ac_link) 2>conftest.er1
76106 ac_status=$?
76107 grep -v '^ *+' conftest.er1 >conftest.err
76108 rm -f conftest.er1
76109 cat conftest.err >&5
76110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76111 (exit $ac_status); } &&
76112 { ac_try='test -z "$ac_c_werror_flag"
76113 || test ! -s conftest.err'
76114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76115 (eval $ac_try) 2>&5
76116 ac_status=$?
76117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76118 (exit $ac_status); }; } &&
76119 { ac_try='test -s conftest$ac_exeext'
76120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76121 (eval $ac_try) 2>&5
76122 ac_status=$?
76123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76124 (exit $ac_status); }; }; then
76125 eval "$as_ac_var=yes"
76126 else
76127 echo "$as_me: failed program was:" >&5
76128 sed 's/^/| /' conftest.$ac_ext >&5
76130 eval "$as_ac_var=no"
76132 rm -f conftest.err conftest.$ac_objext \
76133 conftest$ac_exeext conftest.$ac_ext
76135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76137 if test `eval echo '${'$as_ac_var'}'` = yes; then
76138 cat >>confdefs.h <<_ACEOF
76139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76140 _ACEOF
76142 else
76143 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76145 done
76148 if test x$ac_cv_func_copysignl = x"yes"; then
76150 for ac_func in __signbitl
76152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76153 echo "$as_me:$LINENO: checking for $ac_func" >&5
76154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76155 if eval "test \"\${$as_ac_var+set}\" = set"; then
76156 echo $ECHO_N "(cached) $ECHO_C" >&6
76157 else
76158 if test x$gcc_no_link = xyes; then
76159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76161 { (exit 1); exit 1; }; }
76163 cat >conftest.$ac_ext <<_ACEOF
76164 /* confdefs.h. */
76165 _ACEOF
76166 cat confdefs.h >>conftest.$ac_ext
76167 cat >>conftest.$ac_ext <<_ACEOF
76168 /* end confdefs.h. */
76169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76171 #define $ac_func innocuous_$ac_func
76173 /* System header to define __stub macros and hopefully few prototypes,
76174 which can conflict with char $ac_func (); below.
76175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76176 <limits.h> exists even on freestanding compilers. */
76178 #ifdef __STDC__
76179 # include <limits.h>
76180 #else
76181 # include <assert.h>
76182 #endif
76184 #undef $ac_func
76186 /* Override any gcc2 internal prototype to avoid an error. */
76187 #ifdef __cplusplus
76188 extern "C"
76190 #endif
76191 /* We use char because int might match the return type of a gcc2
76192 builtin and then its argument prototype would still apply. */
76193 char $ac_func ();
76194 /* The GNU C library defines this for functions which it implements
76195 to always fail with ENOSYS. Some functions are actually named
76196 something starting with __ and the normal name is an alias. */
76197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76198 choke me
76199 #else
76200 char (*f) () = $ac_func;
76201 #endif
76202 #ifdef __cplusplus
76204 #endif
76207 main ()
76209 return f != $ac_func;
76211 return 0;
76213 _ACEOF
76214 rm -f conftest.$ac_objext conftest$ac_exeext
76215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76216 (eval $ac_link) 2>conftest.er1
76217 ac_status=$?
76218 grep -v '^ *+' conftest.er1 >conftest.err
76219 rm -f conftest.er1
76220 cat conftest.err >&5
76221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222 (exit $ac_status); } &&
76223 { ac_try='test -z "$ac_c_werror_flag"
76224 || test ! -s conftest.err'
76225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76226 (eval $ac_try) 2>&5
76227 ac_status=$?
76228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76229 (exit $ac_status); }; } &&
76230 { ac_try='test -s conftest$ac_exeext'
76231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76232 (eval $ac_try) 2>&5
76233 ac_status=$?
76234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76235 (exit $ac_status); }; }; then
76236 eval "$as_ac_var=yes"
76237 else
76238 echo "$as_me: failed program was:" >&5
76239 sed 's/^/| /' conftest.$ac_ext >&5
76241 eval "$as_ac_var=no"
76243 rm -f conftest.err conftest.$ac_objext \
76244 conftest$ac_exeext conftest.$ac_ext
76246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76248 if test `eval echo '${'$as_ac_var'}'` = yes; then
76249 cat >>confdefs.h <<_ACEOF
76250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76251 _ACEOF
76253 else
76254 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76256 done
76260 # Used in libmath/Makefile.am.
76261 if test -n "$LIBMATHOBJS"; then
76262 need_libmath=yes
76268 enable_iconv=no
76269 # Only continue checking if the ISO C99 headers exist and support is on.
76270 if test x"$enable_wchar_t" = xyes; then
76272 # Use iconv for wchar_t to char conversions. As such, check for
76273 # X/Open Portability Guide, version 2 features (XPG2).
76274 if test "${ac_cv_header_iconv_h+set}" = set; then
76275 echo "$as_me:$LINENO: checking for iconv.h" >&5
76276 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76277 if test "${ac_cv_header_iconv_h+set}" = set; then
76278 echo $ECHO_N "(cached) $ECHO_C" >&6
76280 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76281 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76282 else
76283 # Is the header compilable?
76284 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76285 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76286 cat >conftest.$ac_ext <<_ACEOF
76287 /* confdefs.h. */
76288 _ACEOF
76289 cat confdefs.h >>conftest.$ac_ext
76290 cat >>conftest.$ac_ext <<_ACEOF
76291 /* end confdefs.h. */
76292 $ac_includes_default
76293 #include <iconv.h>
76294 _ACEOF
76295 rm -f conftest.$ac_objext
76296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76297 (eval $ac_compile) 2>conftest.er1
76298 ac_status=$?
76299 grep -v '^ *+' conftest.er1 >conftest.err
76300 rm -f conftest.er1
76301 cat conftest.err >&5
76302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76303 (exit $ac_status); } &&
76304 { ac_try='test -z "$ac_c_werror_flag"
76305 || test ! -s conftest.err'
76306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76307 (eval $ac_try) 2>&5
76308 ac_status=$?
76309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310 (exit $ac_status); }; } &&
76311 { ac_try='test -s conftest.$ac_objext'
76312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76313 (eval $ac_try) 2>&5
76314 ac_status=$?
76315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76316 (exit $ac_status); }; }; then
76317 ac_header_compiler=yes
76318 else
76319 echo "$as_me: failed program was:" >&5
76320 sed 's/^/| /' conftest.$ac_ext >&5
76322 ac_header_compiler=no
76324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76326 echo "${ECHO_T}$ac_header_compiler" >&6
76328 # Is the header present?
76329 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76330 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76331 cat >conftest.$ac_ext <<_ACEOF
76332 /* confdefs.h. */
76333 _ACEOF
76334 cat confdefs.h >>conftest.$ac_ext
76335 cat >>conftest.$ac_ext <<_ACEOF
76336 /* end confdefs.h. */
76337 #include <iconv.h>
76338 _ACEOF
76339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76341 ac_status=$?
76342 grep -v '^ *+' conftest.er1 >conftest.err
76343 rm -f conftest.er1
76344 cat conftest.err >&5
76345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76346 (exit $ac_status); } >/dev/null; then
76347 if test -s conftest.err; then
76348 ac_cpp_err=$ac_c_preproc_warn_flag
76349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76350 else
76351 ac_cpp_err=
76353 else
76354 ac_cpp_err=yes
76356 if test -z "$ac_cpp_err"; then
76357 ac_header_preproc=yes
76358 else
76359 echo "$as_me: failed program was:" >&5
76360 sed 's/^/| /' conftest.$ac_ext >&5
76362 ac_header_preproc=no
76364 rm -f conftest.err conftest.$ac_ext
76365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76366 echo "${ECHO_T}$ac_header_preproc" >&6
76368 # So? What about this header?
76369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76370 yes:no: )
76371 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76372 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76373 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76374 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76375 ac_header_preproc=yes
76377 no:yes:* )
76378 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76379 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76380 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76381 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76382 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76383 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76384 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76385 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76386 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76387 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76388 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76389 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76391 cat <<\_ASBOX
76392 ## ----------------------------------------- ##
76393 ## Report this to the package-unused lists. ##
76394 ## ----------------------------------------- ##
76395 _ASBOX
76397 sed "s/^/$as_me: WARNING: /" >&2
76399 esac
76400 echo "$as_me:$LINENO: checking for iconv.h" >&5
76401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76402 if test "${ac_cv_header_iconv_h+set}" = set; then
76403 echo $ECHO_N "(cached) $ECHO_C" >&6
76404 else
76405 ac_cv_header_iconv_h=$ac_header_preproc
76407 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76408 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76411 if test $ac_cv_header_iconv_h = yes; then
76412 ac_has_iconv_h=yes
76413 else
76414 ac_has_iconv_h=no
76418 if test "${ac_cv_header_langinfo_h+set}" = set; then
76419 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76420 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76421 if test "${ac_cv_header_langinfo_h+set}" = set; then
76422 echo $ECHO_N "(cached) $ECHO_C" >&6
76424 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76425 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76426 else
76427 # Is the header compilable?
76428 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76429 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76430 cat >conftest.$ac_ext <<_ACEOF
76431 /* confdefs.h. */
76432 _ACEOF
76433 cat confdefs.h >>conftest.$ac_ext
76434 cat >>conftest.$ac_ext <<_ACEOF
76435 /* end confdefs.h. */
76436 $ac_includes_default
76437 #include <langinfo.h>
76438 _ACEOF
76439 rm -f conftest.$ac_objext
76440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76441 (eval $ac_compile) 2>conftest.er1
76442 ac_status=$?
76443 grep -v '^ *+' conftest.er1 >conftest.err
76444 rm -f conftest.er1
76445 cat conftest.err >&5
76446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76447 (exit $ac_status); } &&
76448 { ac_try='test -z "$ac_c_werror_flag"
76449 || test ! -s conftest.err'
76450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76451 (eval $ac_try) 2>&5
76452 ac_status=$?
76453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76454 (exit $ac_status); }; } &&
76455 { ac_try='test -s conftest.$ac_objext'
76456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76457 (eval $ac_try) 2>&5
76458 ac_status=$?
76459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76460 (exit $ac_status); }; }; then
76461 ac_header_compiler=yes
76462 else
76463 echo "$as_me: failed program was:" >&5
76464 sed 's/^/| /' conftest.$ac_ext >&5
76466 ac_header_compiler=no
76468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76470 echo "${ECHO_T}$ac_header_compiler" >&6
76472 # Is the header present?
76473 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76474 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76475 cat >conftest.$ac_ext <<_ACEOF
76476 /* confdefs.h. */
76477 _ACEOF
76478 cat confdefs.h >>conftest.$ac_ext
76479 cat >>conftest.$ac_ext <<_ACEOF
76480 /* end confdefs.h. */
76481 #include <langinfo.h>
76482 _ACEOF
76483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76485 ac_status=$?
76486 grep -v '^ *+' conftest.er1 >conftest.err
76487 rm -f conftest.er1
76488 cat conftest.err >&5
76489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76490 (exit $ac_status); } >/dev/null; then
76491 if test -s conftest.err; then
76492 ac_cpp_err=$ac_c_preproc_warn_flag
76493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76494 else
76495 ac_cpp_err=
76497 else
76498 ac_cpp_err=yes
76500 if test -z "$ac_cpp_err"; then
76501 ac_header_preproc=yes
76502 else
76503 echo "$as_me: failed program was:" >&5
76504 sed 's/^/| /' conftest.$ac_ext >&5
76506 ac_header_preproc=no
76508 rm -f conftest.err conftest.$ac_ext
76509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76510 echo "${ECHO_T}$ac_header_preproc" >&6
76512 # So? What about this header?
76513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76514 yes:no: )
76515 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76516 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76517 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76518 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76519 ac_header_preproc=yes
76521 no:yes:* )
76522 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76523 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76524 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76525 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76526 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76527 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76528 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76529 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76530 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76531 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76532 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76533 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76535 cat <<\_ASBOX
76536 ## ----------------------------------------- ##
76537 ## Report this to the package-unused lists. ##
76538 ## ----------------------------------------- ##
76539 _ASBOX
76541 sed "s/^/$as_me: WARNING: /" >&2
76543 esac
76544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76546 if test "${ac_cv_header_langinfo_h+set}" = set; then
76547 echo $ECHO_N "(cached) $ECHO_C" >&6
76548 else
76549 ac_cv_header_langinfo_h=$ac_header_preproc
76551 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76552 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76555 if test $ac_cv_header_langinfo_h = yes; then
76556 ac_has_langinfo_h=yes
76557 else
76558 ac_has_langinfo_h=no
76563 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76564 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76565 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76566 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76567 echo $ECHO_N "(cached) $ECHO_C" >&6
76568 else
76569 ac_check_lib_save_LIBS=$LIBS
76570 LIBS="-liconv $LIBS"
76571 if test x$gcc_no_link = xyes; then
76572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76574 { (exit 1); exit 1; }; }
76576 cat >conftest.$ac_ext <<_ACEOF
76577 /* confdefs.h. */
76578 _ACEOF
76579 cat confdefs.h >>conftest.$ac_ext
76580 cat >>conftest.$ac_ext <<_ACEOF
76581 /* end confdefs.h. */
76583 /* Override any gcc2 internal prototype to avoid an error. */
76584 #ifdef __cplusplus
76585 extern "C"
76586 #endif
76587 /* We use char because int might match the return type of a gcc2
76588 builtin and then its argument prototype would still apply. */
76589 char iconv ();
76591 main ()
76593 iconv ();
76595 return 0;
76597 _ACEOF
76598 rm -f conftest.$ac_objext conftest$ac_exeext
76599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76600 (eval $ac_link) 2>conftest.er1
76601 ac_status=$?
76602 grep -v '^ *+' conftest.er1 >conftest.err
76603 rm -f conftest.er1
76604 cat conftest.err >&5
76605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76606 (exit $ac_status); } &&
76607 { ac_try='test -z "$ac_c_werror_flag"
76608 || test ! -s conftest.err'
76609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76610 (eval $ac_try) 2>&5
76611 ac_status=$?
76612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76613 (exit $ac_status); }; } &&
76614 { ac_try='test -s conftest$ac_exeext'
76615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76616 (eval $ac_try) 2>&5
76617 ac_status=$?
76618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76619 (exit $ac_status); }; }; then
76620 ac_cv_lib_iconv_iconv=yes
76621 else
76622 echo "$as_me: failed program was:" >&5
76623 sed 's/^/| /' conftest.$ac_ext >&5
76625 ac_cv_lib_iconv_iconv=no
76627 rm -f conftest.err conftest.$ac_objext \
76628 conftest$ac_exeext conftest.$ac_ext
76629 LIBS=$ac_check_lib_save_LIBS
76631 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76632 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76633 if test $ac_cv_lib_iconv_iconv = yes; then
76634 LIBICONV="-liconv"
76637 ac_save_LIBS="$LIBS"
76638 LIBS="$LIBS $LIBICONV"
76645 for ac_func in iconv_open iconv_close iconv nl_langinfo
76647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76648 echo "$as_me:$LINENO: checking for $ac_func" >&5
76649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76650 if eval "test \"\${$as_ac_var+set}\" = set"; then
76651 echo $ECHO_N "(cached) $ECHO_C" >&6
76652 else
76653 if test x$gcc_no_link = xyes; then
76654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76656 { (exit 1); exit 1; }; }
76658 cat >conftest.$ac_ext <<_ACEOF
76659 /* confdefs.h. */
76660 _ACEOF
76661 cat confdefs.h >>conftest.$ac_ext
76662 cat >>conftest.$ac_ext <<_ACEOF
76663 /* end confdefs.h. */
76664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76666 #define $ac_func innocuous_$ac_func
76668 /* System header to define __stub macros and hopefully few prototypes,
76669 which can conflict with char $ac_func (); below.
76670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76671 <limits.h> exists even on freestanding compilers. */
76673 #ifdef __STDC__
76674 # include <limits.h>
76675 #else
76676 # include <assert.h>
76677 #endif
76679 #undef $ac_func
76681 /* Override any gcc2 internal prototype to avoid an error. */
76682 #ifdef __cplusplus
76683 extern "C"
76685 #endif
76686 /* We use char because int might match the return type of a gcc2
76687 builtin and then its argument prototype would still apply. */
76688 char $ac_func ();
76689 /* The GNU C library defines this for functions which it implements
76690 to always fail with ENOSYS. Some functions are actually named
76691 something starting with __ and the normal name is an alias. */
76692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76693 choke me
76694 #else
76695 char (*f) () = $ac_func;
76696 #endif
76697 #ifdef __cplusplus
76699 #endif
76702 main ()
76704 return f != $ac_func;
76706 return 0;
76708 _ACEOF
76709 rm -f conftest.$ac_objext conftest$ac_exeext
76710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76711 (eval $ac_link) 2>conftest.er1
76712 ac_status=$?
76713 grep -v '^ *+' conftest.er1 >conftest.err
76714 rm -f conftest.er1
76715 cat conftest.err >&5
76716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76717 (exit $ac_status); } &&
76718 { ac_try='test -z "$ac_c_werror_flag"
76719 || test ! -s conftest.err'
76720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76721 (eval $ac_try) 2>&5
76722 ac_status=$?
76723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724 (exit $ac_status); }; } &&
76725 { ac_try='test -s conftest$ac_exeext'
76726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76727 (eval $ac_try) 2>&5
76728 ac_status=$?
76729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76730 (exit $ac_status); }; }; then
76731 eval "$as_ac_var=yes"
76732 else
76733 echo "$as_me: failed program was:" >&5
76734 sed 's/^/| /' conftest.$ac_ext >&5
76736 eval "$as_ac_var=no"
76738 rm -f conftest.err conftest.$ac_objext \
76739 conftest$ac_exeext conftest.$ac_ext
76741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76743 if test `eval echo '${'$as_ac_var'}'` = yes; then
76744 cat >>confdefs.h <<_ACEOF
76745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76746 _ACEOF
76747 ac_XPG2funcs=yes
76748 else
76749 ac_XPG2funcs=no
76751 done
76754 LIBS="$ac_save_LIBS"
76756 if test x"$ac_has_iconv_h" = xyes &&
76757 test x"$ac_has_langinfo_h" = xyes &&
76758 test x"$ac_XPG2funcs" = xyes;
76759 then
76761 cat >>confdefs.h <<\_ACEOF
76762 #define _GLIBCXX_USE_ICONV 1
76763 _ACEOF
76765 enable_iconv=yes
76768 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76769 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76770 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76771 echo "${ECHO_T}$enable_iconv" >&6
76773 cat >>confdefs.h <<\_ACEOF
76774 #define HAVE_LC_MESSAGES 1
76775 _ACEOF
76777 cat >>confdefs.h <<\_ACEOF
76778 #define HAVE_GETPAGESIZE 1
76779 _ACEOF
76781 cat >>confdefs.h <<\_ACEOF
76782 #define HAVE_SETENV 1
76783 _ACEOF
76785 cat >>confdefs.h <<\_ACEOF
76786 #define HAVE_SIGSETJMP 1
76787 _ACEOF
76789 cat >>confdefs.h <<\_ACEOF
76790 #define HAVE_COPYSIGN 1
76791 _ACEOF
76793 cat >>confdefs.h <<\_ACEOF
76794 #define HAVE_COPYSIGNF 1
76795 _ACEOF
76797 cat >>confdefs.h <<\_ACEOF
76798 #define HAVE_FINITEF 1
76799 _ACEOF
76801 cat >>confdefs.h <<\_ACEOF
76802 #define HAVE_FINITE 1
76803 _ACEOF
76805 cat >>confdefs.h <<\_ACEOF
76806 #define HAVE_FREXPF 1
76807 _ACEOF
76809 cat >>confdefs.h <<\_ACEOF
76810 #define HAVE_HYPOT 1
76811 _ACEOF
76813 cat >>confdefs.h <<\_ACEOF
76814 #define HAVE_HYPOTF 1
76815 _ACEOF
76817 cat >>confdefs.h <<\_ACEOF
76818 #define HAVE_ISINF 1
76819 _ACEOF
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_ISNAN 1
76823 _ACEOF
76825 cat >>confdefs.h <<\_ACEOF
76826 #define HAVE_ISNANF 1
76827 _ACEOF
76830 cat >>confdefs.h <<\_ACEOF
76831 #define HAVE_MMAP 1
76832 _ACEOF
76834 cat >>confdefs.h <<\_ACEOF
76835 #define HAVE_ACOSF 1
76836 _ACEOF
76838 cat >>confdefs.h <<\_ACEOF
76839 #define HAVE_ASINF 1
76840 _ACEOF
76842 cat >>confdefs.h <<\_ACEOF
76843 #define HAVE_ATAN2F 1
76844 _ACEOF
76846 cat >>confdefs.h <<\_ACEOF
76847 #define HAVE_ATANF 1
76848 _ACEOF
76850 cat >>confdefs.h <<\_ACEOF
76851 #define HAVE_CEILF 1
76852 _ACEOF
76854 cat >>confdefs.h <<\_ACEOF
76855 #define HAVE_COPYSIGN 1
76856 _ACEOF
76858 cat >>confdefs.h <<\_ACEOF
76859 #define HAVE_COPYSIGNF 1
76860 _ACEOF
76862 cat >>confdefs.h <<\_ACEOF
76863 #define HAVE_COSF 1
76864 _ACEOF
76866 cat >>confdefs.h <<\_ACEOF
76867 #define HAVE_COSHF 1
76868 _ACEOF
76870 cat >>confdefs.h <<\_ACEOF
76871 #define HAVE_EXPF 1
76872 _ACEOF
76874 cat >>confdefs.h <<\_ACEOF
76875 #define HAVE_FABSF 1
76876 _ACEOF
76878 cat >>confdefs.h <<\_ACEOF
76879 #define HAVE_FLOORF 1
76880 _ACEOF
76882 cat >>confdefs.h <<\_ACEOF
76883 #define HAVE_FMODF 1
76884 _ACEOF
76886 cat >>confdefs.h <<\_ACEOF
76887 #define HAVE_FREXPF 1
76888 _ACEOF
76890 cat >>confdefs.h <<\_ACEOF
76891 #define HAVE_LDEXPF 1
76892 _ACEOF
76894 cat >>confdefs.h <<\_ACEOF
76895 #define HAVE_LOG10F 1
76896 _ACEOF
76898 cat >>confdefs.h <<\_ACEOF
76899 #define HAVE_LOGF 1
76900 _ACEOF
76902 cat >>confdefs.h <<\_ACEOF
76903 #define HAVE_MODFF 1
76904 _ACEOF
76906 cat >>confdefs.h <<\_ACEOF
76907 #define HAVE_POWF 1
76908 _ACEOF
76910 cat >>confdefs.h <<\_ACEOF
76911 #define HAVE_SINF 1
76912 _ACEOF
76914 cat >>confdefs.h <<\_ACEOF
76915 #define HAVE_SINHF 1
76916 _ACEOF
76918 cat >>confdefs.h <<\_ACEOF
76919 #define HAVE_SQRTF 1
76920 _ACEOF
76922 cat >>confdefs.h <<\_ACEOF
76923 #define HAVE_TANF 1
76924 _ACEOF
76926 cat >>confdefs.h <<\_ACEOF
76927 #define HAVE_TANHF 1
76928 _ACEOF
76930 if test x"long_double_math_on_this_cpu" = x"yes"; then
76931 cat >>confdefs.h <<\_ACEOF
76932 #define HAVE_FINITEL 1
76933 _ACEOF
76935 cat >>confdefs.h <<\_ACEOF
76936 #define HAVE_ISINFL 1
76937 _ACEOF
76939 cat >>confdefs.h <<\_ACEOF
76940 #define HAVE_ISNANL 1
76941 _ACEOF
76945 *-hpux*)
76958 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76959 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76960 fp.h locale.h float.h inttypes.h
76962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76964 echo "$as_me:$LINENO: checking for $ac_header" >&5
76965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76967 echo $ECHO_N "(cached) $ECHO_C" >&6
76969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76971 else
76972 # Is the header compilable?
76973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76975 cat >conftest.$ac_ext <<_ACEOF
76976 /* confdefs.h. */
76977 _ACEOF
76978 cat confdefs.h >>conftest.$ac_ext
76979 cat >>conftest.$ac_ext <<_ACEOF
76980 /* end confdefs.h. */
76981 $ac_includes_default
76982 #include <$ac_header>
76983 _ACEOF
76984 rm -f conftest.$ac_objext
76985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76986 (eval $ac_compile) 2>conftest.er1
76987 ac_status=$?
76988 grep -v '^ *+' conftest.er1 >conftest.err
76989 rm -f conftest.er1
76990 cat conftest.err >&5
76991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76992 (exit $ac_status); } &&
76993 { ac_try='test -z "$ac_c_werror_flag"
76994 || test ! -s conftest.err'
76995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76996 (eval $ac_try) 2>&5
76997 ac_status=$?
76998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76999 (exit $ac_status); }; } &&
77000 { ac_try='test -s conftest.$ac_objext'
77001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77002 (eval $ac_try) 2>&5
77003 ac_status=$?
77004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77005 (exit $ac_status); }; }; then
77006 ac_header_compiler=yes
77007 else
77008 echo "$as_me: failed program was:" >&5
77009 sed 's/^/| /' conftest.$ac_ext >&5
77011 ac_header_compiler=no
77013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77015 echo "${ECHO_T}$ac_header_compiler" >&6
77017 # Is the header present?
77018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77020 cat >conftest.$ac_ext <<_ACEOF
77021 /* confdefs.h. */
77022 _ACEOF
77023 cat confdefs.h >>conftest.$ac_ext
77024 cat >>conftest.$ac_ext <<_ACEOF
77025 /* end confdefs.h. */
77026 #include <$ac_header>
77027 _ACEOF
77028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77030 ac_status=$?
77031 grep -v '^ *+' conftest.er1 >conftest.err
77032 rm -f conftest.er1
77033 cat conftest.err >&5
77034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77035 (exit $ac_status); } >/dev/null; then
77036 if test -s conftest.err; then
77037 ac_cpp_err=$ac_c_preproc_warn_flag
77038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77039 else
77040 ac_cpp_err=
77042 else
77043 ac_cpp_err=yes
77045 if test -z "$ac_cpp_err"; then
77046 ac_header_preproc=yes
77047 else
77048 echo "$as_me: failed program was:" >&5
77049 sed 's/^/| /' conftest.$ac_ext >&5
77051 ac_header_preproc=no
77053 rm -f conftest.err conftest.$ac_ext
77054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77055 echo "${ECHO_T}$ac_header_preproc" >&6
77057 # So? What about this header?
77058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77059 yes:no: )
77060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77064 ac_header_preproc=yes
77066 no:yes:* )
77067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77080 cat <<\_ASBOX
77081 ## ----------------------------------------- ##
77082 ## Report this to the package-unused lists. ##
77083 ## ----------------------------------------- ##
77084 _ASBOX
77086 sed "s/^/$as_me: WARNING: /" >&2
77088 esac
77089 echo "$as_me:$LINENO: checking for $ac_header" >&5
77090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77092 echo $ECHO_N "(cached) $ECHO_C" >&6
77093 else
77094 eval "$as_ac_Header=\$ac_header_preproc"
77096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77101 cat >>confdefs.h <<_ACEOF
77102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77103 _ACEOF
77107 done
77109 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77112 # If we're not using GNU ld, then there's no point in even trying these
77113 # tests. Check for that first. We should have already tested for gld
77114 # by now (in libtool), but require it now just to be safe...
77115 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77116 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77120 # The name set by libtool depends on the version of libtool. Shame on us
77121 # for depending on an impl detail, but c'est la vie. Older versions used
77122 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77123 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77124 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77125 # set (hence we're using an older libtool), then set it.
77126 if test x${with_gnu_ld+set} != xset; then
77127 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77128 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77129 with_gnu_ld=no
77130 else
77131 with_gnu_ld=$ac_cv_prog_gnu_ld
77135 # Start by getting the version number. I think the libtool test already
77136 # does some of this, but throws away the result.
77137 echo "$as_me:$LINENO: checking for ld version" >&5
77138 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77140 ldver=`$LD --version 2>/dev/null | head -1 | \
77141 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77143 glibcxx_gnu_ld_version=`echo $ldver | \
77144 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77145 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77146 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77148 # Set --gc-sections.
77149 glibcxx_gcsections_min_ld=21602
77150 if test x"$with_gnu_ld" = x"yes" &&
77151 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77154 # NB: This flag only works reliably after 2.16.1. Configure tests
77155 # for this are difficult, so hard wire a value that should work.
77157 # All these tests are for C++, but run with the "C" compiler driver.
77158 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77159 ac_test_CFLAGS="${CFLAGS+set}"
77160 ac_save_CFLAGS="$CFLAGS"
77161 CFLAGS='-x c++ -Wl,--gc-sections'
77163 # Check for -Wl,--gc-sections
77164 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77165 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77166 if test x$gcc_no_link = xyes; then
77167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77169 { (exit 1); exit 1; }; }
77171 cat >conftest.$ac_ext <<_ACEOF
77172 /* confdefs.h. */
77173 _ACEOF
77174 cat confdefs.h >>conftest.$ac_ext
77175 cat >>conftest.$ac_ext <<_ACEOF
77176 /* end confdefs.h. */
77177 int one(void) { return 1; }
77178 int two(void) { return 2; }
77181 main ()
77183 two();
77185 return 0;
77187 _ACEOF
77188 rm -f conftest.$ac_objext conftest$ac_exeext
77189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77190 (eval $ac_link) 2>conftest.er1
77191 ac_status=$?
77192 grep -v '^ *+' conftest.er1 >conftest.err
77193 rm -f conftest.er1
77194 cat conftest.err >&5
77195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196 (exit $ac_status); } &&
77197 { ac_try='test -z "$ac_c_werror_flag"
77198 || test ! -s conftest.err'
77199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77200 (eval $ac_try) 2>&5
77201 ac_status=$?
77202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77203 (exit $ac_status); }; } &&
77204 { ac_try='test -s conftest$ac_exeext'
77205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77206 (eval $ac_try) 2>&5
77207 ac_status=$?
77208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77209 (exit $ac_status); }; }; then
77210 ac_gcsections=yes
77211 else
77212 echo "$as_me: failed program was:" >&5
77213 sed 's/^/| /' conftest.$ac_ext >&5
77215 ac_gcsections=no
77217 rm -f conftest.err conftest.$ac_objext \
77218 conftest$ac_exeext conftest.$ac_ext
77219 if test "$ac_gcsections" = "yes"; then
77220 rm -f conftest.c
77221 touch conftest.c
77222 if $CC -c conftest.c; then
77223 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77224 grep "Warning: gc-sections option ignored" > /dev/null; then
77225 ac_gcsections=no
77228 rm -f conftest.c conftest.o conftest
77230 if test "$ac_gcsections" = "yes"; then
77231 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77233 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77234 echo "${ECHO_T}$ac_gcsections" >&6
77236 if test "$ac_test_CFLAGS" = set; then
77237 CFLAGS="$ac_save_CFLAGS"
77238 else
77239 # this is the suspicious part
77240 CFLAGS=''
77244 # Set -z,relro.
77245 # Note this is only for shared objects.
77246 ac_ld_relro=no
77247 if test x"$with_gnu_ld" = x"yes"; then
77248 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77249 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77250 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77251 if test -n "$cxx_z_relo"; then
77252 OPT_LDFLAGS="-Wl,-z,relro"
77253 ac_ld_relro=yes
77255 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77256 echo "${ECHO_T}$ac_ld_relro" >&6
77259 # Set linker optimization flags.
77260 if test x"$with_gnu_ld" = x"yes"; then
77261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77269 echo "$as_me:$LINENO: checking for main in -lm" >&5
77270 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77271 if test "${ac_cv_lib_m_main+set}" = set; then
77272 echo $ECHO_N "(cached) $ECHO_C" >&6
77273 else
77274 ac_check_lib_save_LIBS=$LIBS
77275 LIBS="-lm $LIBS"
77276 if test x$gcc_no_link = xyes; then
77277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77279 { (exit 1); exit 1; }; }
77281 cat >conftest.$ac_ext <<_ACEOF
77282 /* confdefs.h. */
77283 _ACEOF
77284 cat confdefs.h >>conftest.$ac_ext
77285 cat >>conftest.$ac_ext <<_ACEOF
77286 /* end confdefs.h. */
77290 main ()
77292 main ();
77294 return 0;
77296 _ACEOF
77297 rm -f conftest.$ac_objext conftest$ac_exeext
77298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77299 (eval $ac_link) 2>conftest.er1
77300 ac_status=$?
77301 grep -v '^ *+' conftest.er1 >conftest.err
77302 rm -f conftest.er1
77303 cat conftest.err >&5
77304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77305 (exit $ac_status); } &&
77306 { ac_try='test -z "$ac_c_werror_flag"
77307 || test ! -s conftest.err'
77308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309 (eval $ac_try) 2>&5
77310 ac_status=$?
77311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312 (exit $ac_status); }; } &&
77313 { ac_try='test -s conftest$ac_exeext'
77314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77315 (eval $ac_try) 2>&5
77316 ac_status=$?
77317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318 (exit $ac_status); }; }; then
77319 ac_cv_lib_m_main=yes
77320 else
77321 echo "$as_me: failed program was:" >&5
77322 sed 's/^/| /' conftest.$ac_ext >&5
77324 ac_cv_lib_m_main=no
77326 rm -f conftest.err conftest.$ac_objext \
77327 conftest$ac_exeext conftest.$ac_ext
77328 LIBS=$ac_check_lib_save_LIBS
77330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77331 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77332 if test $ac_cv_lib_m_main = yes; then
77333 cat >>confdefs.h <<_ACEOF
77334 #define HAVE_LIBM 1
77335 _ACEOF
77337 LIBS="-lm $LIBS"
77342 for ac_func in copysignf
77344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77345 echo "$as_me:$LINENO: checking for $ac_func" >&5
77346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77347 if eval "test \"\${$as_ac_var+set}\" = set"; then
77348 echo $ECHO_N "(cached) $ECHO_C" >&6
77349 else
77350 if test x$gcc_no_link = xyes; then
77351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77353 { (exit 1); exit 1; }; }
77355 cat >conftest.$ac_ext <<_ACEOF
77356 /* confdefs.h. */
77357 _ACEOF
77358 cat confdefs.h >>conftest.$ac_ext
77359 cat >>conftest.$ac_ext <<_ACEOF
77360 /* end confdefs.h. */
77361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77363 #define $ac_func innocuous_$ac_func
77365 /* System header to define __stub macros and hopefully few prototypes,
77366 which can conflict with char $ac_func (); below.
77367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77368 <limits.h> exists even on freestanding compilers. */
77370 #ifdef __STDC__
77371 # include <limits.h>
77372 #else
77373 # include <assert.h>
77374 #endif
77376 #undef $ac_func
77378 /* Override any gcc2 internal prototype to avoid an error. */
77379 #ifdef __cplusplus
77380 extern "C"
77382 #endif
77383 /* We use char because int might match the return type of a gcc2
77384 builtin and then its argument prototype would still apply. */
77385 char $ac_func ();
77386 /* The GNU C library defines this for functions which it implements
77387 to always fail with ENOSYS. Some functions are actually named
77388 something starting with __ and the normal name is an alias. */
77389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77390 choke me
77391 #else
77392 char (*f) () = $ac_func;
77393 #endif
77394 #ifdef __cplusplus
77396 #endif
77399 main ()
77401 return f != $ac_func;
77403 return 0;
77405 _ACEOF
77406 rm -f conftest.$ac_objext conftest$ac_exeext
77407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77408 (eval $ac_link) 2>conftest.er1
77409 ac_status=$?
77410 grep -v '^ *+' conftest.er1 >conftest.err
77411 rm -f conftest.er1
77412 cat conftest.err >&5
77413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414 (exit $ac_status); } &&
77415 { ac_try='test -z "$ac_c_werror_flag"
77416 || test ! -s conftest.err'
77417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77418 (eval $ac_try) 2>&5
77419 ac_status=$?
77420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77421 (exit $ac_status); }; } &&
77422 { ac_try='test -s conftest$ac_exeext'
77423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77424 (eval $ac_try) 2>&5
77425 ac_status=$?
77426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77427 (exit $ac_status); }; }; then
77428 eval "$as_ac_var=yes"
77429 else
77430 echo "$as_me: failed program was:" >&5
77431 sed 's/^/| /' conftest.$ac_ext >&5
77433 eval "$as_ac_var=no"
77435 rm -f conftest.err conftest.$ac_objext \
77436 conftest$ac_exeext conftest.$ac_ext
77438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77440 if test `eval echo '${'$as_ac_var'}'` = yes; then
77441 cat >>confdefs.h <<_ACEOF
77442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77443 _ACEOF
77445 else
77446 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77448 done
77452 for ac_func in __signbit
77454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77455 echo "$as_me:$LINENO: checking for $ac_func" >&5
77456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77457 if eval "test \"\${$as_ac_var+set}\" = set"; then
77458 echo $ECHO_N "(cached) $ECHO_C" >&6
77459 else
77460 if test x$gcc_no_link = xyes; then
77461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77463 { (exit 1); exit 1; }; }
77465 cat >conftest.$ac_ext <<_ACEOF
77466 /* confdefs.h. */
77467 _ACEOF
77468 cat confdefs.h >>conftest.$ac_ext
77469 cat >>conftest.$ac_ext <<_ACEOF
77470 /* end confdefs.h. */
77471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77473 #define $ac_func innocuous_$ac_func
77475 /* System header to define __stub macros and hopefully few prototypes,
77476 which can conflict with char $ac_func (); below.
77477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77478 <limits.h> exists even on freestanding compilers. */
77480 #ifdef __STDC__
77481 # include <limits.h>
77482 #else
77483 # include <assert.h>
77484 #endif
77486 #undef $ac_func
77488 /* Override any gcc2 internal prototype to avoid an error. */
77489 #ifdef __cplusplus
77490 extern "C"
77492 #endif
77493 /* We use char because int might match the return type of a gcc2
77494 builtin and then its argument prototype would still apply. */
77495 char $ac_func ();
77496 /* The GNU C library defines this for functions which it implements
77497 to always fail with ENOSYS. Some functions are actually named
77498 something starting with __ and the normal name is an alias. */
77499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77500 choke me
77501 #else
77502 char (*f) () = $ac_func;
77503 #endif
77504 #ifdef __cplusplus
77506 #endif
77509 main ()
77511 return f != $ac_func;
77513 return 0;
77515 _ACEOF
77516 rm -f conftest.$ac_objext conftest$ac_exeext
77517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77518 (eval $ac_link) 2>conftest.er1
77519 ac_status=$?
77520 grep -v '^ *+' conftest.er1 >conftest.err
77521 rm -f conftest.er1
77522 cat conftest.err >&5
77523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77524 (exit $ac_status); } &&
77525 { ac_try='test -z "$ac_c_werror_flag"
77526 || test ! -s conftest.err'
77527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77528 (eval $ac_try) 2>&5
77529 ac_status=$?
77530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77531 (exit $ac_status); }; } &&
77532 { ac_try='test -s conftest$ac_exeext'
77533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534 (eval $ac_try) 2>&5
77535 ac_status=$?
77536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537 (exit $ac_status); }; }; then
77538 eval "$as_ac_var=yes"
77539 else
77540 echo "$as_me: failed program was:" >&5
77541 sed 's/^/| /' conftest.$ac_ext >&5
77543 eval "$as_ac_var=no"
77545 rm -f conftest.err conftest.$ac_objext \
77546 conftest$ac_exeext conftest.$ac_ext
77548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77550 if test `eval echo '${'$as_ac_var'}'` = yes; then
77551 cat >>confdefs.h <<_ACEOF
77552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77553 _ACEOF
77555 else
77556 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77558 done
77562 for ac_func in __signbitf
77564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77565 echo "$as_me:$LINENO: checking for $ac_func" >&5
77566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77567 if eval "test \"\${$as_ac_var+set}\" = set"; then
77568 echo $ECHO_N "(cached) $ECHO_C" >&6
77569 else
77570 if test x$gcc_no_link = xyes; then
77571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77573 { (exit 1); exit 1; }; }
77575 cat >conftest.$ac_ext <<_ACEOF
77576 /* confdefs.h. */
77577 _ACEOF
77578 cat confdefs.h >>conftest.$ac_ext
77579 cat >>conftest.$ac_ext <<_ACEOF
77580 /* end confdefs.h. */
77581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77583 #define $ac_func innocuous_$ac_func
77585 /* System header to define __stub macros and hopefully few prototypes,
77586 which can conflict with char $ac_func (); below.
77587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77588 <limits.h> exists even on freestanding compilers. */
77590 #ifdef __STDC__
77591 # include <limits.h>
77592 #else
77593 # include <assert.h>
77594 #endif
77596 #undef $ac_func
77598 /* Override any gcc2 internal prototype to avoid an error. */
77599 #ifdef __cplusplus
77600 extern "C"
77602 #endif
77603 /* We use char because int might match the return type of a gcc2
77604 builtin and then its argument prototype would still apply. */
77605 char $ac_func ();
77606 /* The GNU C library defines this for functions which it implements
77607 to always fail with ENOSYS. Some functions are actually named
77608 something starting with __ and the normal name is an alias. */
77609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77610 choke me
77611 #else
77612 char (*f) () = $ac_func;
77613 #endif
77614 #ifdef __cplusplus
77616 #endif
77619 main ()
77621 return f != $ac_func;
77623 return 0;
77625 _ACEOF
77626 rm -f conftest.$ac_objext conftest$ac_exeext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77628 (eval $ac_link) 2>conftest.er1
77629 ac_status=$?
77630 grep -v '^ *+' conftest.er1 >conftest.err
77631 rm -f conftest.er1
77632 cat conftest.err >&5
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); } &&
77635 { ac_try='test -z "$ac_c_werror_flag"
77636 || test ! -s conftest.err'
77637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638 (eval $ac_try) 2>&5
77639 ac_status=$?
77640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641 (exit $ac_status); }; } &&
77642 { ac_try='test -s conftest$ac_exeext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 eval "$as_ac_var=yes"
77649 else
77650 echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77653 eval "$as_ac_var=no"
77655 rm -f conftest.err conftest.$ac_objext \
77656 conftest$ac_exeext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77660 if test `eval echo '${'$as_ac_var'}'` = yes; then
77661 cat >>confdefs.h <<_ACEOF
77662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77663 _ACEOF
77665 else
77666 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77668 done
77671 if test x$ac_cv_func_copysignl = x"yes"; then
77673 for ac_func in __signbitl
77675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77676 echo "$as_me:$LINENO: checking for $ac_func" >&5
77677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77678 if eval "test \"\${$as_ac_var+set}\" = set"; then
77679 echo $ECHO_N "(cached) $ECHO_C" >&6
77680 else
77681 if test x$gcc_no_link = xyes; then
77682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77684 { (exit 1); exit 1; }; }
77686 cat >conftest.$ac_ext <<_ACEOF
77687 /* confdefs.h. */
77688 _ACEOF
77689 cat confdefs.h >>conftest.$ac_ext
77690 cat >>conftest.$ac_ext <<_ACEOF
77691 /* end confdefs.h. */
77692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77694 #define $ac_func innocuous_$ac_func
77696 /* System header to define __stub macros and hopefully few prototypes,
77697 which can conflict with char $ac_func (); below.
77698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77699 <limits.h> exists even on freestanding compilers. */
77701 #ifdef __STDC__
77702 # include <limits.h>
77703 #else
77704 # include <assert.h>
77705 #endif
77707 #undef $ac_func
77709 /* Override any gcc2 internal prototype to avoid an error. */
77710 #ifdef __cplusplus
77711 extern "C"
77713 #endif
77714 /* We use char because int might match the return type of a gcc2
77715 builtin and then its argument prototype would still apply. */
77716 char $ac_func ();
77717 /* The GNU C library defines this for functions which it implements
77718 to always fail with ENOSYS. Some functions are actually named
77719 something starting with __ and the normal name is an alias. */
77720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77721 choke me
77722 #else
77723 char (*f) () = $ac_func;
77724 #endif
77725 #ifdef __cplusplus
77727 #endif
77730 main ()
77732 return f != $ac_func;
77734 return 0;
77736 _ACEOF
77737 rm -f conftest.$ac_objext conftest$ac_exeext
77738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77739 (eval $ac_link) 2>conftest.er1
77740 ac_status=$?
77741 grep -v '^ *+' conftest.er1 >conftest.err
77742 rm -f conftest.er1
77743 cat conftest.err >&5
77744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745 (exit $ac_status); } &&
77746 { ac_try='test -z "$ac_c_werror_flag"
77747 || test ! -s conftest.err'
77748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749 (eval $ac_try) 2>&5
77750 ac_status=$?
77751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752 (exit $ac_status); }; } &&
77753 { ac_try='test -s conftest$ac_exeext'
77754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77755 (eval $ac_try) 2>&5
77756 ac_status=$?
77757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77758 (exit $ac_status); }; }; then
77759 eval "$as_ac_var=yes"
77760 else
77761 echo "$as_me: failed program was:" >&5
77762 sed 's/^/| /' conftest.$ac_ext >&5
77764 eval "$as_ac_var=no"
77766 rm -f conftest.err conftest.$ac_objext \
77767 conftest$ac_exeext conftest.$ac_ext
77769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77771 if test `eval echo '${'$as_ac_var'}'` = yes; then
77772 cat >>confdefs.h <<_ACEOF
77773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77774 _ACEOF
77776 else
77777 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77779 done
77783 # Used in libmath/Makefile.am.
77784 if test -n "$LIBMATHOBJS"; then
77785 need_libmath=yes
77791 enable_iconv=no
77792 # Only continue checking if the ISO C99 headers exist and support is on.
77793 if test x"$enable_wchar_t" = xyes; then
77795 # Use iconv for wchar_t to char conversions. As such, check for
77796 # X/Open Portability Guide, version 2 features (XPG2).
77797 if test "${ac_cv_header_iconv_h+set}" = set; then
77798 echo "$as_me:$LINENO: checking for iconv.h" >&5
77799 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77800 if test "${ac_cv_header_iconv_h+set}" = set; then
77801 echo $ECHO_N "(cached) $ECHO_C" >&6
77803 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77804 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77805 else
77806 # Is the header compilable?
77807 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77808 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77809 cat >conftest.$ac_ext <<_ACEOF
77810 /* confdefs.h. */
77811 _ACEOF
77812 cat confdefs.h >>conftest.$ac_ext
77813 cat >>conftest.$ac_ext <<_ACEOF
77814 /* end confdefs.h. */
77815 $ac_includes_default
77816 #include <iconv.h>
77817 _ACEOF
77818 rm -f conftest.$ac_objext
77819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77820 (eval $ac_compile) 2>conftest.er1
77821 ac_status=$?
77822 grep -v '^ *+' conftest.er1 >conftest.err
77823 rm -f conftest.er1
77824 cat conftest.err >&5
77825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826 (exit $ac_status); } &&
77827 { ac_try='test -z "$ac_c_werror_flag"
77828 || test ! -s conftest.err'
77829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77830 (eval $ac_try) 2>&5
77831 ac_status=$?
77832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77833 (exit $ac_status); }; } &&
77834 { ac_try='test -s conftest.$ac_objext'
77835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77836 (eval $ac_try) 2>&5
77837 ac_status=$?
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); }; }; then
77840 ac_header_compiler=yes
77841 else
77842 echo "$as_me: failed program was:" >&5
77843 sed 's/^/| /' conftest.$ac_ext >&5
77845 ac_header_compiler=no
77847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77849 echo "${ECHO_T}$ac_header_compiler" >&6
77851 # Is the header present?
77852 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77853 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77854 cat >conftest.$ac_ext <<_ACEOF
77855 /* confdefs.h. */
77856 _ACEOF
77857 cat confdefs.h >>conftest.$ac_ext
77858 cat >>conftest.$ac_ext <<_ACEOF
77859 /* end confdefs.h. */
77860 #include <iconv.h>
77861 _ACEOF
77862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77864 ac_status=$?
77865 grep -v '^ *+' conftest.er1 >conftest.err
77866 rm -f conftest.er1
77867 cat conftest.err >&5
77868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77869 (exit $ac_status); } >/dev/null; then
77870 if test -s conftest.err; then
77871 ac_cpp_err=$ac_c_preproc_warn_flag
77872 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77873 else
77874 ac_cpp_err=
77876 else
77877 ac_cpp_err=yes
77879 if test -z "$ac_cpp_err"; then
77880 ac_header_preproc=yes
77881 else
77882 echo "$as_me: failed program was:" >&5
77883 sed 's/^/| /' conftest.$ac_ext >&5
77885 ac_header_preproc=no
77887 rm -f conftest.err conftest.$ac_ext
77888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77889 echo "${ECHO_T}$ac_header_preproc" >&6
77891 # So? What about this header?
77892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77893 yes:no: )
77894 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77895 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77896 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77897 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77898 ac_header_preproc=yes
77900 no:yes:* )
77901 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77902 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77903 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77904 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77905 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77906 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77907 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77908 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77909 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77910 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77911 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77912 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77914 cat <<\_ASBOX
77915 ## ----------------------------------------- ##
77916 ## Report this to the package-unused lists. ##
77917 ## ----------------------------------------- ##
77918 _ASBOX
77920 sed "s/^/$as_me: WARNING: /" >&2
77922 esac
77923 echo "$as_me:$LINENO: checking for iconv.h" >&5
77924 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77925 if test "${ac_cv_header_iconv_h+set}" = set; then
77926 echo $ECHO_N "(cached) $ECHO_C" >&6
77927 else
77928 ac_cv_header_iconv_h=$ac_header_preproc
77930 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77931 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77934 if test $ac_cv_header_iconv_h = yes; then
77935 ac_has_iconv_h=yes
77936 else
77937 ac_has_iconv_h=no
77941 if test "${ac_cv_header_langinfo_h+set}" = set; then
77942 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77943 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77944 if test "${ac_cv_header_langinfo_h+set}" = set; then
77945 echo $ECHO_N "(cached) $ECHO_C" >&6
77947 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77948 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77949 else
77950 # Is the header compilable?
77951 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77952 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77953 cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h. */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h. */
77959 $ac_includes_default
77960 #include <langinfo.h>
77961 _ACEOF
77962 rm -f conftest.$ac_objext
77963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77964 (eval $ac_compile) 2>conftest.er1
77965 ac_status=$?
77966 grep -v '^ *+' conftest.er1 >conftest.err
77967 rm -f conftest.er1
77968 cat conftest.err >&5
77969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970 (exit $ac_status); } &&
77971 { ac_try='test -z "$ac_c_werror_flag"
77972 || test ! -s conftest.err'
77973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77974 (eval $ac_try) 2>&5
77975 ac_status=$?
77976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77977 (exit $ac_status); }; } &&
77978 { ac_try='test -s conftest.$ac_objext'
77979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77980 (eval $ac_try) 2>&5
77981 ac_status=$?
77982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77983 (exit $ac_status); }; }; then
77984 ac_header_compiler=yes
77985 else
77986 echo "$as_me: failed program was:" >&5
77987 sed 's/^/| /' conftest.$ac_ext >&5
77989 ac_header_compiler=no
77991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77993 echo "${ECHO_T}$ac_header_compiler" >&6
77995 # Is the header present?
77996 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77997 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77998 cat >conftest.$ac_ext <<_ACEOF
77999 /* confdefs.h. */
78000 _ACEOF
78001 cat confdefs.h >>conftest.$ac_ext
78002 cat >>conftest.$ac_ext <<_ACEOF
78003 /* end confdefs.h. */
78004 #include <langinfo.h>
78005 _ACEOF
78006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78008 ac_status=$?
78009 grep -v '^ *+' conftest.er1 >conftest.err
78010 rm -f conftest.er1
78011 cat conftest.err >&5
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); } >/dev/null; then
78014 if test -s conftest.err; then
78015 ac_cpp_err=$ac_c_preproc_warn_flag
78016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78017 else
78018 ac_cpp_err=
78020 else
78021 ac_cpp_err=yes
78023 if test -z "$ac_cpp_err"; then
78024 ac_header_preproc=yes
78025 else
78026 echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78029 ac_header_preproc=no
78031 rm -f conftest.err conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78033 echo "${ECHO_T}$ac_header_preproc" >&6
78035 # So? What about this header?
78036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78037 yes:no: )
78038 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78039 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78040 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78041 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78042 ac_header_preproc=yes
78044 no:yes:* )
78045 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78046 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78047 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78048 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78049 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78050 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78051 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78052 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78053 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78054 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78055 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78056 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78058 cat <<\_ASBOX
78059 ## ----------------------------------------- ##
78060 ## Report this to the package-unused lists. ##
78061 ## ----------------------------------------- ##
78062 _ASBOX
78064 sed "s/^/$as_me: WARNING: /" >&2
78066 esac
78067 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78068 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78069 if test "${ac_cv_header_langinfo_h+set}" = set; then
78070 echo $ECHO_N "(cached) $ECHO_C" >&6
78071 else
78072 ac_cv_header_langinfo_h=$ac_header_preproc
78074 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78075 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78078 if test $ac_cv_header_langinfo_h = yes; then
78079 ac_has_langinfo_h=yes
78080 else
78081 ac_has_langinfo_h=no
78086 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78087 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78088 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78089 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78090 echo $ECHO_N "(cached) $ECHO_C" >&6
78091 else
78092 ac_check_lib_save_LIBS=$LIBS
78093 LIBS="-liconv $LIBS"
78094 if test x$gcc_no_link = xyes; then
78095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78097 { (exit 1); exit 1; }; }
78099 cat >conftest.$ac_ext <<_ACEOF
78100 /* confdefs.h. */
78101 _ACEOF
78102 cat confdefs.h >>conftest.$ac_ext
78103 cat >>conftest.$ac_ext <<_ACEOF
78104 /* end confdefs.h. */
78106 /* Override any gcc2 internal prototype to avoid an error. */
78107 #ifdef __cplusplus
78108 extern "C"
78109 #endif
78110 /* We use char because int might match the return type of a gcc2
78111 builtin and then its argument prototype would still apply. */
78112 char iconv ();
78114 main ()
78116 iconv ();
78118 return 0;
78120 _ACEOF
78121 rm -f conftest.$ac_objext conftest$ac_exeext
78122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78123 (eval $ac_link) 2>conftest.er1
78124 ac_status=$?
78125 grep -v '^ *+' conftest.er1 >conftest.err
78126 rm -f conftest.er1
78127 cat conftest.err >&5
78128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78129 (exit $ac_status); } &&
78130 { ac_try='test -z "$ac_c_werror_flag"
78131 || test ! -s conftest.err'
78132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78133 (eval $ac_try) 2>&5
78134 ac_status=$?
78135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136 (exit $ac_status); }; } &&
78137 { ac_try='test -s conftest$ac_exeext'
78138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78139 (eval $ac_try) 2>&5
78140 ac_status=$?
78141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78142 (exit $ac_status); }; }; then
78143 ac_cv_lib_iconv_iconv=yes
78144 else
78145 echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78148 ac_cv_lib_iconv_iconv=no
78150 rm -f conftest.err conftest.$ac_objext \
78151 conftest$ac_exeext conftest.$ac_ext
78152 LIBS=$ac_check_lib_save_LIBS
78154 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78155 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78156 if test $ac_cv_lib_iconv_iconv = yes; then
78157 LIBICONV="-liconv"
78160 ac_save_LIBS="$LIBS"
78161 LIBS="$LIBS $LIBICONV"
78168 for ac_func in iconv_open iconv_close iconv nl_langinfo
78170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78171 echo "$as_me:$LINENO: checking for $ac_func" >&5
78172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78173 if eval "test \"\${$as_ac_var+set}\" = set"; then
78174 echo $ECHO_N "(cached) $ECHO_C" >&6
78175 else
78176 if test x$gcc_no_link = xyes; then
78177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78179 { (exit 1); exit 1; }; }
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78189 #define $ac_func innocuous_$ac_func
78191 /* System header to define __stub macros and hopefully few prototypes,
78192 which can conflict with char $ac_func (); below.
78193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78194 <limits.h> exists even on freestanding compilers. */
78196 #ifdef __STDC__
78197 # include <limits.h>
78198 #else
78199 # include <assert.h>
78200 #endif
78202 #undef $ac_func
78204 /* Override any gcc2 internal prototype to avoid an error. */
78205 #ifdef __cplusplus
78206 extern "C"
78208 #endif
78209 /* We use char because int might match the return type of a gcc2
78210 builtin and then its argument prototype would still apply. */
78211 char $ac_func ();
78212 /* The GNU C library defines this for functions which it implements
78213 to always fail with ENOSYS. Some functions are actually named
78214 something starting with __ and the normal name is an alias. */
78215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78216 choke me
78217 #else
78218 char (*f) () = $ac_func;
78219 #endif
78220 #ifdef __cplusplus
78222 #endif
78225 main ()
78227 return f != $ac_func;
78229 return 0;
78231 _ACEOF
78232 rm -f conftest.$ac_objext conftest$ac_exeext
78233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78234 (eval $ac_link) 2>conftest.er1
78235 ac_status=$?
78236 grep -v '^ *+' conftest.er1 >conftest.err
78237 rm -f conftest.er1
78238 cat conftest.err >&5
78239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240 (exit $ac_status); } &&
78241 { ac_try='test -z "$ac_c_werror_flag"
78242 || test ! -s conftest.err'
78243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78244 (eval $ac_try) 2>&5
78245 ac_status=$?
78246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78247 (exit $ac_status); }; } &&
78248 { ac_try='test -s conftest$ac_exeext'
78249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78250 (eval $ac_try) 2>&5
78251 ac_status=$?
78252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78253 (exit $ac_status); }; }; then
78254 eval "$as_ac_var=yes"
78255 else
78256 echo "$as_me: failed program was:" >&5
78257 sed 's/^/| /' conftest.$ac_ext >&5
78259 eval "$as_ac_var=no"
78261 rm -f conftest.err conftest.$ac_objext \
78262 conftest$ac_exeext conftest.$ac_ext
78264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78266 if test `eval echo '${'$as_ac_var'}'` = yes; then
78267 cat >>confdefs.h <<_ACEOF
78268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78269 _ACEOF
78270 ac_XPG2funcs=yes
78271 else
78272 ac_XPG2funcs=no
78274 done
78277 LIBS="$ac_save_LIBS"
78279 if test x"$ac_has_iconv_h" = xyes &&
78280 test x"$ac_has_langinfo_h" = xyes &&
78281 test x"$ac_XPG2funcs" = xyes;
78282 then
78284 cat >>confdefs.h <<\_ACEOF
78285 #define _GLIBCXX_USE_ICONV 1
78286 _ACEOF
78288 enable_iconv=yes
78291 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78292 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78293 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78294 echo "${ECHO_T}$enable_iconv" >&6
78296 cat >>confdefs.h <<\_ACEOF
78297 #define HAVE_COPYSIGN 1
78298 _ACEOF
78300 cat >>confdefs.h <<\_ACEOF
78301 #define HAVE_COPYSIGNF 1
78302 _ACEOF
78304 cat >>confdefs.h <<\_ACEOF
78305 #define HAVE_FREXPF 1
78306 _ACEOF
78308 cat >>confdefs.h <<\_ACEOF
78309 #define HAVE_HYPOT 1
78310 _ACEOF
78312 case "$target" in
78313 *-hpux10*)
78314 cat >>confdefs.h <<\_ACEOF
78315 #define HAVE_FINITE 1
78316 _ACEOF
78318 cat >>confdefs.h <<\_ACEOF
78319 #define HAVE_FINITEF 1
78320 _ACEOF
78322 cat >>confdefs.h <<\_ACEOF
78323 #define HAVE_ISINF 1
78324 _ACEOF
78326 cat >>confdefs.h <<\_ACEOF
78327 #define HAVE_ISINFF 1
78328 _ACEOF
78330 cat >>confdefs.h <<\_ACEOF
78331 #define HAVE_ISNAN 1
78332 _ACEOF
78334 cat >>confdefs.h <<\_ACEOF
78335 #define HAVE_ISNANF 1
78336 _ACEOF
78339 esac
78341 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78357 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78358 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78359 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78363 echo "$as_me:$LINENO: checking for $ac_header" >&5
78364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78366 echo $ECHO_N "(cached) $ECHO_C" >&6
78368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78370 else
78371 # Is the header compilable?
78372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78374 cat >conftest.$ac_ext <<_ACEOF
78375 /* confdefs.h. */
78376 _ACEOF
78377 cat confdefs.h >>conftest.$ac_ext
78378 cat >>conftest.$ac_ext <<_ACEOF
78379 /* end confdefs.h. */
78380 $ac_includes_default
78381 #include <$ac_header>
78382 _ACEOF
78383 rm -f conftest.$ac_objext
78384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78385 (eval $ac_compile) 2>conftest.er1
78386 ac_status=$?
78387 grep -v '^ *+' conftest.er1 >conftest.err
78388 rm -f conftest.er1
78389 cat conftest.err >&5
78390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391 (exit $ac_status); } &&
78392 { ac_try='test -z "$ac_c_werror_flag"
78393 || test ! -s conftest.err'
78394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78395 (eval $ac_try) 2>&5
78396 ac_status=$?
78397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78398 (exit $ac_status); }; } &&
78399 { ac_try='test -s conftest.$ac_objext'
78400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78401 (eval $ac_try) 2>&5
78402 ac_status=$?
78403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78404 (exit $ac_status); }; }; then
78405 ac_header_compiler=yes
78406 else
78407 echo "$as_me: failed program was:" >&5
78408 sed 's/^/| /' conftest.$ac_ext >&5
78410 ac_header_compiler=no
78412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78414 echo "${ECHO_T}$ac_header_compiler" >&6
78416 # Is the header present?
78417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78419 cat >conftest.$ac_ext <<_ACEOF
78420 /* confdefs.h. */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h. */
78425 #include <$ac_header>
78426 _ACEOF
78427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78429 ac_status=$?
78430 grep -v '^ *+' conftest.er1 >conftest.err
78431 rm -f conftest.er1
78432 cat conftest.err >&5
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); } >/dev/null; then
78435 if test -s conftest.err; then
78436 ac_cpp_err=$ac_c_preproc_warn_flag
78437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78438 else
78439 ac_cpp_err=
78441 else
78442 ac_cpp_err=yes
78444 if test -z "$ac_cpp_err"; then
78445 ac_header_preproc=yes
78446 else
78447 echo "$as_me: failed program was:" >&5
78448 sed 's/^/| /' conftest.$ac_ext >&5
78450 ac_header_preproc=no
78452 rm -f conftest.err conftest.$ac_ext
78453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78454 echo "${ECHO_T}$ac_header_preproc" >&6
78456 # So? What about this header?
78457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78458 yes:no: )
78459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78463 ac_header_preproc=yes
78465 no:yes:* )
78466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78479 cat <<\_ASBOX
78480 ## ----------------------------------------- ##
78481 ## Report this to the package-unused lists. ##
78482 ## ----------------------------------------- ##
78483 _ASBOX
78485 sed "s/^/$as_me: WARNING: /" >&2
78487 esac
78488 echo "$as_me:$LINENO: checking for $ac_header" >&5
78489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78491 echo $ECHO_N "(cached) $ECHO_C" >&6
78492 else
78493 eval "$as_ac_Header=\$ac_header_preproc"
78495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78500 cat >>confdefs.h <<_ACEOF
78501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78502 _ACEOF
78506 done
78508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78511 # All these tests are for C++; save the language and the compiler flags.
78512 # The CXXFLAGS thing is suspicious, but based on similar bits previously
78513 # found in GLIBCXX_CONFIGURE.
78516 ac_ext=cc
78517 ac_cpp='$CXXCPP $CPPFLAGS'
78518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78522 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78523 ac_save_CXXFLAGS="$CXXFLAGS"
78525 # Check for maintainer-mode bits.
78526 if test x"$USE_MAINTAINER_MODE" = xno; then
78527 WERROR=''
78528 else
78529 WERROR='-Werror'
78532 # Check for -ffunction-sections -fdata-sections
78533 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78534 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78535 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78536 cat >conftest.$ac_ext <<_ACEOF
78537 /* confdefs.h. */
78538 _ACEOF
78539 cat confdefs.h >>conftest.$ac_ext
78540 cat >>conftest.$ac_ext <<_ACEOF
78541 /* end confdefs.h. */
78544 main ()
78546 int foo;
78548 return 0;
78550 _ACEOF
78551 rm -f conftest.$ac_objext
78552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78553 (eval $ac_compile) 2>conftest.er1
78554 ac_status=$?
78555 grep -v '^ *+' conftest.er1 >conftest.err
78556 rm -f conftest.er1
78557 cat conftest.err >&5
78558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78559 (exit $ac_status); } &&
78560 { ac_try='test -z "$ac_cxx_werror_flag"
78561 || test ! -s conftest.err'
78562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78563 (eval $ac_try) 2>&5
78564 ac_status=$?
78565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78566 (exit $ac_status); }; } &&
78567 { ac_try='test -s conftest.$ac_objext'
78568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78569 (eval $ac_try) 2>&5
78570 ac_status=$?
78571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78572 (exit $ac_status); }; }; then
78573 ac_fdsections=yes
78574 else
78575 echo "$as_me: failed program was:" >&5
78576 sed 's/^/| /' conftest.$ac_ext >&5
78578 ac_fdsections=no
78580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78581 if test "$ac_test_CXXFLAGS" = set; then
78582 CXXFLAGS="$ac_save_CXXFLAGS"
78583 else
78584 # this is the suspicious part
78585 CXXFLAGS=''
78587 if test x"$ac_fdsections" = x"yes"; then
78588 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78590 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78591 echo "${ECHO_T}$ac_fdsections" >&6
78593 ac_ext=c
78594 ac_cpp='$CPP $CPPFLAGS'
78595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78603 # If we're not using GNU ld, then there's no point in even trying these
78604 # tests. Check for that first. We should have already tested for gld
78605 # by now (in libtool), but require it now just to be safe...
78606 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78607 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78611 # The name set by libtool depends on the version of libtool. Shame on us
78612 # for depending on an impl detail, but c'est la vie. Older versions used
78613 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78614 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78615 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78616 # set (hence we're using an older libtool), then set it.
78617 if test x${with_gnu_ld+set} != xset; then
78618 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78619 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78620 with_gnu_ld=no
78621 else
78622 with_gnu_ld=$ac_cv_prog_gnu_ld
78626 # Start by getting the version number. I think the libtool test already
78627 # does some of this, but throws away the result.
78628 echo "$as_me:$LINENO: checking for ld version" >&5
78629 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78631 ldver=`$LD --version 2>/dev/null | head -1 | \
78632 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78634 glibcxx_gnu_ld_version=`echo $ldver | \
78635 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78636 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78637 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78639 # Set --gc-sections.
78640 glibcxx_gcsections_min_ld=21602
78641 if test x"$with_gnu_ld" = x"yes" &&
78642 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78644 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78645 # NB: This flag only works reliably after 2.16.1. Configure tests
78646 # for this are difficult, so hard wire a value that should work.
78648 # All these tests are for C++, but run with the "C" compiler driver.
78649 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78650 ac_test_CFLAGS="${CFLAGS+set}"
78651 ac_save_CFLAGS="$CFLAGS"
78652 CFLAGS='-x c++ -Wl,--gc-sections'
78654 # Check for -Wl,--gc-sections
78655 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78656 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78657 if test x$gcc_no_link = xyes; then
78658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78660 { (exit 1); exit 1; }; }
78662 cat >conftest.$ac_ext <<_ACEOF
78663 /* confdefs.h. */
78664 _ACEOF
78665 cat confdefs.h >>conftest.$ac_ext
78666 cat >>conftest.$ac_ext <<_ACEOF
78667 /* end confdefs.h. */
78668 int one(void) { return 1; }
78669 int two(void) { return 2; }
78672 main ()
78674 two();
78676 return 0;
78678 _ACEOF
78679 rm -f conftest.$ac_objext conftest$ac_exeext
78680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78681 (eval $ac_link) 2>conftest.er1
78682 ac_status=$?
78683 grep -v '^ *+' conftest.er1 >conftest.err
78684 rm -f conftest.er1
78685 cat conftest.err >&5
78686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78687 (exit $ac_status); } &&
78688 { ac_try='test -z "$ac_c_werror_flag"
78689 || test ! -s conftest.err'
78690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78691 (eval $ac_try) 2>&5
78692 ac_status=$?
78693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78694 (exit $ac_status); }; } &&
78695 { ac_try='test -s conftest$ac_exeext'
78696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78697 (eval $ac_try) 2>&5
78698 ac_status=$?
78699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78700 (exit $ac_status); }; }; then
78701 ac_gcsections=yes
78702 else
78703 echo "$as_me: failed program was:" >&5
78704 sed 's/^/| /' conftest.$ac_ext >&5
78706 ac_gcsections=no
78708 rm -f conftest.err conftest.$ac_objext \
78709 conftest$ac_exeext conftest.$ac_ext
78710 if test "$ac_gcsections" = "yes"; then
78711 rm -f conftest.c
78712 touch conftest.c
78713 if $CC -c conftest.c; then
78714 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78715 grep "Warning: gc-sections option ignored" > /dev/null; then
78716 ac_gcsections=no
78719 rm -f conftest.c conftest.o conftest
78721 if test "$ac_gcsections" = "yes"; then
78722 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78724 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78725 echo "${ECHO_T}$ac_gcsections" >&6
78727 if test "$ac_test_CFLAGS" = set; then
78728 CFLAGS="$ac_save_CFLAGS"
78729 else
78730 # this is the suspicious part
78731 CFLAGS=''
78735 # Set -z,relro.
78736 # Note this is only for shared objects.
78737 ac_ld_relro=no
78738 if test x"$with_gnu_ld" = x"yes"; then
78739 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78740 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78741 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78742 if test -n "$cxx_z_relo"; then
78743 OPT_LDFLAGS="-Wl,-z,relro"
78744 ac_ld_relro=yes
78746 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78747 echo "${ECHO_T}$ac_ld_relro" >&6
78750 # Set linker optimization flags.
78751 if test x"$with_gnu_ld" = x"yes"; then
78752 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78760 ac_save_CXXFLAGS="$CXXFLAGS"
78761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78763 echo "$as_me:$LINENO: checking for sin in -lm" >&5
78764 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78765 if test "${ac_cv_lib_m_sin+set}" = set; then
78766 echo $ECHO_N "(cached) $ECHO_C" >&6
78767 else
78768 ac_check_lib_save_LIBS=$LIBS
78769 LIBS="-lm $LIBS"
78770 if test x$gcc_no_link = xyes; then
78771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78773 { (exit 1); exit 1; }; }
78775 cat >conftest.$ac_ext <<_ACEOF
78776 /* confdefs.h. */
78777 _ACEOF
78778 cat confdefs.h >>conftest.$ac_ext
78779 cat >>conftest.$ac_ext <<_ACEOF
78780 /* end confdefs.h. */
78782 /* Override any gcc2 internal prototype to avoid an error. */
78783 #ifdef __cplusplus
78784 extern "C"
78785 #endif
78786 /* We use char because int might match the return type of a gcc2
78787 builtin and then its argument prototype would still apply. */
78788 char sin ();
78790 main ()
78792 sin ();
78794 return 0;
78796 _ACEOF
78797 rm -f conftest.$ac_objext conftest$ac_exeext
78798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78799 (eval $ac_link) 2>conftest.er1
78800 ac_status=$?
78801 grep -v '^ *+' conftest.er1 >conftest.err
78802 rm -f conftest.er1
78803 cat conftest.err >&5
78804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78805 (exit $ac_status); } &&
78806 { ac_try='test -z "$ac_c_werror_flag"
78807 || test ! -s conftest.err'
78808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78809 (eval $ac_try) 2>&5
78810 ac_status=$?
78811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78812 (exit $ac_status); }; } &&
78813 { ac_try='test -s conftest$ac_exeext'
78814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78815 (eval $ac_try) 2>&5
78816 ac_status=$?
78817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78818 (exit $ac_status); }; }; then
78819 ac_cv_lib_m_sin=yes
78820 else
78821 echo "$as_me: failed program was:" >&5
78822 sed 's/^/| /' conftest.$ac_ext >&5
78824 ac_cv_lib_m_sin=no
78826 rm -f conftest.err conftest.$ac_objext \
78827 conftest$ac_exeext conftest.$ac_ext
78828 LIBS=$ac_check_lib_save_LIBS
78830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78831 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78832 if test $ac_cv_lib_m_sin = yes; then
78833 libm="-lm"
78836 ac_save_LIBS="$LIBS"
78837 LIBS="$LIBS $libm"
78841 echo "$as_me:$LINENO: checking for isinf declaration" >&5
78842 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78843 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78844 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78845 echo $ECHO_N "(cached) $ECHO_C" >&6
78846 else
78850 ac_ext=cc
78851 ac_cpp='$CXXCPP $CPPFLAGS'
78852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78856 cat >conftest.$ac_ext <<_ACEOF
78857 /* confdefs.h. */
78858 _ACEOF
78859 cat confdefs.h >>conftest.$ac_ext
78860 cat >>conftest.$ac_ext <<_ACEOF
78861 /* end confdefs.h. */
78862 #include <math.h>
78863 #ifdef HAVE_IEEEFP_H
78864 #include <ieeefp.h>
78865 #endif
78868 main ()
78870 isinf(0);
78872 return 0;
78874 _ACEOF
78875 rm -f conftest.$ac_objext
78876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78877 (eval $ac_compile) 2>conftest.er1
78878 ac_status=$?
78879 grep -v '^ *+' conftest.er1 >conftest.err
78880 rm -f conftest.er1
78881 cat conftest.err >&5
78882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78883 (exit $ac_status); } &&
78884 { ac_try='test -z "$ac_cxx_werror_flag"
78885 || test ! -s conftest.err'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; } &&
78891 { ac_try='test -s conftest.$ac_objext'
78892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78893 (eval $ac_try) 2>&5
78894 ac_status=$?
78895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78896 (exit $ac_status); }; }; then
78897 glibcxx_cv_func_isinf_use=yes
78898 else
78899 echo "$as_me: failed program was:" >&5
78900 sed 's/^/| /' conftest.$ac_ext >&5
78902 glibcxx_cv_func_isinf_use=no
78904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78905 ac_ext=c
78906 ac_cpp='$CPP $CPPFLAGS'
78907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78916 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78918 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78920 for ac_func in isinf
78922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78923 echo "$as_me:$LINENO: checking for $ac_func" >&5
78924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78925 if eval "test \"\${$as_ac_var+set}\" = set"; then
78926 echo $ECHO_N "(cached) $ECHO_C" >&6
78927 else
78928 if test x$gcc_no_link = xyes; then
78929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78931 { (exit 1); exit 1; }; }
78933 cat >conftest.$ac_ext <<_ACEOF
78934 /* confdefs.h. */
78935 _ACEOF
78936 cat confdefs.h >>conftest.$ac_ext
78937 cat >>conftest.$ac_ext <<_ACEOF
78938 /* end confdefs.h. */
78939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78941 #define $ac_func innocuous_$ac_func
78943 /* System header to define __stub macros and hopefully few prototypes,
78944 which can conflict with char $ac_func (); below.
78945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78946 <limits.h> exists even on freestanding compilers. */
78948 #ifdef __STDC__
78949 # include <limits.h>
78950 #else
78951 # include <assert.h>
78952 #endif
78954 #undef $ac_func
78956 /* Override any gcc2 internal prototype to avoid an error. */
78957 #ifdef __cplusplus
78958 extern "C"
78960 #endif
78961 /* We use char because int might match the return type of a gcc2
78962 builtin and then its argument prototype would still apply. */
78963 char $ac_func ();
78964 /* The GNU C library defines this for functions which it implements
78965 to always fail with ENOSYS. Some functions are actually named
78966 something starting with __ and the normal name is an alias. */
78967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78968 choke me
78969 #else
78970 char (*f) () = $ac_func;
78971 #endif
78972 #ifdef __cplusplus
78974 #endif
78977 main ()
78979 return f != $ac_func;
78981 return 0;
78983 _ACEOF
78984 rm -f conftest.$ac_objext conftest$ac_exeext
78985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78986 (eval $ac_link) 2>conftest.er1
78987 ac_status=$?
78988 grep -v '^ *+' conftest.er1 >conftest.err
78989 rm -f conftest.er1
78990 cat conftest.err >&5
78991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78992 (exit $ac_status); } &&
78993 { ac_try='test -z "$ac_c_werror_flag"
78994 || test ! -s conftest.err'
78995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78996 (eval $ac_try) 2>&5
78997 ac_status=$?
78998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78999 (exit $ac_status); }; } &&
79000 { ac_try='test -s conftest$ac_exeext'
79001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79002 (eval $ac_try) 2>&5
79003 ac_status=$?
79004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79005 (exit $ac_status); }; }; then
79006 eval "$as_ac_var=yes"
79007 else
79008 echo "$as_me: failed program was:" >&5
79009 sed 's/^/| /' conftest.$ac_ext >&5
79011 eval "$as_ac_var=no"
79013 rm -f conftest.err conftest.$ac_objext \
79014 conftest$ac_exeext conftest.$ac_ext
79016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79018 if test `eval echo '${'$as_ac_var'}'` = yes; then
79019 cat >>confdefs.h <<_ACEOF
79020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79021 _ACEOF
79024 done
79026 else
79028 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79029 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79030 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79031 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79032 echo $ECHO_N "(cached) $ECHO_C" >&6
79033 else
79037 ac_ext=cc
79038 ac_cpp='$CXXCPP $CPPFLAGS'
79039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79043 cat >conftest.$ac_ext <<_ACEOF
79044 /* confdefs.h. */
79045 _ACEOF
79046 cat confdefs.h >>conftest.$ac_ext
79047 cat >>conftest.$ac_ext <<_ACEOF
79048 /* end confdefs.h. */
79049 #include <math.h>
79050 #ifdef HAVE_IEEEFP_H
79051 #include <ieeefp.h>
79052 #endif
79055 main ()
79057 _isinf(0);
79059 return 0;
79061 _ACEOF
79062 rm -f conftest.$ac_objext
79063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79064 (eval $ac_compile) 2>conftest.er1
79065 ac_status=$?
79066 grep -v '^ *+' conftest.er1 >conftest.err
79067 rm -f conftest.er1
79068 cat conftest.err >&5
79069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79070 (exit $ac_status); } &&
79071 { ac_try='test -z "$ac_cxx_werror_flag"
79072 || test ! -s conftest.err'
79073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79074 (eval $ac_try) 2>&5
79075 ac_status=$?
79076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79077 (exit $ac_status); }; } &&
79078 { ac_try='test -s conftest.$ac_objext'
79079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79080 (eval $ac_try) 2>&5
79081 ac_status=$?
79082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79083 (exit $ac_status); }; }; then
79084 glibcxx_cv_func__isinf_use=yes
79085 else
79086 echo "$as_me: failed program was:" >&5
79087 sed 's/^/| /' conftest.$ac_ext >&5
79089 glibcxx_cv_func__isinf_use=no
79091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79092 ac_ext=c
79093 ac_cpp='$CPP $CPPFLAGS'
79094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79103 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79105 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79107 for ac_func in _isinf
79109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79110 echo "$as_me:$LINENO: checking for $ac_func" >&5
79111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79112 if eval "test \"\${$as_ac_var+set}\" = set"; then
79113 echo $ECHO_N "(cached) $ECHO_C" >&6
79114 else
79115 if test x$gcc_no_link = xyes; then
79116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79118 { (exit 1); exit 1; }; }
79120 cat >conftest.$ac_ext <<_ACEOF
79121 /* confdefs.h. */
79122 _ACEOF
79123 cat confdefs.h >>conftest.$ac_ext
79124 cat >>conftest.$ac_ext <<_ACEOF
79125 /* end confdefs.h. */
79126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79128 #define $ac_func innocuous_$ac_func
79130 /* System header to define __stub macros and hopefully few prototypes,
79131 which can conflict with char $ac_func (); below.
79132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79133 <limits.h> exists even on freestanding compilers. */
79135 #ifdef __STDC__
79136 # include <limits.h>
79137 #else
79138 # include <assert.h>
79139 #endif
79141 #undef $ac_func
79143 /* Override any gcc2 internal prototype to avoid an error. */
79144 #ifdef __cplusplus
79145 extern "C"
79147 #endif
79148 /* We use char because int might match the return type of a gcc2
79149 builtin and then its argument prototype would still apply. */
79150 char $ac_func ();
79151 /* The GNU C library defines this for functions which it implements
79152 to always fail with ENOSYS. Some functions are actually named
79153 something starting with __ and the normal name is an alias. */
79154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79155 choke me
79156 #else
79157 char (*f) () = $ac_func;
79158 #endif
79159 #ifdef __cplusplus
79161 #endif
79164 main ()
79166 return f != $ac_func;
79168 return 0;
79170 _ACEOF
79171 rm -f conftest.$ac_objext conftest$ac_exeext
79172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79173 (eval $ac_link) 2>conftest.er1
79174 ac_status=$?
79175 grep -v '^ *+' conftest.er1 >conftest.err
79176 rm -f conftest.er1
79177 cat conftest.err >&5
79178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79179 (exit $ac_status); } &&
79180 { ac_try='test -z "$ac_c_werror_flag"
79181 || test ! -s conftest.err'
79182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79183 (eval $ac_try) 2>&5
79184 ac_status=$?
79185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79186 (exit $ac_status); }; } &&
79187 { ac_try='test -s conftest$ac_exeext'
79188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79189 (eval $ac_try) 2>&5
79190 ac_status=$?
79191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79192 (exit $ac_status); }; }; then
79193 eval "$as_ac_var=yes"
79194 else
79195 echo "$as_me: failed program was:" >&5
79196 sed 's/^/| /' conftest.$ac_ext >&5
79198 eval "$as_ac_var=no"
79200 rm -f conftest.err conftest.$ac_objext \
79201 conftest$ac_exeext conftest.$ac_ext
79203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79205 if test `eval echo '${'$as_ac_var'}'` = yes; then
79206 cat >>confdefs.h <<_ACEOF
79207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79208 _ACEOF
79211 done
79221 echo "$as_me:$LINENO: checking for isnan declaration" >&5
79222 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79223 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79224 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79225 echo $ECHO_N "(cached) $ECHO_C" >&6
79226 else
79230 ac_ext=cc
79231 ac_cpp='$CXXCPP $CPPFLAGS'
79232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79236 cat >conftest.$ac_ext <<_ACEOF
79237 /* confdefs.h. */
79238 _ACEOF
79239 cat confdefs.h >>conftest.$ac_ext
79240 cat >>conftest.$ac_ext <<_ACEOF
79241 /* end confdefs.h. */
79242 #include <math.h>
79243 #ifdef HAVE_IEEEFP_H
79244 #include <ieeefp.h>
79245 #endif
79248 main ()
79250 isnan(0);
79252 return 0;
79254 _ACEOF
79255 rm -f conftest.$ac_objext
79256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79257 (eval $ac_compile) 2>conftest.er1
79258 ac_status=$?
79259 grep -v '^ *+' conftest.er1 >conftest.err
79260 rm -f conftest.er1
79261 cat conftest.err >&5
79262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79263 (exit $ac_status); } &&
79264 { ac_try='test -z "$ac_cxx_werror_flag"
79265 || test ! -s conftest.err'
79266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79267 (eval $ac_try) 2>&5
79268 ac_status=$?
79269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79270 (exit $ac_status); }; } &&
79271 { ac_try='test -s conftest.$ac_objext'
79272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79273 (eval $ac_try) 2>&5
79274 ac_status=$?
79275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79276 (exit $ac_status); }; }; then
79277 glibcxx_cv_func_isnan_use=yes
79278 else
79279 echo "$as_me: failed program was:" >&5
79280 sed 's/^/| /' conftest.$ac_ext >&5
79282 glibcxx_cv_func_isnan_use=no
79284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79285 ac_ext=c
79286 ac_cpp='$CPP $CPPFLAGS'
79287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79296 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79298 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79300 for ac_func in isnan
79302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79303 echo "$as_me:$LINENO: checking for $ac_func" >&5
79304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79305 if eval "test \"\${$as_ac_var+set}\" = set"; then
79306 echo $ECHO_N "(cached) $ECHO_C" >&6
79307 else
79308 if test x$gcc_no_link = xyes; then
79309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79311 { (exit 1); exit 1; }; }
79313 cat >conftest.$ac_ext <<_ACEOF
79314 /* confdefs.h. */
79315 _ACEOF
79316 cat confdefs.h >>conftest.$ac_ext
79317 cat >>conftest.$ac_ext <<_ACEOF
79318 /* end confdefs.h. */
79319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79321 #define $ac_func innocuous_$ac_func
79323 /* System header to define __stub macros and hopefully few prototypes,
79324 which can conflict with char $ac_func (); below.
79325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79326 <limits.h> exists even on freestanding compilers. */
79328 #ifdef __STDC__
79329 # include <limits.h>
79330 #else
79331 # include <assert.h>
79332 #endif
79334 #undef $ac_func
79336 /* Override any gcc2 internal prototype to avoid an error. */
79337 #ifdef __cplusplus
79338 extern "C"
79340 #endif
79341 /* We use char because int might match the return type of a gcc2
79342 builtin and then its argument prototype would still apply. */
79343 char $ac_func ();
79344 /* The GNU C library defines this for functions which it implements
79345 to always fail with ENOSYS. Some functions are actually named
79346 something starting with __ and the normal name is an alias. */
79347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79348 choke me
79349 #else
79350 char (*f) () = $ac_func;
79351 #endif
79352 #ifdef __cplusplus
79354 #endif
79357 main ()
79359 return f != $ac_func;
79361 return 0;
79363 _ACEOF
79364 rm -f conftest.$ac_objext conftest$ac_exeext
79365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79366 (eval $ac_link) 2>conftest.er1
79367 ac_status=$?
79368 grep -v '^ *+' conftest.er1 >conftest.err
79369 rm -f conftest.er1
79370 cat conftest.err >&5
79371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79372 (exit $ac_status); } &&
79373 { ac_try='test -z "$ac_c_werror_flag"
79374 || test ! -s conftest.err'
79375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79376 (eval $ac_try) 2>&5
79377 ac_status=$?
79378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79379 (exit $ac_status); }; } &&
79380 { ac_try='test -s conftest$ac_exeext'
79381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79382 (eval $ac_try) 2>&5
79383 ac_status=$?
79384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79385 (exit $ac_status); }; }; then
79386 eval "$as_ac_var=yes"
79387 else
79388 echo "$as_me: failed program was:" >&5
79389 sed 's/^/| /' conftest.$ac_ext >&5
79391 eval "$as_ac_var=no"
79393 rm -f conftest.err conftest.$ac_objext \
79394 conftest$ac_exeext conftest.$ac_ext
79396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79398 if test `eval echo '${'$as_ac_var'}'` = yes; then
79399 cat >>confdefs.h <<_ACEOF
79400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79401 _ACEOF
79404 done
79406 else
79408 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79409 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79410 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79411 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79412 echo $ECHO_N "(cached) $ECHO_C" >&6
79413 else
79417 ac_ext=cc
79418 ac_cpp='$CXXCPP $CPPFLAGS'
79419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79423 cat >conftest.$ac_ext <<_ACEOF
79424 /* confdefs.h. */
79425 _ACEOF
79426 cat confdefs.h >>conftest.$ac_ext
79427 cat >>conftest.$ac_ext <<_ACEOF
79428 /* end confdefs.h. */
79429 #include <math.h>
79430 #ifdef HAVE_IEEEFP_H
79431 #include <ieeefp.h>
79432 #endif
79435 main ()
79437 _isnan(0);
79439 return 0;
79441 _ACEOF
79442 rm -f conftest.$ac_objext
79443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79444 (eval $ac_compile) 2>conftest.er1
79445 ac_status=$?
79446 grep -v '^ *+' conftest.er1 >conftest.err
79447 rm -f conftest.er1
79448 cat conftest.err >&5
79449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79450 (exit $ac_status); } &&
79451 { ac_try='test -z "$ac_cxx_werror_flag"
79452 || test ! -s conftest.err'
79453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454 (eval $ac_try) 2>&5
79455 ac_status=$?
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); }; } &&
79458 { ac_try='test -s conftest.$ac_objext'
79459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79460 (eval $ac_try) 2>&5
79461 ac_status=$?
79462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79463 (exit $ac_status); }; }; then
79464 glibcxx_cv_func__isnan_use=yes
79465 else
79466 echo "$as_me: failed program was:" >&5
79467 sed 's/^/| /' conftest.$ac_ext >&5
79469 glibcxx_cv_func__isnan_use=no
79471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79472 ac_ext=c
79473 ac_cpp='$CPP $CPPFLAGS'
79474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79483 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79485 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79487 for ac_func in _isnan
79489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79490 echo "$as_me:$LINENO: checking for $ac_func" >&5
79491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79492 if eval "test \"\${$as_ac_var+set}\" = set"; then
79493 echo $ECHO_N "(cached) $ECHO_C" >&6
79494 else
79495 if test x$gcc_no_link = xyes; then
79496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79498 { (exit 1); exit 1; }; }
79500 cat >conftest.$ac_ext <<_ACEOF
79501 /* confdefs.h. */
79502 _ACEOF
79503 cat confdefs.h >>conftest.$ac_ext
79504 cat >>conftest.$ac_ext <<_ACEOF
79505 /* end confdefs.h. */
79506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79508 #define $ac_func innocuous_$ac_func
79510 /* System header to define __stub macros and hopefully few prototypes,
79511 which can conflict with char $ac_func (); below.
79512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79513 <limits.h> exists even on freestanding compilers. */
79515 #ifdef __STDC__
79516 # include <limits.h>
79517 #else
79518 # include <assert.h>
79519 #endif
79521 #undef $ac_func
79523 /* Override any gcc2 internal prototype to avoid an error. */
79524 #ifdef __cplusplus
79525 extern "C"
79527 #endif
79528 /* We use char because int might match the return type of a gcc2
79529 builtin and then its argument prototype would still apply. */
79530 char $ac_func ();
79531 /* The GNU C library defines this for functions which it implements
79532 to always fail with ENOSYS. Some functions are actually named
79533 something starting with __ and the normal name is an alias. */
79534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79535 choke me
79536 #else
79537 char (*f) () = $ac_func;
79538 #endif
79539 #ifdef __cplusplus
79541 #endif
79544 main ()
79546 return f != $ac_func;
79548 return 0;
79550 _ACEOF
79551 rm -f conftest.$ac_objext conftest$ac_exeext
79552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79553 (eval $ac_link) 2>conftest.er1
79554 ac_status=$?
79555 grep -v '^ *+' conftest.er1 >conftest.err
79556 rm -f conftest.er1
79557 cat conftest.err >&5
79558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79559 (exit $ac_status); } &&
79560 { ac_try='test -z "$ac_c_werror_flag"
79561 || test ! -s conftest.err'
79562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79563 (eval $ac_try) 2>&5
79564 ac_status=$?
79565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79566 (exit $ac_status); }; } &&
79567 { ac_try='test -s conftest$ac_exeext'
79568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79569 (eval $ac_try) 2>&5
79570 ac_status=$?
79571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79572 (exit $ac_status); }; }; then
79573 eval "$as_ac_var=yes"
79574 else
79575 echo "$as_me: failed program was:" >&5
79576 sed 's/^/| /' conftest.$ac_ext >&5
79578 eval "$as_ac_var=no"
79580 rm -f conftest.err conftest.$ac_objext \
79581 conftest$ac_exeext conftest.$ac_ext
79583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79585 if test `eval echo '${'$as_ac_var'}'` = yes; then
79586 cat >>confdefs.h <<_ACEOF
79587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79588 _ACEOF
79591 done
79601 echo "$as_me:$LINENO: checking for finite declaration" >&5
79602 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79603 if test x${glibcxx_cv_func_finite_use+set} != xset; then
79604 if test "${glibcxx_cv_func_finite_use+set}" = set; then
79605 echo $ECHO_N "(cached) $ECHO_C" >&6
79606 else
79610 ac_ext=cc
79611 ac_cpp='$CXXCPP $CPPFLAGS'
79612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79616 cat >conftest.$ac_ext <<_ACEOF
79617 /* confdefs.h. */
79618 _ACEOF
79619 cat confdefs.h >>conftest.$ac_ext
79620 cat >>conftest.$ac_ext <<_ACEOF
79621 /* end confdefs.h. */
79622 #include <math.h>
79623 #ifdef HAVE_IEEEFP_H
79624 #include <ieeefp.h>
79625 #endif
79628 main ()
79630 finite(0);
79632 return 0;
79634 _ACEOF
79635 rm -f conftest.$ac_objext
79636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79637 (eval $ac_compile) 2>conftest.er1
79638 ac_status=$?
79639 grep -v '^ *+' conftest.er1 >conftest.err
79640 rm -f conftest.er1
79641 cat conftest.err >&5
79642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79643 (exit $ac_status); } &&
79644 { ac_try='test -z "$ac_cxx_werror_flag"
79645 || test ! -s conftest.err'
79646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79647 (eval $ac_try) 2>&5
79648 ac_status=$?
79649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79650 (exit $ac_status); }; } &&
79651 { ac_try='test -s conftest.$ac_objext'
79652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79653 (eval $ac_try) 2>&5
79654 ac_status=$?
79655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79656 (exit $ac_status); }; }; then
79657 glibcxx_cv_func_finite_use=yes
79658 else
79659 echo "$as_me: failed program was:" >&5
79660 sed 's/^/| /' conftest.$ac_ext >&5
79662 glibcxx_cv_func_finite_use=no
79664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79665 ac_ext=c
79666 ac_cpp='$CPP $CPPFLAGS'
79667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79676 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79678 if test x$glibcxx_cv_func_finite_use = x"yes"; then
79680 for ac_func in finite
79682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79683 echo "$as_me:$LINENO: checking for $ac_func" >&5
79684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79685 if eval "test \"\${$as_ac_var+set}\" = set"; then
79686 echo $ECHO_N "(cached) $ECHO_C" >&6
79687 else
79688 if test x$gcc_no_link = xyes; then
79689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79691 { (exit 1); exit 1; }; }
79693 cat >conftest.$ac_ext <<_ACEOF
79694 /* confdefs.h. */
79695 _ACEOF
79696 cat confdefs.h >>conftest.$ac_ext
79697 cat >>conftest.$ac_ext <<_ACEOF
79698 /* end confdefs.h. */
79699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79701 #define $ac_func innocuous_$ac_func
79703 /* System header to define __stub macros and hopefully few prototypes,
79704 which can conflict with char $ac_func (); below.
79705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79706 <limits.h> exists even on freestanding compilers. */
79708 #ifdef __STDC__
79709 # include <limits.h>
79710 #else
79711 # include <assert.h>
79712 #endif
79714 #undef $ac_func
79716 /* Override any gcc2 internal prototype to avoid an error. */
79717 #ifdef __cplusplus
79718 extern "C"
79720 #endif
79721 /* We use char because int might match the return type of a gcc2
79722 builtin and then its argument prototype would still apply. */
79723 char $ac_func ();
79724 /* The GNU C library defines this for functions which it implements
79725 to always fail with ENOSYS. Some functions are actually named
79726 something starting with __ and the normal name is an alias. */
79727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79728 choke me
79729 #else
79730 char (*f) () = $ac_func;
79731 #endif
79732 #ifdef __cplusplus
79734 #endif
79737 main ()
79739 return f != $ac_func;
79741 return 0;
79743 _ACEOF
79744 rm -f conftest.$ac_objext conftest$ac_exeext
79745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79746 (eval $ac_link) 2>conftest.er1
79747 ac_status=$?
79748 grep -v '^ *+' conftest.er1 >conftest.err
79749 rm -f conftest.er1
79750 cat conftest.err >&5
79751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79752 (exit $ac_status); } &&
79753 { ac_try='test -z "$ac_c_werror_flag"
79754 || test ! -s conftest.err'
79755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79756 (eval $ac_try) 2>&5
79757 ac_status=$?
79758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759 (exit $ac_status); }; } &&
79760 { ac_try='test -s conftest$ac_exeext'
79761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79762 (eval $ac_try) 2>&5
79763 ac_status=$?
79764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79765 (exit $ac_status); }; }; then
79766 eval "$as_ac_var=yes"
79767 else
79768 echo "$as_me: failed program was:" >&5
79769 sed 's/^/| /' conftest.$ac_ext >&5
79771 eval "$as_ac_var=no"
79773 rm -f conftest.err conftest.$ac_objext \
79774 conftest$ac_exeext conftest.$ac_ext
79776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79778 if test `eval echo '${'$as_ac_var'}'` = yes; then
79779 cat >>confdefs.h <<_ACEOF
79780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79781 _ACEOF
79784 done
79786 else
79788 echo "$as_me:$LINENO: checking for _finite declaration" >&5
79789 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79790 if test x${glibcxx_cv_func__finite_use+set} != xset; then
79791 if test "${glibcxx_cv_func__finite_use+set}" = set; then
79792 echo $ECHO_N "(cached) $ECHO_C" >&6
79793 else
79797 ac_ext=cc
79798 ac_cpp='$CXXCPP $CPPFLAGS'
79799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79803 cat >conftest.$ac_ext <<_ACEOF
79804 /* confdefs.h. */
79805 _ACEOF
79806 cat confdefs.h >>conftest.$ac_ext
79807 cat >>conftest.$ac_ext <<_ACEOF
79808 /* end confdefs.h. */
79809 #include <math.h>
79810 #ifdef HAVE_IEEEFP_H
79811 #include <ieeefp.h>
79812 #endif
79815 main ()
79817 _finite(0);
79819 return 0;
79821 _ACEOF
79822 rm -f conftest.$ac_objext
79823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79824 (eval $ac_compile) 2>conftest.er1
79825 ac_status=$?
79826 grep -v '^ *+' conftest.er1 >conftest.err
79827 rm -f conftest.er1
79828 cat conftest.err >&5
79829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79830 (exit $ac_status); } &&
79831 { ac_try='test -z "$ac_cxx_werror_flag"
79832 || test ! -s conftest.err'
79833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79834 (eval $ac_try) 2>&5
79835 ac_status=$?
79836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79837 (exit $ac_status); }; } &&
79838 { ac_try='test -s conftest.$ac_objext'
79839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79840 (eval $ac_try) 2>&5
79841 ac_status=$?
79842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79843 (exit $ac_status); }; }; then
79844 glibcxx_cv_func__finite_use=yes
79845 else
79846 echo "$as_me: failed program was:" >&5
79847 sed 's/^/| /' conftest.$ac_ext >&5
79849 glibcxx_cv_func__finite_use=no
79851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79852 ac_ext=c
79853 ac_cpp='$CPP $CPPFLAGS'
79854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79863 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79865 if test x$glibcxx_cv_func__finite_use = x"yes"; then
79867 for ac_func in _finite
79869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79870 echo "$as_me:$LINENO: checking for $ac_func" >&5
79871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79872 if eval "test \"\${$as_ac_var+set}\" = set"; then
79873 echo $ECHO_N "(cached) $ECHO_C" >&6
79874 else
79875 if test x$gcc_no_link = xyes; then
79876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79878 { (exit 1); exit 1; }; }
79880 cat >conftest.$ac_ext <<_ACEOF
79881 /* confdefs.h. */
79882 _ACEOF
79883 cat confdefs.h >>conftest.$ac_ext
79884 cat >>conftest.$ac_ext <<_ACEOF
79885 /* end confdefs.h. */
79886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79888 #define $ac_func innocuous_$ac_func
79890 /* System header to define __stub macros and hopefully few prototypes,
79891 which can conflict with char $ac_func (); below.
79892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79893 <limits.h> exists even on freestanding compilers. */
79895 #ifdef __STDC__
79896 # include <limits.h>
79897 #else
79898 # include <assert.h>
79899 #endif
79901 #undef $ac_func
79903 /* Override any gcc2 internal prototype to avoid an error. */
79904 #ifdef __cplusplus
79905 extern "C"
79907 #endif
79908 /* We use char because int might match the return type of a gcc2
79909 builtin and then its argument prototype would still apply. */
79910 char $ac_func ();
79911 /* The GNU C library defines this for functions which it implements
79912 to always fail with ENOSYS. Some functions are actually named
79913 something starting with __ and the normal name is an alias. */
79914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79915 choke me
79916 #else
79917 char (*f) () = $ac_func;
79918 #endif
79919 #ifdef __cplusplus
79921 #endif
79924 main ()
79926 return f != $ac_func;
79928 return 0;
79930 _ACEOF
79931 rm -f conftest.$ac_objext conftest$ac_exeext
79932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79933 (eval $ac_link) 2>conftest.er1
79934 ac_status=$?
79935 grep -v '^ *+' conftest.er1 >conftest.err
79936 rm -f conftest.er1
79937 cat conftest.err >&5
79938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79939 (exit $ac_status); } &&
79940 { ac_try='test -z "$ac_c_werror_flag"
79941 || test ! -s conftest.err'
79942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79943 (eval $ac_try) 2>&5
79944 ac_status=$?
79945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79946 (exit $ac_status); }; } &&
79947 { ac_try='test -s conftest$ac_exeext'
79948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79949 (eval $ac_try) 2>&5
79950 ac_status=$?
79951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79952 (exit $ac_status); }; }; then
79953 eval "$as_ac_var=yes"
79954 else
79955 echo "$as_me: failed program was:" >&5
79956 sed 's/^/| /' conftest.$ac_ext >&5
79958 eval "$as_ac_var=no"
79960 rm -f conftest.err conftest.$ac_objext \
79961 conftest$ac_exeext conftest.$ac_ext
79963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79965 if test `eval echo '${'$as_ac_var'}'` = yes; then
79966 cat >>confdefs.h <<_ACEOF
79967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79968 _ACEOF
79971 done
79981 echo "$as_me:$LINENO: checking for copysign declaration" >&5
79982 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
79983 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
79984 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
79985 echo $ECHO_N "(cached) $ECHO_C" >&6
79986 else
79990 ac_ext=cc
79991 ac_cpp='$CXXCPP $CPPFLAGS'
79992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79996 cat >conftest.$ac_ext <<_ACEOF
79997 /* confdefs.h. */
79998 _ACEOF
79999 cat confdefs.h >>conftest.$ac_ext
80000 cat >>conftest.$ac_ext <<_ACEOF
80001 /* end confdefs.h. */
80002 #include <math.h>
80004 main ()
80006 copysign(0, 0);
80008 return 0;
80010 _ACEOF
80011 rm -f conftest.$ac_objext
80012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80013 (eval $ac_compile) 2>conftest.er1
80014 ac_status=$?
80015 grep -v '^ *+' conftest.er1 >conftest.err
80016 rm -f conftest.er1
80017 cat conftest.err >&5
80018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80019 (exit $ac_status); } &&
80020 { ac_try='test -z "$ac_cxx_werror_flag"
80021 || test ! -s conftest.err'
80022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80023 (eval $ac_try) 2>&5
80024 ac_status=$?
80025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026 (exit $ac_status); }; } &&
80027 { ac_try='test -s conftest.$ac_objext'
80028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80029 (eval $ac_try) 2>&5
80030 ac_status=$?
80031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80032 (exit $ac_status); }; }; then
80033 glibcxx_cv_func_copysign_use=yes
80034 else
80035 echo "$as_me: failed program was:" >&5
80036 sed 's/^/| /' conftest.$ac_ext >&5
80038 glibcxx_cv_func_copysign_use=no
80040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80041 ac_ext=c
80042 ac_cpp='$CPP $CPPFLAGS'
80043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80052 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80054 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80056 for ac_func in copysign
80058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80059 echo "$as_me:$LINENO: checking for $ac_func" >&5
80060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80061 if eval "test \"\${$as_ac_var+set}\" = set"; then
80062 echo $ECHO_N "(cached) $ECHO_C" >&6
80063 else
80064 if test x$gcc_no_link = xyes; then
80065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80067 { (exit 1); exit 1; }; }
80069 cat >conftest.$ac_ext <<_ACEOF
80070 /* confdefs.h. */
80071 _ACEOF
80072 cat confdefs.h >>conftest.$ac_ext
80073 cat >>conftest.$ac_ext <<_ACEOF
80074 /* end confdefs.h. */
80075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80077 #define $ac_func innocuous_$ac_func
80079 /* System header to define __stub macros and hopefully few prototypes,
80080 which can conflict with char $ac_func (); below.
80081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80082 <limits.h> exists even on freestanding compilers. */
80084 #ifdef __STDC__
80085 # include <limits.h>
80086 #else
80087 # include <assert.h>
80088 #endif
80090 #undef $ac_func
80092 /* Override any gcc2 internal prototype to avoid an error. */
80093 #ifdef __cplusplus
80094 extern "C"
80096 #endif
80097 /* We use char because int might match the return type of a gcc2
80098 builtin and then its argument prototype would still apply. */
80099 char $ac_func ();
80100 /* The GNU C library defines this for functions which it implements
80101 to always fail with ENOSYS. Some functions are actually named
80102 something starting with __ and the normal name is an alias. */
80103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80104 choke me
80105 #else
80106 char (*f) () = $ac_func;
80107 #endif
80108 #ifdef __cplusplus
80110 #endif
80113 main ()
80115 return f != $ac_func;
80117 return 0;
80119 _ACEOF
80120 rm -f conftest.$ac_objext conftest$ac_exeext
80121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80122 (eval $ac_link) 2>conftest.er1
80123 ac_status=$?
80124 grep -v '^ *+' conftest.er1 >conftest.err
80125 rm -f conftest.er1
80126 cat conftest.err >&5
80127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80128 (exit $ac_status); } &&
80129 { ac_try='test -z "$ac_c_werror_flag"
80130 || test ! -s conftest.err'
80131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80132 (eval $ac_try) 2>&5
80133 ac_status=$?
80134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135 (exit $ac_status); }; } &&
80136 { ac_try='test -s conftest$ac_exeext'
80137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80138 (eval $ac_try) 2>&5
80139 ac_status=$?
80140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141 (exit $ac_status); }; }; then
80142 eval "$as_ac_var=yes"
80143 else
80144 echo "$as_me: failed program was:" >&5
80145 sed 's/^/| /' conftest.$ac_ext >&5
80147 eval "$as_ac_var=no"
80149 rm -f conftest.err conftest.$ac_objext \
80150 conftest$ac_exeext conftest.$ac_ext
80152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80154 if test `eval echo '${'$as_ac_var'}'` = yes; then
80155 cat >>confdefs.h <<_ACEOF
80156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80157 _ACEOF
80160 done
80162 else
80164 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80165 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80166 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80167 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80168 echo $ECHO_N "(cached) $ECHO_C" >&6
80169 else
80173 ac_ext=cc
80174 ac_cpp='$CXXCPP $CPPFLAGS'
80175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80179 cat >conftest.$ac_ext <<_ACEOF
80180 /* confdefs.h. */
80181 _ACEOF
80182 cat confdefs.h >>conftest.$ac_ext
80183 cat >>conftest.$ac_ext <<_ACEOF
80184 /* end confdefs.h. */
80185 #include <math.h>
80187 main ()
80189 _copysign(0, 0);
80191 return 0;
80193 _ACEOF
80194 rm -f conftest.$ac_objext
80195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80196 (eval $ac_compile) 2>conftest.er1
80197 ac_status=$?
80198 grep -v '^ *+' conftest.er1 >conftest.err
80199 rm -f conftest.er1
80200 cat conftest.err >&5
80201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80202 (exit $ac_status); } &&
80203 { ac_try='test -z "$ac_cxx_werror_flag"
80204 || test ! -s conftest.err'
80205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80206 (eval $ac_try) 2>&5
80207 ac_status=$?
80208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80209 (exit $ac_status); }; } &&
80210 { ac_try='test -s conftest.$ac_objext'
80211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80212 (eval $ac_try) 2>&5
80213 ac_status=$?
80214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215 (exit $ac_status); }; }; then
80216 glibcxx_cv_func__copysign_use=yes
80217 else
80218 echo "$as_me: failed program was:" >&5
80219 sed 's/^/| /' conftest.$ac_ext >&5
80221 glibcxx_cv_func__copysign_use=no
80223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80224 ac_ext=c
80225 ac_cpp='$CPP $CPPFLAGS'
80226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80235 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80237 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80239 for ac_func in _copysign
80241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80242 echo "$as_me:$LINENO: checking for $ac_func" >&5
80243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80244 if eval "test \"\${$as_ac_var+set}\" = set"; then
80245 echo $ECHO_N "(cached) $ECHO_C" >&6
80246 else
80247 if test x$gcc_no_link = xyes; then
80248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80250 { (exit 1); exit 1; }; }
80252 cat >conftest.$ac_ext <<_ACEOF
80253 /* confdefs.h. */
80254 _ACEOF
80255 cat confdefs.h >>conftest.$ac_ext
80256 cat >>conftest.$ac_ext <<_ACEOF
80257 /* end confdefs.h. */
80258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80260 #define $ac_func innocuous_$ac_func
80262 /* System header to define __stub macros and hopefully few prototypes,
80263 which can conflict with char $ac_func (); below.
80264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80265 <limits.h> exists even on freestanding compilers. */
80267 #ifdef __STDC__
80268 # include <limits.h>
80269 #else
80270 # include <assert.h>
80271 #endif
80273 #undef $ac_func
80275 /* Override any gcc2 internal prototype to avoid an error. */
80276 #ifdef __cplusplus
80277 extern "C"
80279 #endif
80280 /* We use char because int might match the return type of a gcc2
80281 builtin and then its argument prototype would still apply. */
80282 char $ac_func ();
80283 /* The GNU C library defines this for functions which it implements
80284 to always fail with ENOSYS. Some functions are actually named
80285 something starting with __ and the normal name is an alias. */
80286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80287 choke me
80288 #else
80289 char (*f) () = $ac_func;
80290 #endif
80291 #ifdef __cplusplus
80293 #endif
80296 main ()
80298 return f != $ac_func;
80300 return 0;
80302 _ACEOF
80303 rm -f conftest.$ac_objext conftest$ac_exeext
80304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80305 (eval $ac_link) 2>conftest.er1
80306 ac_status=$?
80307 grep -v '^ *+' conftest.er1 >conftest.err
80308 rm -f conftest.er1
80309 cat conftest.err >&5
80310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80311 (exit $ac_status); } &&
80312 { ac_try='test -z "$ac_c_werror_flag"
80313 || test ! -s conftest.err'
80314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80315 (eval $ac_try) 2>&5
80316 ac_status=$?
80317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80318 (exit $ac_status); }; } &&
80319 { ac_try='test -s conftest$ac_exeext'
80320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80321 (eval $ac_try) 2>&5
80322 ac_status=$?
80323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80324 (exit $ac_status); }; }; then
80325 eval "$as_ac_var=yes"
80326 else
80327 echo "$as_me: failed program was:" >&5
80328 sed 's/^/| /' conftest.$ac_ext >&5
80330 eval "$as_ac_var=no"
80332 rm -f conftest.err conftest.$ac_objext \
80333 conftest$ac_exeext conftest.$ac_ext
80335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80337 if test `eval echo '${'$as_ac_var'}'` = yes; then
80338 cat >>confdefs.h <<_ACEOF
80339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80340 _ACEOF
80343 done
80353 echo "$as_me:$LINENO: checking for sincos declaration" >&5
80354 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80355 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80356 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80357 echo $ECHO_N "(cached) $ECHO_C" >&6
80358 else
80362 ac_ext=cc
80363 ac_cpp='$CXXCPP $CPPFLAGS'
80364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80368 cat >conftest.$ac_ext <<_ACEOF
80369 /* confdefs.h. */
80370 _ACEOF
80371 cat confdefs.h >>conftest.$ac_ext
80372 cat >>conftest.$ac_ext <<_ACEOF
80373 /* end confdefs.h. */
80374 #include <math.h>
80376 main ()
80378 sincos(0, 0, 0);
80380 return 0;
80382 _ACEOF
80383 rm -f conftest.$ac_objext
80384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80385 (eval $ac_compile) 2>conftest.er1
80386 ac_status=$?
80387 grep -v '^ *+' conftest.er1 >conftest.err
80388 rm -f conftest.er1
80389 cat conftest.err >&5
80390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80391 (exit $ac_status); } &&
80392 { ac_try='test -z "$ac_cxx_werror_flag"
80393 || test ! -s conftest.err'
80394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80395 (eval $ac_try) 2>&5
80396 ac_status=$?
80397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80398 (exit $ac_status); }; } &&
80399 { ac_try='test -s conftest.$ac_objext'
80400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80401 (eval $ac_try) 2>&5
80402 ac_status=$?
80403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80404 (exit $ac_status); }; }; then
80405 glibcxx_cv_func_sincos_use=yes
80406 else
80407 echo "$as_me: failed program was:" >&5
80408 sed 's/^/| /' conftest.$ac_ext >&5
80410 glibcxx_cv_func_sincos_use=no
80412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80413 ac_ext=c
80414 ac_cpp='$CPP $CPPFLAGS'
80415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80424 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80426 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80428 for ac_func in sincos
80430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80431 echo "$as_me:$LINENO: checking for $ac_func" >&5
80432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80433 if eval "test \"\${$as_ac_var+set}\" = set"; then
80434 echo $ECHO_N "(cached) $ECHO_C" >&6
80435 else
80436 if test x$gcc_no_link = xyes; then
80437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80439 { (exit 1); exit 1; }; }
80441 cat >conftest.$ac_ext <<_ACEOF
80442 /* confdefs.h. */
80443 _ACEOF
80444 cat confdefs.h >>conftest.$ac_ext
80445 cat >>conftest.$ac_ext <<_ACEOF
80446 /* end confdefs.h. */
80447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80449 #define $ac_func innocuous_$ac_func
80451 /* System header to define __stub macros and hopefully few prototypes,
80452 which can conflict with char $ac_func (); below.
80453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80454 <limits.h> exists even on freestanding compilers. */
80456 #ifdef __STDC__
80457 # include <limits.h>
80458 #else
80459 # include <assert.h>
80460 #endif
80462 #undef $ac_func
80464 /* Override any gcc2 internal prototype to avoid an error. */
80465 #ifdef __cplusplus
80466 extern "C"
80468 #endif
80469 /* We use char because int might match the return type of a gcc2
80470 builtin and then its argument prototype would still apply. */
80471 char $ac_func ();
80472 /* The GNU C library defines this for functions which it implements
80473 to always fail with ENOSYS. Some functions are actually named
80474 something starting with __ and the normal name is an alias. */
80475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80476 choke me
80477 #else
80478 char (*f) () = $ac_func;
80479 #endif
80480 #ifdef __cplusplus
80482 #endif
80485 main ()
80487 return f != $ac_func;
80489 return 0;
80491 _ACEOF
80492 rm -f conftest.$ac_objext conftest$ac_exeext
80493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80494 (eval $ac_link) 2>conftest.er1
80495 ac_status=$?
80496 grep -v '^ *+' conftest.er1 >conftest.err
80497 rm -f conftest.er1
80498 cat conftest.err >&5
80499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500 (exit $ac_status); } &&
80501 { ac_try='test -z "$ac_c_werror_flag"
80502 || test ! -s conftest.err'
80503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80504 (eval $ac_try) 2>&5
80505 ac_status=$?
80506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80507 (exit $ac_status); }; } &&
80508 { ac_try='test -s conftest$ac_exeext'
80509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80510 (eval $ac_try) 2>&5
80511 ac_status=$?
80512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80513 (exit $ac_status); }; }; then
80514 eval "$as_ac_var=yes"
80515 else
80516 echo "$as_me: failed program was:" >&5
80517 sed 's/^/| /' conftest.$ac_ext >&5
80519 eval "$as_ac_var=no"
80521 rm -f conftest.err conftest.$ac_objext \
80522 conftest$ac_exeext conftest.$ac_ext
80524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80526 if test `eval echo '${'$as_ac_var'}'` = yes; then
80527 cat >>confdefs.h <<_ACEOF
80528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80529 _ACEOF
80532 done
80534 else
80536 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80537 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80538 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80539 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80540 echo $ECHO_N "(cached) $ECHO_C" >&6
80541 else
80545 ac_ext=cc
80546 ac_cpp='$CXXCPP $CPPFLAGS'
80547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80551 cat >conftest.$ac_ext <<_ACEOF
80552 /* confdefs.h. */
80553 _ACEOF
80554 cat confdefs.h >>conftest.$ac_ext
80555 cat >>conftest.$ac_ext <<_ACEOF
80556 /* end confdefs.h. */
80557 #include <math.h>
80559 main ()
80561 _sincos(0, 0, 0);
80563 return 0;
80565 _ACEOF
80566 rm -f conftest.$ac_objext
80567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80568 (eval $ac_compile) 2>conftest.er1
80569 ac_status=$?
80570 grep -v '^ *+' conftest.er1 >conftest.err
80571 rm -f conftest.er1
80572 cat conftest.err >&5
80573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80574 (exit $ac_status); } &&
80575 { ac_try='test -z "$ac_cxx_werror_flag"
80576 || test ! -s conftest.err'
80577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80578 (eval $ac_try) 2>&5
80579 ac_status=$?
80580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80581 (exit $ac_status); }; } &&
80582 { ac_try='test -s conftest.$ac_objext'
80583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80584 (eval $ac_try) 2>&5
80585 ac_status=$?
80586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80587 (exit $ac_status); }; }; then
80588 glibcxx_cv_func__sincos_use=yes
80589 else
80590 echo "$as_me: failed program was:" >&5
80591 sed 's/^/| /' conftest.$ac_ext >&5
80593 glibcxx_cv_func__sincos_use=no
80595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80596 ac_ext=c
80597 ac_cpp='$CPP $CPPFLAGS'
80598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80607 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80609 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80611 for ac_func in _sincos
80613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80614 echo "$as_me:$LINENO: checking for $ac_func" >&5
80615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80616 if eval "test \"\${$as_ac_var+set}\" = set"; then
80617 echo $ECHO_N "(cached) $ECHO_C" >&6
80618 else
80619 if test x$gcc_no_link = xyes; then
80620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80622 { (exit 1); exit 1; }; }
80624 cat >conftest.$ac_ext <<_ACEOF
80625 /* confdefs.h. */
80626 _ACEOF
80627 cat confdefs.h >>conftest.$ac_ext
80628 cat >>conftest.$ac_ext <<_ACEOF
80629 /* end confdefs.h. */
80630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80632 #define $ac_func innocuous_$ac_func
80634 /* System header to define __stub macros and hopefully few prototypes,
80635 which can conflict with char $ac_func (); below.
80636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80637 <limits.h> exists even on freestanding compilers. */
80639 #ifdef __STDC__
80640 # include <limits.h>
80641 #else
80642 # include <assert.h>
80643 #endif
80645 #undef $ac_func
80647 /* Override any gcc2 internal prototype to avoid an error. */
80648 #ifdef __cplusplus
80649 extern "C"
80651 #endif
80652 /* We use char because int might match the return type of a gcc2
80653 builtin and then its argument prototype would still apply. */
80654 char $ac_func ();
80655 /* The GNU C library defines this for functions which it implements
80656 to always fail with ENOSYS. Some functions are actually named
80657 something starting with __ and the normal name is an alias. */
80658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80659 choke me
80660 #else
80661 char (*f) () = $ac_func;
80662 #endif
80663 #ifdef __cplusplus
80665 #endif
80668 main ()
80670 return f != $ac_func;
80672 return 0;
80674 _ACEOF
80675 rm -f conftest.$ac_objext conftest$ac_exeext
80676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80677 (eval $ac_link) 2>conftest.er1
80678 ac_status=$?
80679 grep -v '^ *+' conftest.er1 >conftest.err
80680 rm -f conftest.er1
80681 cat conftest.err >&5
80682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80683 (exit $ac_status); } &&
80684 { ac_try='test -z "$ac_c_werror_flag"
80685 || test ! -s conftest.err'
80686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80687 (eval $ac_try) 2>&5
80688 ac_status=$?
80689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80690 (exit $ac_status); }; } &&
80691 { ac_try='test -s conftest$ac_exeext'
80692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80693 (eval $ac_try) 2>&5
80694 ac_status=$?
80695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80696 (exit $ac_status); }; }; then
80697 eval "$as_ac_var=yes"
80698 else
80699 echo "$as_me: failed program was:" >&5
80700 sed 's/^/| /' conftest.$ac_ext >&5
80702 eval "$as_ac_var=no"
80704 rm -f conftest.err conftest.$ac_objext \
80705 conftest$ac_exeext conftest.$ac_ext
80707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80709 if test `eval echo '${'$as_ac_var'}'` = yes; then
80710 cat >>confdefs.h <<_ACEOF
80711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80712 _ACEOF
80715 done
80725 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80726 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80727 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80728 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80729 echo $ECHO_N "(cached) $ECHO_C" >&6
80730 else
80734 ac_ext=cc
80735 ac_cpp='$CXXCPP $CPPFLAGS'
80736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80740 cat >conftest.$ac_ext <<_ACEOF
80741 /* confdefs.h. */
80742 _ACEOF
80743 cat confdefs.h >>conftest.$ac_ext
80744 cat >>conftest.$ac_ext <<_ACEOF
80745 /* end confdefs.h. */
80746 #include <math.h>
80747 #ifdef HAVE_IEEEFP_H
80748 #include <ieeefp.h>
80749 #endif
80752 main ()
80754 fpclass(0);
80756 return 0;
80758 _ACEOF
80759 rm -f conftest.$ac_objext
80760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80761 (eval $ac_compile) 2>conftest.er1
80762 ac_status=$?
80763 grep -v '^ *+' conftest.er1 >conftest.err
80764 rm -f conftest.er1
80765 cat conftest.err >&5
80766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80767 (exit $ac_status); } &&
80768 { ac_try='test -z "$ac_cxx_werror_flag"
80769 || test ! -s conftest.err'
80770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80771 (eval $ac_try) 2>&5
80772 ac_status=$?
80773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80774 (exit $ac_status); }; } &&
80775 { ac_try='test -s conftest.$ac_objext'
80776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80777 (eval $ac_try) 2>&5
80778 ac_status=$?
80779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80780 (exit $ac_status); }; }; then
80781 glibcxx_cv_func_fpclass_use=yes
80782 else
80783 echo "$as_me: failed program was:" >&5
80784 sed 's/^/| /' conftest.$ac_ext >&5
80786 glibcxx_cv_func_fpclass_use=no
80788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80789 ac_ext=c
80790 ac_cpp='$CPP $CPPFLAGS'
80791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80800 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80802 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80804 for ac_func in fpclass
80806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80807 echo "$as_me:$LINENO: checking for $ac_func" >&5
80808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80809 if eval "test \"\${$as_ac_var+set}\" = set"; then
80810 echo $ECHO_N "(cached) $ECHO_C" >&6
80811 else
80812 if test x$gcc_no_link = xyes; then
80813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80815 { (exit 1); exit 1; }; }
80817 cat >conftest.$ac_ext <<_ACEOF
80818 /* confdefs.h. */
80819 _ACEOF
80820 cat confdefs.h >>conftest.$ac_ext
80821 cat >>conftest.$ac_ext <<_ACEOF
80822 /* end confdefs.h. */
80823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80825 #define $ac_func innocuous_$ac_func
80827 /* System header to define __stub macros and hopefully few prototypes,
80828 which can conflict with char $ac_func (); below.
80829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80830 <limits.h> exists even on freestanding compilers. */
80832 #ifdef __STDC__
80833 # include <limits.h>
80834 #else
80835 # include <assert.h>
80836 #endif
80838 #undef $ac_func
80840 /* Override any gcc2 internal prototype to avoid an error. */
80841 #ifdef __cplusplus
80842 extern "C"
80844 #endif
80845 /* We use char because int might match the return type of a gcc2
80846 builtin and then its argument prototype would still apply. */
80847 char $ac_func ();
80848 /* The GNU C library defines this for functions which it implements
80849 to always fail with ENOSYS. Some functions are actually named
80850 something starting with __ and the normal name is an alias. */
80851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80852 choke me
80853 #else
80854 char (*f) () = $ac_func;
80855 #endif
80856 #ifdef __cplusplus
80858 #endif
80861 main ()
80863 return f != $ac_func;
80865 return 0;
80867 _ACEOF
80868 rm -f conftest.$ac_objext conftest$ac_exeext
80869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80870 (eval $ac_link) 2>conftest.er1
80871 ac_status=$?
80872 grep -v '^ *+' conftest.er1 >conftest.err
80873 rm -f conftest.er1
80874 cat conftest.err >&5
80875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80876 (exit $ac_status); } &&
80877 { ac_try='test -z "$ac_c_werror_flag"
80878 || test ! -s conftest.err'
80879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880 (eval $ac_try) 2>&5
80881 ac_status=$?
80882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883 (exit $ac_status); }; } &&
80884 { ac_try='test -s conftest$ac_exeext'
80885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80886 (eval $ac_try) 2>&5
80887 ac_status=$?
80888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80889 (exit $ac_status); }; }; then
80890 eval "$as_ac_var=yes"
80891 else
80892 echo "$as_me: failed program was:" >&5
80893 sed 's/^/| /' conftest.$ac_ext >&5
80895 eval "$as_ac_var=no"
80897 rm -f conftest.err conftest.$ac_objext \
80898 conftest$ac_exeext conftest.$ac_ext
80900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80902 if test `eval echo '${'$as_ac_var'}'` = yes; then
80903 cat >>confdefs.h <<_ACEOF
80904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80905 _ACEOF
80908 done
80910 else
80912 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80913 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80914 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80915 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80916 echo $ECHO_N "(cached) $ECHO_C" >&6
80917 else
80921 ac_ext=cc
80922 ac_cpp='$CXXCPP $CPPFLAGS'
80923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80927 cat >conftest.$ac_ext <<_ACEOF
80928 /* confdefs.h. */
80929 _ACEOF
80930 cat confdefs.h >>conftest.$ac_ext
80931 cat >>conftest.$ac_ext <<_ACEOF
80932 /* end confdefs.h. */
80933 #include <math.h>
80934 #ifdef HAVE_IEEEFP_H
80935 #include <ieeefp.h>
80936 #endif
80939 main ()
80941 _fpclass(0);
80943 return 0;
80945 _ACEOF
80946 rm -f conftest.$ac_objext
80947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80948 (eval $ac_compile) 2>conftest.er1
80949 ac_status=$?
80950 grep -v '^ *+' conftest.er1 >conftest.err
80951 rm -f conftest.er1
80952 cat conftest.err >&5
80953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80954 (exit $ac_status); } &&
80955 { ac_try='test -z "$ac_cxx_werror_flag"
80956 || test ! -s conftest.err'
80957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80958 (eval $ac_try) 2>&5
80959 ac_status=$?
80960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80961 (exit $ac_status); }; } &&
80962 { ac_try='test -s conftest.$ac_objext'
80963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80964 (eval $ac_try) 2>&5
80965 ac_status=$?
80966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80967 (exit $ac_status); }; }; then
80968 glibcxx_cv_func__fpclass_use=yes
80969 else
80970 echo "$as_me: failed program was:" >&5
80971 sed 's/^/| /' conftest.$ac_ext >&5
80973 glibcxx_cv_func__fpclass_use=no
80975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80976 ac_ext=c
80977 ac_cpp='$CPP $CPPFLAGS'
80978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
80987 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
80989 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
80991 for ac_func in _fpclass
80993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80994 echo "$as_me:$LINENO: checking for $ac_func" >&5
80995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80996 if eval "test \"\${$as_ac_var+set}\" = set"; then
80997 echo $ECHO_N "(cached) $ECHO_C" >&6
80998 else
80999 if test x$gcc_no_link = xyes; then
81000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81002 { (exit 1); exit 1; }; }
81004 cat >conftest.$ac_ext <<_ACEOF
81005 /* confdefs.h. */
81006 _ACEOF
81007 cat confdefs.h >>conftest.$ac_ext
81008 cat >>conftest.$ac_ext <<_ACEOF
81009 /* end confdefs.h. */
81010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81012 #define $ac_func innocuous_$ac_func
81014 /* System header to define __stub macros and hopefully few prototypes,
81015 which can conflict with char $ac_func (); below.
81016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81017 <limits.h> exists even on freestanding compilers. */
81019 #ifdef __STDC__
81020 # include <limits.h>
81021 #else
81022 # include <assert.h>
81023 #endif
81025 #undef $ac_func
81027 /* Override any gcc2 internal prototype to avoid an error. */
81028 #ifdef __cplusplus
81029 extern "C"
81031 #endif
81032 /* We use char because int might match the return type of a gcc2
81033 builtin and then its argument prototype would still apply. */
81034 char $ac_func ();
81035 /* The GNU C library defines this for functions which it implements
81036 to always fail with ENOSYS. Some functions are actually named
81037 something starting with __ and the normal name is an alias. */
81038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81039 choke me
81040 #else
81041 char (*f) () = $ac_func;
81042 #endif
81043 #ifdef __cplusplus
81045 #endif
81048 main ()
81050 return f != $ac_func;
81052 return 0;
81054 _ACEOF
81055 rm -f conftest.$ac_objext conftest$ac_exeext
81056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81057 (eval $ac_link) 2>conftest.er1
81058 ac_status=$?
81059 grep -v '^ *+' conftest.er1 >conftest.err
81060 rm -f conftest.er1
81061 cat conftest.err >&5
81062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81063 (exit $ac_status); } &&
81064 { ac_try='test -z "$ac_c_werror_flag"
81065 || test ! -s conftest.err'
81066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81067 (eval $ac_try) 2>&5
81068 ac_status=$?
81069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81070 (exit $ac_status); }; } &&
81071 { ac_try='test -s conftest$ac_exeext'
81072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81073 (eval $ac_try) 2>&5
81074 ac_status=$?
81075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81076 (exit $ac_status); }; }; then
81077 eval "$as_ac_var=yes"
81078 else
81079 echo "$as_me: failed program was:" >&5
81080 sed 's/^/| /' conftest.$ac_ext >&5
81082 eval "$as_ac_var=no"
81084 rm -f conftest.err conftest.$ac_objext \
81085 conftest$ac_exeext conftest.$ac_ext
81087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81089 if test `eval echo '${'$as_ac_var'}'` = yes; then
81090 cat >>confdefs.h <<_ACEOF
81091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81092 _ACEOF
81095 done
81105 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81106 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81107 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81108 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81109 echo $ECHO_N "(cached) $ECHO_C" >&6
81110 else
81114 ac_ext=cc
81115 ac_cpp='$CXXCPP $CPPFLAGS'
81116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81120 cat >conftest.$ac_ext <<_ACEOF
81121 /* confdefs.h. */
81122 _ACEOF
81123 cat confdefs.h >>conftest.$ac_ext
81124 cat >>conftest.$ac_ext <<_ACEOF
81125 /* end confdefs.h. */
81126 #include <math.h>
81127 #ifdef HAVE_IEEEFP_H
81128 #include <ieeefp.h>
81129 #endif
81132 main ()
81134 qfpclass(0);
81136 return 0;
81138 _ACEOF
81139 rm -f conftest.$ac_objext
81140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81141 (eval $ac_compile) 2>conftest.er1
81142 ac_status=$?
81143 grep -v '^ *+' conftest.er1 >conftest.err
81144 rm -f conftest.er1
81145 cat conftest.err >&5
81146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147 (exit $ac_status); } &&
81148 { ac_try='test -z "$ac_cxx_werror_flag"
81149 || test ! -s conftest.err'
81150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81151 (eval $ac_try) 2>&5
81152 ac_status=$?
81153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81154 (exit $ac_status); }; } &&
81155 { ac_try='test -s conftest.$ac_objext'
81156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81157 (eval $ac_try) 2>&5
81158 ac_status=$?
81159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81160 (exit $ac_status); }; }; then
81161 glibcxx_cv_func_qfpclass_use=yes
81162 else
81163 echo "$as_me: failed program was:" >&5
81164 sed 's/^/| /' conftest.$ac_ext >&5
81166 glibcxx_cv_func_qfpclass_use=no
81168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81169 ac_ext=c
81170 ac_cpp='$CPP $CPPFLAGS'
81171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81180 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81182 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81184 for ac_func in qfpclass
81186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81187 echo "$as_me:$LINENO: checking for $ac_func" >&5
81188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81189 if eval "test \"\${$as_ac_var+set}\" = set"; then
81190 echo $ECHO_N "(cached) $ECHO_C" >&6
81191 else
81192 if test x$gcc_no_link = xyes; then
81193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81195 { (exit 1); exit 1; }; }
81197 cat >conftest.$ac_ext <<_ACEOF
81198 /* confdefs.h. */
81199 _ACEOF
81200 cat confdefs.h >>conftest.$ac_ext
81201 cat >>conftest.$ac_ext <<_ACEOF
81202 /* end confdefs.h. */
81203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81205 #define $ac_func innocuous_$ac_func
81207 /* System header to define __stub macros and hopefully few prototypes,
81208 which can conflict with char $ac_func (); below.
81209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81210 <limits.h> exists even on freestanding compilers. */
81212 #ifdef __STDC__
81213 # include <limits.h>
81214 #else
81215 # include <assert.h>
81216 #endif
81218 #undef $ac_func
81220 /* Override any gcc2 internal prototype to avoid an error. */
81221 #ifdef __cplusplus
81222 extern "C"
81224 #endif
81225 /* We use char because int might match the return type of a gcc2
81226 builtin and then its argument prototype would still apply. */
81227 char $ac_func ();
81228 /* The GNU C library defines this for functions which it implements
81229 to always fail with ENOSYS. Some functions are actually named
81230 something starting with __ and the normal name is an alias. */
81231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81232 choke me
81233 #else
81234 char (*f) () = $ac_func;
81235 #endif
81236 #ifdef __cplusplus
81238 #endif
81241 main ()
81243 return f != $ac_func;
81245 return 0;
81247 _ACEOF
81248 rm -f conftest.$ac_objext conftest$ac_exeext
81249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81250 (eval $ac_link) 2>conftest.er1
81251 ac_status=$?
81252 grep -v '^ *+' conftest.er1 >conftest.err
81253 rm -f conftest.er1
81254 cat conftest.err >&5
81255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81256 (exit $ac_status); } &&
81257 { ac_try='test -z "$ac_c_werror_flag"
81258 || test ! -s conftest.err'
81259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81260 (eval $ac_try) 2>&5
81261 ac_status=$?
81262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81263 (exit $ac_status); }; } &&
81264 { ac_try='test -s conftest$ac_exeext'
81265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81266 (eval $ac_try) 2>&5
81267 ac_status=$?
81268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81269 (exit $ac_status); }; }; then
81270 eval "$as_ac_var=yes"
81271 else
81272 echo "$as_me: failed program was:" >&5
81273 sed 's/^/| /' conftest.$ac_ext >&5
81275 eval "$as_ac_var=no"
81277 rm -f conftest.err conftest.$ac_objext \
81278 conftest$ac_exeext conftest.$ac_ext
81280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81282 if test `eval echo '${'$as_ac_var'}'` = yes; then
81283 cat >>confdefs.h <<_ACEOF
81284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81285 _ACEOF
81288 done
81290 else
81292 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81293 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81294 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81295 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81296 echo $ECHO_N "(cached) $ECHO_C" >&6
81297 else
81301 ac_ext=cc
81302 ac_cpp='$CXXCPP $CPPFLAGS'
81303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81307 cat >conftest.$ac_ext <<_ACEOF
81308 /* confdefs.h. */
81309 _ACEOF
81310 cat confdefs.h >>conftest.$ac_ext
81311 cat >>conftest.$ac_ext <<_ACEOF
81312 /* end confdefs.h. */
81313 #include <math.h>
81314 #ifdef HAVE_IEEEFP_H
81315 #include <ieeefp.h>
81316 #endif
81319 main ()
81321 _qfpclass(0);
81323 return 0;
81325 _ACEOF
81326 rm -f conftest.$ac_objext
81327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81328 (eval $ac_compile) 2>conftest.er1
81329 ac_status=$?
81330 grep -v '^ *+' conftest.er1 >conftest.err
81331 rm -f conftest.er1
81332 cat conftest.err >&5
81333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81334 (exit $ac_status); } &&
81335 { ac_try='test -z "$ac_cxx_werror_flag"
81336 || test ! -s conftest.err'
81337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81338 (eval $ac_try) 2>&5
81339 ac_status=$?
81340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81341 (exit $ac_status); }; } &&
81342 { ac_try='test -s conftest.$ac_objext'
81343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81344 (eval $ac_try) 2>&5
81345 ac_status=$?
81346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81347 (exit $ac_status); }; }; then
81348 glibcxx_cv_func__qfpclass_use=yes
81349 else
81350 echo "$as_me: failed program was:" >&5
81351 sed 's/^/| /' conftest.$ac_ext >&5
81353 glibcxx_cv_func__qfpclass_use=no
81355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81356 ac_ext=c
81357 ac_cpp='$CPP $CPPFLAGS'
81358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81367 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81369 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81371 for ac_func in _qfpclass
81373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81374 echo "$as_me:$LINENO: checking for $ac_func" >&5
81375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81376 if eval "test \"\${$as_ac_var+set}\" = set"; then
81377 echo $ECHO_N "(cached) $ECHO_C" >&6
81378 else
81379 if test x$gcc_no_link = xyes; then
81380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81382 { (exit 1); exit 1; }; }
81384 cat >conftest.$ac_ext <<_ACEOF
81385 /* confdefs.h. */
81386 _ACEOF
81387 cat confdefs.h >>conftest.$ac_ext
81388 cat >>conftest.$ac_ext <<_ACEOF
81389 /* end confdefs.h. */
81390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81392 #define $ac_func innocuous_$ac_func
81394 /* System header to define __stub macros and hopefully few prototypes,
81395 which can conflict with char $ac_func (); below.
81396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81397 <limits.h> exists even on freestanding compilers. */
81399 #ifdef __STDC__
81400 # include <limits.h>
81401 #else
81402 # include <assert.h>
81403 #endif
81405 #undef $ac_func
81407 /* Override any gcc2 internal prototype to avoid an error. */
81408 #ifdef __cplusplus
81409 extern "C"
81411 #endif
81412 /* We use char because int might match the return type of a gcc2
81413 builtin and then its argument prototype would still apply. */
81414 char $ac_func ();
81415 /* The GNU C library defines this for functions which it implements
81416 to always fail with ENOSYS. Some functions are actually named
81417 something starting with __ and the normal name is an alias. */
81418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81419 choke me
81420 #else
81421 char (*f) () = $ac_func;
81422 #endif
81423 #ifdef __cplusplus
81425 #endif
81428 main ()
81430 return f != $ac_func;
81432 return 0;
81434 _ACEOF
81435 rm -f conftest.$ac_objext conftest$ac_exeext
81436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81437 (eval $ac_link) 2>conftest.er1
81438 ac_status=$?
81439 grep -v '^ *+' conftest.er1 >conftest.err
81440 rm -f conftest.er1
81441 cat conftest.err >&5
81442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81443 (exit $ac_status); } &&
81444 { ac_try='test -z "$ac_c_werror_flag"
81445 || test ! -s conftest.err'
81446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81447 (eval $ac_try) 2>&5
81448 ac_status=$?
81449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81450 (exit $ac_status); }; } &&
81451 { ac_try='test -s conftest$ac_exeext'
81452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81453 (eval $ac_try) 2>&5
81454 ac_status=$?
81455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81456 (exit $ac_status); }; }; then
81457 eval "$as_ac_var=yes"
81458 else
81459 echo "$as_me: failed program was:" >&5
81460 sed 's/^/| /' conftest.$ac_ext >&5
81462 eval "$as_ac_var=no"
81464 rm -f conftest.err conftest.$ac_objext \
81465 conftest$ac_exeext conftest.$ac_ext
81467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81469 if test `eval echo '${'$as_ac_var'}'` = yes; then
81470 cat >>confdefs.h <<_ACEOF
81471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81472 _ACEOF
81475 done
81485 echo "$as_me:$LINENO: checking for hypot declaration" >&5
81486 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81487 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81488 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81489 echo $ECHO_N "(cached) $ECHO_C" >&6
81490 else
81494 ac_ext=cc
81495 ac_cpp='$CXXCPP $CPPFLAGS'
81496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81500 cat >conftest.$ac_ext <<_ACEOF
81501 /* confdefs.h. */
81502 _ACEOF
81503 cat confdefs.h >>conftest.$ac_ext
81504 cat >>conftest.$ac_ext <<_ACEOF
81505 /* end confdefs.h. */
81506 #include <math.h>
81508 main ()
81510 hypot(0, 0);
81512 return 0;
81514 _ACEOF
81515 rm -f conftest.$ac_objext
81516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81517 (eval $ac_compile) 2>conftest.er1
81518 ac_status=$?
81519 grep -v '^ *+' conftest.er1 >conftest.err
81520 rm -f conftest.er1
81521 cat conftest.err >&5
81522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81523 (exit $ac_status); } &&
81524 { ac_try='test -z "$ac_cxx_werror_flag"
81525 || test ! -s conftest.err'
81526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81527 (eval $ac_try) 2>&5
81528 ac_status=$?
81529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530 (exit $ac_status); }; } &&
81531 { ac_try='test -s conftest.$ac_objext'
81532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81533 (eval $ac_try) 2>&5
81534 ac_status=$?
81535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81536 (exit $ac_status); }; }; then
81537 glibcxx_cv_func_hypot_use=yes
81538 else
81539 echo "$as_me: failed program was:" >&5
81540 sed 's/^/| /' conftest.$ac_ext >&5
81542 glibcxx_cv_func_hypot_use=no
81544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81545 ac_ext=c
81546 ac_cpp='$CPP $CPPFLAGS'
81547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81556 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81558 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81560 for ac_func in hypot
81562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81563 echo "$as_me:$LINENO: checking for $ac_func" >&5
81564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81565 if eval "test \"\${$as_ac_var+set}\" = set"; then
81566 echo $ECHO_N "(cached) $ECHO_C" >&6
81567 else
81568 if test x$gcc_no_link = xyes; then
81569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81571 { (exit 1); exit 1; }; }
81573 cat >conftest.$ac_ext <<_ACEOF
81574 /* confdefs.h. */
81575 _ACEOF
81576 cat confdefs.h >>conftest.$ac_ext
81577 cat >>conftest.$ac_ext <<_ACEOF
81578 /* end confdefs.h. */
81579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81581 #define $ac_func innocuous_$ac_func
81583 /* System header to define __stub macros and hopefully few prototypes,
81584 which can conflict with char $ac_func (); below.
81585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81586 <limits.h> exists even on freestanding compilers. */
81588 #ifdef __STDC__
81589 # include <limits.h>
81590 #else
81591 # include <assert.h>
81592 #endif
81594 #undef $ac_func
81596 /* Override any gcc2 internal prototype to avoid an error. */
81597 #ifdef __cplusplus
81598 extern "C"
81600 #endif
81601 /* We use char because int might match the return type of a gcc2
81602 builtin and then its argument prototype would still apply. */
81603 char $ac_func ();
81604 /* The GNU C library defines this for functions which it implements
81605 to always fail with ENOSYS. Some functions are actually named
81606 something starting with __ and the normal name is an alias. */
81607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81608 choke me
81609 #else
81610 char (*f) () = $ac_func;
81611 #endif
81612 #ifdef __cplusplus
81614 #endif
81617 main ()
81619 return f != $ac_func;
81621 return 0;
81623 _ACEOF
81624 rm -f conftest.$ac_objext conftest$ac_exeext
81625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81626 (eval $ac_link) 2>conftest.er1
81627 ac_status=$?
81628 grep -v '^ *+' conftest.er1 >conftest.err
81629 rm -f conftest.er1
81630 cat conftest.err >&5
81631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81632 (exit $ac_status); } &&
81633 { ac_try='test -z "$ac_c_werror_flag"
81634 || test ! -s conftest.err'
81635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81636 (eval $ac_try) 2>&5
81637 ac_status=$?
81638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639 (exit $ac_status); }; } &&
81640 { ac_try='test -s conftest$ac_exeext'
81641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81642 (eval $ac_try) 2>&5
81643 ac_status=$?
81644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81645 (exit $ac_status); }; }; then
81646 eval "$as_ac_var=yes"
81647 else
81648 echo "$as_me: failed program was:" >&5
81649 sed 's/^/| /' conftest.$ac_ext >&5
81651 eval "$as_ac_var=no"
81653 rm -f conftest.err conftest.$ac_objext \
81654 conftest$ac_exeext conftest.$ac_ext
81656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81658 if test `eval echo '${'$as_ac_var'}'` = yes; then
81659 cat >>confdefs.h <<_ACEOF
81660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81661 _ACEOF
81664 done
81666 else
81668 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81669 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81670 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81671 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81672 echo $ECHO_N "(cached) $ECHO_C" >&6
81673 else
81677 ac_ext=cc
81678 ac_cpp='$CXXCPP $CPPFLAGS'
81679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81683 cat >conftest.$ac_ext <<_ACEOF
81684 /* confdefs.h. */
81685 _ACEOF
81686 cat confdefs.h >>conftest.$ac_ext
81687 cat >>conftest.$ac_ext <<_ACEOF
81688 /* end confdefs.h. */
81689 #include <math.h>
81691 main ()
81693 _hypot(0, 0);
81695 return 0;
81697 _ACEOF
81698 rm -f conftest.$ac_objext
81699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81700 (eval $ac_compile) 2>conftest.er1
81701 ac_status=$?
81702 grep -v '^ *+' conftest.er1 >conftest.err
81703 rm -f conftest.er1
81704 cat conftest.err >&5
81705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81706 (exit $ac_status); } &&
81707 { ac_try='test -z "$ac_cxx_werror_flag"
81708 || test ! -s conftest.err'
81709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81710 (eval $ac_try) 2>&5
81711 ac_status=$?
81712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81713 (exit $ac_status); }; } &&
81714 { ac_try='test -s conftest.$ac_objext'
81715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81716 (eval $ac_try) 2>&5
81717 ac_status=$?
81718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81719 (exit $ac_status); }; }; then
81720 glibcxx_cv_func__hypot_use=yes
81721 else
81722 echo "$as_me: failed program was:" >&5
81723 sed 's/^/| /' conftest.$ac_ext >&5
81725 glibcxx_cv_func__hypot_use=no
81727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81728 ac_ext=c
81729 ac_cpp='$CPP $CPPFLAGS'
81730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81739 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81741 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81743 for ac_func in _hypot
81745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81746 echo "$as_me:$LINENO: checking for $ac_func" >&5
81747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81748 if eval "test \"\${$as_ac_var+set}\" = set"; then
81749 echo $ECHO_N "(cached) $ECHO_C" >&6
81750 else
81751 if test x$gcc_no_link = xyes; then
81752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81754 { (exit 1); exit 1; }; }
81756 cat >conftest.$ac_ext <<_ACEOF
81757 /* confdefs.h. */
81758 _ACEOF
81759 cat confdefs.h >>conftest.$ac_ext
81760 cat >>conftest.$ac_ext <<_ACEOF
81761 /* end confdefs.h. */
81762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81764 #define $ac_func innocuous_$ac_func
81766 /* System header to define __stub macros and hopefully few prototypes,
81767 which can conflict with char $ac_func (); below.
81768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81769 <limits.h> exists even on freestanding compilers. */
81771 #ifdef __STDC__
81772 # include <limits.h>
81773 #else
81774 # include <assert.h>
81775 #endif
81777 #undef $ac_func
81779 /* Override any gcc2 internal prototype to avoid an error. */
81780 #ifdef __cplusplus
81781 extern "C"
81783 #endif
81784 /* We use char because int might match the return type of a gcc2
81785 builtin and then its argument prototype would still apply. */
81786 char $ac_func ();
81787 /* The GNU C library defines this for functions which it implements
81788 to always fail with ENOSYS. Some functions are actually named
81789 something starting with __ and the normal name is an alias. */
81790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81791 choke me
81792 #else
81793 char (*f) () = $ac_func;
81794 #endif
81795 #ifdef __cplusplus
81797 #endif
81800 main ()
81802 return f != $ac_func;
81804 return 0;
81806 _ACEOF
81807 rm -f conftest.$ac_objext conftest$ac_exeext
81808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81809 (eval $ac_link) 2>conftest.er1
81810 ac_status=$?
81811 grep -v '^ *+' conftest.er1 >conftest.err
81812 rm -f conftest.er1
81813 cat conftest.err >&5
81814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81815 (exit $ac_status); } &&
81816 { ac_try='test -z "$ac_c_werror_flag"
81817 || test ! -s conftest.err'
81818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81819 (eval $ac_try) 2>&5
81820 ac_status=$?
81821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81822 (exit $ac_status); }; } &&
81823 { ac_try='test -s conftest$ac_exeext'
81824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81825 (eval $ac_try) 2>&5
81826 ac_status=$?
81827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81828 (exit $ac_status); }; }; then
81829 eval "$as_ac_var=yes"
81830 else
81831 echo "$as_me: failed program was:" >&5
81832 sed 's/^/| /' conftest.$ac_ext >&5
81834 eval "$as_ac_var=no"
81836 rm -f conftest.err conftest.$ac_objext \
81837 conftest$ac_exeext conftest.$ac_ext
81839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81841 if test `eval echo '${'$as_ac_var'}'` = yes; then
81842 cat >>confdefs.h <<_ACEOF
81843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81844 _ACEOF
81847 done
81857 echo "$as_me:$LINENO: checking for float trig functions" >&5
81858 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81859 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81860 echo $ECHO_N "(cached) $ECHO_C" >&6
81861 else
81865 ac_ext=cc
81866 ac_cpp='$CXXCPP $CPPFLAGS'
81867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81871 cat >conftest.$ac_ext <<_ACEOF
81872 /* confdefs.h. */
81873 _ACEOF
81874 cat confdefs.h >>conftest.$ac_ext
81875 cat >>conftest.$ac_ext <<_ACEOF
81876 /* end confdefs.h. */
81877 #include <math.h>
81879 main ()
81881 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81883 return 0;
81885 _ACEOF
81886 rm -f conftest.$ac_objext
81887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81888 (eval $ac_compile) 2>conftest.er1
81889 ac_status=$?
81890 grep -v '^ *+' conftest.er1 >conftest.err
81891 rm -f conftest.er1
81892 cat conftest.err >&5
81893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81894 (exit $ac_status); } &&
81895 { ac_try='test -z "$ac_cxx_werror_flag"
81896 || test ! -s conftest.err'
81897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81898 (eval $ac_try) 2>&5
81899 ac_status=$?
81900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81901 (exit $ac_status); }; } &&
81902 { ac_try='test -s conftest.$ac_objext'
81903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81904 (eval $ac_try) 2>&5
81905 ac_status=$?
81906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81907 (exit $ac_status); }; }; then
81908 glibcxx_cv_func_float_trig_use=yes
81909 else
81910 echo "$as_me: failed program was:" >&5
81911 sed 's/^/| /' conftest.$ac_ext >&5
81913 glibcxx_cv_func_float_trig_use=no
81915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81916 ac_ext=c
81917 ac_cpp='$CPP $CPPFLAGS'
81918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81924 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81925 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81926 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81936 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81939 echo "$as_me:$LINENO: checking for $ac_func" >&5
81940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81941 if eval "test \"\${$as_ac_var+set}\" = set"; then
81942 echo $ECHO_N "(cached) $ECHO_C" >&6
81943 else
81944 if test x$gcc_no_link = xyes; then
81945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81947 { (exit 1); exit 1; }; }
81949 cat >conftest.$ac_ext <<_ACEOF
81950 /* confdefs.h. */
81951 _ACEOF
81952 cat confdefs.h >>conftest.$ac_ext
81953 cat >>conftest.$ac_ext <<_ACEOF
81954 /* end confdefs.h. */
81955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81957 #define $ac_func innocuous_$ac_func
81959 /* System header to define __stub macros and hopefully few prototypes,
81960 which can conflict with char $ac_func (); below.
81961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81962 <limits.h> exists even on freestanding compilers. */
81964 #ifdef __STDC__
81965 # include <limits.h>
81966 #else
81967 # include <assert.h>
81968 #endif
81970 #undef $ac_func
81972 /* Override any gcc2 internal prototype to avoid an error. */
81973 #ifdef __cplusplus
81974 extern "C"
81976 #endif
81977 /* We use char because int might match the return type of a gcc2
81978 builtin and then its argument prototype would still apply. */
81979 char $ac_func ();
81980 /* The GNU C library defines this for functions which it implements
81981 to always fail with ENOSYS. Some functions are actually named
81982 something starting with __ and the normal name is an alias. */
81983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81984 choke me
81985 #else
81986 char (*f) () = $ac_func;
81987 #endif
81988 #ifdef __cplusplus
81990 #endif
81993 main ()
81995 return f != $ac_func;
81997 return 0;
81999 _ACEOF
82000 rm -f conftest.$ac_objext conftest$ac_exeext
82001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82002 (eval $ac_link) 2>conftest.er1
82003 ac_status=$?
82004 grep -v '^ *+' conftest.er1 >conftest.err
82005 rm -f conftest.er1
82006 cat conftest.err >&5
82007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82008 (exit $ac_status); } &&
82009 { ac_try='test -z "$ac_c_werror_flag"
82010 || test ! -s conftest.err'
82011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82012 (eval $ac_try) 2>&5
82013 ac_status=$?
82014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82015 (exit $ac_status); }; } &&
82016 { ac_try='test -s conftest$ac_exeext'
82017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82018 (eval $ac_try) 2>&5
82019 ac_status=$?
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); }; }; then
82022 eval "$as_ac_var=yes"
82023 else
82024 echo "$as_me: failed program was:" >&5
82025 sed 's/^/| /' conftest.$ac_ext >&5
82027 eval "$as_ac_var=no"
82029 rm -f conftest.err conftest.$ac_objext \
82030 conftest$ac_exeext conftest.$ac_ext
82032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82034 if test `eval echo '${'$as_ac_var'}'` = yes; then
82035 cat >>confdefs.h <<_ACEOF
82036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82037 _ACEOF
82040 done
82042 else
82043 echo "$as_me:$LINENO: checking for _float trig functions" >&5
82044 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82045 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82046 echo $ECHO_N "(cached) $ECHO_C" >&6
82047 else
82051 ac_ext=cc
82052 ac_cpp='$CXXCPP $CPPFLAGS'
82053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82057 cat >conftest.$ac_ext <<_ACEOF
82058 /* confdefs.h. */
82059 _ACEOF
82060 cat confdefs.h >>conftest.$ac_ext
82061 cat >>conftest.$ac_ext <<_ACEOF
82062 /* end confdefs.h. */
82063 #include <math.h>
82065 main ()
82067 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82069 return 0;
82071 _ACEOF
82072 rm -f conftest.$ac_objext
82073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82074 (eval $ac_compile) 2>conftest.er1
82075 ac_status=$?
82076 grep -v '^ *+' conftest.er1 >conftest.err
82077 rm -f conftest.er1
82078 cat conftest.err >&5
82079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82080 (exit $ac_status); } &&
82081 { ac_try='test -z "$ac_cxx_werror_flag"
82082 || test ! -s conftest.err'
82083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82084 (eval $ac_try) 2>&5
82085 ac_status=$?
82086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82087 (exit $ac_status); }; } &&
82088 { ac_try='test -s conftest.$ac_objext'
82089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82090 (eval $ac_try) 2>&5
82091 ac_status=$?
82092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82093 (exit $ac_status); }; }; then
82094 glibcxx_cv_func__float_trig_use=yes
82095 else
82096 echo "$as_me: failed program was:" >&5
82097 sed 's/^/| /' conftest.$ac_ext >&5
82099 glibcxx_cv_func__float_trig_use=no
82101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82102 ac_ext=c
82103 ac_cpp='$CPP $CPPFLAGS'
82104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82111 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82112 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82122 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82125 echo "$as_me:$LINENO: checking for $ac_func" >&5
82126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82127 if eval "test \"\${$as_ac_var+set}\" = set"; then
82128 echo $ECHO_N "(cached) $ECHO_C" >&6
82129 else
82130 if test x$gcc_no_link = xyes; then
82131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82133 { (exit 1); exit 1; }; }
82135 cat >conftest.$ac_ext <<_ACEOF
82136 /* confdefs.h. */
82137 _ACEOF
82138 cat confdefs.h >>conftest.$ac_ext
82139 cat >>conftest.$ac_ext <<_ACEOF
82140 /* end confdefs.h. */
82141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82143 #define $ac_func innocuous_$ac_func
82145 /* System header to define __stub macros and hopefully few prototypes,
82146 which can conflict with char $ac_func (); below.
82147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82148 <limits.h> exists even on freestanding compilers. */
82150 #ifdef __STDC__
82151 # include <limits.h>
82152 #else
82153 # include <assert.h>
82154 #endif
82156 #undef $ac_func
82158 /* Override any gcc2 internal prototype to avoid an error. */
82159 #ifdef __cplusplus
82160 extern "C"
82162 #endif
82163 /* We use char because int might match the return type of a gcc2
82164 builtin and then its argument prototype would still apply. */
82165 char $ac_func ();
82166 /* The GNU C library defines this for functions which it implements
82167 to always fail with ENOSYS. Some functions are actually named
82168 something starting with __ and the normal name is an alias. */
82169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82170 choke me
82171 #else
82172 char (*f) () = $ac_func;
82173 #endif
82174 #ifdef __cplusplus
82176 #endif
82179 main ()
82181 return f != $ac_func;
82183 return 0;
82185 _ACEOF
82186 rm -f conftest.$ac_objext conftest$ac_exeext
82187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82188 (eval $ac_link) 2>conftest.er1
82189 ac_status=$?
82190 grep -v '^ *+' conftest.er1 >conftest.err
82191 rm -f conftest.er1
82192 cat conftest.err >&5
82193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82194 (exit $ac_status); } &&
82195 { ac_try='test -z "$ac_c_werror_flag"
82196 || test ! -s conftest.err'
82197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82198 (eval $ac_try) 2>&5
82199 ac_status=$?
82200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201 (exit $ac_status); }; } &&
82202 { ac_try='test -s conftest$ac_exeext'
82203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82204 (eval $ac_try) 2>&5
82205 ac_status=$?
82206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82207 (exit $ac_status); }; }; then
82208 eval "$as_ac_var=yes"
82209 else
82210 echo "$as_me: failed program was:" >&5
82211 sed 's/^/| /' conftest.$ac_ext >&5
82213 eval "$as_ac_var=no"
82215 rm -f conftest.err conftest.$ac_objext \
82216 conftest$ac_exeext conftest.$ac_ext
82218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82220 if test `eval echo '${'$as_ac_var'}'` = yes; then
82221 cat >>confdefs.h <<_ACEOF
82222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82223 _ACEOF
82226 done
82244 echo "$as_me:$LINENO: checking for float round functions" >&5
82245 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82246 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82247 echo $ECHO_N "(cached) $ECHO_C" >&6
82248 else
82252 ac_ext=cc
82253 ac_cpp='$CXXCPP $CPPFLAGS'
82254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82258 cat >conftest.$ac_ext <<_ACEOF
82259 /* confdefs.h. */
82260 _ACEOF
82261 cat confdefs.h >>conftest.$ac_ext
82262 cat >>conftest.$ac_ext <<_ACEOF
82263 /* end confdefs.h. */
82264 #include <math.h>
82266 main ()
82268 ceilf (0); floorf (0);
82270 return 0;
82272 _ACEOF
82273 rm -f conftest.$ac_objext
82274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82275 (eval $ac_compile) 2>conftest.er1
82276 ac_status=$?
82277 grep -v '^ *+' conftest.er1 >conftest.err
82278 rm -f conftest.er1
82279 cat conftest.err >&5
82280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82281 (exit $ac_status); } &&
82282 { ac_try='test -z "$ac_cxx_werror_flag"
82283 || test ! -s conftest.err'
82284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82285 (eval $ac_try) 2>&5
82286 ac_status=$?
82287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82288 (exit $ac_status); }; } &&
82289 { ac_try='test -s conftest.$ac_objext'
82290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82291 (eval $ac_try) 2>&5
82292 ac_status=$?
82293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82294 (exit $ac_status); }; }; then
82295 glibcxx_cv_func_float_round_use=yes
82296 else
82297 echo "$as_me: failed program was:" >&5
82298 sed 's/^/| /' conftest.$ac_ext >&5
82300 glibcxx_cv_func_float_round_use=no
82302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82303 ac_ext=c
82304 ac_cpp='$CPP $CPPFLAGS'
82305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82312 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82313 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82316 for ac_func in ceilf floorf
82318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82319 echo "$as_me:$LINENO: checking for $ac_func" >&5
82320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82321 if eval "test \"\${$as_ac_var+set}\" = set"; then
82322 echo $ECHO_N "(cached) $ECHO_C" >&6
82323 else
82324 if test x$gcc_no_link = xyes; then
82325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82327 { (exit 1); exit 1; }; }
82329 cat >conftest.$ac_ext <<_ACEOF
82330 /* confdefs.h. */
82331 _ACEOF
82332 cat confdefs.h >>conftest.$ac_ext
82333 cat >>conftest.$ac_ext <<_ACEOF
82334 /* end confdefs.h. */
82335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82337 #define $ac_func innocuous_$ac_func
82339 /* System header to define __stub macros and hopefully few prototypes,
82340 which can conflict with char $ac_func (); below.
82341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82342 <limits.h> exists even on freestanding compilers. */
82344 #ifdef __STDC__
82345 # include <limits.h>
82346 #else
82347 # include <assert.h>
82348 #endif
82350 #undef $ac_func
82352 /* Override any gcc2 internal prototype to avoid an error. */
82353 #ifdef __cplusplus
82354 extern "C"
82356 #endif
82357 /* We use char because int might match the return type of a gcc2
82358 builtin and then its argument prototype would still apply. */
82359 char $ac_func ();
82360 /* The GNU C library defines this for functions which it implements
82361 to always fail with ENOSYS. Some functions are actually named
82362 something starting with __ and the normal name is an alias. */
82363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82364 choke me
82365 #else
82366 char (*f) () = $ac_func;
82367 #endif
82368 #ifdef __cplusplus
82370 #endif
82373 main ()
82375 return f != $ac_func;
82377 return 0;
82379 _ACEOF
82380 rm -f conftest.$ac_objext conftest$ac_exeext
82381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82382 (eval $ac_link) 2>conftest.er1
82383 ac_status=$?
82384 grep -v '^ *+' conftest.er1 >conftest.err
82385 rm -f conftest.er1
82386 cat conftest.err >&5
82387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82388 (exit $ac_status); } &&
82389 { ac_try='test -z "$ac_c_werror_flag"
82390 || test ! -s conftest.err'
82391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82392 (eval $ac_try) 2>&5
82393 ac_status=$?
82394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82395 (exit $ac_status); }; } &&
82396 { ac_try='test -s conftest$ac_exeext'
82397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82398 (eval $ac_try) 2>&5
82399 ac_status=$?
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); }; }; then
82402 eval "$as_ac_var=yes"
82403 else
82404 echo "$as_me: failed program was:" >&5
82405 sed 's/^/| /' conftest.$ac_ext >&5
82407 eval "$as_ac_var=no"
82409 rm -f conftest.err conftest.$ac_objext \
82410 conftest$ac_exeext conftest.$ac_ext
82412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82414 if test `eval echo '${'$as_ac_var'}'` = yes; then
82415 cat >>confdefs.h <<_ACEOF
82416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82417 _ACEOF
82420 done
82422 else
82423 echo "$as_me:$LINENO: checking for _float round functions" >&5
82424 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82425 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82426 echo $ECHO_N "(cached) $ECHO_C" >&6
82427 else
82431 ac_ext=cc
82432 ac_cpp='$CXXCPP $CPPFLAGS'
82433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82437 cat >conftest.$ac_ext <<_ACEOF
82438 /* confdefs.h. */
82439 _ACEOF
82440 cat confdefs.h >>conftest.$ac_ext
82441 cat >>conftest.$ac_ext <<_ACEOF
82442 /* end confdefs.h. */
82443 #include <math.h>
82445 main ()
82447 _ceilf (0); _floorf (0);
82449 return 0;
82451 _ACEOF
82452 rm -f conftest.$ac_objext
82453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82454 (eval $ac_compile) 2>conftest.er1
82455 ac_status=$?
82456 grep -v '^ *+' conftest.er1 >conftest.err
82457 rm -f conftest.er1
82458 cat conftest.err >&5
82459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82460 (exit $ac_status); } &&
82461 { ac_try='test -z "$ac_cxx_werror_flag"
82462 || test ! -s conftest.err'
82463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82464 (eval $ac_try) 2>&5
82465 ac_status=$?
82466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82467 (exit $ac_status); }; } &&
82468 { ac_try='test -s conftest.$ac_objext'
82469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82470 (eval $ac_try) 2>&5
82471 ac_status=$?
82472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82473 (exit $ac_status); }; }; then
82474 glibcxx_cv_func__float_round_use=yes
82475 else
82476 echo "$as_me: failed program was:" >&5
82477 sed 's/^/| /' conftest.$ac_ext >&5
82479 glibcxx_cv_func__float_round_use=no
82481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82482 ac_ext=c
82483 ac_cpp='$CPP $CPPFLAGS'
82484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82491 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82492 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82495 for ac_func in _ceilf _floorf
82497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82498 echo "$as_me:$LINENO: checking for $ac_func" >&5
82499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82500 if eval "test \"\${$as_ac_var+set}\" = set"; then
82501 echo $ECHO_N "(cached) $ECHO_C" >&6
82502 else
82503 if test x$gcc_no_link = xyes; then
82504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82506 { (exit 1); exit 1; }; }
82508 cat >conftest.$ac_ext <<_ACEOF
82509 /* confdefs.h. */
82510 _ACEOF
82511 cat confdefs.h >>conftest.$ac_ext
82512 cat >>conftest.$ac_ext <<_ACEOF
82513 /* end confdefs.h. */
82514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82516 #define $ac_func innocuous_$ac_func
82518 /* System header to define __stub macros and hopefully few prototypes,
82519 which can conflict with char $ac_func (); below.
82520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82521 <limits.h> exists even on freestanding compilers. */
82523 #ifdef __STDC__
82524 # include <limits.h>
82525 #else
82526 # include <assert.h>
82527 #endif
82529 #undef $ac_func
82531 /* Override any gcc2 internal prototype to avoid an error. */
82532 #ifdef __cplusplus
82533 extern "C"
82535 #endif
82536 /* We use char because int might match the return type of a gcc2
82537 builtin and then its argument prototype would still apply. */
82538 char $ac_func ();
82539 /* The GNU C library defines this for functions which it implements
82540 to always fail with ENOSYS. Some functions are actually named
82541 something starting with __ and the normal name is an alias. */
82542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82543 choke me
82544 #else
82545 char (*f) () = $ac_func;
82546 #endif
82547 #ifdef __cplusplus
82549 #endif
82552 main ()
82554 return f != $ac_func;
82556 return 0;
82558 _ACEOF
82559 rm -f conftest.$ac_objext conftest$ac_exeext
82560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82561 (eval $ac_link) 2>conftest.er1
82562 ac_status=$?
82563 grep -v '^ *+' conftest.er1 >conftest.err
82564 rm -f conftest.er1
82565 cat conftest.err >&5
82566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82567 (exit $ac_status); } &&
82568 { ac_try='test -z "$ac_c_werror_flag"
82569 || test ! -s conftest.err'
82570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82571 (eval $ac_try) 2>&5
82572 ac_status=$?
82573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82574 (exit $ac_status); }; } &&
82575 { ac_try='test -s conftest$ac_exeext'
82576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82577 (eval $ac_try) 2>&5
82578 ac_status=$?
82579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82580 (exit $ac_status); }; }; then
82581 eval "$as_ac_var=yes"
82582 else
82583 echo "$as_me: failed program was:" >&5
82584 sed 's/^/| /' conftest.$ac_ext >&5
82586 eval "$as_ac_var=no"
82588 rm -f conftest.err conftest.$ac_objext \
82589 conftest$ac_exeext conftest.$ac_ext
82591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82593 if test `eval echo '${'$as_ac_var'}'` = yes; then
82594 cat >>confdefs.h <<_ACEOF
82595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82596 _ACEOF
82599 done
82611 echo "$as_me:$LINENO: checking for expf declaration" >&5
82612 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82613 if test x${glibcxx_cv_func_expf_use+set} != xset; then
82614 if test "${glibcxx_cv_func_expf_use+set}" = set; then
82615 echo $ECHO_N "(cached) $ECHO_C" >&6
82616 else
82620 ac_ext=cc
82621 ac_cpp='$CXXCPP $CPPFLAGS'
82622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82626 cat >conftest.$ac_ext <<_ACEOF
82627 /* confdefs.h. */
82628 _ACEOF
82629 cat confdefs.h >>conftest.$ac_ext
82630 cat >>conftest.$ac_ext <<_ACEOF
82631 /* end confdefs.h. */
82632 #include <math.h>
82633 #ifdef HAVE_IEEEFP_H
82634 #include <ieeefp.h>
82635 #endif
82638 main ()
82640 expf(0);
82642 return 0;
82644 _ACEOF
82645 rm -f conftest.$ac_objext
82646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82647 (eval $ac_compile) 2>conftest.er1
82648 ac_status=$?
82649 grep -v '^ *+' conftest.er1 >conftest.err
82650 rm -f conftest.er1
82651 cat conftest.err >&5
82652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82653 (exit $ac_status); } &&
82654 { ac_try='test -z "$ac_cxx_werror_flag"
82655 || test ! -s conftest.err'
82656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82657 (eval $ac_try) 2>&5
82658 ac_status=$?
82659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82660 (exit $ac_status); }; } &&
82661 { ac_try='test -s conftest.$ac_objext'
82662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82663 (eval $ac_try) 2>&5
82664 ac_status=$?
82665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82666 (exit $ac_status); }; }; then
82667 glibcxx_cv_func_expf_use=yes
82668 else
82669 echo "$as_me: failed program was:" >&5
82670 sed 's/^/| /' conftest.$ac_ext >&5
82672 glibcxx_cv_func_expf_use=no
82674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82675 ac_ext=c
82676 ac_cpp='$CPP $CPPFLAGS'
82677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82686 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82688 if test x$glibcxx_cv_func_expf_use = x"yes"; then
82690 for ac_func in expf
82692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82693 echo "$as_me:$LINENO: checking for $ac_func" >&5
82694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82695 if eval "test \"\${$as_ac_var+set}\" = set"; then
82696 echo $ECHO_N "(cached) $ECHO_C" >&6
82697 else
82698 if test x$gcc_no_link = xyes; then
82699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82701 { (exit 1); exit 1; }; }
82703 cat >conftest.$ac_ext <<_ACEOF
82704 /* confdefs.h. */
82705 _ACEOF
82706 cat confdefs.h >>conftest.$ac_ext
82707 cat >>conftest.$ac_ext <<_ACEOF
82708 /* end confdefs.h. */
82709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82711 #define $ac_func innocuous_$ac_func
82713 /* System header to define __stub macros and hopefully few prototypes,
82714 which can conflict with char $ac_func (); below.
82715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82716 <limits.h> exists even on freestanding compilers. */
82718 #ifdef __STDC__
82719 # include <limits.h>
82720 #else
82721 # include <assert.h>
82722 #endif
82724 #undef $ac_func
82726 /* Override any gcc2 internal prototype to avoid an error. */
82727 #ifdef __cplusplus
82728 extern "C"
82730 #endif
82731 /* We use char because int might match the return type of a gcc2
82732 builtin and then its argument prototype would still apply. */
82733 char $ac_func ();
82734 /* The GNU C library defines this for functions which it implements
82735 to always fail with ENOSYS. Some functions are actually named
82736 something starting with __ and the normal name is an alias. */
82737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82738 choke me
82739 #else
82740 char (*f) () = $ac_func;
82741 #endif
82742 #ifdef __cplusplus
82744 #endif
82747 main ()
82749 return f != $ac_func;
82751 return 0;
82753 _ACEOF
82754 rm -f conftest.$ac_objext conftest$ac_exeext
82755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82756 (eval $ac_link) 2>conftest.er1
82757 ac_status=$?
82758 grep -v '^ *+' conftest.er1 >conftest.err
82759 rm -f conftest.er1
82760 cat conftest.err >&5
82761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82762 (exit $ac_status); } &&
82763 { ac_try='test -z "$ac_c_werror_flag"
82764 || test ! -s conftest.err'
82765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82766 (eval $ac_try) 2>&5
82767 ac_status=$?
82768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82769 (exit $ac_status); }; } &&
82770 { ac_try='test -s conftest$ac_exeext'
82771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82772 (eval $ac_try) 2>&5
82773 ac_status=$?
82774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82775 (exit $ac_status); }; }; then
82776 eval "$as_ac_var=yes"
82777 else
82778 echo "$as_me: failed program was:" >&5
82779 sed 's/^/| /' conftest.$ac_ext >&5
82781 eval "$as_ac_var=no"
82783 rm -f conftest.err conftest.$ac_objext \
82784 conftest$ac_exeext conftest.$ac_ext
82786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82788 if test `eval echo '${'$as_ac_var'}'` = yes; then
82789 cat >>confdefs.h <<_ACEOF
82790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82791 _ACEOF
82794 done
82796 else
82798 echo "$as_me:$LINENO: checking for _expf declaration" >&5
82799 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82800 if test x${glibcxx_cv_func__expf_use+set} != xset; then
82801 if test "${glibcxx_cv_func__expf_use+set}" = set; then
82802 echo $ECHO_N "(cached) $ECHO_C" >&6
82803 else
82807 ac_ext=cc
82808 ac_cpp='$CXXCPP $CPPFLAGS'
82809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82813 cat >conftest.$ac_ext <<_ACEOF
82814 /* confdefs.h. */
82815 _ACEOF
82816 cat confdefs.h >>conftest.$ac_ext
82817 cat >>conftest.$ac_ext <<_ACEOF
82818 /* end confdefs.h. */
82819 #include <math.h>
82820 #ifdef HAVE_IEEEFP_H
82821 #include <ieeefp.h>
82822 #endif
82825 main ()
82827 _expf(0);
82829 return 0;
82831 _ACEOF
82832 rm -f conftest.$ac_objext
82833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82834 (eval $ac_compile) 2>conftest.er1
82835 ac_status=$?
82836 grep -v '^ *+' conftest.er1 >conftest.err
82837 rm -f conftest.er1
82838 cat conftest.err >&5
82839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82840 (exit $ac_status); } &&
82841 { ac_try='test -z "$ac_cxx_werror_flag"
82842 || test ! -s conftest.err'
82843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82844 (eval $ac_try) 2>&5
82845 ac_status=$?
82846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82847 (exit $ac_status); }; } &&
82848 { ac_try='test -s conftest.$ac_objext'
82849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82850 (eval $ac_try) 2>&5
82851 ac_status=$?
82852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853 (exit $ac_status); }; }; then
82854 glibcxx_cv_func__expf_use=yes
82855 else
82856 echo "$as_me: failed program was:" >&5
82857 sed 's/^/| /' conftest.$ac_ext >&5
82859 glibcxx_cv_func__expf_use=no
82861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82862 ac_ext=c
82863 ac_cpp='$CPP $CPPFLAGS'
82864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82873 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82875 if test x$glibcxx_cv_func__expf_use = x"yes"; then
82877 for ac_func in _expf
82879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82880 echo "$as_me:$LINENO: checking for $ac_func" >&5
82881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82882 if eval "test \"\${$as_ac_var+set}\" = set"; then
82883 echo $ECHO_N "(cached) $ECHO_C" >&6
82884 else
82885 if test x$gcc_no_link = xyes; then
82886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82888 { (exit 1); exit 1; }; }
82890 cat >conftest.$ac_ext <<_ACEOF
82891 /* confdefs.h. */
82892 _ACEOF
82893 cat confdefs.h >>conftest.$ac_ext
82894 cat >>conftest.$ac_ext <<_ACEOF
82895 /* end confdefs.h. */
82896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82898 #define $ac_func innocuous_$ac_func
82900 /* System header to define __stub macros and hopefully few prototypes,
82901 which can conflict with char $ac_func (); below.
82902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82903 <limits.h> exists even on freestanding compilers. */
82905 #ifdef __STDC__
82906 # include <limits.h>
82907 #else
82908 # include <assert.h>
82909 #endif
82911 #undef $ac_func
82913 /* Override any gcc2 internal prototype to avoid an error. */
82914 #ifdef __cplusplus
82915 extern "C"
82917 #endif
82918 /* We use char because int might match the return type of a gcc2
82919 builtin and then its argument prototype would still apply. */
82920 char $ac_func ();
82921 /* The GNU C library defines this for functions which it implements
82922 to always fail with ENOSYS. Some functions are actually named
82923 something starting with __ and the normal name is an alias. */
82924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82925 choke me
82926 #else
82927 char (*f) () = $ac_func;
82928 #endif
82929 #ifdef __cplusplus
82931 #endif
82934 main ()
82936 return f != $ac_func;
82938 return 0;
82940 _ACEOF
82941 rm -f conftest.$ac_objext conftest$ac_exeext
82942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82943 (eval $ac_link) 2>conftest.er1
82944 ac_status=$?
82945 grep -v '^ *+' conftest.er1 >conftest.err
82946 rm -f conftest.er1
82947 cat conftest.err >&5
82948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82949 (exit $ac_status); } &&
82950 { ac_try='test -z "$ac_c_werror_flag"
82951 || test ! -s conftest.err'
82952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82953 (eval $ac_try) 2>&5
82954 ac_status=$?
82955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956 (exit $ac_status); }; } &&
82957 { ac_try='test -s conftest$ac_exeext'
82958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82959 (eval $ac_try) 2>&5
82960 ac_status=$?
82961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82962 (exit $ac_status); }; }; then
82963 eval "$as_ac_var=yes"
82964 else
82965 echo "$as_me: failed program was:" >&5
82966 sed 's/^/| /' conftest.$ac_ext >&5
82968 eval "$as_ac_var=no"
82970 rm -f conftest.err conftest.$ac_objext \
82971 conftest$ac_exeext conftest.$ac_ext
82973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82975 if test `eval echo '${'$as_ac_var'}'` = yes; then
82976 cat >>confdefs.h <<_ACEOF
82977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82978 _ACEOF
82981 done
82991 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
82992 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
82993 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
82994 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
82995 echo $ECHO_N "(cached) $ECHO_C" >&6
82996 else
83000 ac_ext=cc
83001 ac_cpp='$CXXCPP $CPPFLAGS'
83002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83006 cat >conftest.$ac_ext <<_ACEOF
83007 /* confdefs.h. */
83008 _ACEOF
83009 cat confdefs.h >>conftest.$ac_ext
83010 cat >>conftest.$ac_ext <<_ACEOF
83011 /* end confdefs.h. */
83012 #include <math.h>
83013 #ifdef HAVE_IEEEFP_H
83014 #include <ieeefp.h>
83015 #endif
83018 main ()
83020 isnanf(0);
83022 return 0;
83024 _ACEOF
83025 rm -f conftest.$ac_objext
83026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83027 (eval $ac_compile) 2>conftest.er1
83028 ac_status=$?
83029 grep -v '^ *+' conftest.er1 >conftest.err
83030 rm -f conftest.er1
83031 cat conftest.err >&5
83032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83033 (exit $ac_status); } &&
83034 { ac_try='test -z "$ac_cxx_werror_flag"
83035 || test ! -s conftest.err'
83036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83037 (eval $ac_try) 2>&5
83038 ac_status=$?
83039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83040 (exit $ac_status); }; } &&
83041 { ac_try='test -s conftest.$ac_objext'
83042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83043 (eval $ac_try) 2>&5
83044 ac_status=$?
83045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83046 (exit $ac_status); }; }; then
83047 glibcxx_cv_func_isnanf_use=yes
83048 else
83049 echo "$as_me: failed program was:" >&5
83050 sed 's/^/| /' conftest.$ac_ext >&5
83052 glibcxx_cv_func_isnanf_use=no
83054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83055 ac_ext=c
83056 ac_cpp='$CPP $CPPFLAGS'
83057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83066 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83068 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83070 for ac_func in isnanf
83072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83073 echo "$as_me:$LINENO: checking for $ac_func" >&5
83074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83075 if eval "test \"\${$as_ac_var+set}\" = set"; then
83076 echo $ECHO_N "(cached) $ECHO_C" >&6
83077 else
83078 if test x$gcc_no_link = xyes; then
83079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83081 { (exit 1); exit 1; }; }
83083 cat >conftest.$ac_ext <<_ACEOF
83084 /* confdefs.h. */
83085 _ACEOF
83086 cat confdefs.h >>conftest.$ac_ext
83087 cat >>conftest.$ac_ext <<_ACEOF
83088 /* end confdefs.h. */
83089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83091 #define $ac_func innocuous_$ac_func
83093 /* System header to define __stub macros and hopefully few prototypes,
83094 which can conflict with char $ac_func (); below.
83095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83096 <limits.h> exists even on freestanding compilers. */
83098 #ifdef __STDC__
83099 # include <limits.h>
83100 #else
83101 # include <assert.h>
83102 #endif
83104 #undef $ac_func
83106 /* Override any gcc2 internal prototype to avoid an error. */
83107 #ifdef __cplusplus
83108 extern "C"
83110 #endif
83111 /* We use char because int might match the return type of a gcc2
83112 builtin and then its argument prototype would still apply. */
83113 char $ac_func ();
83114 /* The GNU C library defines this for functions which it implements
83115 to always fail with ENOSYS. Some functions are actually named
83116 something starting with __ and the normal name is an alias. */
83117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83118 choke me
83119 #else
83120 char (*f) () = $ac_func;
83121 #endif
83122 #ifdef __cplusplus
83124 #endif
83127 main ()
83129 return f != $ac_func;
83131 return 0;
83133 _ACEOF
83134 rm -f conftest.$ac_objext conftest$ac_exeext
83135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83136 (eval $ac_link) 2>conftest.er1
83137 ac_status=$?
83138 grep -v '^ *+' conftest.er1 >conftest.err
83139 rm -f conftest.er1
83140 cat conftest.err >&5
83141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83142 (exit $ac_status); } &&
83143 { ac_try='test -z "$ac_c_werror_flag"
83144 || test ! -s conftest.err'
83145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146 (eval $ac_try) 2>&5
83147 ac_status=$?
83148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149 (exit $ac_status); }; } &&
83150 { ac_try='test -s conftest$ac_exeext'
83151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83152 (eval $ac_try) 2>&5
83153 ac_status=$?
83154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155 (exit $ac_status); }; }; then
83156 eval "$as_ac_var=yes"
83157 else
83158 echo "$as_me: failed program was:" >&5
83159 sed 's/^/| /' conftest.$ac_ext >&5
83161 eval "$as_ac_var=no"
83163 rm -f conftest.err conftest.$ac_objext \
83164 conftest$ac_exeext conftest.$ac_ext
83166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83168 if test `eval echo '${'$as_ac_var'}'` = yes; then
83169 cat >>confdefs.h <<_ACEOF
83170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83171 _ACEOF
83174 done
83176 else
83178 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83179 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83180 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83181 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83182 echo $ECHO_N "(cached) $ECHO_C" >&6
83183 else
83187 ac_ext=cc
83188 ac_cpp='$CXXCPP $CPPFLAGS'
83189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83193 cat >conftest.$ac_ext <<_ACEOF
83194 /* confdefs.h. */
83195 _ACEOF
83196 cat confdefs.h >>conftest.$ac_ext
83197 cat >>conftest.$ac_ext <<_ACEOF
83198 /* end confdefs.h. */
83199 #include <math.h>
83200 #ifdef HAVE_IEEEFP_H
83201 #include <ieeefp.h>
83202 #endif
83205 main ()
83207 _isnanf(0);
83209 return 0;
83211 _ACEOF
83212 rm -f conftest.$ac_objext
83213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83214 (eval $ac_compile) 2>conftest.er1
83215 ac_status=$?
83216 grep -v '^ *+' conftest.er1 >conftest.err
83217 rm -f conftest.er1
83218 cat conftest.err >&5
83219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83220 (exit $ac_status); } &&
83221 { ac_try='test -z "$ac_cxx_werror_flag"
83222 || test ! -s conftest.err'
83223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83224 (eval $ac_try) 2>&5
83225 ac_status=$?
83226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83227 (exit $ac_status); }; } &&
83228 { ac_try='test -s conftest.$ac_objext'
83229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83230 (eval $ac_try) 2>&5
83231 ac_status=$?
83232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83233 (exit $ac_status); }; }; then
83234 glibcxx_cv_func__isnanf_use=yes
83235 else
83236 echo "$as_me: failed program was:" >&5
83237 sed 's/^/| /' conftest.$ac_ext >&5
83239 glibcxx_cv_func__isnanf_use=no
83241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83242 ac_ext=c
83243 ac_cpp='$CPP $CPPFLAGS'
83244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83253 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83255 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83257 for ac_func in _isnanf
83259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83260 echo "$as_me:$LINENO: checking for $ac_func" >&5
83261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83262 if eval "test \"\${$as_ac_var+set}\" = set"; then
83263 echo $ECHO_N "(cached) $ECHO_C" >&6
83264 else
83265 if test x$gcc_no_link = xyes; then
83266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83268 { (exit 1); exit 1; }; }
83270 cat >conftest.$ac_ext <<_ACEOF
83271 /* confdefs.h. */
83272 _ACEOF
83273 cat confdefs.h >>conftest.$ac_ext
83274 cat >>conftest.$ac_ext <<_ACEOF
83275 /* end confdefs.h. */
83276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83278 #define $ac_func innocuous_$ac_func
83280 /* System header to define __stub macros and hopefully few prototypes,
83281 which can conflict with char $ac_func (); below.
83282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83283 <limits.h> exists even on freestanding compilers. */
83285 #ifdef __STDC__
83286 # include <limits.h>
83287 #else
83288 # include <assert.h>
83289 #endif
83291 #undef $ac_func
83293 /* Override any gcc2 internal prototype to avoid an error. */
83294 #ifdef __cplusplus
83295 extern "C"
83297 #endif
83298 /* We use char because int might match the return type of a gcc2
83299 builtin and then its argument prototype would still apply. */
83300 char $ac_func ();
83301 /* The GNU C library defines this for functions which it implements
83302 to always fail with ENOSYS. Some functions are actually named
83303 something starting with __ and the normal name is an alias. */
83304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83305 choke me
83306 #else
83307 char (*f) () = $ac_func;
83308 #endif
83309 #ifdef __cplusplus
83311 #endif
83314 main ()
83316 return f != $ac_func;
83318 return 0;
83320 _ACEOF
83321 rm -f conftest.$ac_objext conftest$ac_exeext
83322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83323 (eval $ac_link) 2>conftest.er1
83324 ac_status=$?
83325 grep -v '^ *+' conftest.er1 >conftest.err
83326 rm -f conftest.er1
83327 cat conftest.err >&5
83328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83329 (exit $ac_status); } &&
83330 { ac_try='test -z "$ac_c_werror_flag"
83331 || test ! -s conftest.err'
83332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83333 (eval $ac_try) 2>&5
83334 ac_status=$?
83335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83336 (exit $ac_status); }; } &&
83337 { ac_try='test -s conftest$ac_exeext'
83338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83339 (eval $ac_try) 2>&5
83340 ac_status=$?
83341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83342 (exit $ac_status); }; }; then
83343 eval "$as_ac_var=yes"
83344 else
83345 echo "$as_me: failed program was:" >&5
83346 sed 's/^/| /' conftest.$ac_ext >&5
83348 eval "$as_ac_var=no"
83350 rm -f conftest.err conftest.$ac_objext \
83351 conftest$ac_exeext conftest.$ac_ext
83353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83355 if test `eval echo '${'$as_ac_var'}'` = yes; then
83356 cat >>confdefs.h <<_ACEOF
83357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83358 _ACEOF
83361 done
83371 echo "$as_me:$LINENO: checking for isinff declaration" >&5
83372 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83373 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83374 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83375 echo $ECHO_N "(cached) $ECHO_C" >&6
83376 else
83380 ac_ext=cc
83381 ac_cpp='$CXXCPP $CPPFLAGS'
83382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83386 cat >conftest.$ac_ext <<_ACEOF
83387 /* confdefs.h. */
83388 _ACEOF
83389 cat confdefs.h >>conftest.$ac_ext
83390 cat >>conftest.$ac_ext <<_ACEOF
83391 /* end confdefs.h. */
83392 #include <math.h>
83393 #ifdef HAVE_IEEEFP_H
83394 #include <ieeefp.h>
83395 #endif
83398 main ()
83400 isinff(0);
83402 return 0;
83404 _ACEOF
83405 rm -f conftest.$ac_objext
83406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83407 (eval $ac_compile) 2>conftest.er1
83408 ac_status=$?
83409 grep -v '^ *+' conftest.er1 >conftest.err
83410 rm -f conftest.er1
83411 cat conftest.err >&5
83412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83413 (exit $ac_status); } &&
83414 { ac_try='test -z "$ac_cxx_werror_flag"
83415 || test ! -s conftest.err'
83416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83417 (eval $ac_try) 2>&5
83418 ac_status=$?
83419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83420 (exit $ac_status); }; } &&
83421 { ac_try='test -s conftest.$ac_objext'
83422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83423 (eval $ac_try) 2>&5
83424 ac_status=$?
83425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83426 (exit $ac_status); }; }; then
83427 glibcxx_cv_func_isinff_use=yes
83428 else
83429 echo "$as_me: failed program was:" >&5
83430 sed 's/^/| /' conftest.$ac_ext >&5
83432 glibcxx_cv_func_isinff_use=no
83434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83435 ac_ext=c
83436 ac_cpp='$CPP $CPPFLAGS'
83437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83446 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83448 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83450 for ac_func in isinff
83452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83453 echo "$as_me:$LINENO: checking for $ac_func" >&5
83454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83455 if eval "test \"\${$as_ac_var+set}\" = set"; then
83456 echo $ECHO_N "(cached) $ECHO_C" >&6
83457 else
83458 if test x$gcc_no_link = xyes; then
83459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83461 { (exit 1); exit 1; }; }
83463 cat >conftest.$ac_ext <<_ACEOF
83464 /* confdefs.h. */
83465 _ACEOF
83466 cat confdefs.h >>conftest.$ac_ext
83467 cat >>conftest.$ac_ext <<_ACEOF
83468 /* end confdefs.h. */
83469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83471 #define $ac_func innocuous_$ac_func
83473 /* System header to define __stub macros and hopefully few prototypes,
83474 which can conflict with char $ac_func (); below.
83475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83476 <limits.h> exists even on freestanding compilers. */
83478 #ifdef __STDC__
83479 # include <limits.h>
83480 #else
83481 # include <assert.h>
83482 #endif
83484 #undef $ac_func
83486 /* Override any gcc2 internal prototype to avoid an error. */
83487 #ifdef __cplusplus
83488 extern "C"
83490 #endif
83491 /* We use char because int might match the return type of a gcc2
83492 builtin and then its argument prototype would still apply. */
83493 char $ac_func ();
83494 /* The GNU C library defines this for functions which it implements
83495 to always fail with ENOSYS. Some functions are actually named
83496 something starting with __ and the normal name is an alias. */
83497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83498 choke me
83499 #else
83500 char (*f) () = $ac_func;
83501 #endif
83502 #ifdef __cplusplus
83504 #endif
83507 main ()
83509 return f != $ac_func;
83511 return 0;
83513 _ACEOF
83514 rm -f conftest.$ac_objext conftest$ac_exeext
83515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83516 (eval $ac_link) 2>conftest.er1
83517 ac_status=$?
83518 grep -v '^ *+' conftest.er1 >conftest.err
83519 rm -f conftest.er1
83520 cat conftest.err >&5
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); } &&
83523 { ac_try='test -z "$ac_c_werror_flag"
83524 || test ! -s conftest.err'
83525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83526 (eval $ac_try) 2>&5
83527 ac_status=$?
83528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83529 (exit $ac_status); }; } &&
83530 { ac_try='test -s conftest$ac_exeext'
83531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83532 (eval $ac_try) 2>&5
83533 ac_status=$?
83534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535 (exit $ac_status); }; }; then
83536 eval "$as_ac_var=yes"
83537 else
83538 echo "$as_me: failed program was:" >&5
83539 sed 's/^/| /' conftest.$ac_ext >&5
83541 eval "$as_ac_var=no"
83543 rm -f conftest.err conftest.$ac_objext \
83544 conftest$ac_exeext conftest.$ac_ext
83546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83548 if test `eval echo '${'$as_ac_var'}'` = yes; then
83549 cat >>confdefs.h <<_ACEOF
83550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83551 _ACEOF
83554 done
83556 else
83558 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83559 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83562 echo $ECHO_N "(cached) $ECHO_C" >&6
83563 else
83567 ac_ext=cc
83568 ac_cpp='$CXXCPP $CPPFLAGS'
83569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83573 cat >conftest.$ac_ext <<_ACEOF
83574 /* confdefs.h. */
83575 _ACEOF
83576 cat confdefs.h >>conftest.$ac_ext
83577 cat >>conftest.$ac_ext <<_ACEOF
83578 /* end confdefs.h. */
83579 #include <math.h>
83580 #ifdef HAVE_IEEEFP_H
83581 #include <ieeefp.h>
83582 #endif
83585 main ()
83587 _isinff(0);
83589 return 0;
83591 _ACEOF
83592 rm -f conftest.$ac_objext
83593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83594 (eval $ac_compile) 2>conftest.er1
83595 ac_status=$?
83596 grep -v '^ *+' conftest.er1 >conftest.err
83597 rm -f conftest.er1
83598 cat conftest.err >&5
83599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83600 (exit $ac_status); } &&
83601 { ac_try='test -z "$ac_cxx_werror_flag"
83602 || test ! -s conftest.err'
83603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83604 (eval $ac_try) 2>&5
83605 ac_status=$?
83606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607 (exit $ac_status); }; } &&
83608 { ac_try='test -s conftest.$ac_objext'
83609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83610 (eval $ac_try) 2>&5
83611 ac_status=$?
83612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83613 (exit $ac_status); }; }; then
83614 glibcxx_cv_func__isinff_use=yes
83615 else
83616 echo "$as_me: failed program was:" >&5
83617 sed 's/^/| /' conftest.$ac_ext >&5
83619 glibcxx_cv_func__isinff_use=no
83621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83622 ac_ext=c
83623 ac_cpp='$CPP $CPPFLAGS'
83624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83633 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83635 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83637 for ac_func in _isinff
83639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83640 echo "$as_me:$LINENO: checking for $ac_func" >&5
83641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83642 if eval "test \"\${$as_ac_var+set}\" = set"; then
83643 echo $ECHO_N "(cached) $ECHO_C" >&6
83644 else
83645 if test x$gcc_no_link = xyes; then
83646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83648 { (exit 1); exit 1; }; }
83650 cat >conftest.$ac_ext <<_ACEOF
83651 /* confdefs.h. */
83652 _ACEOF
83653 cat confdefs.h >>conftest.$ac_ext
83654 cat >>conftest.$ac_ext <<_ACEOF
83655 /* end confdefs.h. */
83656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83658 #define $ac_func innocuous_$ac_func
83660 /* System header to define __stub macros and hopefully few prototypes,
83661 which can conflict with char $ac_func (); below.
83662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83663 <limits.h> exists even on freestanding compilers. */
83665 #ifdef __STDC__
83666 # include <limits.h>
83667 #else
83668 # include <assert.h>
83669 #endif
83671 #undef $ac_func
83673 /* Override any gcc2 internal prototype to avoid an error. */
83674 #ifdef __cplusplus
83675 extern "C"
83677 #endif
83678 /* We use char because int might match the return type of a gcc2
83679 builtin and then its argument prototype would still apply. */
83680 char $ac_func ();
83681 /* The GNU C library defines this for functions which it implements
83682 to always fail with ENOSYS. Some functions are actually named
83683 something starting with __ and the normal name is an alias. */
83684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83685 choke me
83686 #else
83687 char (*f) () = $ac_func;
83688 #endif
83689 #ifdef __cplusplus
83691 #endif
83694 main ()
83696 return f != $ac_func;
83698 return 0;
83700 _ACEOF
83701 rm -f conftest.$ac_objext conftest$ac_exeext
83702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83703 (eval $ac_link) 2>conftest.er1
83704 ac_status=$?
83705 grep -v '^ *+' conftest.er1 >conftest.err
83706 rm -f conftest.er1
83707 cat conftest.err >&5
83708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83709 (exit $ac_status); } &&
83710 { ac_try='test -z "$ac_c_werror_flag"
83711 || test ! -s conftest.err'
83712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83713 (eval $ac_try) 2>&5
83714 ac_status=$?
83715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83716 (exit $ac_status); }; } &&
83717 { ac_try='test -s conftest$ac_exeext'
83718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83719 (eval $ac_try) 2>&5
83720 ac_status=$?
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); }; }; then
83723 eval "$as_ac_var=yes"
83724 else
83725 echo "$as_me: failed program was:" >&5
83726 sed 's/^/| /' conftest.$ac_ext >&5
83728 eval "$as_ac_var=no"
83730 rm -f conftest.err conftest.$ac_objext \
83731 conftest$ac_exeext conftest.$ac_ext
83733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83735 if test `eval echo '${'$as_ac_var'}'` = yes; then
83736 cat >>confdefs.h <<_ACEOF
83737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83738 _ACEOF
83741 done
83751 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83752 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83753 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83754 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83755 echo $ECHO_N "(cached) $ECHO_C" >&6
83756 else
83760 ac_ext=cc
83761 ac_cpp='$CXXCPP $CPPFLAGS'
83762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83766 cat >conftest.$ac_ext <<_ACEOF
83767 /* confdefs.h. */
83768 _ACEOF
83769 cat confdefs.h >>conftest.$ac_ext
83770 cat >>conftest.$ac_ext <<_ACEOF
83771 /* end confdefs.h. */
83772 #include <math.h>
83774 main ()
83776 atan2f(0, 0);
83778 return 0;
83780 _ACEOF
83781 rm -f conftest.$ac_objext
83782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83783 (eval $ac_compile) 2>conftest.er1
83784 ac_status=$?
83785 grep -v '^ *+' conftest.er1 >conftest.err
83786 rm -f conftest.er1
83787 cat conftest.err >&5
83788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83789 (exit $ac_status); } &&
83790 { ac_try='test -z "$ac_cxx_werror_flag"
83791 || test ! -s conftest.err'
83792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83793 (eval $ac_try) 2>&5
83794 ac_status=$?
83795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796 (exit $ac_status); }; } &&
83797 { ac_try='test -s conftest.$ac_objext'
83798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83799 (eval $ac_try) 2>&5
83800 ac_status=$?
83801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83802 (exit $ac_status); }; }; then
83803 glibcxx_cv_func_atan2f_use=yes
83804 else
83805 echo "$as_me: failed program was:" >&5
83806 sed 's/^/| /' conftest.$ac_ext >&5
83808 glibcxx_cv_func_atan2f_use=no
83810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83811 ac_ext=c
83812 ac_cpp='$CPP $CPPFLAGS'
83813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83822 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83824 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83826 for ac_func in atan2f
83828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83829 echo "$as_me:$LINENO: checking for $ac_func" >&5
83830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83831 if eval "test \"\${$as_ac_var+set}\" = set"; then
83832 echo $ECHO_N "(cached) $ECHO_C" >&6
83833 else
83834 if test x$gcc_no_link = xyes; then
83835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83837 { (exit 1); exit 1; }; }
83839 cat >conftest.$ac_ext <<_ACEOF
83840 /* confdefs.h. */
83841 _ACEOF
83842 cat confdefs.h >>conftest.$ac_ext
83843 cat >>conftest.$ac_ext <<_ACEOF
83844 /* end confdefs.h. */
83845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83847 #define $ac_func innocuous_$ac_func
83849 /* System header to define __stub macros and hopefully few prototypes,
83850 which can conflict with char $ac_func (); below.
83851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83852 <limits.h> exists even on freestanding compilers. */
83854 #ifdef __STDC__
83855 # include <limits.h>
83856 #else
83857 # include <assert.h>
83858 #endif
83860 #undef $ac_func
83862 /* Override any gcc2 internal prototype to avoid an error. */
83863 #ifdef __cplusplus
83864 extern "C"
83866 #endif
83867 /* We use char because int might match the return type of a gcc2
83868 builtin and then its argument prototype would still apply. */
83869 char $ac_func ();
83870 /* The GNU C library defines this for functions which it implements
83871 to always fail with ENOSYS. Some functions are actually named
83872 something starting with __ and the normal name is an alias. */
83873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83874 choke me
83875 #else
83876 char (*f) () = $ac_func;
83877 #endif
83878 #ifdef __cplusplus
83880 #endif
83883 main ()
83885 return f != $ac_func;
83887 return 0;
83889 _ACEOF
83890 rm -f conftest.$ac_objext conftest$ac_exeext
83891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83892 (eval $ac_link) 2>conftest.er1
83893 ac_status=$?
83894 grep -v '^ *+' conftest.er1 >conftest.err
83895 rm -f conftest.er1
83896 cat conftest.err >&5
83897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83898 (exit $ac_status); } &&
83899 { ac_try='test -z "$ac_c_werror_flag"
83900 || test ! -s conftest.err'
83901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83902 (eval $ac_try) 2>&5
83903 ac_status=$?
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); }; } &&
83906 { ac_try='test -s conftest$ac_exeext'
83907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83908 (eval $ac_try) 2>&5
83909 ac_status=$?
83910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83911 (exit $ac_status); }; }; then
83912 eval "$as_ac_var=yes"
83913 else
83914 echo "$as_me: failed program was:" >&5
83915 sed 's/^/| /' conftest.$ac_ext >&5
83917 eval "$as_ac_var=no"
83919 rm -f conftest.err conftest.$ac_objext \
83920 conftest$ac_exeext conftest.$ac_ext
83922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83924 if test `eval echo '${'$as_ac_var'}'` = yes; then
83925 cat >>confdefs.h <<_ACEOF
83926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83927 _ACEOF
83930 done
83932 else
83934 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83935 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83936 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83937 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83938 echo $ECHO_N "(cached) $ECHO_C" >&6
83939 else
83943 ac_ext=cc
83944 ac_cpp='$CXXCPP $CPPFLAGS'
83945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83949 cat >conftest.$ac_ext <<_ACEOF
83950 /* confdefs.h. */
83951 _ACEOF
83952 cat confdefs.h >>conftest.$ac_ext
83953 cat >>conftest.$ac_ext <<_ACEOF
83954 /* end confdefs.h. */
83955 #include <math.h>
83957 main ()
83959 _atan2f(0, 0);
83961 return 0;
83963 _ACEOF
83964 rm -f conftest.$ac_objext
83965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83966 (eval $ac_compile) 2>conftest.er1
83967 ac_status=$?
83968 grep -v '^ *+' conftest.er1 >conftest.err
83969 rm -f conftest.er1
83970 cat conftest.err >&5
83971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83972 (exit $ac_status); } &&
83973 { ac_try='test -z "$ac_cxx_werror_flag"
83974 || test ! -s conftest.err'
83975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83976 (eval $ac_try) 2>&5
83977 ac_status=$?
83978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83979 (exit $ac_status); }; } &&
83980 { ac_try='test -s conftest.$ac_objext'
83981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83982 (eval $ac_try) 2>&5
83983 ac_status=$?
83984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985 (exit $ac_status); }; }; then
83986 glibcxx_cv_func__atan2f_use=yes
83987 else
83988 echo "$as_me: failed program was:" >&5
83989 sed 's/^/| /' conftest.$ac_ext >&5
83991 glibcxx_cv_func__atan2f_use=no
83993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83994 ac_ext=c
83995 ac_cpp='$CPP $CPPFLAGS'
83996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84005 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84007 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84009 for ac_func in _atan2f
84011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84012 echo "$as_me:$LINENO: checking for $ac_func" >&5
84013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84014 if eval "test \"\${$as_ac_var+set}\" = set"; then
84015 echo $ECHO_N "(cached) $ECHO_C" >&6
84016 else
84017 if test x$gcc_no_link = xyes; then
84018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84020 { (exit 1); exit 1; }; }
84022 cat >conftest.$ac_ext <<_ACEOF
84023 /* confdefs.h. */
84024 _ACEOF
84025 cat confdefs.h >>conftest.$ac_ext
84026 cat >>conftest.$ac_ext <<_ACEOF
84027 /* end confdefs.h. */
84028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84030 #define $ac_func innocuous_$ac_func
84032 /* System header to define __stub macros and hopefully few prototypes,
84033 which can conflict with char $ac_func (); below.
84034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84035 <limits.h> exists even on freestanding compilers. */
84037 #ifdef __STDC__
84038 # include <limits.h>
84039 #else
84040 # include <assert.h>
84041 #endif
84043 #undef $ac_func
84045 /* Override any gcc2 internal prototype to avoid an error. */
84046 #ifdef __cplusplus
84047 extern "C"
84049 #endif
84050 /* We use char because int might match the return type of a gcc2
84051 builtin and then its argument prototype would still apply. */
84052 char $ac_func ();
84053 /* The GNU C library defines this for functions which it implements
84054 to always fail with ENOSYS. Some functions are actually named
84055 something starting with __ and the normal name is an alias. */
84056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84057 choke me
84058 #else
84059 char (*f) () = $ac_func;
84060 #endif
84061 #ifdef __cplusplus
84063 #endif
84066 main ()
84068 return f != $ac_func;
84070 return 0;
84072 _ACEOF
84073 rm -f conftest.$ac_objext conftest$ac_exeext
84074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84075 (eval $ac_link) 2>conftest.er1
84076 ac_status=$?
84077 grep -v '^ *+' conftest.er1 >conftest.err
84078 rm -f conftest.er1
84079 cat conftest.err >&5
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); } &&
84082 { ac_try='test -z "$ac_c_werror_flag"
84083 || test ! -s conftest.err'
84084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84085 (eval $ac_try) 2>&5
84086 ac_status=$?
84087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84088 (exit $ac_status); }; } &&
84089 { ac_try='test -s conftest$ac_exeext'
84090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84091 (eval $ac_try) 2>&5
84092 ac_status=$?
84093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84094 (exit $ac_status); }; }; then
84095 eval "$as_ac_var=yes"
84096 else
84097 echo "$as_me: failed program was:" >&5
84098 sed 's/^/| /' conftest.$ac_ext >&5
84100 eval "$as_ac_var=no"
84102 rm -f conftest.err conftest.$ac_objext \
84103 conftest$ac_exeext conftest.$ac_ext
84105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84107 if test `eval echo '${'$as_ac_var'}'` = yes; then
84108 cat >>confdefs.h <<_ACEOF
84109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84110 _ACEOF
84113 done
84123 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84124 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84125 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84126 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84127 echo $ECHO_N "(cached) $ECHO_C" >&6
84128 else
84132 ac_ext=cc
84133 ac_cpp='$CXXCPP $CPPFLAGS'
84134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84138 cat >conftest.$ac_ext <<_ACEOF
84139 /* confdefs.h. */
84140 _ACEOF
84141 cat confdefs.h >>conftest.$ac_ext
84142 cat >>conftest.$ac_ext <<_ACEOF
84143 /* end confdefs.h. */
84144 #include <math.h>
84145 #ifdef HAVE_IEEEFP_H
84146 #include <ieeefp.h>
84147 #endif
84150 main ()
84152 fabsf(0);
84154 return 0;
84156 _ACEOF
84157 rm -f conftest.$ac_objext
84158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84159 (eval $ac_compile) 2>conftest.er1
84160 ac_status=$?
84161 grep -v '^ *+' conftest.er1 >conftest.err
84162 rm -f conftest.er1
84163 cat conftest.err >&5
84164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84165 (exit $ac_status); } &&
84166 { ac_try='test -z "$ac_cxx_werror_flag"
84167 || test ! -s conftest.err'
84168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84169 (eval $ac_try) 2>&5
84170 ac_status=$?
84171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84172 (exit $ac_status); }; } &&
84173 { ac_try='test -s conftest.$ac_objext'
84174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84175 (eval $ac_try) 2>&5
84176 ac_status=$?
84177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84178 (exit $ac_status); }; }; then
84179 glibcxx_cv_func_fabsf_use=yes
84180 else
84181 echo "$as_me: failed program was:" >&5
84182 sed 's/^/| /' conftest.$ac_ext >&5
84184 glibcxx_cv_func_fabsf_use=no
84186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84187 ac_ext=c
84188 ac_cpp='$CPP $CPPFLAGS'
84189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84198 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84200 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84202 for ac_func in fabsf
84204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84205 echo "$as_me:$LINENO: checking for $ac_func" >&5
84206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84207 if eval "test \"\${$as_ac_var+set}\" = set"; then
84208 echo $ECHO_N "(cached) $ECHO_C" >&6
84209 else
84210 if test x$gcc_no_link = xyes; then
84211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84213 { (exit 1); exit 1; }; }
84215 cat >conftest.$ac_ext <<_ACEOF
84216 /* confdefs.h. */
84217 _ACEOF
84218 cat confdefs.h >>conftest.$ac_ext
84219 cat >>conftest.$ac_ext <<_ACEOF
84220 /* end confdefs.h. */
84221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84223 #define $ac_func innocuous_$ac_func
84225 /* System header to define __stub macros and hopefully few prototypes,
84226 which can conflict with char $ac_func (); below.
84227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84228 <limits.h> exists even on freestanding compilers. */
84230 #ifdef __STDC__
84231 # include <limits.h>
84232 #else
84233 # include <assert.h>
84234 #endif
84236 #undef $ac_func
84238 /* Override any gcc2 internal prototype to avoid an error. */
84239 #ifdef __cplusplus
84240 extern "C"
84242 #endif
84243 /* We use char because int might match the return type of a gcc2
84244 builtin and then its argument prototype would still apply. */
84245 char $ac_func ();
84246 /* The GNU C library defines this for functions which it implements
84247 to always fail with ENOSYS. Some functions are actually named
84248 something starting with __ and the normal name is an alias. */
84249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84250 choke me
84251 #else
84252 char (*f) () = $ac_func;
84253 #endif
84254 #ifdef __cplusplus
84256 #endif
84259 main ()
84261 return f != $ac_func;
84263 return 0;
84265 _ACEOF
84266 rm -f conftest.$ac_objext conftest$ac_exeext
84267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84268 (eval $ac_link) 2>conftest.er1
84269 ac_status=$?
84270 grep -v '^ *+' conftest.er1 >conftest.err
84271 rm -f conftest.er1
84272 cat conftest.err >&5
84273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84274 (exit $ac_status); } &&
84275 { ac_try='test -z "$ac_c_werror_flag"
84276 || test ! -s conftest.err'
84277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84278 (eval $ac_try) 2>&5
84279 ac_status=$?
84280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84281 (exit $ac_status); }; } &&
84282 { ac_try='test -s conftest$ac_exeext'
84283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84284 (eval $ac_try) 2>&5
84285 ac_status=$?
84286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84287 (exit $ac_status); }; }; then
84288 eval "$as_ac_var=yes"
84289 else
84290 echo "$as_me: failed program was:" >&5
84291 sed 's/^/| /' conftest.$ac_ext >&5
84293 eval "$as_ac_var=no"
84295 rm -f conftest.err conftest.$ac_objext \
84296 conftest$ac_exeext conftest.$ac_ext
84298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84300 if test `eval echo '${'$as_ac_var'}'` = yes; then
84301 cat >>confdefs.h <<_ACEOF
84302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84303 _ACEOF
84306 done
84308 else
84310 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84311 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84312 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84313 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84314 echo $ECHO_N "(cached) $ECHO_C" >&6
84315 else
84319 ac_ext=cc
84320 ac_cpp='$CXXCPP $CPPFLAGS'
84321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84325 cat >conftest.$ac_ext <<_ACEOF
84326 /* confdefs.h. */
84327 _ACEOF
84328 cat confdefs.h >>conftest.$ac_ext
84329 cat >>conftest.$ac_ext <<_ACEOF
84330 /* end confdefs.h. */
84331 #include <math.h>
84332 #ifdef HAVE_IEEEFP_H
84333 #include <ieeefp.h>
84334 #endif
84337 main ()
84339 _fabsf(0);
84341 return 0;
84343 _ACEOF
84344 rm -f conftest.$ac_objext
84345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84346 (eval $ac_compile) 2>conftest.er1
84347 ac_status=$?
84348 grep -v '^ *+' conftest.er1 >conftest.err
84349 rm -f conftest.er1
84350 cat conftest.err >&5
84351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84352 (exit $ac_status); } &&
84353 { ac_try='test -z "$ac_cxx_werror_flag"
84354 || test ! -s conftest.err'
84355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84356 (eval $ac_try) 2>&5
84357 ac_status=$?
84358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84359 (exit $ac_status); }; } &&
84360 { ac_try='test -s conftest.$ac_objext'
84361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84362 (eval $ac_try) 2>&5
84363 ac_status=$?
84364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84365 (exit $ac_status); }; }; then
84366 glibcxx_cv_func__fabsf_use=yes
84367 else
84368 echo "$as_me: failed program was:" >&5
84369 sed 's/^/| /' conftest.$ac_ext >&5
84371 glibcxx_cv_func__fabsf_use=no
84373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84374 ac_ext=c
84375 ac_cpp='$CPP $CPPFLAGS'
84376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84385 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84387 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84389 for ac_func in _fabsf
84391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84392 echo "$as_me:$LINENO: checking for $ac_func" >&5
84393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84394 if eval "test \"\${$as_ac_var+set}\" = set"; then
84395 echo $ECHO_N "(cached) $ECHO_C" >&6
84396 else
84397 if test x$gcc_no_link = xyes; then
84398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84400 { (exit 1); exit 1; }; }
84402 cat >conftest.$ac_ext <<_ACEOF
84403 /* confdefs.h. */
84404 _ACEOF
84405 cat confdefs.h >>conftest.$ac_ext
84406 cat >>conftest.$ac_ext <<_ACEOF
84407 /* end confdefs.h. */
84408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84410 #define $ac_func innocuous_$ac_func
84412 /* System header to define __stub macros and hopefully few prototypes,
84413 which can conflict with char $ac_func (); below.
84414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84415 <limits.h> exists even on freestanding compilers. */
84417 #ifdef __STDC__
84418 # include <limits.h>
84419 #else
84420 # include <assert.h>
84421 #endif
84423 #undef $ac_func
84425 /* Override any gcc2 internal prototype to avoid an error. */
84426 #ifdef __cplusplus
84427 extern "C"
84429 #endif
84430 /* We use char because int might match the return type of a gcc2
84431 builtin and then its argument prototype would still apply. */
84432 char $ac_func ();
84433 /* The GNU C library defines this for functions which it implements
84434 to always fail with ENOSYS. Some functions are actually named
84435 something starting with __ and the normal name is an alias. */
84436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84437 choke me
84438 #else
84439 char (*f) () = $ac_func;
84440 #endif
84441 #ifdef __cplusplus
84443 #endif
84446 main ()
84448 return f != $ac_func;
84450 return 0;
84452 _ACEOF
84453 rm -f conftest.$ac_objext conftest$ac_exeext
84454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84455 (eval $ac_link) 2>conftest.er1
84456 ac_status=$?
84457 grep -v '^ *+' conftest.er1 >conftest.err
84458 rm -f conftest.er1
84459 cat conftest.err >&5
84460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84461 (exit $ac_status); } &&
84462 { ac_try='test -z "$ac_c_werror_flag"
84463 || test ! -s conftest.err'
84464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84465 (eval $ac_try) 2>&5
84466 ac_status=$?
84467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84468 (exit $ac_status); }; } &&
84469 { ac_try='test -s conftest$ac_exeext'
84470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84471 (eval $ac_try) 2>&5
84472 ac_status=$?
84473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84474 (exit $ac_status); }; }; then
84475 eval "$as_ac_var=yes"
84476 else
84477 echo "$as_me: failed program was:" >&5
84478 sed 's/^/| /' conftest.$ac_ext >&5
84480 eval "$as_ac_var=no"
84482 rm -f conftest.err conftest.$ac_objext \
84483 conftest$ac_exeext conftest.$ac_ext
84485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84487 if test `eval echo '${'$as_ac_var'}'` = yes; then
84488 cat >>confdefs.h <<_ACEOF
84489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84490 _ACEOF
84493 done
84503 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84504 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84505 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84506 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84507 echo $ECHO_N "(cached) $ECHO_C" >&6
84508 else
84512 ac_ext=cc
84513 ac_cpp='$CXXCPP $CPPFLAGS'
84514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84518 cat >conftest.$ac_ext <<_ACEOF
84519 /* confdefs.h. */
84520 _ACEOF
84521 cat confdefs.h >>conftest.$ac_ext
84522 cat >>conftest.$ac_ext <<_ACEOF
84523 /* end confdefs.h. */
84524 #include <math.h>
84526 main ()
84528 fmodf(0, 0);
84530 return 0;
84532 _ACEOF
84533 rm -f conftest.$ac_objext
84534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84535 (eval $ac_compile) 2>conftest.er1
84536 ac_status=$?
84537 grep -v '^ *+' conftest.er1 >conftest.err
84538 rm -f conftest.er1
84539 cat conftest.err >&5
84540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84541 (exit $ac_status); } &&
84542 { ac_try='test -z "$ac_cxx_werror_flag"
84543 || test ! -s conftest.err'
84544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84545 (eval $ac_try) 2>&5
84546 ac_status=$?
84547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84548 (exit $ac_status); }; } &&
84549 { ac_try='test -s conftest.$ac_objext'
84550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84551 (eval $ac_try) 2>&5
84552 ac_status=$?
84553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84554 (exit $ac_status); }; }; then
84555 glibcxx_cv_func_fmodf_use=yes
84556 else
84557 echo "$as_me: failed program was:" >&5
84558 sed 's/^/| /' conftest.$ac_ext >&5
84560 glibcxx_cv_func_fmodf_use=no
84562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84563 ac_ext=c
84564 ac_cpp='$CPP $CPPFLAGS'
84565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84574 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84576 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84578 for ac_func in fmodf
84580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84581 echo "$as_me:$LINENO: checking for $ac_func" >&5
84582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84583 if eval "test \"\${$as_ac_var+set}\" = set"; then
84584 echo $ECHO_N "(cached) $ECHO_C" >&6
84585 else
84586 if test x$gcc_no_link = xyes; then
84587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84589 { (exit 1); exit 1; }; }
84591 cat >conftest.$ac_ext <<_ACEOF
84592 /* confdefs.h. */
84593 _ACEOF
84594 cat confdefs.h >>conftest.$ac_ext
84595 cat >>conftest.$ac_ext <<_ACEOF
84596 /* end confdefs.h. */
84597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84599 #define $ac_func innocuous_$ac_func
84601 /* System header to define __stub macros and hopefully few prototypes,
84602 which can conflict with char $ac_func (); below.
84603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84604 <limits.h> exists even on freestanding compilers. */
84606 #ifdef __STDC__
84607 # include <limits.h>
84608 #else
84609 # include <assert.h>
84610 #endif
84612 #undef $ac_func
84614 /* Override any gcc2 internal prototype to avoid an error. */
84615 #ifdef __cplusplus
84616 extern "C"
84618 #endif
84619 /* We use char because int might match the return type of a gcc2
84620 builtin and then its argument prototype would still apply. */
84621 char $ac_func ();
84622 /* The GNU C library defines this for functions which it implements
84623 to always fail with ENOSYS. Some functions are actually named
84624 something starting with __ and the normal name is an alias. */
84625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84626 choke me
84627 #else
84628 char (*f) () = $ac_func;
84629 #endif
84630 #ifdef __cplusplus
84632 #endif
84635 main ()
84637 return f != $ac_func;
84639 return 0;
84641 _ACEOF
84642 rm -f conftest.$ac_objext conftest$ac_exeext
84643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84644 (eval $ac_link) 2>conftest.er1
84645 ac_status=$?
84646 grep -v '^ *+' conftest.er1 >conftest.err
84647 rm -f conftest.er1
84648 cat conftest.err >&5
84649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84650 (exit $ac_status); } &&
84651 { ac_try='test -z "$ac_c_werror_flag"
84652 || test ! -s conftest.err'
84653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84654 (eval $ac_try) 2>&5
84655 ac_status=$?
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); }; } &&
84658 { ac_try='test -s conftest$ac_exeext'
84659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84660 (eval $ac_try) 2>&5
84661 ac_status=$?
84662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84663 (exit $ac_status); }; }; then
84664 eval "$as_ac_var=yes"
84665 else
84666 echo "$as_me: failed program was:" >&5
84667 sed 's/^/| /' conftest.$ac_ext >&5
84669 eval "$as_ac_var=no"
84671 rm -f conftest.err conftest.$ac_objext \
84672 conftest$ac_exeext conftest.$ac_ext
84674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84676 if test `eval echo '${'$as_ac_var'}'` = yes; then
84677 cat >>confdefs.h <<_ACEOF
84678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84679 _ACEOF
84682 done
84684 else
84686 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84687 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84688 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84689 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84690 echo $ECHO_N "(cached) $ECHO_C" >&6
84691 else
84695 ac_ext=cc
84696 ac_cpp='$CXXCPP $CPPFLAGS'
84697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84701 cat >conftest.$ac_ext <<_ACEOF
84702 /* confdefs.h. */
84703 _ACEOF
84704 cat confdefs.h >>conftest.$ac_ext
84705 cat >>conftest.$ac_ext <<_ACEOF
84706 /* end confdefs.h. */
84707 #include <math.h>
84709 main ()
84711 _fmodf(0, 0);
84713 return 0;
84715 _ACEOF
84716 rm -f conftest.$ac_objext
84717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84718 (eval $ac_compile) 2>conftest.er1
84719 ac_status=$?
84720 grep -v '^ *+' conftest.er1 >conftest.err
84721 rm -f conftest.er1
84722 cat conftest.err >&5
84723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84724 (exit $ac_status); } &&
84725 { ac_try='test -z "$ac_cxx_werror_flag"
84726 || test ! -s conftest.err'
84727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84728 (eval $ac_try) 2>&5
84729 ac_status=$?
84730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84731 (exit $ac_status); }; } &&
84732 { ac_try='test -s conftest.$ac_objext'
84733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84734 (eval $ac_try) 2>&5
84735 ac_status=$?
84736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84737 (exit $ac_status); }; }; then
84738 glibcxx_cv_func__fmodf_use=yes
84739 else
84740 echo "$as_me: failed program was:" >&5
84741 sed 's/^/| /' conftest.$ac_ext >&5
84743 glibcxx_cv_func__fmodf_use=no
84745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84746 ac_ext=c
84747 ac_cpp='$CPP $CPPFLAGS'
84748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84757 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84759 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84761 for ac_func in _fmodf
84763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84764 echo "$as_me:$LINENO: checking for $ac_func" >&5
84765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84766 if eval "test \"\${$as_ac_var+set}\" = set"; then
84767 echo $ECHO_N "(cached) $ECHO_C" >&6
84768 else
84769 if test x$gcc_no_link = xyes; then
84770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84772 { (exit 1); exit 1; }; }
84774 cat >conftest.$ac_ext <<_ACEOF
84775 /* confdefs.h. */
84776 _ACEOF
84777 cat confdefs.h >>conftest.$ac_ext
84778 cat >>conftest.$ac_ext <<_ACEOF
84779 /* end confdefs.h. */
84780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84782 #define $ac_func innocuous_$ac_func
84784 /* System header to define __stub macros and hopefully few prototypes,
84785 which can conflict with char $ac_func (); below.
84786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84787 <limits.h> exists even on freestanding compilers. */
84789 #ifdef __STDC__
84790 # include <limits.h>
84791 #else
84792 # include <assert.h>
84793 #endif
84795 #undef $ac_func
84797 /* Override any gcc2 internal prototype to avoid an error. */
84798 #ifdef __cplusplus
84799 extern "C"
84801 #endif
84802 /* We use char because int might match the return type of a gcc2
84803 builtin and then its argument prototype would still apply. */
84804 char $ac_func ();
84805 /* The GNU C library defines this for functions which it implements
84806 to always fail with ENOSYS. Some functions are actually named
84807 something starting with __ and the normal name is an alias. */
84808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84809 choke me
84810 #else
84811 char (*f) () = $ac_func;
84812 #endif
84813 #ifdef __cplusplus
84815 #endif
84818 main ()
84820 return f != $ac_func;
84822 return 0;
84824 _ACEOF
84825 rm -f conftest.$ac_objext conftest$ac_exeext
84826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84827 (eval $ac_link) 2>conftest.er1
84828 ac_status=$?
84829 grep -v '^ *+' conftest.er1 >conftest.err
84830 rm -f conftest.er1
84831 cat conftest.err >&5
84832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84833 (exit $ac_status); } &&
84834 { ac_try='test -z "$ac_c_werror_flag"
84835 || test ! -s conftest.err'
84836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84837 (eval $ac_try) 2>&5
84838 ac_status=$?
84839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84840 (exit $ac_status); }; } &&
84841 { ac_try='test -s conftest$ac_exeext'
84842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84843 (eval $ac_try) 2>&5
84844 ac_status=$?
84845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84846 (exit $ac_status); }; }; then
84847 eval "$as_ac_var=yes"
84848 else
84849 echo "$as_me: failed program was:" >&5
84850 sed 's/^/| /' conftest.$ac_ext >&5
84852 eval "$as_ac_var=no"
84854 rm -f conftest.err conftest.$ac_objext \
84855 conftest$ac_exeext conftest.$ac_ext
84857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84859 if test `eval echo '${'$as_ac_var'}'` = yes; then
84860 cat >>confdefs.h <<_ACEOF
84861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84862 _ACEOF
84865 done
84875 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84876 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84877 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84878 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84879 echo $ECHO_N "(cached) $ECHO_C" >&6
84880 else
84884 ac_ext=cc
84885 ac_cpp='$CXXCPP $CPPFLAGS'
84886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84890 cat >conftest.$ac_ext <<_ACEOF
84891 /* confdefs.h. */
84892 _ACEOF
84893 cat confdefs.h >>conftest.$ac_ext
84894 cat >>conftest.$ac_ext <<_ACEOF
84895 /* end confdefs.h. */
84896 #include <math.h>
84898 main ()
84900 frexpf(0, 0);
84902 return 0;
84904 _ACEOF
84905 rm -f conftest.$ac_objext
84906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84907 (eval $ac_compile) 2>conftest.er1
84908 ac_status=$?
84909 grep -v '^ *+' conftest.er1 >conftest.err
84910 rm -f conftest.er1
84911 cat conftest.err >&5
84912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84913 (exit $ac_status); } &&
84914 { ac_try='test -z "$ac_cxx_werror_flag"
84915 || test ! -s conftest.err'
84916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84917 (eval $ac_try) 2>&5
84918 ac_status=$?
84919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84920 (exit $ac_status); }; } &&
84921 { ac_try='test -s conftest.$ac_objext'
84922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84923 (eval $ac_try) 2>&5
84924 ac_status=$?
84925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84926 (exit $ac_status); }; }; then
84927 glibcxx_cv_func_frexpf_use=yes
84928 else
84929 echo "$as_me: failed program was:" >&5
84930 sed 's/^/| /' conftest.$ac_ext >&5
84932 glibcxx_cv_func_frexpf_use=no
84934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84935 ac_ext=c
84936 ac_cpp='$CPP $CPPFLAGS'
84937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84946 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84948 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84950 for ac_func in frexpf
84952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84953 echo "$as_me:$LINENO: checking for $ac_func" >&5
84954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84955 if eval "test \"\${$as_ac_var+set}\" = set"; then
84956 echo $ECHO_N "(cached) $ECHO_C" >&6
84957 else
84958 if test x$gcc_no_link = xyes; then
84959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84961 { (exit 1); exit 1; }; }
84963 cat >conftest.$ac_ext <<_ACEOF
84964 /* confdefs.h. */
84965 _ACEOF
84966 cat confdefs.h >>conftest.$ac_ext
84967 cat >>conftest.$ac_ext <<_ACEOF
84968 /* end confdefs.h. */
84969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84971 #define $ac_func innocuous_$ac_func
84973 /* System header to define __stub macros and hopefully few prototypes,
84974 which can conflict with char $ac_func (); below.
84975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84976 <limits.h> exists even on freestanding compilers. */
84978 #ifdef __STDC__
84979 # include <limits.h>
84980 #else
84981 # include <assert.h>
84982 #endif
84984 #undef $ac_func
84986 /* Override any gcc2 internal prototype to avoid an error. */
84987 #ifdef __cplusplus
84988 extern "C"
84990 #endif
84991 /* We use char because int might match the return type of a gcc2
84992 builtin and then its argument prototype would still apply. */
84993 char $ac_func ();
84994 /* The GNU C library defines this for functions which it implements
84995 to always fail with ENOSYS. Some functions are actually named
84996 something starting with __ and the normal name is an alias. */
84997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84998 choke me
84999 #else
85000 char (*f) () = $ac_func;
85001 #endif
85002 #ifdef __cplusplus
85004 #endif
85007 main ()
85009 return f != $ac_func;
85011 return 0;
85013 _ACEOF
85014 rm -f conftest.$ac_objext conftest$ac_exeext
85015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85016 (eval $ac_link) 2>conftest.er1
85017 ac_status=$?
85018 grep -v '^ *+' conftest.er1 >conftest.err
85019 rm -f conftest.er1
85020 cat conftest.err >&5
85021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85022 (exit $ac_status); } &&
85023 { ac_try='test -z "$ac_c_werror_flag"
85024 || test ! -s conftest.err'
85025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85026 (eval $ac_try) 2>&5
85027 ac_status=$?
85028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029 (exit $ac_status); }; } &&
85030 { ac_try='test -s conftest$ac_exeext'
85031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85032 (eval $ac_try) 2>&5
85033 ac_status=$?
85034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85035 (exit $ac_status); }; }; then
85036 eval "$as_ac_var=yes"
85037 else
85038 echo "$as_me: failed program was:" >&5
85039 sed 's/^/| /' conftest.$ac_ext >&5
85041 eval "$as_ac_var=no"
85043 rm -f conftest.err conftest.$ac_objext \
85044 conftest$ac_exeext conftest.$ac_ext
85046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85048 if test `eval echo '${'$as_ac_var'}'` = yes; then
85049 cat >>confdefs.h <<_ACEOF
85050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85051 _ACEOF
85054 done
85056 else
85058 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85059 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85060 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85061 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85062 echo $ECHO_N "(cached) $ECHO_C" >&6
85063 else
85067 ac_ext=cc
85068 ac_cpp='$CXXCPP $CPPFLAGS'
85069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85073 cat >conftest.$ac_ext <<_ACEOF
85074 /* confdefs.h. */
85075 _ACEOF
85076 cat confdefs.h >>conftest.$ac_ext
85077 cat >>conftest.$ac_ext <<_ACEOF
85078 /* end confdefs.h. */
85079 #include <math.h>
85081 main ()
85083 _frexpf(0, 0);
85085 return 0;
85087 _ACEOF
85088 rm -f conftest.$ac_objext
85089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85090 (eval $ac_compile) 2>conftest.er1
85091 ac_status=$?
85092 grep -v '^ *+' conftest.er1 >conftest.err
85093 rm -f conftest.er1
85094 cat conftest.err >&5
85095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85096 (exit $ac_status); } &&
85097 { ac_try='test -z "$ac_cxx_werror_flag"
85098 || test ! -s conftest.err'
85099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85100 (eval $ac_try) 2>&5
85101 ac_status=$?
85102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85103 (exit $ac_status); }; } &&
85104 { ac_try='test -s conftest.$ac_objext'
85105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85106 (eval $ac_try) 2>&5
85107 ac_status=$?
85108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109 (exit $ac_status); }; }; then
85110 glibcxx_cv_func__frexpf_use=yes
85111 else
85112 echo "$as_me: failed program was:" >&5
85113 sed 's/^/| /' conftest.$ac_ext >&5
85115 glibcxx_cv_func__frexpf_use=no
85117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85118 ac_ext=c
85119 ac_cpp='$CPP $CPPFLAGS'
85120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85129 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85131 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85133 for ac_func in _frexpf
85135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85136 echo "$as_me:$LINENO: checking for $ac_func" >&5
85137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85138 if eval "test \"\${$as_ac_var+set}\" = set"; then
85139 echo $ECHO_N "(cached) $ECHO_C" >&6
85140 else
85141 if test x$gcc_no_link = xyes; then
85142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85144 { (exit 1); exit 1; }; }
85146 cat >conftest.$ac_ext <<_ACEOF
85147 /* confdefs.h. */
85148 _ACEOF
85149 cat confdefs.h >>conftest.$ac_ext
85150 cat >>conftest.$ac_ext <<_ACEOF
85151 /* end confdefs.h. */
85152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85154 #define $ac_func innocuous_$ac_func
85156 /* System header to define __stub macros and hopefully few prototypes,
85157 which can conflict with char $ac_func (); below.
85158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85159 <limits.h> exists even on freestanding compilers. */
85161 #ifdef __STDC__
85162 # include <limits.h>
85163 #else
85164 # include <assert.h>
85165 #endif
85167 #undef $ac_func
85169 /* Override any gcc2 internal prototype to avoid an error. */
85170 #ifdef __cplusplus
85171 extern "C"
85173 #endif
85174 /* We use char because int might match the return type of a gcc2
85175 builtin and then its argument prototype would still apply. */
85176 char $ac_func ();
85177 /* The GNU C library defines this for functions which it implements
85178 to always fail with ENOSYS. Some functions are actually named
85179 something starting with __ and the normal name is an alias. */
85180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85181 choke me
85182 #else
85183 char (*f) () = $ac_func;
85184 #endif
85185 #ifdef __cplusplus
85187 #endif
85190 main ()
85192 return f != $ac_func;
85194 return 0;
85196 _ACEOF
85197 rm -f conftest.$ac_objext conftest$ac_exeext
85198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85199 (eval $ac_link) 2>conftest.er1
85200 ac_status=$?
85201 grep -v '^ *+' conftest.er1 >conftest.err
85202 rm -f conftest.er1
85203 cat conftest.err >&5
85204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85205 (exit $ac_status); } &&
85206 { ac_try='test -z "$ac_c_werror_flag"
85207 || test ! -s conftest.err'
85208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85209 (eval $ac_try) 2>&5
85210 ac_status=$?
85211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85212 (exit $ac_status); }; } &&
85213 { ac_try='test -s conftest$ac_exeext'
85214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85215 (eval $ac_try) 2>&5
85216 ac_status=$?
85217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85218 (exit $ac_status); }; }; then
85219 eval "$as_ac_var=yes"
85220 else
85221 echo "$as_me: failed program was:" >&5
85222 sed 's/^/| /' conftest.$ac_ext >&5
85224 eval "$as_ac_var=no"
85226 rm -f conftest.err conftest.$ac_objext \
85227 conftest$ac_exeext conftest.$ac_ext
85229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85231 if test `eval echo '${'$as_ac_var'}'` = yes; then
85232 cat >>confdefs.h <<_ACEOF
85233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85234 _ACEOF
85237 done
85247 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85248 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85249 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85250 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85251 echo $ECHO_N "(cached) $ECHO_C" >&6
85252 else
85256 ac_ext=cc
85257 ac_cpp='$CXXCPP $CPPFLAGS'
85258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85262 cat >conftest.$ac_ext <<_ACEOF
85263 /* confdefs.h. */
85264 _ACEOF
85265 cat confdefs.h >>conftest.$ac_ext
85266 cat >>conftest.$ac_ext <<_ACEOF
85267 /* end confdefs.h. */
85268 #include <math.h>
85270 main ()
85272 hypotf(0, 0);
85274 return 0;
85276 _ACEOF
85277 rm -f conftest.$ac_objext
85278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85279 (eval $ac_compile) 2>conftest.er1
85280 ac_status=$?
85281 grep -v '^ *+' conftest.er1 >conftest.err
85282 rm -f conftest.er1
85283 cat conftest.err >&5
85284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85285 (exit $ac_status); } &&
85286 { ac_try='test -z "$ac_cxx_werror_flag"
85287 || test ! -s conftest.err'
85288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85289 (eval $ac_try) 2>&5
85290 ac_status=$?
85291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85292 (exit $ac_status); }; } &&
85293 { ac_try='test -s conftest.$ac_objext'
85294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85295 (eval $ac_try) 2>&5
85296 ac_status=$?
85297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85298 (exit $ac_status); }; }; then
85299 glibcxx_cv_func_hypotf_use=yes
85300 else
85301 echo "$as_me: failed program was:" >&5
85302 sed 's/^/| /' conftest.$ac_ext >&5
85304 glibcxx_cv_func_hypotf_use=no
85306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85307 ac_ext=c
85308 ac_cpp='$CPP $CPPFLAGS'
85309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85318 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85320 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85322 for ac_func in hypotf
85324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85325 echo "$as_me:$LINENO: checking for $ac_func" >&5
85326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85327 if eval "test \"\${$as_ac_var+set}\" = set"; then
85328 echo $ECHO_N "(cached) $ECHO_C" >&6
85329 else
85330 if test x$gcc_no_link = xyes; then
85331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85333 { (exit 1); exit 1; }; }
85335 cat >conftest.$ac_ext <<_ACEOF
85336 /* confdefs.h. */
85337 _ACEOF
85338 cat confdefs.h >>conftest.$ac_ext
85339 cat >>conftest.$ac_ext <<_ACEOF
85340 /* end confdefs.h. */
85341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85343 #define $ac_func innocuous_$ac_func
85345 /* System header to define __stub macros and hopefully few prototypes,
85346 which can conflict with char $ac_func (); below.
85347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85348 <limits.h> exists even on freestanding compilers. */
85350 #ifdef __STDC__
85351 # include <limits.h>
85352 #else
85353 # include <assert.h>
85354 #endif
85356 #undef $ac_func
85358 /* Override any gcc2 internal prototype to avoid an error. */
85359 #ifdef __cplusplus
85360 extern "C"
85362 #endif
85363 /* We use char because int might match the return type of a gcc2
85364 builtin and then its argument prototype would still apply. */
85365 char $ac_func ();
85366 /* The GNU C library defines this for functions which it implements
85367 to always fail with ENOSYS. Some functions are actually named
85368 something starting with __ and the normal name is an alias. */
85369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85370 choke me
85371 #else
85372 char (*f) () = $ac_func;
85373 #endif
85374 #ifdef __cplusplus
85376 #endif
85379 main ()
85381 return f != $ac_func;
85383 return 0;
85385 _ACEOF
85386 rm -f conftest.$ac_objext conftest$ac_exeext
85387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85388 (eval $ac_link) 2>conftest.er1
85389 ac_status=$?
85390 grep -v '^ *+' conftest.er1 >conftest.err
85391 rm -f conftest.er1
85392 cat conftest.err >&5
85393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85394 (exit $ac_status); } &&
85395 { ac_try='test -z "$ac_c_werror_flag"
85396 || test ! -s conftest.err'
85397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85398 (eval $ac_try) 2>&5
85399 ac_status=$?
85400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85401 (exit $ac_status); }; } &&
85402 { ac_try='test -s conftest$ac_exeext'
85403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85404 (eval $ac_try) 2>&5
85405 ac_status=$?
85406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85407 (exit $ac_status); }; }; then
85408 eval "$as_ac_var=yes"
85409 else
85410 echo "$as_me: failed program was:" >&5
85411 sed 's/^/| /' conftest.$ac_ext >&5
85413 eval "$as_ac_var=no"
85415 rm -f conftest.err conftest.$ac_objext \
85416 conftest$ac_exeext conftest.$ac_ext
85418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85420 if test `eval echo '${'$as_ac_var'}'` = yes; then
85421 cat >>confdefs.h <<_ACEOF
85422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85423 _ACEOF
85426 done
85428 else
85430 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85431 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85432 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85433 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85434 echo $ECHO_N "(cached) $ECHO_C" >&6
85435 else
85439 ac_ext=cc
85440 ac_cpp='$CXXCPP $CPPFLAGS'
85441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85445 cat >conftest.$ac_ext <<_ACEOF
85446 /* confdefs.h. */
85447 _ACEOF
85448 cat confdefs.h >>conftest.$ac_ext
85449 cat >>conftest.$ac_ext <<_ACEOF
85450 /* end confdefs.h. */
85451 #include <math.h>
85453 main ()
85455 _hypotf(0, 0);
85457 return 0;
85459 _ACEOF
85460 rm -f conftest.$ac_objext
85461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85462 (eval $ac_compile) 2>conftest.er1
85463 ac_status=$?
85464 grep -v '^ *+' conftest.er1 >conftest.err
85465 rm -f conftest.er1
85466 cat conftest.err >&5
85467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85468 (exit $ac_status); } &&
85469 { ac_try='test -z "$ac_cxx_werror_flag"
85470 || test ! -s conftest.err'
85471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85472 (eval $ac_try) 2>&5
85473 ac_status=$?
85474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85475 (exit $ac_status); }; } &&
85476 { ac_try='test -s conftest.$ac_objext'
85477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85478 (eval $ac_try) 2>&5
85479 ac_status=$?
85480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85481 (exit $ac_status); }; }; then
85482 glibcxx_cv_func__hypotf_use=yes
85483 else
85484 echo "$as_me: failed program was:" >&5
85485 sed 's/^/| /' conftest.$ac_ext >&5
85487 glibcxx_cv_func__hypotf_use=no
85489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85490 ac_ext=c
85491 ac_cpp='$CPP $CPPFLAGS'
85492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85501 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85503 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85505 for ac_func in _hypotf
85507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85508 echo "$as_me:$LINENO: checking for $ac_func" >&5
85509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85510 if eval "test \"\${$as_ac_var+set}\" = set"; then
85511 echo $ECHO_N "(cached) $ECHO_C" >&6
85512 else
85513 if test x$gcc_no_link = xyes; then
85514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85516 { (exit 1); exit 1; }; }
85518 cat >conftest.$ac_ext <<_ACEOF
85519 /* confdefs.h. */
85520 _ACEOF
85521 cat confdefs.h >>conftest.$ac_ext
85522 cat >>conftest.$ac_ext <<_ACEOF
85523 /* end confdefs.h. */
85524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85526 #define $ac_func innocuous_$ac_func
85528 /* System header to define __stub macros and hopefully few prototypes,
85529 which can conflict with char $ac_func (); below.
85530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85531 <limits.h> exists even on freestanding compilers. */
85533 #ifdef __STDC__
85534 # include <limits.h>
85535 #else
85536 # include <assert.h>
85537 #endif
85539 #undef $ac_func
85541 /* Override any gcc2 internal prototype to avoid an error. */
85542 #ifdef __cplusplus
85543 extern "C"
85545 #endif
85546 /* We use char because int might match the return type of a gcc2
85547 builtin and then its argument prototype would still apply. */
85548 char $ac_func ();
85549 /* The GNU C library defines this for functions which it implements
85550 to always fail with ENOSYS. Some functions are actually named
85551 something starting with __ and the normal name is an alias. */
85552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85553 choke me
85554 #else
85555 char (*f) () = $ac_func;
85556 #endif
85557 #ifdef __cplusplus
85559 #endif
85562 main ()
85564 return f != $ac_func;
85566 return 0;
85568 _ACEOF
85569 rm -f conftest.$ac_objext conftest$ac_exeext
85570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85571 (eval $ac_link) 2>conftest.er1
85572 ac_status=$?
85573 grep -v '^ *+' conftest.er1 >conftest.err
85574 rm -f conftest.er1
85575 cat conftest.err >&5
85576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85577 (exit $ac_status); } &&
85578 { ac_try='test -z "$ac_c_werror_flag"
85579 || test ! -s conftest.err'
85580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85581 (eval $ac_try) 2>&5
85582 ac_status=$?
85583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85584 (exit $ac_status); }; } &&
85585 { ac_try='test -s conftest$ac_exeext'
85586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85587 (eval $ac_try) 2>&5
85588 ac_status=$?
85589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85590 (exit $ac_status); }; }; then
85591 eval "$as_ac_var=yes"
85592 else
85593 echo "$as_me: failed program was:" >&5
85594 sed 's/^/| /' conftest.$ac_ext >&5
85596 eval "$as_ac_var=no"
85598 rm -f conftest.err conftest.$ac_objext \
85599 conftest$ac_exeext conftest.$ac_ext
85601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85603 if test `eval echo '${'$as_ac_var'}'` = yes; then
85604 cat >>confdefs.h <<_ACEOF
85605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85606 _ACEOF
85609 done
85619 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85620 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85621 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85622 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85623 echo $ECHO_N "(cached) $ECHO_C" >&6
85624 else
85628 ac_ext=cc
85629 ac_cpp='$CXXCPP $CPPFLAGS'
85630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85634 cat >conftest.$ac_ext <<_ACEOF
85635 /* confdefs.h. */
85636 _ACEOF
85637 cat confdefs.h >>conftest.$ac_ext
85638 cat >>conftest.$ac_ext <<_ACEOF
85639 /* end confdefs.h. */
85640 #include <math.h>
85642 main ()
85644 ldexpf(0, 0);
85646 return 0;
85648 _ACEOF
85649 rm -f conftest.$ac_objext
85650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85651 (eval $ac_compile) 2>conftest.er1
85652 ac_status=$?
85653 grep -v '^ *+' conftest.er1 >conftest.err
85654 rm -f conftest.er1
85655 cat conftest.err >&5
85656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85657 (exit $ac_status); } &&
85658 { ac_try='test -z "$ac_cxx_werror_flag"
85659 || test ! -s conftest.err'
85660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85661 (eval $ac_try) 2>&5
85662 ac_status=$?
85663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85664 (exit $ac_status); }; } &&
85665 { ac_try='test -s conftest.$ac_objext'
85666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85667 (eval $ac_try) 2>&5
85668 ac_status=$?
85669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85670 (exit $ac_status); }; }; then
85671 glibcxx_cv_func_ldexpf_use=yes
85672 else
85673 echo "$as_me: failed program was:" >&5
85674 sed 's/^/| /' conftest.$ac_ext >&5
85676 glibcxx_cv_func_ldexpf_use=no
85678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85679 ac_ext=c
85680 ac_cpp='$CPP $CPPFLAGS'
85681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85690 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85692 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85694 for ac_func in ldexpf
85696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85697 echo "$as_me:$LINENO: checking for $ac_func" >&5
85698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85699 if eval "test \"\${$as_ac_var+set}\" = set"; then
85700 echo $ECHO_N "(cached) $ECHO_C" >&6
85701 else
85702 if test x$gcc_no_link = xyes; then
85703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85705 { (exit 1); exit 1; }; }
85707 cat >conftest.$ac_ext <<_ACEOF
85708 /* confdefs.h. */
85709 _ACEOF
85710 cat confdefs.h >>conftest.$ac_ext
85711 cat >>conftest.$ac_ext <<_ACEOF
85712 /* end confdefs.h. */
85713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85715 #define $ac_func innocuous_$ac_func
85717 /* System header to define __stub macros and hopefully few prototypes,
85718 which can conflict with char $ac_func (); below.
85719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85720 <limits.h> exists even on freestanding compilers. */
85722 #ifdef __STDC__
85723 # include <limits.h>
85724 #else
85725 # include <assert.h>
85726 #endif
85728 #undef $ac_func
85730 /* Override any gcc2 internal prototype to avoid an error. */
85731 #ifdef __cplusplus
85732 extern "C"
85734 #endif
85735 /* We use char because int might match the return type of a gcc2
85736 builtin and then its argument prototype would still apply. */
85737 char $ac_func ();
85738 /* The GNU C library defines this for functions which it implements
85739 to always fail with ENOSYS. Some functions are actually named
85740 something starting with __ and the normal name is an alias. */
85741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85742 choke me
85743 #else
85744 char (*f) () = $ac_func;
85745 #endif
85746 #ifdef __cplusplus
85748 #endif
85751 main ()
85753 return f != $ac_func;
85755 return 0;
85757 _ACEOF
85758 rm -f conftest.$ac_objext conftest$ac_exeext
85759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85760 (eval $ac_link) 2>conftest.er1
85761 ac_status=$?
85762 grep -v '^ *+' conftest.er1 >conftest.err
85763 rm -f conftest.er1
85764 cat conftest.err >&5
85765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85766 (exit $ac_status); } &&
85767 { ac_try='test -z "$ac_c_werror_flag"
85768 || test ! -s conftest.err'
85769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85770 (eval $ac_try) 2>&5
85771 ac_status=$?
85772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773 (exit $ac_status); }; } &&
85774 { ac_try='test -s conftest$ac_exeext'
85775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85776 (eval $ac_try) 2>&5
85777 ac_status=$?
85778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85779 (exit $ac_status); }; }; then
85780 eval "$as_ac_var=yes"
85781 else
85782 echo "$as_me: failed program was:" >&5
85783 sed 's/^/| /' conftest.$ac_ext >&5
85785 eval "$as_ac_var=no"
85787 rm -f conftest.err conftest.$ac_objext \
85788 conftest$ac_exeext conftest.$ac_ext
85790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85792 if test `eval echo '${'$as_ac_var'}'` = yes; then
85793 cat >>confdefs.h <<_ACEOF
85794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85795 _ACEOF
85798 done
85800 else
85802 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85803 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85804 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85805 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85806 echo $ECHO_N "(cached) $ECHO_C" >&6
85807 else
85811 ac_ext=cc
85812 ac_cpp='$CXXCPP $CPPFLAGS'
85813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85817 cat >conftest.$ac_ext <<_ACEOF
85818 /* confdefs.h. */
85819 _ACEOF
85820 cat confdefs.h >>conftest.$ac_ext
85821 cat >>conftest.$ac_ext <<_ACEOF
85822 /* end confdefs.h. */
85823 #include <math.h>
85825 main ()
85827 _ldexpf(0, 0);
85829 return 0;
85831 _ACEOF
85832 rm -f conftest.$ac_objext
85833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85834 (eval $ac_compile) 2>conftest.er1
85835 ac_status=$?
85836 grep -v '^ *+' conftest.er1 >conftest.err
85837 rm -f conftest.er1
85838 cat conftest.err >&5
85839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85840 (exit $ac_status); } &&
85841 { ac_try='test -z "$ac_cxx_werror_flag"
85842 || test ! -s conftest.err'
85843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85844 (eval $ac_try) 2>&5
85845 ac_status=$?
85846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85847 (exit $ac_status); }; } &&
85848 { ac_try='test -s conftest.$ac_objext'
85849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85850 (eval $ac_try) 2>&5
85851 ac_status=$?
85852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853 (exit $ac_status); }; }; then
85854 glibcxx_cv_func__ldexpf_use=yes
85855 else
85856 echo "$as_me: failed program was:" >&5
85857 sed 's/^/| /' conftest.$ac_ext >&5
85859 glibcxx_cv_func__ldexpf_use=no
85861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85862 ac_ext=c
85863 ac_cpp='$CPP $CPPFLAGS'
85864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85873 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85875 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85877 for ac_func in _ldexpf
85879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85880 echo "$as_me:$LINENO: checking for $ac_func" >&5
85881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85882 if eval "test \"\${$as_ac_var+set}\" = set"; then
85883 echo $ECHO_N "(cached) $ECHO_C" >&6
85884 else
85885 if test x$gcc_no_link = xyes; then
85886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85888 { (exit 1); exit 1; }; }
85890 cat >conftest.$ac_ext <<_ACEOF
85891 /* confdefs.h. */
85892 _ACEOF
85893 cat confdefs.h >>conftest.$ac_ext
85894 cat >>conftest.$ac_ext <<_ACEOF
85895 /* end confdefs.h. */
85896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85898 #define $ac_func innocuous_$ac_func
85900 /* System header to define __stub macros and hopefully few prototypes,
85901 which can conflict with char $ac_func (); below.
85902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85903 <limits.h> exists even on freestanding compilers. */
85905 #ifdef __STDC__
85906 # include <limits.h>
85907 #else
85908 # include <assert.h>
85909 #endif
85911 #undef $ac_func
85913 /* Override any gcc2 internal prototype to avoid an error. */
85914 #ifdef __cplusplus
85915 extern "C"
85917 #endif
85918 /* We use char because int might match the return type of a gcc2
85919 builtin and then its argument prototype would still apply. */
85920 char $ac_func ();
85921 /* The GNU C library defines this for functions which it implements
85922 to always fail with ENOSYS. Some functions are actually named
85923 something starting with __ and the normal name is an alias. */
85924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85925 choke me
85926 #else
85927 char (*f) () = $ac_func;
85928 #endif
85929 #ifdef __cplusplus
85931 #endif
85934 main ()
85936 return f != $ac_func;
85938 return 0;
85940 _ACEOF
85941 rm -f conftest.$ac_objext conftest$ac_exeext
85942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85943 (eval $ac_link) 2>conftest.er1
85944 ac_status=$?
85945 grep -v '^ *+' conftest.er1 >conftest.err
85946 rm -f conftest.er1
85947 cat conftest.err >&5
85948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85949 (exit $ac_status); } &&
85950 { ac_try='test -z "$ac_c_werror_flag"
85951 || test ! -s conftest.err'
85952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85953 (eval $ac_try) 2>&5
85954 ac_status=$?
85955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85956 (exit $ac_status); }; } &&
85957 { ac_try='test -s conftest$ac_exeext'
85958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85959 (eval $ac_try) 2>&5
85960 ac_status=$?
85961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85962 (exit $ac_status); }; }; then
85963 eval "$as_ac_var=yes"
85964 else
85965 echo "$as_me: failed program was:" >&5
85966 sed 's/^/| /' conftest.$ac_ext >&5
85968 eval "$as_ac_var=no"
85970 rm -f conftest.err conftest.$ac_objext \
85971 conftest$ac_exeext conftest.$ac_ext
85973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85975 if test `eval echo '${'$as_ac_var'}'` = yes; then
85976 cat >>confdefs.h <<_ACEOF
85977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85978 _ACEOF
85981 done
85991 echo "$as_me:$LINENO: checking for logf declaration" >&5
85992 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
85993 if test x${glibcxx_cv_func_logf_use+set} != xset; then
85994 if test "${glibcxx_cv_func_logf_use+set}" = set; then
85995 echo $ECHO_N "(cached) $ECHO_C" >&6
85996 else
86000 ac_ext=cc
86001 ac_cpp='$CXXCPP $CPPFLAGS'
86002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86006 cat >conftest.$ac_ext <<_ACEOF
86007 /* confdefs.h. */
86008 _ACEOF
86009 cat confdefs.h >>conftest.$ac_ext
86010 cat >>conftest.$ac_ext <<_ACEOF
86011 /* end confdefs.h. */
86012 #include <math.h>
86013 #ifdef HAVE_IEEEFP_H
86014 #include <ieeefp.h>
86015 #endif
86018 main ()
86020 logf(0);
86022 return 0;
86024 _ACEOF
86025 rm -f conftest.$ac_objext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86027 (eval $ac_compile) 2>conftest.er1
86028 ac_status=$?
86029 grep -v '^ *+' conftest.er1 >conftest.err
86030 rm -f conftest.er1
86031 cat conftest.err >&5
86032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033 (exit $ac_status); } &&
86034 { ac_try='test -z "$ac_cxx_werror_flag"
86035 || test ! -s conftest.err'
86036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037 (eval $ac_try) 2>&5
86038 ac_status=$?
86039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040 (exit $ac_status); }; } &&
86041 { ac_try='test -s conftest.$ac_objext'
86042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043 (eval $ac_try) 2>&5
86044 ac_status=$?
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); }; }; then
86047 glibcxx_cv_func_logf_use=yes
86048 else
86049 echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86052 glibcxx_cv_func_logf_use=no
86054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86055 ac_ext=c
86056 ac_cpp='$CPP $CPPFLAGS'
86057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86066 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86068 if test x$glibcxx_cv_func_logf_use = x"yes"; then
86070 for ac_func in logf
86072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86073 echo "$as_me:$LINENO: checking for $ac_func" >&5
86074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86075 if eval "test \"\${$as_ac_var+set}\" = set"; then
86076 echo $ECHO_N "(cached) $ECHO_C" >&6
86077 else
86078 if test x$gcc_no_link = xyes; then
86079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86081 { (exit 1); exit 1; }; }
86083 cat >conftest.$ac_ext <<_ACEOF
86084 /* confdefs.h. */
86085 _ACEOF
86086 cat confdefs.h >>conftest.$ac_ext
86087 cat >>conftest.$ac_ext <<_ACEOF
86088 /* end confdefs.h. */
86089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86091 #define $ac_func innocuous_$ac_func
86093 /* System header to define __stub macros and hopefully few prototypes,
86094 which can conflict with char $ac_func (); below.
86095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86096 <limits.h> exists even on freestanding compilers. */
86098 #ifdef __STDC__
86099 # include <limits.h>
86100 #else
86101 # include <assert.h>
86102 #endif
86104 #undef $ac_func
86106 /* Override any gcc2 internal prototype to avoid an error. */
86107 #ifdef __cplusplus
86108 extern "C"
86110 #endif
86111 /* We use char because int might match the return type of a gcc2
86112 builtin and then its argument prototype would still apply. */
86113 char $ac_func ();
86114 /* The GNU C library defines this for functions which it implements
86115 to always fail with ENOSYS. Some functions are actually named
86116 something starting with __ and the normal name is an alias. */
86117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86118 choke me
86119 #else
86120 char (*f) () = $ac_func;
86121 #endif
86122 #ifdef __cplusplus
86124 #endif
86127 main ()
86129 return f != $ac_func;
86131 return 0;
86133 _ACEOF
86134 rm -f conftest.$ac_objext conftest$ac_exeext
86135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86136 (eval $ac_link) 2>conftest.er1
86137 ac_status=$?
86138 grep -v '^ *+' conftest.er1 >conftest.err
86139 rm -f conftest.er1
86140 cat conftest.err >&5
86141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142 (exit $ac_status); } &&
86143 { ac_try='test -z "$ac_c_werror_flag"
86144 || test ! -s conftest.err'
86145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86146 (eval $ac_try) 2>&5
86147 ac_status=$?
86148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86149 (exit $ac_status); }; } &&
86150 { ac_try='test -s conftest$ac_exeext'
86151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86152 (eval $ac_try) 2>&5
86153 ac_status=$?
86154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86155 (exit $ac_status); }; }; then
86156 eval "$as_ac_var=yes"
86157 else
86158 echo "$as_me: failed program was:" >&5
86159 sed 's/^/| /' conftest.$ac_ext >&5
86161 eval "$as_ac_var=no"
86163 rm -f conftest.err conftest.$ac_objext \
86164 conftest$ac_exeext conftest.$ac_ext
86166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86168 if test `eval echo '${'$as_ac_var'}'` = yes; then
86169 cat >>confdefs.h <<_ACEOF
86170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86171 _ACEOF
86174 done
86176 else
86178 echo "$as_me:$LINENO: checking for _logf declaration" >&5
86179 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86180 if test x${glibcxx_cv_func__logf_use+set} != xset; then
86181 if test "${glibcxx_cv_func__logf_use+set}" = set; then
86182 echo $ECHO_N "(cached) $ECHO_C" >&6
86183 else
86187 ac_ext=cc
86188 ac_cpp='$CXXCPP $CPPFLAGS'
86189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86193 cat >conftest.$ac_ext <<_ACEOF
86194 /* confdefs.h. */
86195 _ACEOF
86196 cat confdefs.h >>conftest.$ac_ext
86197 cat >>conftest.$ac_ext <<_ACEOF
86198 /* end confdefs.h. */
86199 #include <math.h>
86200 #ifdef HAVE_IEEEFP_H
86201 #include <ieeefp.h>
86202 #endif
86205 main ()
86207 _logf(0);
86209 return 0;
86211 _ACEOF
86212 rm -f conftest.$ac_objext
86213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86214 (eval $ac_compile) 2>conftest.er1
86215 ac_status=$?
86216 grep -v '^ *+' conftest.er1 >conftest.err
86217 rm -f conftest.er1
86218 cat conftest.err >&5
86219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220 (exit $ac_status); } &&
86221 { ac_try='test -z "$ac_cxx_werror_flag"
86222 || test ! -s conftest.err'
86223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224 (eval $ac_try) 2>&5
86225 ac_status=$?
86226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227 (exit $ac_status); }; } &&
86228 { ac_try='test -s conftest.$ac_objext'
86229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86230 (eval $ac_try) 2>&5
86231 ac_status=$?
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); }; }; then
86234 glibcxx_cv_func__logf_use=yes
86235 else
86236 echo "$as_me: failed program was:" >&5
86237 sed 's/^/| /' conftest.$ac_ext >&5
86239 glibcxx_cv_func__logf_use=no
86241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86242 ac_ext=c
86243 ac_cpp='$CPP $CPPFLAGS'
86244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86253 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86255 if test x$glibcxx_cv_func__logf_use = x"yes"; then
86257 for ac_func in _logf
86259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86260 echo "$as_me:$LINENO: checking for $ac_func" >&5
86261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86262 if eval "test \"\${$as_ac_var+set}\" = set"; then
86263 echo $ECHO_N "(cached) $ECHO_C" >&6
86264 else
86265 if test x$gcc_no_link = xyes; then
86266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86268 { (exit 1); exit 1; }; }
86270 cat >conftest.$ac_ext <<_ACEOF
86271 /* confdefs.h. */
86272 _ACEOF
86273 cat confdefs.h >>conftest.$ac_ext
86274 cat >>conftest.$ac_ext <<_ACEOF
86275 /* end confdefs.h. */
86276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86278 #define $ac_func innocuous_$ac_func
86280 /* System header to define __stub macros and hopefully few prototypes,
86281 which can conflict with char $ac_func (); below.
86282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86283 <limits.h> exists even on freestanding compilers. */
86285 #ifdef __STDC__
86286 # include <limits.h>
86287 #else
86288 # include <assert.h>
86289 #endif
86291 #undef $ac_func
86293 /* Override any gcc2 internal prototype to avoid an error. */
86294 #ifdef __cplusplus
86295 extern "C"
86297 #endif
86298 /* We use char because int might match the return type of a gcc2
86299 builtin and then its argument prototype would still apply. */
86300 char $ac_func ();
86301 /* The GNU C library defines this for functions which it implements
86302 to always fail with ENOSYS. Some functions are actually named
86303 something starting with __ and the normal name is an alias. */
86304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86305 choke me
86306 #else
86307 char (*f) () = $ac_func;
86308 #endif
86309 #ifdef __cplusplus
86311 #endif
86314 main ()
86316 return f != $ac_func;
86318 return 0;
86320 _ACEOF
86321 rm -f conftest.$ac_objext conftest$ac_exeext
86322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86323 (eval $ac_link) 2>conftest.er1
86324 ac_status=$?
86325 grep -v '^ *+' conftest.er1 >conftest.err
86326 rm -f conftest.er1
86327 cat conftest.err >&5
86328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86329 (exit $ac_status); } &&
86330 { ac_try='test -z "$ac_c_werror_flag"
86331 || test ! -s conftest.err'
86332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86333 (eval $ac_try) 2>&5
86334 ac_status=$?
86335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86336 (exit $ac_status); }; } &&
86337 { ac_try='test -s conftest$ac_exeext'
86338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86339 (eval $ac_try) 2>&5
86340 ac_status=$?
86341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86342 (exit $ac_status); }; }; then
86343 eval "$as_ac_var=yes"
86344 else
86345 echo "$as_me: failed program was:" >&5
86346 sed 's/^/| /' conftest.$ac_ext >&5
86348 eval "$as_ac_var=no"
86350 rm -f conftest.err conftest.$ac_objext \
86351 conftest$ac_exeext conftest.$ac_ext
86353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86355 if test `eval echo '${'$as_ac_var'}'` = yes; then
86356 cat >>confdefs.h <<_ACEOF
86357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86358 _ACEOF
86361 done
86371 echo "$as_me:$LINENO: checking for log10f declaration" >&5
86372 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86373 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86374 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86375 echo $ECHO_N "(cached) $ECHO_C" >&6
86376 else
86380 ac_ext=cc
86381 ac_cpp='$CXXCPP $CPPFLAGS'
86382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86386 cat >conftest.$ac_ext <<_ACEOF
86387 /* confdefs.h. */
86388 _ACEOF
86389 cat confdefs.h >>conftest.$ac_ext
86390 cat >>conftest.$ac_ext <<_ACEOF
86391 /* end confdefs.h. */
86392 #include <math.h>
86393 #ifdef HAVE_IEEEFP_H
86394 #include <ieeefp.h>
86395 #endif
86398 main ()
86400 log10f(0);
86402 return 0;
86404 _ACEOF
86405 rm -f conftest.$ac_objext
86406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86407 (eval $ac_compile) 2>conftest.er1
86408 ac_status=$?
86409 grep -v '^ *+' conftest.er1 >conftest.err
86410 rm -f conftest.er1
86411 cat conftest.err >&5
86412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86413 (exit $ac_status); } &&
86414 { ac_try='test -z "$ac_cxx_werror_flag"
86415 || test ! -s conftest.err'
86416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86417 (eval $ac_try) 2>&5
86418 ac_status=$?
86419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86420 (exit $ac_status); }; } &&
86421 { ac_try='test -s conftest.$ac_objext'
86422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86423 (eval $ac_try) 2>&5
86424 ac_status=$?
86425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86426 (exit $ac_status); }; }; then
86427 glibcxx_cv_func_log10f_use=yes
86428 else
86429 echo "$as_me: failed program was:" >&5
86430 sed 's/^/| /' conftest.$ac_ext >&5
86432 glibcxx_cv_func_log10f_use=no
86434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86435 ac_ext=c
86436 ac_cpp='$CPP $CPPFLAGS'
86437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86446 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86448 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86450 for ac_func in log10f
86452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86453 echo "$as_me:$LINENO: checking for $ac_func" >&5
86454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86455 if eval "test \"\${$as_ac_var+set}\" = set"; then
86456 echo $ECHO_N "(cached) $ECHO_C" >&6
86457 else
86458 if test x$gcc_no_link = xyes; then
86459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86461 { (exit 1); exit 1; }; }
86463 cat >conftest.$ac_ext <<_ACEOF
86464 /* confdefs.h. */
86465 _ACEOF
86466 cat confdefs.h >>conftest.$ac_ext
86467 cat >>conftest.$ac_ext <<_ACEOF
86468 /* end confdefs.h. */
86469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86471 #define $ac_func innocuous_$ac_func
86473 /* System header to define __stub macros and hopefully few prototypes,
86474 which can conflict with char $ac_func (); below.
86475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86476 <limits.h> exists even on freestanding compilers. */
86478 #ifdef __STDC__
86479 # include <limits.h>
86480 #else
86481 # include <assert.h>
86482 #endif
86484 #undef $ac_func
86486 /* Override any gcc2 internal prototype to avoid an error. */
86487 #ifdef __cplusplus
86488 extern "C"
86490 #endif
86491 /* We use char because int might match the return type of a gcc2
86492 builtin and then its argument prototype would still apply. */
86493 char $ac_func ();
86494 /* The GNU C library defines this for functions which it implements
86495 to always fail with ENOSYS. Some functions are actually named
86496 something starting with __ and the normal name is an alias. */
86497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86498 choke me
86499 #else
86500 char (*f) () = $ac_func;
86501 #endif
86502 #ifdef __cplusplus
86504 #endif
86507 main ()
86509 return f != $ac_func;
86511 return 0;
86513 _ACEOF
86514 rm -f conftest.$ac_objext conftest$ac_exeext
86515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86516 (eval $ac_link) 2>conftest.er1
86517 ac_status=$?
86518 grep -v '^ *+' conftest.er1 >conftest.err
86519 rm -f conftest.er1
86520 cat conftest.err >&5
86521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86522 (exit $ac_status); } &&
86523 { ac_try='test -z "$ac_c_werror_flag"
86524 || test ! -s conftest.err'
86525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86526 (eval $ac_try) 2>&5
86527 ac_status=$?
86528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86529 (exit $ac_status); }; } &&
86530 { ac_try='test -s conftest$ac_exeext'
86531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86532 (eval $ac_try) 2>&5
86533 ac_status=$?
86534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86535 (exit $ac_status); }; }; then
86536 eval "$as_ac_var=yes"
86537 else
86538 echo "$as_me: failed program was:" >&5
86539 sed 's/^/| /' conftest.$ac_ext >&5
86541 eval "$as_ac_var=no"
86543 rm -f conftest.err conftest.$ac_objext \
86544 conftest$ac_exeext conftest.$ac_ext
86546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86548 if test `eval echo '${'$as_ac_var'}'` = yes; then
86549 cat >>confdefs.h <<_ACEOF
86550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86551 _ACEOF
86554 done
86556 else
86558 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86559 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86560 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86561 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86562 echo $ECHO_N "(cached) $ECHO_C" >&6
86563 else
86567 ac_ext=cc
86568 ac_cpp='$CXXCPP $CPPFLAGS'
86569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86573 cat >conftest.$ac_ext <<_ACEOF
86574 /* confdefs.h. */
86575 _ACEOF
86576 cat confdefs.h >>conftest.$ac_ext
86577 cat >>conftest.$ac_ext <<_ACEOF
86578 /* end confdefs.h. */
86579 #include <math.h>
86580 #ifdef HAVE_IEEEFP_H
86581 #include <ieeefp.h>
86582 #endif
86585 main ()
86587 _log10f(0);
86589 return 0;
86591 _ACEOF
86592 rm -f conftest.$ac_objext
86593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86594 (eval $ac_compile) 2>conftest.er1
86595 ac_status=$?
86596 grep -v '^ *+' conftest.er1 >conftest.err
86597 rm -f conftest.er1
86598 cat conftest.err >&5
86599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600 (exit $ac_status); } &&
86601 { ac_try='test -z "$ac_cxx_werror_flag"
86602 || test ! -s conftest.err'
86603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86604 (eval $ac_try) 2>&5
86605 ac_status=$?
86606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86607 (exit $ac_status); }; } &&
86608 { ac_try='test -s conftest.$ac_objext'
86609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86610 (eval $ac_try) 2>&5
86611 ac_status=$?
86612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86613 (exit $ac_status); }; }; then
86614 glibcxx_cv_func__log10f_use=yes
86615 else
86616 echo "$as_me: failed program was:" >&5
86617 sed 's/^/| /' conftest.$ac_ext >&5
86619 glibcxx_cv_func__log10f_use=no
86621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86622 ac_ext=c
86623 ac_cpp='$CPP $CPPFLAGS'
86624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86633 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86635 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86637 for ac_func in _log10f
86639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86640 echo "$as_me:$LINENO: checking for $ac_func" >&5
86641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86642 if eval "test \"\${$as_ac_var+set}\" = set"; then
86643 echo $ECHO_N "(cached) $ECHO_C" >&6
86644 else
86645 if test x$gcc_no_link = xyes; then
86646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86648 { (exit 1); exit 1; }; }
86650 cat >conftest.$ac_ext <<_ACEOF
86651 /* confdefs.h. */
86652 _ACEOF
86653 cat confdefs.h >>conftest.$ac_ext
86654 cat >>conftest.$ac_ext <<_ACEOF
86655 /* end confdefs.h. */
86656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86658 #define $ac_func innocuous_$ac_func
86660 /* System header to define __stub macros and hopefully few prototypes,
86661 which can conflict with char $ac_func (); below.
86662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86663 <limits.h> exists even on freestanding compilers. */
86665 #ifdef __STDC__
86666 # include <limits.h>
86667 #else
86668 # include <assert.h>
86669 #endif
86671 #undef $ac_func
86673 /* Override any gcc2 internal prototype to avoid an error. */
86674 #ifdef __cplusplus
86675 extern "C"
86677 #endif
86678 /* We use char because int might match the return type of a gcc2
86679 builtin and then its argument prototype would still apply. */
86680 char $ac_func ();
86681 /* The GNU C library defines this for functions which it implements
86682 to always fail with ENOSYS. Some functions are actually named
86683 something starting with __ and the normal name is an alias. */
86684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86685 choke me
86686 #else
86687 char (*f) () = $ac_func;
86688 #endif
86689 #ifdef __cplusplus
86691 #endif
86694 main ()
86696 return f != $ac_func;
86698 return 0;
86700 _ACEOF
86701 rm -f conftest.$ac_objext conftest$ac_exeext
86702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86703 (eval $ac_link) 2>conftest.er1
86704 ac_status=$?
86705 grep -v '^ *+' conftest.er1 >conftest.err
86706 rm -f conftest.er1
86707 cat conftest.err >&5
86708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86709 (exit $ac_status); } &&
86710 { ac_try='test -z "$ac_c_werror_flag"
86711 || test ! -s conftest.err'
86712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86713 (eval $ac_try) 2>&5
86714 ac_status=$?
86715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86716 (exit $ac_status); }; } &&
86717 { ac_try='test -s conftest$ac_exeext'
86718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86719 (eval $ac_try) 2>&5
86720 ac_status=$?
86721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86722 (exit $ac_status); }; }; then
86723 eval "$as_ac_var=yes"
86724 else
86725 echo "$as_me: failed program was:" >&5
86726 sed 's/^/| /' conftest.$ac_ext >&5
86728 eval "$as_ac_var=no"
86730 rm -f conftest.err conftest.$ac_objext \
86731 conftest$ac_exeext conftest.$ac_ext
86733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86735 if test `eval echo '${'$as_ac_var'}'` = yes; then
86736 cat >>confdefs.h <<_ACEOF
86737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86738 _ACEOF
86741 done
86751 echo "$as_me:$LINENO: checking for modff declaration" >&5
86752 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86753 if test x${glibcxx_cv_func_modff_use+set} != xset; then
86754 if test "${glibcxx_cv_func_modff_use+set}" = set; then
86755 echo $ECHO_N "(cached) $ECHO_C" >&6
86756 else
86760 ac_ext=cc
86761 ac_cpp='$CXXCPP $CPPFLAGS'
86762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86766 cat >conftest.$ac_ext <<_ACEOF
86767 /* confdefs.h. */
86768 _ACEOF
86769 cat confdefs.h >>conftest.$ac_ext
86770 cat >>conftest.$ac_ext <<_ACEOF
86771 /* end confdefs.h. */
86772 #include <math.h>
86774 main ()
86776 modff(0, 0);
86778 return 0;
86780 _ACEOF
86781 rm -f conftest.$ac_objext
86782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86783 (eval $ac_compile) 2>conftest.er1
86784 ac_status=$?
86785 grep -v '^ *+' conftest.er1 >conftest.err
86786 rm -f conftest.er1
86787 cat conftest.err >&5
86788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86789 (exit $ac_status); } &&
86790 { ac_try='test -z "$ac_cxx_werror_flag"
86791 || test ! -s conftest.err'
86792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86793 (eval $ac_try) 2>&5
86794 ac_status=$?
86795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86796 (exit $ac_status); }; } &&
86797 { ac_try='test -s conftest.$ac_objext'
86798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86799 (eval $ac_try) 2>&5
86800 ac_status=$?
86801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86802 (exit $ac_status); }; }; then
86803 glibcxx_cv_func_modff_use=yes
86804 else
86805 echo "$as_me: failed program was:" >&5
86806 sed 's/^/| /' conftest.$ac_ext >&5
86808 glibcxx_cv_func_modff_use=no
86810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86811 ac_ext=c
86812 ac_cpp='$CPP $CPPFLAGS'
86813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86822 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86824 if test x$glibcxx_cv_func_modff_use = x"yes"; then
86826 for ac_func in modff
86828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86829 echo "$as_me:$LINENO: checking for $ac_func" >&5
86830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86831 if eval "test \"\${$as_ac_var+set}\" = set"; then
86832 echo $ECHO_N "(cached) $ECHO_C" >&6
86833 else
86834 if test x$gcc_no_link = xyes; then
86835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86837 { (exit 1); exit 1; }; }
86839 cat >conftest.$ac_ext <<_ACEOF
86840 /* confdefs.h. */
86841 _ACEOF
86842 cat confdefs.h >>conftest.$ac_ext
86843 cat >>conftest.$ac_ext <<_ACEOF
86844 /* end confdefs.h. */
86845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86847 #define $ac_func innocuous_$ac_func
86849 /* System header to define __stub macros and hopefully few prototypes,
86850 which can conflict with char $ac_func (); below.
86851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86852 <limits.h> exists even on freestanding compilers. */
86854 #ifdef __STDC__
86855 # include <limits.h>
86856 #else
86857 # include <assert.h>
86858 #endif
86860 #undef $ac_func
86862 /* Override any gcc2 internal prototype to avoid an error. */
86863 #ifdef __cplusplus
86864 extern "C"
86866 #endif
86867 /* We use char because int might match the return type of a gcc2
86868 builtin and then its argument prototype would still apply. */
86869 char $ac_func ();
86870 /* The GNU C library defines this for functions which it implements
86871 to always fail with ENOSYS. Some functions are actually named
86872 something starting with __ and the normal name is an alias. */
86873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86874 choke me
86875 #else
86876 char (*f) () = $ac_func;
86877 #endif
86878 #ifdef __cplusplus
86880 #endif
86883 main ()
86885 return f != $ac_func;
86887 return 0;
86889 _ACEOF
86890 rm -f conftest.$ac_objext conftest$ac_exeext
86891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86892 (eval $ac_link) 2>conftest.er1
86893 ac_status=$?
86894 grep -v '^ *+' conftest.er1 >conftest.err
86895 rm -f conftest.er1
86896 cat conftest.err >&5
86897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86898 (exit $ac_status); } &&
86899 { ac_try='test -z "$ac_c_werror_flag"
86900 || test ! -s conftest.err'
86901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86902 (eval $ac_try) 2>&5
86903 ac_status=$?
86904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86905 (exit $ac_status); }; } &&
86906 { ac_try='test -s conftest$ac_exeext'
86907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86908 (eval $ac_try) 2>&5
86909 ac_status=$?
86910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86911 (exit $ac_status); }; }; then
86912 eval "$as_ac_var=yes"
86913 else
86914 echo "$as_me: failed program was:" >&5
86915 sed 's/^/| /' conftest.$ac_ext >&5
86917 eval "$as_ac_var=no"
86919 rm -f conftest.err conftest.$ac_objext \
86920 conftest$ac_exeext conftest.$ac_ext
86922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86924 if test `eval echo '${'$as_ac_var'}'` = yes; then
86925 cat >>confdefs.h <<_ACEOF
86926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86927 _ACEOF
86930 done
86932 else
86934 echo "$as_me:$LINENO: checking for _modff declaration" >&5
86935 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86936 if test x${glibcxx_cv_func__modff_use+set} != xset; then
86937 if test "${glibcxx_cv_func__modff_use+set}" = set; then
86938 echo $ECHO_N "(cached) $ECHO_C" >&6
86939 else
86943 ac_ext=cc
86944 ac_cpp='$CXXCPP $CPPFLAGS'
86945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86949 cat >conftest.$ac_ext <<_ACEOF
86950 /* confdefs.h. */
86951 _ACEOF
86952 cat confdefs.h >>conftest.$ac_ext
86953 cat >>conftest.$ac_ext <<_ACEOF
86954 /* end confdefs.h. */
86955 #include <math.h>
86957 main ()
86959 _modff(0, 0);
86961 return 0;
86963 _ACEOF
86964 rm -f conftest.$ac_objext
86965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86966 (eval $ac_compile) 2>conftest.er1
86967 ac_status=$?
86968 grep -v '^ *+' conftest.er1 >conftest.err
86969 rm -f conftest.er1
86970 cat conftest.err >&5
86971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86972 (exit $ac_status); } &&
86973 { ac_try='test -z "$ac_cxx_werror_flag"
86974 || test ! -s conftest.err'
86975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86976 (eval $ac_try) 2>&5
86977 ac_status=$?
86978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86979 (exit $ac_status); }; } &&
86980 { ac_try='test -s conftest.$ac_objext'
86981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86982 (eval $ac_try) 2>&5
86983 ac_status=$?
86984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86985 (exit $ac_status); }; }; then
86986 glibcxx_cv_func__modff_use=yes
86987 else
86988 echo "$as_me: failed program was:" >&5
86989 sed 's/^/| /' conftest.$ac_ext >&5
86991 glibcxx_cv_func__modff_use=no
86993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86994 ac_ext=c
86995 ac_cpp='$CPP $CPPFLAGS'
86996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87005 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87007 if test x$glibcxx_cv_func__modff_use = x"yes"; then
87009 for ac_func in _modff
87011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87012 echo "$as_me:$LINENO: checking for $ac_func" >&5
87013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87014 if eval "test \"\${$as_ac_var+set}\" = set"; then
87015 echo $ECHO_N "(cached) $ECHO_C" >&6
87016 else
87017 if test x$gcc_no_link = xyes; then
87018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87020 { (exit 1); exit 1; }; }
87022 cat >conftest.$ac_ext <<_ACEOF
87023 /* confdefs.h. */
87024 _ACEOF
87025 cat confdefs.h >>conftest.$ac_ext
87026 cat >>conftest.$ac_ext <<_ACEOF
87027 /* end confdefs.h. */
87028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87030 #define $ac_func innocuous_$ac_func
87032 /* System header to define __stub macros and hopefully few prototypes,
87033 which can conflict with char $ac_func (); below.
87034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87035 <limits.h> exists even on freestanding compilers. */
87037 #ifdef __STDC__
87038 # include <limits.h>
87039 #else
87040 # include <assert.h>
87041 #endif
87043 #undef $ac_func
87045 /* Override any gcc2 internal prototype to avoid an error. */
87046 #ifdef __cplusplus
87047 extern "C"
87049 #endif
87050 /* We use char because int might match the return type of a gcc2
87051 builtin and then its argument prototype would still apply. */
87052 char $ac_func ();
87053 /* The GNU C library defines this for functions which it implements
87054 to always fail with ENOSYS. Some functions are actually named
87055 something starting with __ and the normal name is an alias. */
87056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87057 choke me
87058 #else
87059 char (*f) () = $ac_func;
87060 #endif
87061 #ifdef __cplusplus
87063 #endif
87066 main ()
87068 return f != $ac_func;
87070 return 0;
87072 _ACEOF
87073 rm -f conftest.$ac_objext conftest$ac_exeext
87074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87075 (eval $ac_link) 2>conftest.er1
87076 ac_status=$?
87077 grep -v '^ *+' conftest.er1 >conftest.err
87078 rm -f conftest.er1
87079 cat conftest.err >&5
87080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87081 (exit $ac_status); } &&
87082 { ac_try='test -z "$ac_c_werror_flag"
87083 || test ! -s conftest.err'
87084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87085 (eval $ac_try) 2>&5
87086 ac_status=$?
87087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87088 (exit $ac_status); }; } &&
87089 { ac_try='test -s conftest$ac_exeext'
87090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87091 (eval $ac_try) 2>&5
87092 ac_status=$?
87093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87094 (exit $ac_status); }; }; then
87095 eval "$as_ac_var=yes"
87096 else
87097 echo "$as_me: failed program was:" >&5
87098 sed 's/^/| /' conftest.$ac_ext >&5
87100 eval "$as_ac_var=no"
87102 rm -f conftest.err conftest.$ac_objext \
87103 conftest$ac_exeext conftest.$ac_ext
87105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87107 if test `eval echo '${'$as_ac_var'}'` = yes; then
87108 cat >>confdefs.h <<_ACEOF
87109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87110 _ACEOF
87113 done
87123 echo "$as_me:$LINENO: checking for modf declaration" >&5
87124 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87125 if test x${glibcxx_cv_func_modf_use+set} != xset; then
87126 if test "${glibcxx_cv_func_modf_use+set}" = set; then
87127 echo $ECHO_N "(cached) $ECHO_C" >&6
87128 else
87132 ac_ext=cc
87133 ac_cpp='$CXXCPP $CPPFLAGS'
87134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87138 cat >conftest.$ac_ext <<_ACEOF
87139 /* confdefs.h. */
87140 _ACEOF
87141 cat confdefs.h >>conftest.$ac_ext
87142 cat >>conftest.$ac_ext <<_ACEOF
87143 /* end confdefs.h. */
87144 #include <math.h>
87146 main ()
87148 modf(0, 0);
87150 return 0;
87152 _ACEOF
87153 rm -f conftest.$ac_objext
87154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87155 (eval $ac_compile) 2>conftest.er1
87156 ac_status=$?
87157 grep -v '^ *+' conftest.er1 >conftest.err
87158 rm -f conftest.er1
87159 cat conftest.err >&5
87160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87161 (exit $ac_status); } &&
87162 { ac_try='test -z "$ac_cxx_werror_flag"
87163 || test ! -s conftest.err'
87164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87165 (eval $ac_try) 2>&5
87166 ac_status=$?
87167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168 (exit $ac_status); }; } &&
87169 { ac_try='test -s conftest.$ac_objext'
87170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87171 (eval $ac_try) 2>&5
87172 ac_status=$?
87173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87174 (exit $ac_status); }; }; then
87175 glibcxx_cv_func_modf_use=yes
87176 else
87177 echo "$as_me: failed program was:" >&5
87178 sed 's/^/| /' conftest.$ac_ext >&5
87180 glibcxx_cv_func_modf_use=no
87182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87183 ac_ext=c
87184 ac_cpp='$CPP $CPPFLAGS'
87185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87194 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
87198 for ac_func in modf
87200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87201 echo "$as_me:$LINENO: checking for $ac_func" >&5
87202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87203 if eval "test \"\${$as_ac_var+set}\" = set"; then
87204 echo $ECHO_N "(cached) $ECHO_C" >&6
87205 else
87206 if test x$gcc_no_link = xyes; then
87207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87209 { (exit 1); exit 1; }; }
87211 cat >conftest.$ac_ext <<_ACEOF
87212 /* confdefs.h. */
87213 _ACEOF
87214 cat confdefs.h >>conftest.$ac_ext
87215 cat >>conftest.$ac_ext <<_ACEOF
87216 /* end confdefs.h. */
87217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87219 #define $ac_func innocuous_$ac_func
87221 /* System header to define __stub macros and hopefully few prototypes,
87222 which can conflict with char $ac_func (); below.
87223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87224 <limits.h> exists even on freestanding compilers. */
87226 #ifdef __STDC__
87227 # include <limits.h>
87228 #else
87229 # include <assert.h>
87230 #endif
87232 #undef $ac_func
87234 /* Override any gcc2 internal prototype to avoid an error. */
87235 #ifdef __cplusplus
87236 extern "C"
87238 #endif
87239 /* We use char because int might match the return type of a gcc2
87240 builtin and then its argument prototype would still apply. */
87241 char $ac_func ();
87242 /* The GNU C library defines this for functions which it implements
87243 to always fail with ENOSYS. Some functions are actually named
87244 something starting with __ and the normal name is an alias. */
87245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87246 choke me
87247 #else
87248 char (*f) () = $ac_func;
87249 #endif
87250 #ifdef __cplusplus
87252 #endif
87255 main ()
87257 return f != $ac_func;
87259 return 0;
87261 _ACEOF
87262 rm -f conftest.$ac_objext conftest$ac_exeext
87263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87264 (eval $ac_link) 2>conftest.er1
87265 ac_status=$?
87266 grep -v '^ *+' conftest.er1 >conftest.err
87267 rm -f conftest.er1
87268 cat conftest.err >&5
87269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87270 (exit $ac_status); } &&
87271 { ac_try='test -z "$ac_c_werror_flag"
87272 || test ! -s conftest.err'
87273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87274 (eval $ac_try) 2>&5
87275 ac_status=$?
87276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277 (exit $ac_status); }; } &&
87278 { ac_try='test -s conftest$ac_exeext'
87279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87280 (eval $ac_try) 2>&5
87281 ac_status=$?
87282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87283 (exit $ac_status); }; }; then
87284 eval "$as_ac_var=yes"
87285 else
87286 echo "$as_me: failed program was:" >&5
87287 sed 's/^/| /' conftest.$ac_ext >&5
87289 eval "$as_ac_var=no"
87291 rm -f conftest.err conftest.$ac_objext \
87292 conftest$ac_exeext conftest.$ac_ext
87294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87296 if test `eval echo '${'$as_ac_var'}'` = yes; then
87297 cat >>confdefs.h <<_ACEOF
87298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87299 _ACEOF
87302 done
87304 else
87306 echo "$as_me:$LINENO: checking for _modf declaration" >&5
87307 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87308 if test x${glibcxx_cv_func__modf_use+set} != xset; then
87309 if test "${glibcxx_cv_func__modf_use+set}" = set; then
87310 echo $ECHO_N "(cached) $ECHO_C" >&6
87311 else
87315 ac_ext=cc
87316 ac_cpp='$CXXCPP $CPPFLAGS'
87317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87321 cat >conftest.$ac_ext <<_ACEOF
87322 /* confdefs.h. */
87323 _ACEOF
87324 cat confdefs.h >>conftest.$ac_ext
87325 cat >>conftest.$ac_ext <<_ACEOF
87326 /* end confdefs.h. */
87327 #include <math.h>
87329 main ()
87331 _modf(0, 0);
87333 return 0;
87335 _ACEOF
87336 rm -f conftest.$ac_objext
87337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87338 (eval $ac_compile) 2>conftest.er1
87339 ac_status=$?
87340 grep -v '^ *+' conftest.er1 >conftest.err
87341 rm -f conftest.er1
87342 cat conftest.err >&5
87343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87344 (exit $ac_status); } &&
87345 { ac_try='test -z "$ac_cxx_werror_flag"
87346 || test ! -s conftest.err'
87347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87348 (eval $ac_try) 2>&5
87349 ac_status=$?
87350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87351 (exit $ac_status); }; } &&
87352 { ac_try='test -s conftest.$ac_objext'
87353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87354 (eval $ac_try) 2>&5
87355 ac_status=$?
87356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87357 (exit $ac_status); }; }; then
87358 glibcxx_cv_func__modf_use=yes
87359 else
87360 echo "$as_me: failed program was:" >&5
87361 sed 's/^/| /' conftest.$ac_ext >&5
87363 glibcxx_cv_func__modf_use=no
87365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87366 ac_ext=c
87367 ac_cpp='$CPP $CPPFLAGS'
87368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87377 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87379 if test x$glibcxx_cv_func__modf_use = x"yes"; then
87381 for ac_func in _modf
87383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87384 echo "$as_me:$LINENO: checking for $ac_func" >&5
87385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87386 if eval "test \"\${$as_ac_var+set}\" = set"; then
87387 echo $ECHO_N "(cached) $ECHO_C" >&6
87388 else
87389 if test x$gcc_no_link = xyes; then
87390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87392 { (exit 1); exit 1; }; }
87394 cat >conftest.$ac_ext <<_ACEOF
87395 /* confdefs.h. */
87396 _ACEOF
87397 cat confdefs.h >>conftest.$ac_ext
87398 cat >>conftest.$ac_ext <<_ACEOF
87399 /* end confdefs.h. */
87400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87402 #define $ac_func innocuous_$ac_func
87404 /* System header to define __stub macros and hopefully few prototypes,
87405 which can conflict with char $ac_func (); below.
87406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87407 <limits.h> exists even on freestanding compilers. */
87409 #ifdef __STDC__
87410 # include <limits.h>
87411 #else
87412 # include <assert.h>
87413 #endif
87415 #undef $ac_func
87417 /* Override any gcc2 internal prototype to avoid an error. */
87418 #ifdef __cplusplus
87419 extern "C"
87421 #endif
87422 /* We use char because int might match the return type of a gcc2
87423 builtin and then its argument prototype would still apply. */
87424 char $ac_func ();
87425 /* The GNU C library defines this for functions which it implements
87426 to always fail with ENOSYS. Some functions are actually named
87427 something starting with __ and the normal name is an alias. */
87428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87429 choke me
87430 #else
87431 char (*f) () = $ac_func;
87432 #endif
87433 #ifdef __cplusplus
87435 #endif
87438 main ()
87440 return f != $ac_func;
87442 return 0;
87444 _ACEOF
87445 rm -f conftest.$ac_objext conftest$ac_exeext
87446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87447 (eval $ac_link) 2>conftest.er1
87448 ac_status=$?
87449 grep -v '^ *+' conftest.er1 >conftest.err
87450 rm -f conftest.er1
87451 cat conftest.err >&5
87452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87453 (exit $ac_status); } &&
87454 { ac_try='test -z "$ac_c_werror_flag"
87455 || test ! -s conftest.err'
87456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87457 (eval $ac_try) 2>&5
87458 ac_status=$?
87459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87460 (exit $ac_status); }; } &&
87461 { ac_try='test -s conftest$ac_exeext'
87462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87463 (eval $ac_try) 2>&5
87464 ac_status=$?
87465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87466 (exit $ac_status); }; }; then
87467 eval "$as_ac_var=yes"
87468 else
87469 echo "$as_me: failed program was:" >&5
87470 sed 's/^/| /' conftest.$ac_ext >&5
87472 eval "$as_ac_var=no"
87474 rm -f conftest.err conftest.$ac_objext \
87475 conftest$ac_exeext conftest.$ac_ext
87477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87479 if test `eval echo '${'$as_ac_var'}'` = yes; then
87480 cat >>confdefs.h <<_ACEOF
87481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87482 _ACEOF
87485 done
87495 echo "$as_me:$LINENO: checking for powf declaration" >&5
87496 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
87498 if test "${glibcxx_cv_func_powf_use+set}" = set; then
87499 echo $ECHO_N "(cached) $ECHO_C" >&6
87500 else
87504 ac_ext=cc
87505 ac_cpp='$CXXCPP $CPPFLAGS'
87506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87510 cat >conftest.$ac_ext <<_ACEOF
87511 /* confdefs.h. */
87512 _ACEOF
87513 cat confdefs.h >>conftest.$ac_ext
87514 cat >>conftest.$ac_ext <<_ACEOF
87515 /* end confdefs.h. */
87516 #include <math.h>
87518 main ()
87520 powf(0, 0);
87522 return 0;
87524 _ACEOF
87525 rm -f conftest.$ac_objext
87526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87527 (eval $ac_compile) 2>conftest.er1
87528 ac_status=$?
87529 grep -v '^ *+' conftest.er1 >conftest.err
87530 rm -f conftest.er1
87531 cat conftest.err >&5
87532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87533 (exit $ac_status); } &&
87534 { ac_try='test -z "$ac_cxx_werror_flag"
87535 || test ! -s conftest.err'
87536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87537 (eval $ac_try) 2>&5
87538 ac_status=$?
87539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540 (exit $ac_status); }; } &&
87541 { ac_try='test -s conftest.$ac_objext'
87542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87543 (eval $ac_try) 2>&5
87544 ac_status=$?
87545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87546 (exit $ac_status); }; }; then
87547 glibcxx_cv_func_powf_use=yes
87548 else
87549 echo "$as_me: failed program was:" >&5
87550 sed 's/^/| /' conftest.$ac_ext >&5
87552 glibcxx_cv_func_powf_use=no
87554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87555 ac_ext=c
87556 ac_cpp='$CPP $CPPFLAGS'
87557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87566 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87568 if test x$glibcxx_cv_func_powf_use = x"yes"; then
87570 for ac_func in powf
87572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87573 echo "$as_me:$LINENO: checking for $ac_func" >&5
87574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87575 if eval "test \"\${$as_ac_var+set}\" = set"; then
87576 echo $ECHO_N "(cached) $ECHO_C" >&6
87577 else
87578 if test x$gcc_no_link = xyes; then
87579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87581 { (exit 1); exit 1; }; }
87583 cat >conftest.$ac_ext <<_ACEOF
87584 /* confdefs.h. */
87585 _ACEOF
87586 cat confdefs.h >>conftest.$ac_ext
87587 cat >>conftest.$ac_ext <<_ACEOF
87588 /* end confdefs.h. */
87589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87591 #define $ac_func innocuous_$ac_func
87593 /* System header to define __stub macros and hopefully few prototypes,
87594 which can conflict with char $ac_func (); below.
87595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87596 <limits.h> exists even on freestanding compilers. */
87598 #ifdef __STDC__
87599 # include <limits.h>
87600 #else
87601 # include <assert.h>
87602 #endif
87604 #undef $ac_func
87606 /* Override any gcc2 internal prototype to avoid an error. */
87607 #ifdef __cplusplus
87608 extern "C"
87610 #endif
87611 /* We use char because int might match the return type of a gcc2
87612 builtin and then its argument prototype would still apply. */
87613 char $ac_func ();
87614 /* The GNU C library defines this for functions which it implements
87615 to always fail with ENOSYS. Some functions are actually named
87616 something starting with __ and the normal name is an alias. */
87617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87618 choke me
87619 #else
87620 char (*f) () = $ac_func;
87621 #endif
87622 #ifdef __cplusplus
87624 #endif
87627 main ()
87629 return f != $ac_func;
87631 return 0;
87633 _ACEOF
87634 rm -f conftest.$ac_objext conftest$ac_exeext
87635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87636 (eval $ac_link) 2>conftest.er1
87637 ac_status=$?
87638 grep -v '^ *+' conftest.er1 >conftest.err
87639 rm -f conftest.er1
87640 cat conftest.err >&5
87641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87642 (exit $ac_status); } &&
87643 { ac_try='test -z "$ac_c_werror_flag"
87644 || test ! -s conftest.err'
87645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87646 (eval $ac_try) 2>&5
87647 ac_status=$?
87648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87649 (exit $ac_status); }; } &&
87650 { ac_try='test -s conftest$ac_exeext'
87651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87652 (eval $ac_try) 2>&5
87653 ac_status=$?
87654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87655 (exit $ac_status); }; }; then
87656 eval "$as_ac_var=yes"
87657 else
87658 echo "$as_me: failed program was:" >&5
87659 sed 's/^/| /' conftest.$ac_ext >&5
87661 eval "$as_ac_var=no"
87663 rm -f conftest.err conftest.$ac_objext \
87664 conftest$ac_exeext conftest.$ac_ext
87666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87668 if test `eval echo '${'$as_ac_var'}'` = yes; then
87669 cat >>confdefs.h <<_ACEOF
87670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87671 _ACEOF
87674 done
87676 else
87678 echo "$as_me:$LINENO: checking for _powf declaration" >&5
87679 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87680 if test x${glibcxx_cv_func__powf_use+set} != xset; then
87681 if test "${glibcxx_cv_func__powf_use+set}" = set; then
87682 echo $ECHO_N "(cached) $ECHO_C" >&6
87683 else
87687 ac_ext=cc
87688 ac_cpp='$CXXCPP $CPPFLAGS'
87689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87693 cat >conftest.$ac_ext <<_ACEOF
87694 /* confdefs.h. */
87695 _ACEOF
87696 cat confdefs.h >>conftest.$ac_ext
87697 cat >>conftest.$ac_ext <<_ACEOF
87698 /* end confdefs.h. */
87699 #include <math.h>
87701 main ()
87703 _powf(0, 0);
87705 return 0;
87707 _ACEOF
87708 rm -f conftest.$ac_objext
87709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87710 (eval $ac_compile) 2>conftest.er1
87711 ac_status=$?
87712 grep -v '^ *+' conftest.er1 >conftest.err
87713 rm -f conftest.er1
87714 cat conftest.err >&5
87715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87716 (exit $ac_status); } &&
87717 { ac_try='test -z "$ac_cxx_werror_flag"
87718 || test ! -s conftest.err'
87719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87720 (eval $ac_try) 2>&5
87721 ac_status=$?
87722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723 (exit $ac_status); }; } &&
87724 { ac_try='test -s conftest.$ac_objext'
87725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87726 (eval $ac_try) 2>&5
87727 ac_status=$?
87728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87729 (exit $ac_status); }; }; then
87730 glibcxx_cv_func__powf_use=yes
87731 else
87732 echo "$as_me: failed program was:" >&5
87733 sed 's/^/| /' conftest.$ac_ext >&5
87735 glibcxx_cv_func__powf_use=no
87737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87738 ac_ext=c
87739 ac_cpp='$CPP $CPPFLAGS'
87740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87749 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87751 if test x$glibcxx_cv_func__powf_use = x"yes"; then
87753 for ac_func in _powf
87755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87756 echo "$as_me:$LINENO: checking for $ac_func" >&5
87757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87758 if eval "test \"\${$as_ac_var+set}\" = set"; then
87759 echo $ECHO_N "(cached) $ECHO_C" >&6
87760 else
87761 if test x$gcc_no_link = xyes; then
87762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87764 { (exit 1); exit 1; }; }
87766 cat >conftest.$ac_ext <<_ACEOF
87767 /* confdefs.h. */
87768 _ACEOF
87769 cat confdefs.h >>conftest.$ac_ext
87770 cat >>conftest.$ac_ext <<_ACEOF
87771 /* end confdefs.h. */
87772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87774 #define $ac_func innocuous_$ac_func
87776 /* System header to define __stub macros and hopefully few prototypes,
87777 which can conflict with char $ac_func (); below.
87778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87779 <limits.h> exists even on freestanding compilers. */
87781 #ifdef __STDC__
87782 # include <limits.h>
87783 #else
87784 # include <assert.h>
87785 #endif
87787 #undef $ac_func
87789 /* Override any gcc2 internal prototype to avoid an error. */
87790 #ifdef __cplusplus
87791 extern "C"
87793 #endif
87794 /* We use char because int might match the return type of a gcc2
87795 builtin and then its argument prototype would still apply. */
87796 char $ac_func ();
87797 /* The GNU C library defines this for functions which it implements
87798 to always fail with ENOSYS. Some functions are actually named
87799 something starting with __ and the normal name is an alias. */
87800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87801 choke me
87802 #else
87803 char (*f) () = $ac_func;
87804 #endif
87805 #ifdef __cplusplus
87807 #endif
87810 main ()
87812 return f != $ac_func;
87814 return 0;
87816 _ACEOF
87817 rm -f conftest.$ac_objext conftest$ac_exeext
87818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87819 (eval $ac_link) 2>conftest.er1
87820 ac_status=$?
87821 grep -v '^ *+' conftest.er1 >conftest.err
87822 rm -f conftest.er1
87823 cat conftest.err >&5
87824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87825 (exit $ac_status); } &&
87826 { ac_try='test -z "$ac_c_werror_flag"
87827 || test ! -s conftest.err'
87828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87829 (eval $ac_try) 2>&5
87830 ac_status=$?
87831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87832 (exit $ac_status); }; } &&
87833 { ac_try='test -s conftest$ac_exeext'
87834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87835 (eval $ac_try) 2>&5
87836 ac_status=$?
87837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87838 (exit $ac_status); }; }; then
87839 eval "$as_ac_var=yes"
87840 else
87841 echo "$as_me: failed program was:" >&5
87842 sed 's/^/| /' conftest.$ac_ext >&5
87844 eval "$as_ac_var=no"
87846 rm -f conftest.err conftest.$ac_objext \
87847 conftest$ac_exeext conftest.$ac_ext
87849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87851 if test `eval echo '${'$as_ac_var'}'` = yes; then
87852 cat >>confdefs.h <<_ACEOF
87853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87854 _ACEOF
87857 done
87867 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87868 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87869 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87870 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87871 echo $ECHO_N "(cached) $ECHO_C" >&6
87872 else
87876 ac_ext=cc
87877 ac_cpp='$CXXCPP $CPPFLAGS'
87878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87882 cat >conftest.$ac_ext <<_ACEOF
87883 /* confdefs.h. */
87884 _ACEOF
87885 cat confdefs.h >>conftest.$ac_ext
87886 cat >>conftest.$ac_ext <<_ACEOF
87887 /* end confdefs.h. */
87888 #include <math.h>
87889 #ifdef HAVE_IEEEFP_H
87890 #include <ieeefp.h>
87891 #endif
87894 main ()
87896 sqrtf(0);
87898 return 0;
87900 _ACEOF
87901 rm -f conftest.$ac_objext
87902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87903 (eval $ac_compile) 2>conftest.er1
87904 ac_status=$?
87905 grep -v '^ *+' conftest.er1 >conftest.err
87906 rm -f conftest.er1
87907 cat conftest.err >&5
87908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87909 (exit $ac_status); } &&
87910 { ac_try='test -z "$ac_cxx_werror_flag"
87911 || test ! -s conftest.err'
87912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87913 (eval $ac_try) 2>&5
87914 ac_status=$?
87915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87916 (exit $ac_status); }; } &&
87917 { ac_try='test -s conftest.$ac_objext'
87918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87919 (eval $ac_try) 2>&5
87920 ac_status=$?
87921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87922 (exit $ac_status); }; }; then
87923 glibcxx_cv_func_sqrtf_use=yes
87924 else
87925 echo "$as_me: failed program was:" >&5
87926 sed 's/^/| /' conftest.$ac_ext >&5
87928 glibcxx_cv_func_sqrtf_use=no
87930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87931 ac_ext=c
87932 ac_cpp='$CPP $CPPFLAGS'
87933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87942 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87944 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87946 for ac_func in sqrtf
87948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87949 echo "$as_me:$LINENO: checking for $ac_func" >&5
87950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87951 if eval "test \"\${$as_ac_var+set}\" = set"; then
87952 echo $ECHO_N "(cached) $ECHO_C" >&6
87953 else
87954 if test x$gcc_no_link = xyes; then
87955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87957 { (exit 1); exit 1; }; }
87959 cat >conftest.$ac_ext <<_ACEOF
87960 /* confdefs.h. */
87961 _ACEOF
87962 cat confdefs.h >>conftest.$ac_ext
87963 cat >>conftest.$ac_ext <<_ACEOF
87964 /* end confdefs.h. */
87965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87967 #define $ac_func innocuous_$ac_func
87969 /* System header to define __stub macros and hopefully few prototypes,
87970 which can conflict with char $ac_func (); below.
87971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87972 <limits.h> exists even on freestanding compilers. */
87974 #ifdef __STDC__
87975 # include <limits.h>
87976 #else
87977 # include <assert.h>
87978 #endif
87980 #undef $ac_func
87982 /* Override any gcc2 internal prototype to avoid an error. */
87983 #ifdef __cplusplus
87984 extern "C"
87986 #endif
87987 /* We use char because int might match the return type of a gcc2
87988 builtin and then its argument prototype would still apply. */
87989 char $ac_func ();
87990 /* The GNU C library defines this for functions which it implements
87991 to always fail with ENOSYS. Some functions are actually named
87992 something starting with __ and the normal name is an alias. */
87993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87994 choke me
87995 #else
87996 char (*f) () = $ac_func;
87997 #endif
87998 #ifdef __cplusplus
88000 #endif
88003 main ()
88005 return f != $ac_func;
88007 return 0;
88009 _ACEOF
88010 rm -f conftest.$ac_objext conftest$ac_exeext
88011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88012 (eval $ac_link) 2>conftest.er1
88013 ac_status=$?
88014 grep -v '^ *+' conftest.er1 >conftest.err
88015 rm -f conftest.er1
88016 cat conftest.err >&5
88017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88018 (exit $ac_status); } &&
88019 { ac_try='test -z "$ac_c_werror_flag"
88020 || test ! -s conftest.err'
88021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88022 (eval $ac_try) 2>&5
88023 ac_status=$?
88024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88025 (exit $ac_status); }; } &&
88026 { ac_try='test -s conftest$ac_exeext'
88027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88028 (eval $ac_try) 2>&5
88029 ac_status=$?
88030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88031 (exit $ac_status); }; }; then
88032 eval "$as_ac_var=yes"
88033 else
88034 echo "$as_me: failed program was:" >&5
88035 sed 's/^/| /' conftest.$ac_ext >&5
88037 eval "$as_ac_var=no"
88039 rm -f conftest.err conftest.$ac_objext \
88040 conftest$ac_exeext conftest.$ac_ext
88042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88044 if test `eval echo '${'$as_ac_var'}'` = yes; then
88045 cat >>confdefs.h <<_ACEOF
88046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88047 _ACEOF
88050 done
88052 else
88054 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88055 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88056 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88057 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88058 echo $ECHO_N "(cached) $ECHO_C" >&6
88059 else
88063 ac_ext=cc
88064 ac_cpp='$CXXCPP $CPPFLAGS'
88065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88069 cat >conftest.$ac_ext <<_ACEOF
88070 /* confdefs.h. */
88071 _ACEOF
88072 cat confdefs.h >>conftest.$ac_ext
88073 cat >>conftest.$ac_ext <<_ACEOF
88074 /* end confdefs.h. */
88075 #include <math.h>
88076 #ifdef HAVE_IEEEFP_H
88077 #include <ieeefp.h>
88078 #endif
88081 main ()
88083 _sqrtf(0);
88085 return 0;
88087 _ACEOF
88088 rm -f conftest.$ac_objext
88089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88090 (eval $ac_compile) 2>conftest.er1
88091 ac_status=$?
88092 grep -v '^ *+' conftest.er1 >conftest.err
88093 rm -f conftest.er1
88094 cat conftest.err >&5
88095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88096 (exit $ac_status); } &&
88097 { ac_try='test -z "$ac_cxx_werror_flag"
88098 || test ! -s conftest.err'
88099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88100 (eval $ac_try) 2>&5
88101 ac_status=$?
88102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88103 (exit $ac_status); }; } &&
88104 { ac_try='test -s conftest.$ac_objext'
88105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88106 (eval $ac_try) 2>&5
88107 ac_status=$?
88108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88109 (exit $ac_status); }; }; then
88110 glibcxx_cv_func__sqrtf_use=yes
88111 else
88112 echo "$as_me: failed program was:" >&5
88113 sed 's/^/| /' conftest.$ac_ext >&5
88115 glibcxx_cv_func__sqrtf_use=no
88117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88118 ac_ext=c
88119 ac_cpp='$CPP $CPPFLAGS'
88120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88129 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88131 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88133 for ac_func in _sqrtf
88135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88136 echo "$as_me:$LINENO: checking for $ac_func" >&5
88137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88138 if eval "test \"\${$as_ac_var+set}\" = set"; then
88139 echo $ECHO_N "(cached) $ECHO_C" >&6
88140 else
88141 if test x$gcc_no_link = xyes; then
88142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88144 { (exit 1); exit 1; }; }
88146 cat >conftest.$ac_ext <<_ACEOF
88147 /* confdefs.h. */
88148 _ACEOF
88149 cat confdefs.h >>conftest.$ac_ext
88150 cat >>conftest.$ac_ext <<_ACEOF
88151 /* end confdefs.h. */
88152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88154 #define $ac_func innocuous_$ac_func
88156 /* System header to define __stub macros and hopefully few prototypes,
88157 which can conflict with char $ac_func (); below.
88158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88159 <limits.h> exists even on freestanding compilers. */
88161 #ifdef __STDC__
88162 # include <limits.h>
88163 #else
88164 # include <assert.h>
88165 #endif
88167 #undef $ac_func
88169 /* Override any gcc2 internal prototype to avoid an error. */
88170 #ifdef __cplusplus
88171 extern "C"
88173 #endif
88174 /* We use char because int might match the return type of a gcc2
88175 builtin and then its argument prototype would still apply. */
88176 char $ac_func ();
88177 /* The GNU C library defines this for functions which it implements
88178 to always fail with ENOSYS. Some functions are actually named
88179 something starting with __ and the normal name is an alias. */
88180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88181 choke me
88182 #else
88183 char (*f) () = $ac_func;
88184 #endif
88185 #ifdef __cplusplus
88187 #endif
88190 main ()
88192 return f != $ac_func;
88194 return 0;
88196 _ACEOF
88197 rm -f conftest.$ac_objext conftest$ac_exeext
88198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88199 (eval $ac_link) 2>conftest.er1
88200 ac_status=$?
88201 grep -v '^ *+' conftest.er1 >conftest.err
88202 rm -f conftest.er1
88203 cat conftest.err >&5
88204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88205 (exit $ac_status); } &&
88206 { ac_try='test -z "$ac_c_werror_flag"
88207 || test ! -s conftest.err'
88208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88209 (eval $ac_try) 2>&5
88210 ac_status=$?
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); }; } &&
88213 { ac_try='test -s conftest$ac_exeext'
88214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88215 (eval $ac_try) 2>&5
88216 ac_status=$?
88217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88218 (exit $ac_status); }; }; then
88219 eval "$as_ac_var=yes"
88220 else
88221 echo "$as_me: failed program was:" >&5
88222 sed 's/^/| /' conftest.$ac_ext >&5
88224 eval "$as_ac_var=no"
88226 rm -f conftest.err conftest.$ac_objext \
88227 conftest$ac_exeext conftest.$ac_ext
88229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88231 if test `eval echo '${'$as_ac_var'}'` = yes; then
88232 cat >>confdefs.h <<_ACEOF
88233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88234 _ACEOF
88237 done
88247 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88248 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88249 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88250 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88251 echo $ECHO_N "(cached) $ECHO_C" >&6
88252 else
88256 ac_ext=cc
88257 ac_cpp='$CXXCPP $CPPFLAGS'
88258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88262 cat >conftest.$ac_ext <<_ACEOF
88263 /* confdefs.h. */
88264 _ACEOF
88265 cat confdefs.h >>conftest.$ac_ext
88266 cat >>conftest.$ac_ext <<_ACEOF
88267 /* end confdefs.h. */
88268 #include <math.h>
88270 main ()
88272 sincosf(0, 0, 0);
88274 return 0;
88276 _ACEOF
88277 rm -f conftest.$ac_objext
88278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88279 (eval $ac_compile) 2>conftest.er1
88280 ac_status=$?
88281 grep -v '^ *+' conftest.er1 >conftest.err
88282 rm -f conftest.er1
88283 cat conftest.err >&5
88284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285 (exit $ac_status); } &&
88286 { ac_try='test -z "$ac_cxx_werror_flag"
88287 || test ! -s conftest.err'
88288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289 (eval $ac_try) 2>&5
88290 ac_status=$?
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); }; } &&
88293 { ac_try='test -s conftest.$ac_objext'
88294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88295 (eval $ac_try) 2>&5
88296 ac_status=$?
88297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88298 (exit $ac_status); }; }; then
88299 glibcxx_cv_func_sincosf_use=yes
88300 else
88301 echo "$as_me: failed program was:" >&5
88302 sed 's/^/| /' conftest.$ac_ext >&5
88304 glibcxx_cv_func_sincosf_use=no
88306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88307 ac_ext=c
88308 ac_cpp='$CPP $CPPFLAGS'
88309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88318 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88320 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88322 for ac_func in sincosf
88324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88325 echo "$as_me:$LINENO: checking for $ac_func" >&5
88326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88327 if eval "test \"\${$as_ac_var+set}\" = set"; then
88328 echo $ECHO_N "(cached) $ECHO_C" >&6
88329 else
88330 if test x$gcc_no_link = xyes; then
88331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88333 { (exit 1); exit 1; }; }
88335 cat >conftest.$ac_ext <<_ACEOF
88336 /* confdefs.h. */
88337 _ACEOF
88338 cat confdefs.h >>conftest.$ac_ext
88339 cat >>conftest.$ac_ext <<_ACEOF
88340 /* end confdefs.h. */
88341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88343 #define $ac_func innocuous_$ac_func
88345 /* System header to define __stub macros and hopefully few prototypes,
88346 which can conflict with char $ac_func (); below.
88347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88348 <limits.h> exists even on freestanding compilers. */
88350 #ifdef __STDC__
88351 # include <limits.h>
88352 #else
88353 # include <assert.h>
88354 #endif
88356 #undef $ac_func
88358 /* Override any gcc2 internal prototype to avoid an error. */
88359 #ifdef __cplusplus
88360 extern "C"
88362 #endif
88363 /* We use char because int might match the return type of a gcc2
88364 builtin and then its argument prototype would still apply. */
88365 char $ac_func ();
88366 /* The GNU C library defines this for functions which it implements
88367 to always fail with ENOSYS. Some functions are actually named
88368 something starting with __ and the normal name is an alias. */
88369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88370 choke me
88371 #else
88372 char (*f) () = $ac_func;
88373 #endif
88374 #ifdef __cplusplus
88376 #endif
88379 main ()
88381 return f != $ac_func;
88383 return 0;
88385 _ACEOF
88386 rm -f conftest.$ac_objext conftest$ac_exeext
88387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88388 (eval $ac_link) 2>conftest.er1
88389 ac_status=$?
88390 grep -v '^ *+' conftest.er1 >conftest.err
88391 rm -f conftest.er1
88392 cat conftest.err >&5
88393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88394 (exit $ac_status); } &&
88395 { ac_try='test -z "$ac_c_werror_flag"
88396 || test ! -s conftest.err'
88397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88398 (eval $ac_try) 2>&5
88399 ac_status=$?
88400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88401 (exit $ac_status); }; } &&
88402 { ac_try='test -s conftest$ac_exeext'
88403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88404 (eval $ac_try) 2>&5
88405 ac_status=$?
88406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88407 (exit $ac_status); }; }; then
88408 eval "$as_ac_var=yes"
88409 else
88410 echo "$as_me: failed program was:" >&5
88411 sed 's/^/| /' conftest.$ac_ext >&5
88413 eval "$as_ac_var=no"
88415 rm -f conftest.err conftest.$ac_objext \
88416 conftest$ac_exeext conftest.$ac_ext
88418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88420 if test `eval echo '${'$as_ac_var'}'` = yes; then
88421 cat >>confdefs.h <<_ACEOF
88422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88423 _ACEOF
88426 done
88428 else
88430 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88431 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88432 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88433 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88434 echo $ECHO_N "(cached) $ECHO_C" >&6
88435 else
88439 ac_ext=cc
88440 ac_cpp='$CXXCPP $CPPFLAGS'
88441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88445 cat >conftest.$ac_ext <<_ACEOF
88446 /* confdefs.h. */
88447 _ACEOF
88448 cat confdefs.h >>conftest.$ac_ext
88449 cat >>conftest.$ac_ext <<_ACEOF
88450 /* end confdefs.h. */
88451 #include <math.h>
88453 main ()
88455 _sincosf(0, 0, 0);
88457 return 0;
88459 _ACEOF
88460 rm -f conftest.$ac_objext
88461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88462 (eval $ac_compile) 2>conftest.er1
88463 ac_status=$?
88464 grep -v '^ *+' conftest.er1 >conftest.err
88465 rm -f conftest.er1
88466 cat conftest.err >&5
88467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88468 (exit $ac_status); } &&
88469 { ac_try='test -z "$ac_cxx_werror_flag"
88470 || test ! -s conftest.err'
88471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88472 (eval $ac_try) 2>&5
88473 ac_status=$?
88474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88475 (exit $ac_status); }; } &&
88476 { ac_try='test -s conftest.$ac_objext'
88477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88478 (eval $ac_try) 2>&5
88479 ac_status=$?
88480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481 (exit $ac_status); }; }; then
88482 glibcxx_cv_func__sincosf_use=yes
88483 else
88484 echo "$as_me: failed program was:" >&5
88485 sed 's/^/| /' conftest.$ac_ext >&5
88487 glibcxx_cv_func__sincosf_use=no
88489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88490 ac_ext=c
88491 ac_cpp='$CPP $CPPFLAGS'
88492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88501 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88503 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88505 for ac_func in _sincosf
88507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88508 echo "$as_me:$LINENO: checking for $ac_func" >&5
88509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88510 if eval "test \"\${$as_ac_var+set}\" = set"; then
88511 echo $ECHO_N "(cached) $ECHO_C" >&6
88512 else
88513 if test x$gcc_no_link = xyes; then
88514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88516 { (exit 1); exit 1; }; }
88518 cat >conftest.$ac_ext <<_ACEOF
88519 /* confdefs.h. */
88520 _ACEOF
88521 cat confdefs.h >>conftest.$ac_ext
88522 cat >>conftest.$ac_ext <<_ACEOF
88523 /* end confdefs.h. */
88524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88526 #define $ac_func innocuous_$ac_func
88528 /* System header to define __stub macros and hopefully few prototypes,
88529 which can conflict with char $ac_func (); below.
88530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88531 <limits.h> exists even on freestanding compilers. */
88533 #ifdef __STDC__
88534 # include <limits.h>
88535 #else
88536 # include <assert.h>
88537 #endif
88539 #undef $ac_func
88541 /* Override any gcc2 internal prototype to avoid an error. */
88542 #ifdef __cplusplus
88543 extern "C"
88545 #endif
88546 /* We use char because int might match the return type of a gcc2
88547 builtin and then its argument prototype would still apply. */
88548 char $ac_func ();
88549 /* The GNU C library defines this for functions which it implements
88550 to always fail with ENOSYS. Some functions are actually named
88551 something starting with __ and the normal name is an alias. */
88552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88553 choke me
88554 #else
88555 char (*f) () = $ac_func;
88556 #endif
88557 #ifdef __cplusplus
88559 #endif
88562 main ()
88564 return f != $ac_func;
88566 return 0;
88568 _ACEOF
88569 rm -f conftest.$ac_objext conftest$ac_exeext
88570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88571 (eval $ac_link) 2>conftest.er1
88572 ac_status=$?
88573 grep -v '^ *+' conftest.er1 >conftest.err
88574 rm -f conftest.er1
88575 cat conftest.err >&5
88576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88577 (exit $ac_status); } &&
88578 { ac_try='test -z "$ac_c_werror_flag"
88579 || test ! -s conftest.err'
88580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581 (eval $ac_try) 2>&5
88582 ac_status=$?
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); }; } &&
88585 { ac_try='test -s conftest$ac_exeext'
88586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88587 (eval $ac_try) 2>&5
88588 ac_status=$?
88589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88590 (exit $ac_status); }; }; then
88591 eval "$as_ac_var=yes"
88592 else
88593 echo "$as_me: failed program was:" >&5
88594 sed 's/^/| /' conftest.$ac_ext >&5
88596 eval "$as_ac_var=no"
88598 rm -f conftest.err conftest.$ac_objext \
88599 conftest$ac_exeext conftest.$ac_ext
88601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88603 if test `eval echo '${'$as_ac_var'}'` = yes; then
88604 cat >>confdefs.h <<_ACEOF
88605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88606 _ACEOF
88609 done
88619 echo "$as_me:$LINENO: checking for finitef declaration" >&5
88620 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88621 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88622 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88623 echo $ECHO_N "(cached) $ECHO_C" >&6
88624 else
88628 ac_ext=cc
88629 ac_cpp='$CXXCPP $CPPFLAGS'
88630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88634 cat >conftest.$ac_ext <<_ACEOF
88635 /* confdefs.h. */
88636 _ACEOF
88637 cat confdefs.h >>conftest.$ac_ext
88638 cat >>conftest.$ac_ext <<_ACEOF
88639 /* end confdefs.h. */
88640 #include <math.h>
88641 #ifdef HAVE_IEEEFP_H
88642 #include <ieeefp.h>
88643 #endif
88646 main ()
88648 finitef(0);
88650 return 0;
88652 _ACEOF
88653 rm -f conftest.$ac_objext
88654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88655 (eval $ac_compile) 2>conftest.er1
88656 ac_status=$?
88657 grep -v '^ *+' conftest.er1 >conftest.err
88658 rm -f conftest.er1
88659 cat conftest.err >&5
88660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88661 (exit $ac_status); } &&
88662 { ac_try='test -z "$ac_cxx_werror_flag"
88663 || test ! -s conftest.err'
88664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88665 (eval $ac_try) 2>&5
88666 ac_status=$?
88667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88668 (exit $ac_status); }; } &&
88669 { ac_try='test -s conftest.$ac_objext'
88670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88671 (eval $ac_try) 2>&5
88672 ac_status=$?
88673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88674 (exit $ac_status); }; }; then
88675 glibcxx_cv_func_finitef_use=yes
88676 else
88677 echo "$as_me: failed program was:" >&5
88678 sed 's/^/| /' conftest.$ac_ext >&5
88680 glibcxx_cv_func_finitef_use=no
88682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88683 ac_ext=c
88684 ac_cpp='$CPP $CPPFLAGS'
88685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88694 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88696 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88698 for ac_func in finitef
88700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88701 echo "$as_me:$LINENO: checking for $ac_func" >&5
88702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88703 if eval "test \"\${$as_ac_var+set}\" = set"; then
88704 echo $ECHO_N "(cached) $ECHO_C" >&6
88705 else
88706 if test x$gcc_no_link = xyes; then
88707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88709 { (exit 1); exit 1; }; }
88711 cat >conftest.$ac_ext <<_ACEOF
88712 /* confdefs.h. */
88713 _ACEOF
88714 cat confdefs.h >>conftest.$ac_ext
88715 cat >>conftest.$ac_ext <<_ACEOF
88716 /* end confdefs.h. */
88717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88719 #define $ac_func innocuous_$ac_func
88721 /* System header to define __stub macros and hopefully few prototypes,
88722 which can conflict with char $ac_func (); below.
88723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88724 <limits.h> exists even on freestanding compilers. */
88726 #ifdef __STDC__
88727 # include <limits.h>
88728 #else
88729 # include <assert.h>
88730 #endif
88732 #undef $ac_func
88734 /* Override any gcc2 internal prototype to avoid an error. */
88735 #ifdef __cplusplus
88736 extern "C"
88738 #endif
88739 /* We use char because int might match the return type of a gcc2
88740 builtin and then its argument prototype would still apply. */
88741 char $ac_func ();
88742 /* The GNU C library defines this for functions which it implements
88743 to always fail with ENOSYS. Some functions are actually named
88744 something starting with __ and the normal name is an alias. */
88745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88746 choke me
88747 #else
88748 char (*f) () = $ac_func;
88749 #endif
88750 #ifdef __cplusplus
88752 #endif
88755 main ()
88757 return f != $ac_func;
88759 return 0;
88761 _ACEOF
88762 rm -f conftest.$ac_objext conftest$ac_exeext
88763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88764 (eval $ac_link) 2>conftest.er1
88765 ac_status=$?
88766 grep -v '^ *+' conftest.er1 >conftest.err
88767 rm -f conftest.er1
88768 cat conftest.err >&5
88769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88770 (exit $ac_status); } &&
88771 { ac_try='test -z "$ac_c_werror_flag"
88772 || test ! -s conftest.err'
88773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88774 (eval $ac_try) 2>&5
88775 ac_status=$?
88776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88777 (exit $ac_status); }; } &&
88778 { ac_try='test -s conftest$ac_exeext'
88779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88780 (eval $ac_try) 2>&5
88781 ac_status=$?
88782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88783 (exit $ac_status); }; }; then
88784 eval "$as_ac_var=yes"
88785 else
88786 echo "$as_me: failed program was:" >&5
88787 sed 's/^/| /' conftest.$ac_ext >&5
88789 eval "$as_ac_var=no"
88791 rm -f conftest.err conftest.$ac_objext \
88792 conftest$ac_exeext conftest.$ac_ext
88794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88796 if test `eval echo '${'$as_ac_var'}'` = yes; then
88797 cat >>confdefs.h <<_ACEOF
88798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88799 _ACEOF
88802 done
88804 else
88806 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88807 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88808 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88809 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88810 echo $ECHO_N "(cached) $ECHO_C" >&6
88811 else
88815 ac_ext=cc
88816 ac_cpp='$CXXCPP $CPPFLAGS'
88817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88821 cat >conftest.$ac_ext <<_ACEOF
88822 /* confdefs.h. */
88823 _ACEOF
88824 cat confdefs.h >>conftest.$ac_ext
88825 cat >>conftest.$ac_ext <<_ACEOF
88826 /* end confdefs.h. */
88827 #include <math.h>
88828 #ifdef HAVE_IEEEFP_H
88829 #include <ieeefp.h>
88830 #endif
88833 main ()
88835 _finitef(0);
88837 return 0;
88839 _ACEOF
88840 rm -f conftest.$ac_objext
88841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88842 (eval $ac_compile) 2>conftest.er1
88843 ac_status=$?
88844 grep -v '^ *+' conftest.er1 >conftest.err
88845 rm -f conftest.er1
88846 cat conftest.err >&5
88847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88848 (exit $ac_status); } &&
88849 { ac_try='test -z "$ac_cxx_werror_flag"
88850 || test ! -s conftest.err'
88851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88852 (eval $ac_try) 2>&5
88853 ac_status=$?
88854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88855 (exit $ac_status); }; } &&
88856 { ac_try='test -s conftest.$ac_objext'
88857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88858 (eval $ac_try) 2>&5
88859 ac_status=$?
88860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88861 (exit $ac_status); }; }; then
88862 glibcxx_cv_func__finitef_use=yes
88863 else
88864 echo "$as_me: failed program was:" >&5
88865 sed 's/^/| /' conftest.$ac_ext >&5
88867 glibcxx_cv_func__finitef_use=no
88869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88870 ac_ext=c
88871 ac_cpp='$CPP $CPPFLAGS'
88872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88881 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88883 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88885 for ac_func in _finitef
88887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88888 echo "$as_me:$LINENO: checking for $ac_func" >&5
88889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88890 if eval "test \"\${$as_ac_var+set}\" = set"; then
88891 echo $ECHO_N "(cached) $ECHO_C" >&6
88892 else
88893 if test x$gcc_no_link = xyes; then
88894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88896 { (exit 1); exit 1; }; }
88898 cat >conftest.$ac_ext <<_ACEOF
88899 /* confdefs.h. */
88900 _ACEOF
88901 cat confdefs.h >>conftest.$ac_ext
88902 cat >>conftest.$ac_ext <<_ACEOF
88903 /* end confdefs.h. */
88904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88906 #define $ac_func innocuous_$ac_func
88908 /* System header to define __stub macros and hopefully few prototypes,
88909 which can conflict with char $ac_func (); below.
88910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88911 <limits.h> exists even on freestanding compilers. */
88913 #ifdef __STDC__
88914 # include <limits.h>
88915 #else
88916 # include <assert.h>
88917 #endif
88919 #undef $ac_func
88921 /* Override any gcc2 internal prototype to avoid an error. */
88922 #ifdef __cplusplus
88923 extern "C"
88925 #endif
88926 /* We use char because int might match the return type of a gcc2
88927 builtin and then its argument prototype would still apply. */
88928 char $ac_func ();
88929 /* The GNU C library defines this for functions which it implements
88930 to always fail with ENOSYS. Some functions are actually named
88931 something starting with __ and the normal name is an alias. */
88932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88933 choke me
88934 #else
88935 char (*f) () = $ac_func;
88936 #endif
88937 #ifdef __cplusplus
88939 #endif
88942 main ()
88944 return f != $ac_func;
88946 return 0;
88948 _ACEOF
88949 rm -f conftest.$ac_objext conftest$ac_exeext
88950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88951 (eval $ac_link) 2>conftest.er1
88952 ac_status=$?
88953 grep -v '^ *+' conftest.er1 >conftest.err
88954 rm -f conftest.er1
88955 cat conftest.err >&5
88956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88957 (exit $ac_status); } &&
88958 { ac_try='test -z "$ac_c_werror_flag"
88959 || test ! -s conftest.err'
88960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88961 (eval $ac_try) 2>&5
88962 ac_status=$?
88963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964 (exit $ac_status); }; } &&
88965 { ac_try='test -s conftest$ac_exeext'
88966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88967 (eval $ac_try) 2>&5
88968 ac_status=$?
88969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88970 (exit $ac_status); }; }; then
88971 eval "$as_ac_var=yes"
88972 else
88973 echo "$as_me: failed program was:" >&5
88974 sed 's/^/| /' conftest.$ac_ext >&5
88976 eval "$as_ac_var=no"
88978 rm -f conftest.err conftest.$ac_objext \
88979 conftest$ac_exeext conftest.$ac_ext
88981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88983 if test `eval echo '${'$as_ac_var'}'` = yes; then
88984 cat >>confdefs.h <<_ACEOF
88985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88986 _ACEOF
88989 done
88999 echo "$as_me:$LINENO: checking for long double trig functions" >&5
89000 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89001 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89002 echo $ECHO_N "(cached) $ECHO_C" >&6
89003 else
89007 ac_ext=cc
89008 ac_cpp='$CXXCPP $CPPFLAGS'
89009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89013 cat >conftest.$ac_ext <<_ACEOF
89014 /* confdefs.h. */
89015 _ACEOF
89016 cat confdefs.h >>conftest.$ac_ext
89017 cat >>conftest.$ac_ext <<_ACEOF
89018 /* end confdefs.h. */
89019 #include <math.h>
89021 main ()
89023 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89025 return 0;
89027 _ACEOF
89028 rm -f conftest.$ac_objext
89029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89030 (eval $ac_compile) 2>conftest.er1
89031 ac_status=$?
89032 grep -v '^ *+' conftest.er1 >conftest.err
89033 rm -f conftest.er1
89034 cat conftest.err >&5
89035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89036 (exit $ac_status); } &&
89037 { ac_try='test -z "$ac_cxx_werror_flag"
89038 || test ! -s conftest.err'
89039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89040 (eval $ac_try) 2>&5
89041 ac_status=$?
89042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89043 (exit $ac_status); }; } &&
89044 { ac_try='test -s conftest.$ac_objext'
89045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89046 (eval $ac_try) 2>&5
89047 ac_status=$?
89048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89049 (exit $ac_status); }; }; then
89050 glibcxx_cv_func_long_double_trig_use=yes
89051 else
89052 echo "$as_me: failed program was:" >&5
89053 sed 's/^/| /' conftest.$ac_ext >&5
89055 glibcxx_cv_func_long_double_trig_use=no
89057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89058 ac_ext=c
89059 ac_cpp='$CPP $CPPFLAGS'
89060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89067 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89068 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89078 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89081 echo "$as_me:$LINENO: checking for $ac_func" >&5
89082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89083 if eval "test \"\${$as_ac_var+set}\" = set"; then
89084 echo $ECHO_N "(cached) $ECHO_C" >&6
89085 else
89086 if test x$gcc_no_link = xyes; then
89087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89089 { (exit 1); exit 1; }; }
89091 cat >conftest.$ac_ext <<_ACEOF
89092 /* confdefs.h. */
89093 _ACEOF
89094 cat confdefs.h >>conftest.$ac_ext
89095 cat >>conftest.$ac_ext <<_ACEOF
89096 /* end confdefs.h. */
89097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89099 #define $ac_func innocuous_$ac_func
89101 /* System header to define __stub macros and hopefully few prototypes,
89102 which can conflict with char $ac_func (); below.
89103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89104 <limits.h> exists even on freestanding compilers. */
89106 #ifdef __STDC__
89107 # include <limits.h>
89108 #else
89109 # include <assert.h>
89110 #endif
89112 #undef $ac_func
89114 /* Override any gcc2 internal prototype to avoid an error. */
89115 #ifdef __cplusplus
89116 extern "C"
89118 #endif
89119 /* We use char because int might match the return type of a gcc2
89120 builtin and then its argument prototype would still apply. */
89121 char $ac_func ();
89122 /* The GNU C library defines this for functions which it implements
89123 to always fail with ENOSYS. Some functions are actually named
89124 something starting with __ and the normal name is an alias. */
89125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89126 choke me
89127 #else
89128 char (*f) () = $ac_func;
89129 #endif
89130 #ifdef __cplusplus
89132 #endif
89135 main ()
89137 return f != $ac_func;
89139 return 0;
89141 _ACEOF
89142 rm -f conftest.$ac_objext conftest$ac_exeext
89143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89144 (eval $ac_link) 2>conftest.er1
89145 ac_status=$?
89146 grep -v '^ *+' conftest.er1 >conftest.err
89147 rm -f conftest.er1
89148 cat conftest.err >&5
89149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89150 (exit $ac_status); } &&
89151 { ac_try='test -z "$ac_c_werror_flag"
89152 || test ! -s conftest.err'
89153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89154 (eval $ac_try) 2>&5
89155 ac_status=$?
89156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89157 (exit $ac_status); }; } &&
89158 { ac_try='test -s conftest$ac_exeext'
89159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89160 (eval $ac_try) 2>&5
89161 ac_status=$?
89162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89163 (exit $ac_status); }; }; then
89164 eval "$as_ac_var=yes"
89165 else
89166 echo "$as_me: failed program was:" >&5
89167 sed 's/^/| /' conftest.$ac_ext >&5
89169 eval "$as_ac_var=no"
89171 rm -f conftest.err conftest.$ac_objext \
89172 conftest$ac_exeext conftest.$ac_ext
89174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89176 if test `eval echo '${'$as_ac_var'}'` = yes; then
89177 cat >>confdefs.h <<_ACEOF
89178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89179 _ACEOF
89182 done
89184 else
89185 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89186 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89187 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89188 echo $ECHO_N "(cached) $ECHO_C" >&6
89189 else
89193 ac_ext=cc
89194 ac_cpp='$CXXCPP $CPPFLAGS'
89195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89199 cat >conftest.$ac_ext <<_ACEOF
89200 /* confdefs.h. */
89201 _ACEOF
89202 cat confdefs.h >>conftest.$ac_ext
89203 cat >>conftest.$ac_ext <<_ACEOF
89204 /* end confdefs.h. */
89205 #include <math.h>
89207 main ()
89209 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89211 return 0;
89213 _ACEOF
89214 rm -f conftest.$ac_objext
89215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89216 (eval $ac_compile) 2>conftest.er1
89217 ac_status=$?
89218 grep -v '^ *+' conftest.er1 >conftest.err
89219 rm -f conftest.er1
89220 cat conftest.err >&5
89221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89222 (exit $ac_status); } &&
89223 { ac_try='test -z "$ac_cxx_werror_flag"
89224 || test ! -s conftest.err'
89225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89226 (eval $ac_try) 2>&5
89227 ac_status=$?
89228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89229 (exit $ac_status); }; } &&
89230 { ac_try='test -s conftest.$ac_objext'
89231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89232 (eval $ac_try) 2>&5
89233 ac_status=$?
89234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89235 (exit $ac_status); }; }; then
89236 glibcxx_cv_func__long_double_trig_use=yes
89237 else
89238 echo "$as_me: failed program was:" >&5
89239 sed 's/^/| /' conftest.$ac_ext >&5
89241 glibcxx_cv_func__long_double_trig_use=no
89243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89244 ac_ext=c
89245 ac_cpp='$CPP $CPPFLAGS'
89246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89253 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89254 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89264 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89267 echo "$as_me:$LINENO: checking for $ac_func" >&5
89268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89269 if eval "test \"\${$as_ac_var+set}\" = set"; then
89270 echo $ECHO_N "(cached) $ECHO_C" >&6
89271 else
89272 if test x$gcc_no_link = xyes; then
89273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89275 { (exit 1); exit 1; }; }
89277 cat >conftest.$ac_ext <<_ACEOF
89278 /* confdefs.h. */
89279 _ACEOF
89280 cat confdefs.h >>conftest.$ac_ext
89281 cat >>conftest.$ac_ext <<_ACEOF
89282 /* end confdefs.h. */
89283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89285 #define $ac_func innocuous_$ac_func
89287 /* System header to define __stub macros and hopefully few prototypes,
89288 which can conflict with char $ac_func (); below.
89289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89290 <limits.h> exists even on freestanding compilers. */
89292 #ifdef __STDC__
89293 # include <limits.h>
89294 #else
89295 # include <assert.h>
89296 #endif
89298 #undef $ac_func
89300 /* Override any gcc2 internal prototype to avoid an error. */
89301 #ifdef __cplusplus
89302 extern "C"
89304 #endif
89305 /* We use char because int might match the return type of a gcc2
89306 builtin and then its argument prototype would still apply. */
89307 char $ac_func ();
89308 /* The GNU C library defines this for functions which it implements
89309 to always fail with ENOSYS. Some functions are actually named
89310 something starting with __ and the normal name is an alias. */
89311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89312 choke me
89313 #else
89314 char (*f) () = $ac_func;
89315 #endif
89316 #ifdef __cplusplus
89318 #endif
89321 main ()
89323 return f != $ac_func;
89325 return 0;
89327 _ACEOF
89328 rm -f conftest.$ac_objext conftest$ac_exeext
89329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89330 (eval $ac_link) 2>conftest.er1
89331 ac_status=$?
89332 grep -v '^ *+' conftest.er1 >conftest.err
89333 rm -f conftest.er1
89334 cat conftest.err >&5
89335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89336 (exit $ac_status); } &&
89337 { ac_try='test -z "$ac_c_werror_flag"
89338 || test ! -s conftest.err'
89339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89340 (eval $ac_try) 2>&5
89341 ac_status=$?
89342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89343 (exit $ac_status); }; } &&
89344 { ac_try='test -s conftest$ac_exeext'
89345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89346 (eval $ac_try) 2>&5
89347 ac_status=$?
89348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89349 (exit $ac_status); }; }; then
89350 eval "$as_ac_var=yes"
89351 else
89352 echo "$as_me: failed program was:" >&5
89353 sed 's/^/| /' conftest.$ac_ext >&5
89355 eval "$as_ac_var=no"
89357 rm -f conftest.err conftest.$ac_objext \
89358 conftest$ac_exeext conftest.$ac_ext
89360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89362 if test `eval echo '${'$as_ac_var'}'` = yes; then
89363 cat >>confdefs.h <<_ACEOF
89364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89365 _ACEOF
89368 done
89386 echo "$as_me:$LINENO: checking for long double round functions" >&5
89387 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89388 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89389 echo $ECHO_N "(cached) $ECHO_C" >&6
89390 else
89394 ac_ext=cc
89395 ac_cpp='$CXXCPP $CPPFLAGS'
89396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89400 cat >conftest.$ac_ext <<_ACEOF
89401 /* confdefs.h. */
89402 _ACEOF
89403 cat confdefs.h >>conftest.$ac_ext
89404 cat >>conftest.$ac_ext <<_ACEOF
89405 /* end confdefs.h. */
89406 #include <math.h>
89408 main ()
89410 ceill (0); floorl (0);
89412 return 0;
89414 _ACEOF
89415 rm -f conftest.$ac_objext
89416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89417 (eval $ac_compile) 2>conftest.er1
89418 ac_status=$?
89419 grep -v '^ *+' conftest.er1 >conftest.err
89420 rm -f conftest.er1
89421 cat conftest.err >&5
89422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89423 (exit $ac_status); } &&
89424 { ac_try='test -z "$ac_cxx_werror_flag"
89425 || test ! -s conftest.err'
89426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89427 (eval $ac_try) 2>&5
89428 ac_status=$?
89429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89430 (exit $ac_status); }; } &&
89431 { ac_try='test -s conftest.$ac_objext'
89432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89433 (eval $ac_try) 2>&5
89434 ac_status=$?
89435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89436 (exit $ac_status); }; }; then
89437 glibcxx_cv_func_long_double_round_use=yes
89438 else
89439 echo "$as_me: failed program was:" >&5
89440 sed 's/^/| /' conftest.$ac_ext >&5
89442 glibcxx_cv_func_long_double_round_use=no
89444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89445 ac_ext=c
89446 ac_cpp='$CPP $CPPFLAGS'
89447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89454 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89455 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89458 for ac_func in ceill floorl
89460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89461 echo "$as_me:$LINENO: checking for $ac_func" >&5
89462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89463 if eval "test \"\${$as_ac_var+set}\" = set"; then
89464 echo $ECHO_N "(cached) $ECHO_C" >&6
89465 else
89466 if test x$gcc_no_link = xyes; then
89467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89469 { (exit 1); exit 1; }; }
89471 cat >conftest.$ac_ext <<_ACEOF
89472 /* confdefs.h. */
89473 _ACEOF
89474 cat confdefs.h >>conftest.$ac_ext
89475 cat >>conftest.$ac_ext <<_ACEOF
89476 /* end confdefs.h. */
89477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89479 #define $ac_func innocuous_$ac_func
89481 /* System header to define __stub macros and hopefully few prototypes,
89482 which can conflict with char $ac_func (); below.
89483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89484 <limits.h> exists even on freestanding compilers. */
89486 #ifdef __STDC__
89487 # include <limits.h>
89488 #else
89489 # include <assert.h>
89490 #endif
89492 #undef $ac_func
89494 /* Override any gcc2 internal prototype to avoid an error. */
89495 #ifdef __cplusplus
89496 extern "C"
89498 #endif
89499 /* We use char because int might match the return type of a gcc2
89500 builtin and then its argument prototype would still apply. */
89501 char $ac_func ();
89502 /* The GNU C library defines this for functions which it implements
89503 to always fail with ENOSYS. Some functions are actually named
89504 something starting with __ and the normal name is an alias. */
89505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89506 choke me
89507 #else
89508 char (*f) () = $ac_func;
89509 #endif
89510 #ifdef __cplusplus
89512 #endif
89515 main ()
89517 return f != $ac_func;
89519 return 0;
89521 _ACEOF
89522 rm -f conftest.$ac_objext conftest$ac_exeext
89523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89524 (eval $ac_link) 2>conftest.er1
89525 ac_status=$?
89526 grep -v '^ *+' conftest.er1 >conftest.err
89527 rm -f conftest.er1
89528 cat conftest.err >&5
89529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89530 (exit $ac_status); } &&
89531 { ac_try='test -z "$ac_c_werror_flag"
89532 || test ! -s conftest.err'
89533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89534 (eval $ac_try) 2>&5
89535 ac_status=$?
89536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89537 (exit $ac_status); }; } &&
89538 { ac_try='test -s conftest$ac_exeext'
89539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89540 (eval $ac_try) 2>&5
89541 ac_status=$?
89542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89543 (exit $ac_status); }; }; then
89544 eval "$as_ac_var=yes"
89545 else
89546 echo "$as_me: failed program was:" >&5
89547 sed 's/^/| /' conftest.$ac_ext >&5
89549 eval "$as_ac_var=no"
89551 rm -f conftest.err conftest.$ac_objext \
89552 conftest$ac_exeext conftest.$ac_ext
89554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89556 if test `eval echo '${'$as_ac_var'}'` = yes; then
89557 cat >>confdefs.h <<_ACEOF
89558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89559 _ACEOF
89562 done
89564 else
89565 echo "$as_me:$LINENO: checking for _long double round functions" >&5
89566 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89567 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89568 echo $ECHO_N "(cached) $ECHO_C" >&6
89569 else
89573 ac_ext=cc
89574 ac_cpp='$CXXCPP $CPPFLAGS'
89575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89579 cat >conftest.$ac_ext <<_ACEOF
89580 /* confdefs.h. */
89581 _ACEOF
89582 cat confdefs.h >>conftest.$ac_ext
89583 cat >>conftest.$ac_ext <<_ACEOF
89584 /* end confdefs.h. */
89585 #include <math.h>
89587 main ()
89589 _ceill (0); _floorl (0);
89591 return 0;
89593 _ACEOF
89594 rm -f conftest.$ac_objext
89595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89596 (eval $ac_compile) 2>conftest.er1
89597 ac_status=$?
89598 grep -v '^ *+' conftest.er1 >conftest.err
89599 rm -f conftest.er1
89600 cat conftest.err >&5
89601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89602 (exit $ac_status); } &&
89603 { ac_try='test -z "$ac_cxx_werror_flag"
89604 || test ! -s conftest.err'
89605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89606 (eval $ac_try) 2>&5
89607 ac_status=$?
89608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89609 (exit $ac_status); }; } &&
89610 { ac_try='test -s conftest.$ac_objext'
89611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89612 (eval $ac_try) 2>&5
89613 ac_status=$?
89614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89615 (exit $ac_status); }; }; then
89616 glibcxx_cv_func__long_double_round_use=yes
89617 else
89618 echo "$as_me: failed program was:" >&5
89619 sed 's/^/| /' conftest.$ac_ext >&5
89621 glibcxx_cv_func__long_double_round_use=no
89623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89624 ac_ext=c
89625 ac_cpp='$CPP $CPPFLAGS'
89626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89633 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89634 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89637 for ac_func in _ceill _floorl
89639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89640 echo "$as_me:$LINENO: checking for $ac_func" >&5
89641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89642 if eval "test \"\${$as_ac_var+set}\" = set"; then
89643 echo $ECHO_N "(cached) $ECHO_C" >&6
89644 else
89645 if test x$gcc_no_link = xyes; then
89646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89648 { (exit 1); exit 1; }; }
89650 cat >conftest.$ac_ext <<_ACEOF
89651 /* confdefs.h. */
89652 _ACEOF
89653 cat confdefs.h >>conftest.$ac_ext
89654 cat >>conftest.$ac_ext <<_ACEOF
89655 /* end confdefs.h. */
89656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89658 #define $ac_func innocuous_$ac_func
89660 /* System header to define __stub macros and hopefully few prototypes,
89661 which can conflict with char $ac_func (); below.
89662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89663 <limits.h> exists even on freestanding compilers. */
89665 #ifdef __STDC__
89666 # include <limits.h>
89667 #else
89668 # include <assert.h>
89669 #endif
89671 #undef $ac_func
89673 /* Override any gcc2 internal prototype to avoid an error. */
89674 #ifdef __cplusplus
89675 extern "C"
89677 #endif
89678 /* We use char because int might match the return type of a gcc2
89679 builtin and then its argument prototype would still apply. */
89680 char $ac_func ();
89681 /* The GNU C library defines this for functions which it implements
89682 to always fail with ENOSYS. Some functions are actually named
89683 something starting with __ and the normal name is an alias. */
89684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89685 choke me
89686 #else
89687 char (*f) () = $ac_func;
89688 #endif
89689 #ifdef __cplusplus
89691 #endif
89694 main ()
89696 return f != $ac_func;
89698 return 0;
89700 _ACEOF
89701 rm -f conftest.$ac_objext conftest$ac_exeext
89702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89703 (eval $ac_link) 2>conftest.er1
89704 ac_status=$?
89705 grep -v '^ *+' conftest.er1 >conftest.err
89706 rm -f conftest.er1
89707 cat conftest.err >&5
89708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89709 (exit $ac_status); } &&
89710 { ac_try='test -z "$ac_c_werror_flag"
89711 || test ! -s conftest.err'
89712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713 (eval $ac_try) 2>&5
89714 ac_status=$?
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); }; } &&
89717 { ac_try='test -s conftest$ac_exeext'
89718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89719 (eval $ac_try) 2>&5
89720 ac_status=$?
89721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89722 (exit $ac_status); }; }; then
89723 eval "$as_ac_var=yes"
89724 else
89725 echo "$as_me: failed program was:" >&5
89726 sed 's/^/| /' conftest.$ac_ext >&5
89728 eval "$as_ac_var=no"
89730 rm -f conftest.err conftest.$ac_objext \
89731 conftest$ac_exeext conftest.$ac_ext
89733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89735 if test `eval echo '${'$as_ac_var'}'` = yes; then
89736 cat >>confdefs.h <<_ACEOF
89737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89738 _ACEOF
89741 done
89753 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89754 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89755 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89756 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89757 echo $ECHO_N "(cached) $ECHO_C" >&6
89758 else
89762 ac_ext=cc
89763 ac_cpp='$CXXCPP $CPPFLAGS'
89764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89768 cat >conftest.$ac_ext <<_ACEOF
89769 /* confdefs.h. */
89770 _ACEOF
89771 cat confdefs.h >>conftest.$ac_ext
89772 cat >>conftest.$ac_ext <<_ACEOF
89773 /* end confdefs.h. */
89774 #include <math.h>
89775 #ifdef HAVE_IEEEFP_H
89776 #include <ieeefp.h>
89777 #endif
89780 main ()
89782 isnanl(0);
89784 return 0;
89786 _ACEOF
89787 rm -f conftest.$ac_objext
89788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89789 (eval $ac_compile) 2>conftest.er1
89790 ac_status=$?
89791 grep -v '^ *+' conftest.er1 >conftest.err
89792 rm -f conftest.er1
89793 cat conftest.err >&5
89794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89795 (exit $ac_status); } &&
89796 { ac_try='test -z "$ac_cxx_werror_flag"
89797 || test ! -s conftest.err'
89798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89799 (eval $ac_try) 2>&5
89800 ac_status=$?
89801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89802 (exit $ac_status); }; } &&
89803 { ac_try='test -s conftest.$ac_objext'
89804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89805 (eval $ac_try) 2>&5
89806 ac_status=$?
89807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89808 (exit $ac_status); }; }; then
89809 glibcxx_cv_func_isnanl_use=yes
89810 else
89811 echo "$as_me: failed program was:" >&5
89812 sed 's/^/| /' conftest.$ac_ext >&5
89814 glibcxx_cv_func_isnanl_use=no
89816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89817 ac_ext=c
89818 ac_cpp='$CPP $CPPFLAGS'
89819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89828 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89830 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89832 for ac_func in isnanl
89834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89835 echo "$as_me:$LINENO: checking for $ac_func" >&5
89836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89837 if eval "test \"\${$as_ac_var+set}\" = set"; then
89838 echo $ECHO_N "(cached) $ECHO_C" >&6
89839 else
89840 if test x$gcc_no_link = xyes; then
89841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89843 { (exit 1); exit 1; }; }
89845 cat >conftest.$ac_ext <<_ACEOF
89846 /* confdefs.h. */
89847 _ACEOF
89848 cat confdefs.h >>conftest.$ac_ext
89849 cat >>conftest.$ac_ext <<_ACEOF
89850 /* end confdefs.h. */
89851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89853 #define $ac_func innocuous_$ac_func
89855 /* System header to define __stub macros and hopefully few prototypes,
89856 which can conflict with char $ac_func (); below.
89857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89858 <limits.h> exists even on freestanding compilers. */
89860 #ifdef __STDC__
89861 # include <limits.h>
89862 #else
89863 # include <assert.h>
89864 #endif
89866 #undef $ac_func
89868 /* Override any gcc2 internal prototype to avoid an error. */
89869 #ifdef __cplusplus
89870 extern "C"
89872 #endif
89873 /* We use char because int might match the return type of a gcc2
89874 builtin and then its argument prototype would still apply. */
89875 char $ac_func ();
89876 /* The GNU C library defines this for functions which it implements
89877 to always fail with ENOSYS. Some functions are actually named
89878 something starting with __ and the normal name is an alias. */
89879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89880 choke me
89881 #else
89882 char (*f) () = $ac_func;
89883 #endif
89884 #ifdef __cplusplus
89886 #endif
89889 main ()
89891 return f != $ac_func;
89893 return 0;
89895 _ACEOF
89896 rm -f conftest.$ac_objext conftest$ac_exeext
89897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89898 (eval $ac_link) 2>conftest.er1
89899 ac_status=$?
89900 grep -v '^ *+' conftest.er1 >conftest.err
89901 rm -f conftest.er1
89902 cat conftest.err >&5
89903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89904 (exit $ac_status); } &&
89905 { ac_try='test -z "$ac_c_werror_flag"
89906 || test ! -s conftest.err'
89907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89908 (eval $ac_try) 2>&5
89909 ac_status=$?
89910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89911 (exit $ac_status); }; } &&
89912 { ac_try='test -s conftest$ac_exeext'
89913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89914 (eval $ac_try) 2>&5
89915 ac_status=$?
89916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89917 (exit $ac_status); }; }; then
89918 eval "$as_ac_var=yes"
89919 else
89920 echo "$as_me: failed program was:" >&5
89921 sed 's/^/| /' conftest.$ac_ext >&5
89923 eval "$as_ac_var=no"
89925 rm -f conftest.err conftest.$ac_objext \
89926 conftest$ac_exeext conftest.$ac_ext
89928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89930 if test `eval echo '${'$as_ac_var'}'` = yes; then
89931 cat >>confdefs.h <<_ACEOF
89932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89933 _ACEOF
89936 done
89938 else
89940 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89941 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89942 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89943 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89944 echo $ECHO_N "(cached) $ECHO_C" >&6
89945 else
89949 ac_ext=cc
89950 ac_cpp='$CXXCPP $CPPFLAGS'
89951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89955 cat >conftest.$ac_ext <<_ACEOF
89956 /* confdefs.h. */
89957 _ACEOF
89958 cat confdefs.h >>conftest.$ac_ext
89959 cat >>conftest.$ac_ext <<_ACEOF
89960 /* end confdefs.h. */
89961 #include <math.h>
89962 #ifdef HAVE_IEEEFP_H
89963 #include <ieeefp.h>
89964 #endif
89967 main ()
89969 _isnanl(0);
89971 return 0;
89973 _ACEOF
89974 rm -f conftest.$ac_objext
89975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89976 (eval $ac_compile) 2>conftest.er1
89977 ac_status=$?
89978 grep -v '^ *+' conftest.er1 >conftest.err
89979 rm -f conftest.er1
89980 cat conftest.err >&5
89981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89982 (exit $ac_status); } &&
89983 { ac_try='test -z "$ac_cxx_werror_flag"
89984 || test ! -s conftest.err'
89985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89986 (eval $ac_try) 2>&5
89987 ac_status=$?
89988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89989 (exit $ac_status); }; } &&
89990 { ac_try='test -s conftest.$ac_objext'
89991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89992 (eval $ac_try) 2>&5
89993 ac_status=$?
89994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89995 (exit $ac_status); }; }; then
89996 glibcxx_cv_func__isnanl_use=yes
89997 else
89998 echo "$as_me: failed program was:" >&5
89999 sed 's/^/| /' conftest.$ac_ext >&5
90001 glibcxx_cv_func__isnanl_use=no
90003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90004 ac_ext=c
90005 ac_cpp='$CPP $CPPFLAGS'
90006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90015 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90019 for ac_func in _isnanl
90021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90022 echo "$as_me:$LINENO: checking for $ac_func" >&5
90023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90024 if eval "test \"\${$as_ac_var+set}\" = set"; then
90025 echo $ECHO_N "(cached) $ECHO_C" >&6
90026 else
90027 if test x$gcc_no_link = xyes; then
90028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90030 { (exit 1); exit 1; }; }
90032 cat >conftest.$ac_ext <<_ACEOF
90033 /* confdefs.h. */
90034 _ACEOF
90035 cat confdefs.h >>conftest.$ac_ext
90036 cat >>conftest.$ac_ext <<_ACEOF
90037 /* end confdefs.h. */
90038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90040 #define $ac_func innocuous_$ac_func
90042 /* System header to define __stub macros and hopefully few prototypes,
90043 which can conflict with char $ac_func (); below.
90044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90045 <limits.h> exists even on freestanding compilers. */
90047 #ifdef __STDC__
90048 # include <limits.h>
90049 #else
90050 # include <assert.h>
90051 #endif
90053 #undef $ac_func
90055 /* Override any gcc2 internal prototype to avoid an error. */
90056 #ifdef __cplusplus
90057 extern "C"
90059 #endif
90060 /* We use char because int might match the return type of a gcc2
90061 builtin and then its argument prototype would still apply. */
90062 char $ac_func ();
90063 /* The GNU C library defines this for functions which it implements
90064 to always fail with ENOSYS. Some functions are actually named
90065 something starting with __ and the normal name is an alias. */
90066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90067 choke me
90068 #else
90069 char (*f) () = $ac_func;
90070 #endif
90071 #ifdef __cplusplus
90073 #endif
90076 main ()
90078 return f != $ac_func;
90080 return 0;
90082 _ACEOF
90083 rm -f conftest.$ac_objext conftest$ac_exeext
90084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90085 (eval $ac_link) 2>conftest.er1
90086 ac_status=$?
90087 grep -v '^ *+' conftest.er1 >conftest.err
90088 rm -f conftest.er1
90089 cat conftest.err >&5
90090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90091 (exit $ac_status); } &&
90092 { ac_try='test -z "$ac_c_werror_flag"
90093 || test ! -s conftest.err'
90094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90095 (eval $ac_try) 2>&5
90096 ac_status=$?
90097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90098 (exit $ac_status); }; } &&
90099 { ac_try='test -s conftest$ac_exeext'
90100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90101 (eval $ac_try) 2>&5
90102 ac_status=$?
90103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90104 (exit $ac_status); }; }; then
90105 eval "$as_ac_var=yes"
90106 else
90107 echo "$as_me: failed program was:" >&5
90108 sed 's/^/| /' conftest.$ac_ext >&5
90110 eval "$as_ac_var=no"
90112 rm -f conftest.err conftest.$ac_objext \
90113 conftest$ac_exeext conftest.$ac_ext
90115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90117 if test `eval echo '${'$as_ac_var'}'` = yes; then
90118 cat >>confdefs.h <<_ACEOF
90119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90120 _ACEOF
90123 done
90133 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90134 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90135 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90136 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90137 echo $ECHO_N "(cached) $ECHO_C" >&6
90138 else
90142 ac_ext=cc
90143 ac_cpp='$CXXCPP $CPPFLAGS'
90144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90148 cat >conftest.$ac_ext <<_ACEOF
90149 /* confdefs.h. */
90150 _ACEOF
90151 cat confdefs.h >>conftest.$ac_ext
90152 cat >>conftest.$ac_ext <<_ACEOF
90153 /* end confdefs.h. */
90154 #include <math.h>
90155 #ifdef HAVE_IEEEFP_H
90156 #include <ieeefp.h>
90157 #endif
90160 main ()
90162 isinfl(0);
90164 return 0;
90166 _ACEOF
90167 rm -f conftest.$ac_objext
90168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90169 (eval $ac_compile) 2>conftest.er1
90170 ac_status=$?
90171 grep -v '^ *+' conftest.er1 >conftest.err
90172 rm -f conftest.er1
90173 cat conftest.err >&5
90174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175 (exit $ac_status); } &&
90176 { ac_try='test -z "$ac_cxx_werror_flag"
90177 || test ! -s conftest.err'
90178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90179 (eval $ac_try) 2>&5
90180 ac_status=$?
90181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90182 (exit $ac_status); }; } &&
90183 { ac_try='test -s conftest.$ac_objext'
90184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90185 (eval $ac_try) 2>&5
90186 ac_status=$?
90187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188 (exit $ac_status); }; }; then
90189 glibcxx_cv_func_isinfl_use=yes
90190 else
90191 echo "$as_me: failed program was:" >&5
90192 sed 's/^/| /' conftest.$ac_ext >&5
90194 glibcxx_cv_func_isinfl_use=no
90196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90197 ac_ext=c
90198 ac_cpp='$CPP $CPPFLAGS'
90199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90208 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90210 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90212 for ac_func in isinfl
90214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90215 echo "$as_me:$LINENO: checking for $ac_func" >&5
90216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90217 if eval "test \"\${$as_ac_var+set}\" = set"; then
90218 echo $ECHO_N "(cached) $ECHO_C" >&6
90219 else
90220 if test x$gcc_no_link = xyes; then
90221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90223 { (exit 1); exit 1; }; }
90225 cat >conftest.$ac_ext <<_ACEOF
90226 /* confdefs.h. */
90227 _ACEOF
90228 cat confdefs.h >>conftest.$ac_ext
90229 cat >>conftest.$ac_ext <<_ACEOF
90230 /* end confdefs.h. */
90231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90233 #define $ac_func innocuous_$ac_func
90235 /* System header to define __stub macros and hopefully few prototypes,
90236 which can conflict with char $ac_func (); below.
90237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90238 <limits.h> exists even on freestanding compilers. */
90240 #ifdef __STDC__
90241 # include <limits.h>
90242 #else
90243 # include <assert.h>
90244 #endif
90246 #undef $ac_func
90248 /* Override any gcc2 internal prototype to avoid an error. */
90249 #ifdef __cplusplus
90250 extern "C"
90252 #endif
90253 /* We use char because int might match the return type of a gcc2
90254 builtin and then its argument prototype would still apply. */
90255 char $ac_func ();
90256 /* The GNU C library defines this for functions which it implements
90257 to always fail with ENOSYS. Some functions are actually named
90258 something starting with __ and the normal name is an alias. */
90259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90260 choke me
90261 #else
90262 char (*f) () = $ac_func;
90263 #endif
90264 #ifdef __cplusplus
90266 #endif
90269 main ()
90271 return f != $ac_func;
90273 return 0;
90275 _ACEOF
90276 rm -f conftest.$ac_objext conftest$ac_exeext
90277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90278 (eval $ac_link) 2>conftest.er1
90279 ac_status=$?
90280 grep -v '^ *+' conftest.er1 >conftest.err
90281 rm -f conftest.er1
90282 cat conftest.err >&5
90283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90284 (exit $ac_status); } &&
90285 { ac_try='test -z "$ac_c_werror_flag"
90286 || test ! -s conftest.err'
90287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90288 (eval $ac_try) 2>&5
90289 ac_status=$?
90290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90291 (exit $ac_status); }; } &&
90292 { ac_try='test -s conftest$ac_exeext'
90293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90294 (eval $ac_try) 2>&5
90295 ac_status=$?
90296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90297 (exit $ac_status); }; }; then
90298 eval "$as_ac_var=yes"
90299 else
90300 echo "$as_me: failed program was:" >&5
90301 sed 's/^/| /' conftest.$ac_ext >&5
90303 eval "$as_ac_var=no"
90305 rm -f conftest.err conftest.$ac_objext \
90306 conftest$ac_exeext conftest.$ac_ext
90308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90310 if test `eval echo '${'$as_ac_var'}'` = yes; then
90311 cat >>confdefs.h <<_ACEOF
90312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90313 _ACEOF
90316 done
90318 else
90320 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90321 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90322 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90323 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90324 echo $ECHO_N "(cached) $ECHO_C" >&6
90325 else
90329 ac_ext=cc
90330 ac_cpp='$CXXCPP $CPPFLAGS'
90331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90335 cat >conftest.$ac_ext <<_ACEOF
90336 /* confdefs.h. */
90337 _ACEOF
90338 cat confdefs.h >>conftest.$ac_ext
90339 cat >>conftest.$ac_ext <<_ACEOF
90340 /* end confdefs.h. */
90341 #include <math.h>
90342 #ifdef HAVE_IEEEFP_H
90343 #include <ieeefp.h>
90344 #endif
90347 main ()
90349 _isinfl(0);
90351 return 0;
90353 _ACEOF
90354 rm -f conftest.$ac_objext
90355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90356 (eval $ac_compile) 2>conftest.er1
90357 ac_status=$?
90358 grep -v '^ *+' conftest.er1 >conftest.err
90359 rm -f conftest.er1
90360 cat conftest.err >&5
90361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362 (exit $ac_status); } &&
90363 { ac_try='test -z "$ac_cxx_werror_flag"
90364 || test ! -s conftest.err'
90365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90366 (eval $ac_try) 2>&5
90367 ac_status=$?
90368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369 (exit $ac_status); }; } &&
90370 { ac_try='test -s conftest.$ac_objext'
90371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90372 (eval $ac_try) 2>&5
90373 ac_status=$?
90374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90375 (exit $ac_status); }; }; then
90376 glibcxx_cv_func__isinfl_use=yes
90377 else
90378 echo "$as_me: failed program was:" >&5
90379 sed 's/^/| /' conftest.$ac_ext >&5
90381 glibcxx_cv_func__isinfl_use=no
90383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90384 ac_ext=c
90385 ac_cpp='$CPP $CPPFLAGS'
90386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90395 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90397 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90399 for ac_func in _isinfl
90401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90402 echo "$as_me:$LINENO: checking for $ac_func" >&5
90403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90404 if eval "test \"\${$as_ac_var+set}\" = set"; then
90405 echo $ECHO_N "(cached) $ECHO_C" >&6
90406 else
90407 if test x$gcc_no_link = xyes; then
90408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90410 { (exit 1); exit 1; }; }
90412 cat >conftest.$ac_ext <<_ACEOF
90413 /* confdefs.h. */
90414 _ACEOF
90415 cat confdefs.h >>conftest.$ac_ext
90416 cat >>conftest.$ac_ext <<_ACEOF
90417 /* end confdefs.h. */
90418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90420 #define $ac_func innocuous_$ac_func
90422 /* System header to define __stub macros and hopefully few prototypes,
90423 which can conflict with char $ac_func (); below.
90424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90425 <limits.h> exists even on freestanding compilers. */
90427 #ifdef __STDC__
90428 # include <limits.h>
90429 #else
90430 # include <assert.h>
90431 #endif
90433 #undef $ac_func
90435 /* Override any gcc2 internal prototype to avoid an error. */
90436 #ifdef __cplusplus
90437 extern "C"
90439 #endif
90440 /* We use char because int might match the return type of a gcc2
90441 builtin and then its argument prototype would still apply. */
90442 char $ac_func ();
90443 /* The GNU C library defines this for functions which it implements
90444 to always fail with ENOSYS. Some functions are actually named
90445 something starting with __ and the normal name is an alias. */
90446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90447 choke me
90448 #else
90449 char (*f) () = $ac_func;
90450 #endif
90451 #ifdef __cplusplus
90453 #endif
90456 main ()
90458 return f != $ac_func;
90460 return 0;
90462 _ACEOF
90463 rm -f conftest.$ac_objext conftest$ac_exeext
90464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90465 (eval $ac_link) 2>conftest.er1
90466 ac_status=$?
90467 grep -v '^ *+' conftest.er1 >conftest.err
90468 rm -f conftest.er1
90469 cat conftest.err >&5
90470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90471 (exit $ac_status); } &&
90472 { ac_try='test -z "$ac_c_werror_flag"
90473 || test ! -s conftest.err'
90474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90475 (eval $ac_try) 2>&5
90476 ac_status=$?
90477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90478 (exit $ac_status); }; } &&
90479 { ac_try='test -s conftest$ac_exeext'
90480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90481 (eval $ac_try) 2>&5
90482 ac_status=$?
90483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90484 (exit $ac_status); }; }; then
90485 eval "$as_ac_var=yes"
90486 else
90487 echo "$as_me: failed program was:" >&5
90488 sed 's/^/| /' conftest.$ac_ext >&5
90490 eval "$as_ac_var=no"
90492 rm -f conftest.err conftest.$ac_objext \
90493 conftest$ac_exeext conftest.$ac_ext
90495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90497 if test `eval echo '${'$as_ac_var'}'` = yes; then
90498 cat >>confdefs.h <<_ACEOF
90499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90500 _ACEOF
90503 done
90513 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90514 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90515 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90516 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90517 echo $ECHO_N "(cached) $ECHO_C" >&6
90518 else
90522 ac_ext=cc
90523 ac_cpp='$CXXCPP $CPPFLAGS'
90524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90528 cat >conftest.$ac_ext <<_ACEOF
90529 /* confdefs.h. */
90530 _ACEOF
90531 cat confdefs.h >>conftest.$ac_ext
90532 cat >>conftest.$ac_ext <<_ACEOF
90533 /* end confdefs.h. */
90534 #include <math.h>
90536 main ()
90538 copysignl(0, 0);
90540 return 0;
90542 _ACEOF
90543 rm -f conftest.$ac_objext
90544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90545 (eval $ac_compile) 2>conftest.er1
90546 ac_status=$?
90547 grep -v '^ *+' conftest.er1 >conftest.err
90548 rm -f conftest.er1
90549 cat conftest.err >&5
90550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90551 (exit $ac_status); } &&
90552 { ac_try='test -z "$ac_cxx_werror_flag"
90553 || test ! -s conftest.err'
90554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90555 (eval $ac_try) 2>&5
90556 ac_status=$?
90557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558 (exit $ac_status); }; } &&
90559 { ac_try='test -s conftest.$ac_objext'
90560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90561 (eval $ac_try) 2>&5
90562 ac_status=$?
90563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90564 (exit $ac_status); }; }; then
90565 glibcxx_cv_func_copysignl_use=yes
90566 else
90567 echo "$as_me: failed program was:" >&5
90568 sed 's/^/| /' conftest.$ac_ext >&5
90570 glibcxx_cv_func_copysignl_use=no
90572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90573 ac_ext=c
90574 ac_cpp='$CPP $CPPFLAGS'
90575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90584 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90586 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90588 for ac_func in copysignl
90590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90591 echo "$as_me:$LINENO: checking for $ac_func" >&5
90592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90593 if eval "test \"\${$as_ac_var+set}\" = set"; then
90594 echo $ECHO_N "(cached) $ECHO_C" >&6
90595 else
90596 if test x$gcc_no_link = xyes; then
90597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90599 { (exit 1); exit 1; }; }
90601 cat >conftest.$ac_ext <<_ACEOF
90602 /* confdefs.h. */
90603 _ACEOF
90604 cat confdefs.h >>conftest.$ac_ext
90605 cat >>conftest.$ac_ext <<_ACEOF
90606 /* end confdefs.h. */
90607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90609 #define $ac_func innocuous_$ac_func
90611 /* System header to define __stub macros and hopefully few prototypes,
90612 which can conflict with char $ac_func (); below.
90613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90614 <limits.h> exists even on freestanding compilers. */
90616 #ifdef __STDC__
90617 # include <limits.h>
90618 #else
90619 # include <assert.h>
90620 #endif
90622 #undef $ac_func
90624 /* Override any gcc2 internal prototype to avoid an error. */
90625 #ifdef __cplusplus
90626 extern "C"
90628 #endif
90629 /* We use char because int might match the return type of a gcc2
90630 builtin and then its argument prototype would still apply. */
90631 char $ac_func ();
90632 /* The GNU C library defines this for functions which it implements
90633 to always fail with ENOSYS. Some functions are actually named
90634 something starting with __ and the normal name is an alias. */
90635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90636 choke me
90637 #else
90638 char (*f) () = $ac_func;
90639 #endif
90640 #ifdef __cplusplus
90642 #endif
90645 main ()
90647 return f != $ac_func;
90649 return 0;
90651 _ACEOF
90652 rm -f conftest.$ac_objext conftest$ac_exeext
90653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90654 (eval $ac_link) 2>conftest.er1
90655 ac_status=$?
90656 grep -v '^ *+' conftest.er1 >conftest.err
90657 rm -f conftest.er1
90658 cat conftest.err >&5
90659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90660 (exit $ac_status); } &&
90661 { ac_try='test -z "$ac_c_werror_flag"
90662 || test ! -s conftest.err'
90663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90664 (eval $ac_try) 2>&5
90665 ac_status=$?
90666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90667 (exit $ac_status); }; } &&
90668 { ac_try='test -s conftest$ac_exeext'
90669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90670 (eval $ac_try) 2>&5
90671 ac_status=$?
90672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90673 (exit $ac_status); }; }; then
90674 eval "$as_ac_var=yes"
90675 else
90676 echo "$as_me: failed program was:" >&5
90677 sed 's/^/| /' conftest.$ac_ext >&5
90679 eval "$as_ac_var=no"
90681 rm -f conftest.err conftest.$ac_objext \
90682 conftest$ac_exeext conftest.$ac_ext
90684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90686 if test `eval echo '${'$as_ac_var'}'` = yes; then
90687 cat >>confdefs.h <<_ACEOF
90688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90689 _ACEOF
90692 done
90694 else
90696 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90697 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90698 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90699 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90700 echo $ECHO_N "(cached) $ECHO_C" >&6
90701 else
90705 ac_ext=cc
90706 ac_cpp='$CXXCPP $CPPFLAGS'
90707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90711 cat >conftest.$ac_ext <<_ACEOF
90712 /* confdefs.h. */
90713 _ACEOF
90714 cat confdefs.h >>conftest.$ac_ext
90715 cat >>conftest.$ac_ext <<_ACEOF
90716 /* end confdefs.h. */
90717 #include <math.h>
90719 main ()
90721 _copysignl(0, 0);
90723 return 0;
90725 _ACEOF
90726 rm -f conftest.$ac_objext
90727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90728 (eval $ac_compile) 2>conftest.er1
90729 ac_status=$?
90730 grep -v '^ *+' conftest.er1 >conftest.err
90731 rm -f conftest.er1
90732 cat conftest.err >&5
90733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90734 (exit $ac_status); } &&
90735 { ac_try='test -z "$ac_cxx_werror_flag"
90736 || test ! -s conftest.err'
90737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90738 (eval $ac_try) 2>&5
90739 ac_status=$?
90740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90741 (exit $ac_status); }; } &&
90742 { ac_try='test -s conftest.$ac_objext'
90743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90744 (eval $ac_try) 2>&5
90745 ac_status=$?
90746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90747 (exit $ac_status); }; }; then
90748 glibcxx_cv_func__copysignl_use=yes
90749 else
90750 echo "$as_me: failed program was:" >&5
90751 sed 's/^/| /' conftest.$ac_ext >&5
90753 glibcxx_cv_func__copysignl_use=no
90755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90756 ac_ext=c
90757 ac_cpp='$CPP $CPPFLAGS'
90758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90767 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90769 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90771 for ac_func in _copysignl
90773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90774 echo "$as_me:$LINENO: checking for $ac_func" >&5
90775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90776 if eval "test \"\${$as_ac_var+set}\" = set"; then
90777 echo $ECHO_N "(cached) $ECHO_C" >&6
90778 else
90779 if test x$gcc_no_link = xyes; then
90780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90782 { (exit 1); exit 1; }; }
90784 cat >conftest.$ac_ext <<_ACEOF
90785 /* confdefs.h. */
90786 _ACEOF
90787 cat confdefs.h >>conftest.$ac_ext
90788 cat >>conftest.$ac_ext <<_ACEOF
90789 /* end confdefs.h. */
90790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90792 #define $ac_func innocuous_$ac_func
90794 /* System header to define __stub macros and hopefully few prototypes,
90795 which can conflict with char $ac_func (); below.
90796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90797 <limits.h> exists even on freestanding compilers. */
90799 #ifdef __STDC__
90800 # include <limits.h>
90801 #else
90802 # include <assert.h>
90803 #endif
90805 #undef $ac_func
90807 /* Override any gcc2 internal prototype to avoid an error. */
90808 #ifdef __cplusplus
90809 extern "C"
90811 #endif
90812 /* We use char because int might match the return type of a gcc2
90813 builtin and then its argument prototype would still apply. */
90814 char $ac_func ();
90815 /* The GNU C library defines this for functions which it implements
90816 to always fail with ENOSYS. Some functions are actually named
90817 something starting with __ and the normal name is an alias. */
90818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90819 choke me
90820 #else
90821 char (*f) () = $ac_func;
90822 #endif
90823 #ifdef __cplusplus
90825 #endif
90828 main ()
90830 return f != $ac_func;
90832 return 0;
90834 _ACEOF
90835 rm -f conftest.$ac_objext conftest$ac_exeext
90836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90837 (eval $ac_link) 2>conftest.er1
90838 ac_status=$?
90839 grep -v '^ *+' conftest.er1 >conftest.err
90840 rm -f conftest.er1
90841 cat conftest.err >&5
90842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90843 (exit $ac_status); } &&
90844 { ac_try='test -z "$ac_c_werror_flag"
90845 || test ! -s conftest.err'
90846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90847 (eval $ac_try) 2>&5
90848 ac_status=$?
90849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90850 (exit $ac_status); }; } &&
90851 { ac_try='test -s conftest$ac_exeext'
90852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90853 (eval $ac_try) 2>&5
90854 ac_status=$?
90855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90856 (exit $ac_status); }; }; then
90857 eval "$as_ac_var=yes"
90858 else
90859 echo "$as_me: failed program was:" >&5
90860 sed 's/^/| /' conftest.$ac_ext >&5
90862 eval "$as_ac_var=no"
90864 rm -f conftest.err conftest.$ac_objext \
90865 conftest$ac_exeext conftest.$ac_ext
90867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90869 if test `eval echo '${'$as_ac_var'}'` = yes; then
90870 cat >>confdefs.h <<_ACEOF
90871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90872 _ACEOF
90875 done
90885 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90886 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90887 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90888 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90889 echo $ECHO_N "(cached) $ECHO_C" >&6
90890 else
90894 ac_ext=cc
90895 ac_cpp='$CXXCPP $CPPFLAGS'
90896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90900 cat >conftest.$ac_ext <<_ACEOF
90901 /* confdefs.h. */
90902 _ACEOF
90903 cat confdefs.h >>conftest.$ac_ext
90904 cat >>conftest.$ac_ext <<_ACEOF
90905 /* end confdefs.h. */
90906 #include <math.h>
90908 main ()
90910 atan2l(0, 0);
90912 return 0;
90914 _ACEOF
90915 rm -f conftest.$ac_objext
90916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90917 (eval $ac_compile) 2>conftest.er1
90918 ac_status=$?
90919 grep -v '^ *+' conftest.er1 >conftest.err
90920 rm -f conftest.er1
90921 cat conftest.err >&5
90922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90923 (exit $ac_status); } &&
90924 { ac_try='test -z "$ac_cxx_werror_flag"
90925 || test ! -s conftest.err'
90926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90927 (eval $ac_try) 2>&5
90928 ac_status=$?
90929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930 (exit $ac_status); }; } &&
90931 { ac_try='test -s conftest.$ac_objext'
90932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90933 (eval $ac_try) 2>&5
90934 ac_status=$?
90935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936 (exit $ac_status); }; }; then
90937 glibcxx_cv_func_atan2l_use=yes
90938 else
90939 echo "$as_me: failed program was:" >&5
90940 sed 's/^/| /' conftest.$ac_ext >&5
90942 glibcxx_cv_func_atan2l_use=no
90944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90945 ac_ext=c
90946 ac_cpp='$CPP $CPPFLAGS'
90947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90956 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90958 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90960 for ac_func in atan2l
90962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90963 echo "$as_me:$LINENO: checking for $ac_func" >&5
90964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90965 if eval "test \"\${$as_ac_var+set}\" = set"; then
90966 echo $ECHO_N "(cached) $ECHO_C" >&6
90967 else
90968 if test x$gcc_no_link = xyes; then
90969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90971 { (exit 1); exit 1; }; }
90973 cat >conftest.$ac_ext <<_ACEOF
90974 /* confdefs.h. */
90975 _ACEOF
90976 cat confdefs.h >>conftest.$ac_ext
90977 cat >>conftest.$ac_ext <<_ACEOF
90978 /* end confdefs.h. */
90979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90981 #define $ac_func innocuous_$ac_func
90983 /* System header to define __stub macros and hopefully few prototypes,
90984 which can conflict with char $ac_func (); below.
90985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90986 <limits.h> exists even on freestanding compilers. */
90988 #ifdef __STDC__
90989 # include <limits.h>
90990 #else
90991 # include <assert.h>
90992 #endif
90994 #undef $ac_func
90996 /* Override any gcc2 internal prototype to avoid an error. */
90997 #ifdef __cplusplus
90998 extern "C"
91000 #endif
91001 /* We use char because int might match the return type of a gcc2
91002 builtin and then its argument prototype would still apply. */
91003 char $ac_func ();
91004 /* The GNU C library defines this for functions which it implements
91005 to always fail with ENOSYS. Some functions are actually named
91006 something starting with __ and the normal name is an alias. */
91007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91008 choke me
91009 #else
91010 char (*f) () = $ac_func;
91011 #endif
91012 #ifdef __cplusplus
91014 #endif
91017 main ()
91019 return f != $ac_func;
91021 return 0;
91023 _ACEOF
91024 rm -f conftest.$ac_objext conftest$ac_exeext
91025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91026 (eval $ac_link) 2>conftest.er1
91027 ac_status=$?
91028 grep -v '^ *+' conftest.er1 >conftest.err
91029 rm -f conftest.er1
91030 cat conftest.err >&5
91031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91032 (exit $ac_status); } &&
91033 { ac_try='test -z "$ac_c_werror_flag"
91034 || test ! -s conftest.err'
91035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91036 (eval $ac_try) 2>&5
91037 ac_status=$?
91038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91039 (exit $ac_status); }; } &&
91040 { ac_try='test -s conftest$ac_exeext'
91041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91042 (eval $ac_try) 2>&5
91043 ac_status=$?
91044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91045 (exit $ac_status); }; }; then
91046 eval "$as_ac_var=yes"
91047 else
91048 echo "$as_me: failed program was:" >&5
91049 sed 's/^/| /' conftest.$ac_ext >&5
91051 eval "$as_ac_var=no"
91053 rm -f conftest.err conftest.$ac_objext \
91054 conftest$ac_exeext conftest.$ac_ext
91056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91058 if test `eval echo '${'$as_ac_var'}'` = yes; then
91059 cat >>confdefs.h <<_ACEOF
91060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91061 _ACEOF
91064 done
91066 else
91068 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91069 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91070 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91071 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91072 echo $ECHO_N "(cached) $ECHO_C" >&6
91073 else
91077 ac_ext=cc
91078 ac_cpp='$CXXCPP $CPPFLAGS'
91079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91083 cat >conftest.$ac_ext <<_ACEOF
91084 /* confdefs.h. */
91085 _ACEOF
91086 cat confdefs.h >>conftest.$ac_ext
91087 cat >>conftest.$ac_ext <<_ACEOF
91088 /* end confdefs.h. */
91089 #include <math.h>
91091 main ()
91093 _atan2l(0, 0);
91095 return 0;
91097 _ACEOF
91098 rm -f conftest.$ac_objext
91099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91100 (eval $ac_compile) 2>conftest.er1
91101 ac_status=$?
91102 grep -v '^ *+' conftest.er1 >conftest.err
91103 rm -f conftest.er1
91104 cat conftest.err >&5
91105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91106 (exit $ac_status); } &&
91107 { ac_try='test -z "$ac_cxx_werror_flag"
91108 || test ! -s conftest.err'
91109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91110 (eval $ac_try) 2>&5
91111 ac_status=$?
91112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91113 (exit $ac_status); }; } &&
91114 { ac_try='test -s conftest.$ac_objext'
91115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91116 (eval $ac_try) 2>&5
91117 ac_status=$?
91118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91119 (exit $ac_status); }; }; then
91120 glibcxx_cv_func__atan2l_use=yes
91121 else
91122 echo "$as_me: failed program was:" >&5
91123 sed 's/^/| /' conftest.$ac_ext >&5
91125 glibcxx_cv_func__atan2l_use=no
91127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91128 ac_ext=c
91129 ac_cpp='$CPP $CPPFLAGS'
91130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91139 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91141 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91143 for ac_func in _atan2l
91145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91146 echo "$as_me:$LINENO: checking for $ac_func" >&5
91147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91148 if eval "test \"\${$as_ac_var+set}\" = set"; then
91149 echo $ECHO_N "(cached) $ECHO_C" >&6
91150 else
91151 if test x$gcc_no_link = xyes; then
91152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91154 { (exit 1); exit 1; }; }
91156 cat >conftest.$ac_ext <<_ACEOF
91157 /* confdefs.h. */
91158 _ACEOF
91159 cat confdefs.h >>conftest.$ac_ext
91160 cat >>conftest.$ac_ext <<_ACEOF
91161 /* end confdefs.h. */
91162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91164 #define $ac_func innocuous_$ac_func
91166 /* System header to define __stub macros and hopefully few prototypes,
91167 which can conflict with char $ac_func (); below.
91168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91169 <limits.h> exists even on freestanding compilers. */
91171 #ifdef __STDC__
91172 # include <limits.h>
91173 #else
91174 # include <assert.h>
91175 #endif
91177 #undef $ac_func
91179 /* Override any gcc2 internal prototype to avoid an error. */
91180 #ifdef __cplusplus
91181 extern "C"
91183 #endif
91184 /* We use char because int might match the return type of a gcc2
91185 builtin and then its argument prototype would still apply. */
91186 char $ac_func ();
91187 /* The GNU C library defines this for functions which it implements
91188 to always fail with ENOSYS. Some functions are actually named
91189 something starting with __ and the normal name is an alias. */
91190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91191 choke me
91192 #else
91193 char (*f) () = $ac_func;
91194 #endif
91195 #ifdef __cplusplus
91197 #endif
91200 main ()
91202 return f != $ac_func;
91204 return 0;
91206 _ACEOF
91207 rm -f conftest.$ac_objext conftest$ac_exeext
91208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91209 (eval $ac_link) 2>conftest.er1
91210 ac_status=$?
91211 grep -v '^ *+' conftest.er1 >conftest.err
91212 rm -f conftest.er1
91213 cat conftest.err >&5
91214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91215 (exit $ac_status); } &&
91216 { ac_try='test -z "$ac_c_werror_flag"
91217 || test ! -s conftest.err'
91218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91219 (eval $ac_try) 2>&5
91220 ac_status=$?
91221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222 (exit $ac_status); }; } &&
91223 { ac_try='test -s conftest$ac_exeext'
91224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91225 (eval $ac_try) 2>&5
91226 ac_status=$?
91227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91228 (exit $ac_status); }; }; then
91229 eval "$as_ac_var=yes"
91230 else
91231 echo "$as_me: failed program was:" >&5
91232 sed 's/^/| /' conftest.$ac_ext >&5
91234 eval "$as_ac_var=no"
91236 rm -f conftest.err conftest.$ac_objext \
91237 conftest$ac_exeext conftest.$ac_ext
91239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91241 if test `eval echo '${'$as_ac_var'}'` = yes; then
91242 cat >>confdefs.h <<_ACEOF
91243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91244 _ACEOF
91247 done
91257 echo "$as_me:$LINENO: checking for expl declaration" >&5
91258 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91259 if test x${glibcxx_cv_func_expl_use+set} != xset; then
91260 if test "${glibcxx_cv_func_expl_use+set}" = set; then
91261 echo $ECHO_N "(cached) $ECHO_C" >&6
91262 else
91266 ac_ext=cc
91267 ac_cpp='$CXXCPP $CPPFLAGS'
91268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91272 cat >conftest.$ac_ext <<_ACEOF
91273 /* confdefs.h. */
91274 _ACEOF
91275 cat confdefs.h >>conftest.$ac_ext
91276 cat >>conftest.$ac_ext <<_ACEOF
91277 /* end confdefs.h. */
91278 #include <math.h>
91279 #ifdef HAVE_IEEEFP_H
91280 #include <ieeefp.h>
91281 #endif
91284 main ()
91286 expl(0);
91288 return 0;
91290 _ACEOF
91291 rm -f conftest.$ac_objext
91292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91293 (eval $ac_compile) 2>conftest.er1
91294 ac_status=$?
91295 grep -v '^ *+' conftest.er1 >conftest.err
91296 rm -f conftest.er1
91297 cat conftest.err >&5
91298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91299 (exit $ac_status); } &&
91300 { ac_try='test -z "$ac_cxx_werror_flag"
91301 || test ! -s conftest.err'
91302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303 (eval $ac_try) 2>&5
91304 ac_status=$?
91305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306 (exit $ac_status); }; } &&
91307 { ac_try='test -s conftest.$ac_objext'
91308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91309 (eval $ac_try) 2>&5
91310 ac_status=$?
91311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91312 (exit $ac_status); }; }; then
91313 glibcxx_cv_func_expl_use=yes
91314 else
91315 echo "$as_me: failed program was:" >&5
91316 sed 's/^/| /' conftest.$ac_ext >&5
91318 glibcxx_cv_func_expl_use=no
91320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91321 ac_ext=c
91322 ac_cpp='$CPP $CPPFLAGS'
91323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91332 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
91336 for ac_func in expl
91338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91339 echo "$as_me:$LINENO: checking for $ac_func" >&5
91340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91341 if eval "test \"\${$as_ac_var+set}\" = set"; then
91342 echo $ECHO_N "(cached) $ECHO_C" >&6
91343 else
91344 if test x$gcc_no_link = xyes; then
91345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91347 { (exit 1); exit 1; }; }
91349 cat >conftest.$ac_ext <<_ACEOF
91350 /* confdefs.h. */
91351 _ACEOF
91352 cat confdefs.h >>conftest.$ac_ext
91353 cat >>conftest.$ac_ext <<_ACEOF
91354 /* end confdefs.h. */
91355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91357 #define $ac_func innocuous_$ac_func
91359 /* System header to define __stub macros and hopefully few prototypes,
91360 which can conflict with char $ac_func (); below.
91361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91362 <limits.h> exists even on freestanding compilers. */
91364 #ifdef __STDC__
91365 # include <limits.h>
91366 #else
91367 # include <assert.h>
91368 #endif
91370 #undef $ac_func
91372 /* Override any gcc2 internal prototype to avoid an error. */
91373 #ifdef __cplusplus
91374 extern "C"
91376 #endif
91377 /* We use char because int might match the return type of a gcc2
91378 builtin and then its argument prototype would still apply. */
91379 char $ac_func ();
91380 /* The GNU C library defines this for functions which it implements
91381 to always fail with ENOSYS. Some functions are actually named
91382 something starting with __ and the normal name is an alias. */
91383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91384 choke me
91385 #else
91386 char (*f) () = $ac_func;
91387 #endif
91388 #ifdef __cplusplus
91390 #endif
91393 main ()
91395 return f != $ac_func;
91397 return 0;
91399 _ACEOF
91400 rm -f conftest.$ac_objext conftest$ac_exeext
91401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91402 (eval $ac_link) 2>conftest.er1
91403 ac_status=$?
91404 grep -v '^ *+' conftest.er1 >conftest.err
91405 rm -f conftest.er1
91406 cat conftest.err >&5
91407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408 (exit $ac_status); } &&
91409 { ac_try='test -z "$ac_c_werror_flag"
91410 || test ! -s conftest.err'
91411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91412 (eval $ac_try) 2>&5
91413 ac_status=$?
91414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91415 (exit $ac_status); }; } &&
91416 { ac_try='test -s conftest$ac_exeext'
91417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91418 (eval $ac_try) 2>&5
91419 ac_status=$?
91420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91421 (exit $ac_status); }; }; then
91422 eval "$as_ac_var=yes"
91423 else
91424 echo "$as_me: failed program was:" >&5
91425 sed 's/^/| /' conftest.$ac_ext >&5
91427 eval "$as_ac_var=no"
91429 rm -f conftest.err conftest.$ac_objext \
91430 conftest$ac_exeext conftest.$ac_ext
91432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91434 if test `eval echo '${'$as_ac_var'}'` = yes; then
91435 cat >>confdefs.h <<_ACEOF
91436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91437 _ACEOF
91440 done
91442 else
91444 echo "$as_me:$LINENO: checking for _expl declaration" >&5
91445 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91446 if test x${glibcxx_cv_func__expl_use+set} != xset; then
91447 if test "${glibcxx_cv_func__expl_use+set}" = set; then
91448 echo $ECHO_N "(cached) $ECHO_C" >&6
91449 else
91453 ac_ext=cc
91454 ac_cpp='$CXXCPP $CPPFLAGS'
91455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91459 cat >conftest.$ac_ext <<_ACEOF
91460 /* confdefs.h. */
91461 _ACEOF
91462 cat confdefs.h >>conftest.$ac_ext
91463 cat >>conftest.$ac_ext <<_ACEOF
91464 /* end confdefs.h. */
91465 #include <math.h>
91466 #ifdef HAVE_IEEEFP_H
91467 #include <ieeefp.h>
91468 #endif
91471 main ()
91473 _expl(0);
91475 return 0;
91477 _ACEOF
91478 rm -f conftest.$ac_objext
91479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91480 (eval $ac_compile) 2>conftest.er1
91481 ac_status=$?
91482 grep -v '^ *+' conftest.er1 >conftest.err
91483 rm -f conftest.er1
91484 cat conftest.err >&5
91485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91486 (exit $ac_status); } &&
91487 { ac_try='test -z "$ac_cxx_werror_flag"
91488 || test ! -s conftest.err'
91489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91490 (eval $ac_try) 2>&5
91491 ac_status=$?
91492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91493 (exit $ac_status); }; } &&
91494 { ac_try='test -s conftest.$ac_objext'
91495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91496 (eval $ac_try) 2>&5
91497 ac_status=$?
91498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91499 (exit $ac_status); }; }; then
91500 glibcxx_cv_func__expl_use=yes
91501 else
91502 echo "$as_me: failed program was:" >&5
91503 sed 's/^/| /' conftest.$ac_ext >&5
91505 glibcxx_cv_func__expl_use=no
91507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91508 ac_ext=c
91509 ac_cpp='$CPP $CPPFLAGS'
91510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91519 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91521 if test x$glibcxx_cv_func__expl_use = x"yes"; then
91523 for ac_func in _expl
91525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91526 echo "$as_me:$LINENO: checking for $ac_func" >&5
91527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91528 if eval "test \"\${$as_ac_var+set}\" = set"; then
91529 echo $ECHO_N "(cached) $ECHO_C" >&6
91530 else
91531 if test x$gcc_no_link = xyes; then
91532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91534 { (exit 1); exit 1; }; }
91536 cat >conftest.$ac_ext <<_ACEOF
91537 /* confdefs.h. */
91538 _ACEOF
91539 cat confdefs.h >>conftest.$ac_ext
91540 cat >>conftest.$ac_ext <<_ACEOF
91541 /* end confdefs.h. */
91542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91544 #define $ac_func innocuous_$ac_func
91546 /* System header to define __stub macros and hopefully few prototypes,
91547 which can conflict with char $ac_func (); below.
91548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91549 <limits.h> exists even on freestanding compilers. */
91551 #ifdef __STDC__
91552 # include <limits.h>
91553 #else
91554 # include <assert.h>
91555 #endif
91557 #undef $ac_func
91559 /* Override any gcc2 internal prototype to avoid an error. */
91560 #ifdef __cplusplus
91561 extern "C"
91563 #endif
91564 /* We use char because int might match the return type of a gcc2
91565 builtin and then its argument prototype would still apply. */
91566 char $ac_func ();
91567 /* The GNU C library defines this for functions which it implements
91568 to always fail with ENOSYS. Some functions are actually named
91569 something starting with __ and the normal name is an alias. */
91570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91571 choke me
91572 #else
91573 char (*f) () = $ac_func;
91574 #endif
91575 #ifdef __cplusplus
91577 #endif
91580 main ()
91582 return f != $ac_func;
91584 return 0;
91586 _ACEOF
91587 rm -f conftest.$ac_objext conftest$ac_exeext
91588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91589 (eval $ac_link) 2>conftest.er1
91590 ac_status=$?
91591 grep -v '^ *+' conftest.er1 >conftest.err
91592 rm -f conftest.er1
91593 cat conftest.err >&5
91594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91595 (exit $ac_status); } &&
91596 { ac_try='test -z "$ac_c_werror_flag"
91597 || test ! -s conftest.err'
91598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91599 (eval $ac_try) 2>&5
91600 ac_status=$?
91601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91602 (exit $ac_status); }; } &&
91603 { ac_try='test -s conftest$ac_exeext'
91604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91605 (eval $ac_try) 2>&5
91606 ac_status=$?
91607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91608 (exit $ac_status); }; }; then
91609 eval "$as_ac_var=yes"
91610 else
91611 echo "$as_me: failed program was:" >&5
91612 sed 's/^/| /' conftest.$ac_ext >&5
91614 eval "$as_ac_var=no"
91616 rm -f conftest.err conftest.$ac_objext \
91617 conftest$ac_exeext conftest.$ac_ext
91619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91621 if test `eval echo '${'$as_ac_var'}'` = yes; then
91622 cat >>confdefs.h <<_ACEOF
91623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91624 _ACEOF
91627 done
91637 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91638 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91639 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91640 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91641 echo $ECHO_N "(cached) $ECHO_C" >&6
91642 else
91646 ac_ext=cc
91647 ac_cpp='$CXXCPP $CPPFLAGS'
91648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91652 cat >conftest.$ac_ext <<_ACEOF
91653 /* confdefs.h. */
91654 _ACEOF
91655 cat confdefs.h >>conftest.$ac_ext
91656 cat >>conftest.$ac_ext <<_ACEOF
91657 /* end confdefs.h. */
91658 #include <math.h>
91659 #ifdef HAVE_IEEEFP_H
91660 #include <ieeefp.h>
91661 #endif
91664 main ()
91666 fabsl(0);
91668 return 0;
91670 _ACEOF
91671 rm -f conftest.$ac_objext
91672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91673 (eval $ac_compile) 2>conftest.er1
91674 ac_status=$?
91675 grep -v '^ *+' conftest.er1 >conftest.err
91676 rm -f conftest.er1
91677 cat conftest.err >&5
91678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91679 (exit $ac_status); } &&
91680 { ac_try='test -z "$ac_cxx_werror_flag"
91681 || test ! -s conftest.err'
91682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91683 (eval $ac_try) 2>&5
91684 ac_status=$?
91685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91686 (exit $ac_status); }; } &&
91687 { ac_try='test -s conftest.$ac_objext'
91688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91689 (eval $ac_try) 2>&5
91690 ac_status=$?
91691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91692 (exit $ac_status); }; }; then
91693 glibcxx_cv_func_fabsl_use=yes
91694 else
91695 echo "$as_me: failed program was:" >&5
91696 sed 's/^/| /' conftest.$ac_ext >&5
91698 glibcxx_cv_func_fabsl_use=no
91700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91701 ac_ext=c
91702 ac_cpp='$CPP $CPPFLAGS'
91703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91712 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91714 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91716 for ac_func in fabsl
91718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91719 echo "$as_me:$LINENO: checking for $ac_func" >&5
91720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91721 if eval "test \"\${$as_ac_var+set}\" = set"; then
91722 echo $ECHO_N "(cached) $ECHO_C" >&6
91723 else
91724 if test x$gcc_no_link = xyes; then
91725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91727 { (exit 1); exit 1; }; }
91729 cat >conftest.$ac_ext <<_ACEOF
91730 /* confdefs.h. */
91731 _ACEOF
91732 cat confdefs.h >>conftest.$ac_ext
91733 cat >>conftest.$ac_ext <<_ACEOF
91734 /* end confdefs.h. */
91735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91737 #define $ac_func innocuous_$ac_func
91739 /* System header to define __stub macros and hopefully few prototypes,
91740 which can conflict with char $ac_func (); below.
91741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91742 <limits.h> exists even on freestanding compilers. */
91744 #ifdef __STDC__
91745 # include <limits.h>
91746 #else
91747 # include <assert.h>
91748 #endif
91750 #undef $ac_func
91752 /* Override any gcc2 internal prototype to avoid an error. */
91753 #ifdef __cplusplus
91754 extern "C"
91756 #endif
91757 /* We use char because int might match the return type of a gcc2
91758 builtin and then its argument prototype would still apply. */
91759 char $ac_func ();
91760 /* The GNU C library defines this for functions which it implements
91761 to always fail with ENOSYS. Some functions are actually named
91762 something starting with __ and the normal name is an alias. */
91763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91764 choke me
91765 #else
91766 char (*f) () = $ac_func;
91767 #endif
91768 #ifdef __cplusplus
91770 #endif
91773 main ()
91775 return f != $ac_func;
91777 return 0;
91779 _ACEOF
91780 rm -f conftest.$ac_objext conftest$ac_exeext
91781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91782 (eval $ac_link) 2>conftest.er1
91783 ac_status=$?
91784 grep -v '^ *+' conftest.er1 >conftest.err
91785 rm -f conftest.er1
91786 cat conftest.err >&5
91787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788 (exit $ac_status); } &&
91789 { ac_try='test -z "$ac_c_werror_flag"
91790 || test ! -s conftest.err'
91791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91792 (eval $ac_try) 2>&5
91793 ac_status=$?
91794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91795 (exit $ac_status); }; } &&
91796 { ac_try='test -s conftest$ac_exeext'
91797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91798 (eval $ac_try) 2>&5
91799 ac_status=$?
91800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91801 (exit $ac_status); }; }; then
91802 eval "$as_ac_var=yes"
91803 else
91804 echo "$as_me: failed program was:" >&5
91805 sed 's/^/| /' conftest.$ac_ext >&5
91807 eval "$as_ac_var=no"
91809 rm -f conftest.err conftest.$ac_objext \
91810 conftest$ac_exeext conftest.$ac_ext
91812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91814 if test `eval echo '${'$as_ac_var'}'` = yes; then
91815 cat >>confdefs.h <<_ACEOF
91816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91817 _ACEOF
91820 done
91822 else
91824 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91825 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91826 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91827 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91828 echo $ECHO_N "(cached) $ECHO_C" >&6
91829 else
91833 ac_ext=cc
91834 ac_cpp='$CXXCPP $CPPFLAGS'
91835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91839 cat >conftest.$ac_ext <<_ACEOF
91840 /* confdefs.h. */
91841 _ACEOF
91842 cat confdefs.h >>conftest.$ac_ext
91843 cat >>conftest.$ac_ext <<_ACEOF
91844 /* end confdefs.h. */
91845 #include <math.h>
91846 #ifdef HAVE_IEEEFP_H
91847 #include <ieeefp.h>
91848 #endif
91851 main ()
91853 _fabsl(0);
91855 return 0;
91857 _ACEOF
91858 rm -f conftest.$ac_objext
91859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91860 (eval $ac_compile) 2>conftest.er1
91861 ac_status=$?
91862 grep -v '^ *+' conftest.er1 >conftest.err
91863 rm -f conftest.er1
91864 cat conftest.err >&5
91865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866 (exit $ac_status); } &&
91867 { ac_try='test -z "$ac_cxx_werror_flag"
91868 || test ! -s conftest.err'
91869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870 (eval $ac_try) 2>&5
91871 ac_status=$?
91872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873 (exit $ac_status); }; } &&
91874 { ac_try='test -s conftest.$ac_objext'
91875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91876 (eval $ac_try) 2>&5
91877 ac_status=$?
91878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91879 (exit $ac_status); }; }; then
91880 glibcxx_cv_func__fabsl_use=yes
91881 else
91882 echo "$as_me: failed program was:" >&5
91883 sed 's/^/| /' conftest.$ac_ext >&5
91885 glibcxx_cv_func__fabsl_use=no
91887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91888 ac_ext=c
91889 ac_cpp='$CPP $CPPFLAGS'
91890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91899 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91901 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91903 for ac_func in _fabsl
91905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91906 echo "$as_me:$LINENO: checking for $ac_func" >&5
91907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91908 if eval "test \"\${$as_ac_var+set}\" = set"; then
91909 echo $ECHO_N "(cached) $ECHO_C" >&6
91910 else
91911 if test x$gcc_no_link = xyes; then
91912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91914 { (exit 1); exit 1; }; }
91916 cat >conftest.$ac_ext <<_ACEOF
91917 /* confdefs.h. */
91918 _ACEOF
91919 cat confdefs.h >>conftest.$ac_ext
91920 cat >>conftest.$ac_ext <<_ACEOF
91921 /* end confdefs.h. */
91922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91924 #define $ac_func innocuous_$ac_func
91926 /* System header to define __stub macros and hopefully few prototypes,
91927 which can conflict with char $ac_func (); below.
91928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91929 <limits.h> exists even on freestanding compilers. */
91931 #ifdef __STDC__
91932 # include <limits.h>
91933 #else
91934 # include <assert.h>
91935 #endif
91937 #undef $ac_func
91939 /* Override any gcc2 internal prototype to avoid an error. */
91940 #ifdef __cplusplus
91941 extern "C"
91943 #endif
91944 /* We use char because int might match the return type of a gcc2
91945 builtin and then its argument prototype would still apply. */
91946 char $ac_func ();
91947 /* The GNU C library defines this for functions which it implements
91948 to always fail with ENOSYS. Some functions are actually named
91949 something starting with __ and the normal name is an alias. */
91950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91951 choke me
91952 #else
91953 char (*f) () = $ac_func;
91954 #endif
91955 #ifdef __cplusplus
91957 #endif
91960 main ()
91962 return f != $ac_func;
91964 return 0;
91966 _ACEOF
91967 rm -f conftest.$ac_objext conftest$ac_exeext
91968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91969 (eval $ac_link) 2>conftest.er1
91970 ac_status=$?
91971 grep -v '^ *+' conftest.er1 >conftest.err
91972 rm -f conftest.er1
91973 cat conftest.err >&5
91974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91975 (exit $ac_status); } &&
91976 { ac_try='test -z "$ac_c_werror_flag"
91977 || test ! -s conftest.err'
91978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979 (eval $ac_try) 2>&5
91980 ac_status=$?
91981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982 (exit $ac_status); }; } &&
91983 { ac_try='test -s conftest$ac_exeext'
91984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91985 (eval $ac_try) 2>&5
91986 ac_status=$?
91987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91988 (exit $ac_status); }; }; then
91989 eval "$as_ac_var=yes"
91990 else
91991 echo "$as_me: failed program was:" >&5
91992 sed 's/^/| /' conftest.$ac_ext >&5
91994 eval "$as_ac_var=no"
91996 rm -f conftest.err conftest.$ac_objext \
91997 conftest$ac_exeext conftest.$ac_ext
91999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92001 if test `eval echo '${'$as_ac_var'}'` = yes; then
92002 cat >>confdefs.h <<_ACEOF
92003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92004 _ACEOF
92007 done
92017 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92018 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92019 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92020 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92021 echo $ECHO_N "(cached) $ECHO_C" >&6
92022 else
92026 ac_ext=cc
92027 ac_cpp='$CXXCPP $CPPFLAGS'
92028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92032 cat >conftest.$ac_ext <<_ACEOF
92033 /* confdefs.h. */
92034 _ACEOF
92035 cat confdefs.h >>conftest.$ac_ext
92036 cat >>conftest.$ac_ext <<_ACEOF
92037 /* end confdefs.h. */
92038 #include <math.h>
92040 main ()
92042 fmodl(0, 0);
92044 return 0;
92046 _ACEOF
92047 rm -f conftest.$ac_objext
92048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92049 (eval $ac_compile) 2>conftest.er1
92050 ac_status=$?
92051 grep -v '^ *+' conftest.er1 >conftest.err
92052 rm -f conftest.er1
92053 cat conftest.err >&5
92054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92055 (exit $ac_status); } &&
92056 { ac_try='test -z "$ac_cxx_werror_flag"
92057 || test ! -s conftest.err'
92058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92059 (eval $ac_try) 2>&5
92060 ac_status=$?
92061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062 (exit $ac_status); }; } &&
92063 { ac_try='test -s conftest.$ac_objext'
92064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92065 (eval $ac_try) 2>&5
92066 ac_status=$?
92067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92068 (exit $ac_status); }; }; then
92069 glibcxx_cv_func_fmodl_use=yes
92070 else
92071 echo "$as_me: failed program was:" >&5
92072 sed 's/^/| /' conftest.$ac_ext >&5
92074 glibcxx_cv_func_fmodl_use=no
92076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92077 ac_ext=c
92078 ac_cpp='$CPP $CPPFLAGS'
92079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92088 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92090 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92092 for ac_func in fmodl
92094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92095 echo "$as_me:$LINENO: checking for $ac_func" >&5
92096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92097 if eval "test \"\${$as_ac_var+set}\" = set"; then
92098 echo $ECHO_N "(cached) $ECHO_C" >&6
92099 else
92100 if test x$gcc_no_link = xyes; then
92101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92103 { (exit 1); exit 1; }; }
92105 cat >conftest.$ac_ext <<_ACEOF
92106 /* confdefs.h. */
92107 _ACEOF
92108 cat confdefs.h >>conftest.$ac_ext
92109 cat >>conftest.$ac_ext <<_ACEOF
92110 /* end confdefs.h. */
92111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92113 #define $ac_func innocuous_$ac_func
92115 /* System header to define __stub macros and hopefully few prototypes,
92116 which can conflict with char $ac_func (); below.
92117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92118 <limits.h> exists even on freestanding compilers. */
92120 #ifdef __STDC__
92121 # include <limits.h>
92122 #else
92123 # include <assert.h>
92124 #endif
92126 #undef $ac_func
92128 /* Override any gcc2 internal prototype to avoid an error. */
92129 #ifdef __cplusplus
92130 extern "C"
92132 #endif
92133 /* We use char because int might match the return type of a gcc2
92134 builtin and then its argument prototype would still apply. */
92135 char $ac_func ();
92136 /* The GNU C library defines this for functions which it implements
92137 to always fail with ENOSYS. Some functions are actually named
92138 something starting with __ and the normal name is an alias. */
92139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92140 choke me
92141 #else
92142 char (*f) () = $ac_func;
92143 #endif
92144 #ifdef __cplusplus
92146 #endif
92149 main ()
92151 return f != $ac_func;
92153 return 0;
92155 _ACEOF
92156 rm -f conftest.$ac_objext conftest$ac_exeext
92157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92158 (eval $ac_link) 2>conftest.er1
92159 ac_status=$?
92160 grep -v '^ *+' conftest.er1 >conftest.err
92161 rm -f conftest.er1
92162 cat conftest.err >&5
92163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92164 (exit $ac_status); } &&
92165 { ac_try='test -z "$ac_c_werror_flag"
92166 || test ! -s conftest.err'
92167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92168 (eval $ac_try) 2>&5
92169 ac_status=$?
92170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92171 (exit $ac_status); }; } &&
92172 { ac_try='test -s conftest$ac_exeext'
92173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92174 (eval $ac_try) 2>&5
92175 ac_status=$?
92176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92177 (exit $ac_status); }; }; then
92178 eval "$as_ac_var=yes"
92179 else
92180 echo "$as_me: failed program was:" >&5
92181 sed 's/^/| /' conftest.$ac_ext >&5
92183 eval "$as_ac_var=no"
92185 rm -f conftest.err conftest.$ac_objext \
92186 conftest$ac_exeext conftest.$ac_ext
92188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92190 if test `eval echo '${'$as_ac_var'}'` = yes; then
92191 cat >>confdefs.h <<_ACEOF
92192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92193 _ACEOF
92196 done
92198 else
92200 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92201 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92202 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92203 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92204 echo $ECHO_N "(cached) $ECHO_C" >&6
92205 else
92209 ac_ext=cc
92210 ac_cpp='$CXXCPP $CPPFLAGS'
92211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92215 cat >conftest.$ac_ext <<_ACEOF
92216 /* confdefs.h. */
92217 _ACEOF
92218 cat confdefs.h >>conftest.$ac_ext
92219 cat >>conftest.$ac_ext <<_ACEOF
92220 /* end confdefs.h. */
92221 #include <math.h>
92223 main ()
92225 _fmodl(0, 0);
92227 return 0;
92229 _ACEOF
92230 rm -f conftest.$ac_objext
92231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92232 (eval $ac_compile) 2>conftest.er1
92233 ac_status=$?
92234 grep -v '^ *+' conftest.er1 >conftest.err
92235 rm -f conftest.er1
92236 cat conftest.err >&5
92237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92238 (exit $ac_status); } &&
92239 { ac_try='test -z "$ac_cxx_werror_flag"
92240 || test ! -s conftest.err'
92241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92242 (eval $ac_try) 2>&5
92243 ac_status=$?
92244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92245 (exit $ac_status); }; } &&
92246 { ac_try='test -s conftest.$ac_objext'
92247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92248 (eval $ac_try) 2>&5
92249 ac_status=$?
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); }; }; then
92252 glibcxx_cv_func__fmodl_use=yes
92253 else
92254 echo "$as_me: failed program was:" >&5
92255 sed 's/^/| /' conftest.$ac_ext >&5
92257 glibcxx_cv_func__fmodl_use=no
92259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92260 ac_ext=c
92261 ac_cpp='$CPP $CPPFLAGS'
92262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92271 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92273 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92275 for ac_func in _fmodl
92277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92278 echo "$as_me:$LINENO: checking for $ac_func" >&5
92279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92280 if eval "test \"\${$as_ac_var+set}\" = set"; then
92281 echo $ECHO_N "(cached) $ECHO_C" >&6
92282 else
92283 if test x$gcc_no_link = xyes; then
92284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92286 { (exit 1); exit 1; }; }
92288 cat >conftest.$ac_ext <<_ACEOF
92289 /* confdefs.h. */
92290 _ACEOF
92291 cat confdefs.h >>conftest.$ac_ext
92292 cat >>conftest.$ac_ext <<_ACEOF
92293 /* end confdefs.h. */
92294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92296 #define $ac_func innocuous_$ac_func
92298 /* System header to define __stub macros and hopefully few prototypes,
92299 which can conflict with char $ac_func (); below.
92300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92301 <limits.h> exists even on freestanding compilers. */
92303 #ifdef __STDC__
92304 # include <limits.h>
92305 #else
92306 # include <assert.h>
92307 #endif
92309 #undef $ac_func
92311 /* Override any gcc2 internal prototype to avoid an error. */
92312 #ifdef __cplusplus
92313 extern "C"
92315 #endif
92316 /* We use char because int might match the return type of a gcc2
92317 builtin and then its argument prototype would still apply. */
92318 char $ac_func ();
92319 /* The GNU C library defines this for functions which it implements
92320 to always fail with ENOSYS. Some functions are actually named
92321 something starting with __ and the normal name is an alias. */
92322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92323 choke me
92324 #else
92325 char (*f) () = $ac_func;
92326 #endif
92327 #ifdef __cplusplus
92329 #endif
92332 main ()
92334 return f != $ac_func;
92336 return 0;
92338 _ACEOF
92339 rm -f conftest.$ac_objext conftest$ac_exeext
92340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92341 (eval $ac_link) 2>conftest.er1
92342 ac_status=$?
92343 grep -v '^ *+' conftest.er1 >conftest.err
92344 rm -f conftest.er1
92345 cat conftest.err >&5
92346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92347 (exit $ac_status); } &&
92348 { ac_try='test -z "$ac_c_werror_flag"
92349 || test ! -s conftest.err'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; } &&
92355 { ac_try='test -s conftest$ac_exeext'
92356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92357 (eval $ac_try) 2>&5
92358 ac_status=$?
92359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92360 (exit $ac_status); }; }; then
92361 eval "$as_ac_var=yes"
92362 else
92363 echo "$as_me: failed program was:" >&5
92364 sed 's/^/| /' conftest.$ac_ext >&5
92366 eval "$as_ac_var=no"
92368 rm -f conftest.err conftest.$ac_objext \
92369 conftest$ac_exeext conftest.$ac_ext
92371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92373 if test `eval echo '${'$as_ac_var'}'` = yes; then
92374 cat >>confdefs.h <<_ACEOF
92375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92376 _ACEOF
92379 done
92389 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92390 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92391 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92392 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92393 echo $ECHO_N "(cached) $ECHO_C" >&6
92394 else
92398 ac_ext=cc
92399 ac_cpp='$CXXCPP $CPPFLAGS'
92400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92404 cat >conftest.$ac_ext <<_ACEOF
92405 /* confdefs.h. */
92406 _ACEOF
92407 cat confdefs.h >>conftest.$ac_ext
92408 cat >>conftest.$ac_ext <<_ACEOF
92409 /* end confdefs.h. */
92410 #include <math.h>
92412 main ()
92414 frexpl(0, 0);
92416 return 0;
92418 _ACEOF
92419 rm -f conftest.$ac_objext
92420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92421 (eval $ac_compile) 2>conftest.er1
92422 ac_status=$?
92423 grep -v '^ *+' conftest.er1 >conftest.err
92424 rm -f conftest.er1
92425 cat conftest.err >&5
92426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92427 (exit $ac_status); } &&
92428 { ac_try='test -z "$ac_cxx_werror_flag"
92429 || test ! -s conftest.err'
92430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92431 (eval $ac_try) 2>&5
92432 ac_status=$?
92433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92434 (exit $ac_status); }; } &&
92435 { ac_try='test -s conftest.$ac_objext'
92436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92437 (eval $ac_try) 2>&5
92438 ac_status=$?
92439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92440 (exit $ac_status); }; }; then
92441 glibcxx_cv_func_frexpl_use=yes
92442 else
92443 echo "$as_me: failed program was:" >&5
92444 sed 's/^/| /' conftest.$ac_ext >&5
92446 glibcxx_cv_func_frexpl_use=no
92448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92449 ac_ext=c
92450 ac_cpp='$CPP $CPPFLAGS'
92451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92460 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92462 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92464 for ac_func in frexpl
92466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92467 echo "$as_me:$LINENO: checking for $ac_func" >&5
92468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92469 if eval "test \"\${$as_ac_var+set}\" = set"; then
92470 echo $ECHO_N "(cached) $ECHO_C" >&6
92471 else
92472 if test x$gcc_no_link = xyes; then
92473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92475 { (exit 1); exit 1; }; }
92477 cat >conftest.$ac_ext <<_ACEOF
92478 /* confdefs.h. */
92479 _ACEOF
92480 cat confdefs.h >>conftest.$ac_ext
92481 cat >>conftest.$ac_ext <<_ACEOF
92482 /* end confdefs.h. */
92483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92485 #define $ac_func innocuous_$ac_func
92487 /* System header to define __stub macros and hopefully few prototypes,
92488 which can conflict with char $ac_func (); below.
92489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92490 <limits.h> exists even on freestanding compilers. */
92492 #ifdef __STDC__
92493 # include <limits.h>
92494 #else
92495 # include <assert.h>
92496 #endif
92498 #undef $ac_func
92500 /* Override any gcc2 internal prototype to avoid an error. */
92501 #ifdef __cplusplus
92502 extern "C"
92504 #endif
92505 /* We use char because int might match the return type of a gcc2
92506 builtin and then its argument prototype would still apply. */
92507 char $ac_func ();
92508 /* The GNU C library defines this for functions which it implements
92509 to always fail with ENOSYS. Some functions are actually named
92510 something starting with __ and the normal name is an alias. */
92511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92512 choke me
92513 #else
92514 char (*f) () = $ac_func;
92515 #endif
92516 #ifdef __cplusplus
92518 #endif
92521 main ()
92523 return f != $ac_func;
92525 return 0;
92527 _ACEOF
92528 rm -f conftest.$ac_objext conftest$ac_exeext
92529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92530 (eval $ac_link) 2>conftest.er1
92531 ac_status=$?
92532 grep -v '^ *+' conftest.er1 >conftest.err
92533 rm -f conftest.er1
92534 cat conftest.err >&5
92535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92536 (exit $ac_status); } &&
92537 { ac_try='test -z "$ac_c_werror_flag"
92538 || test ! -s conftest.err'
92539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92540 (eval $ac_try) 2>&5
92541 ac_status=$?
92542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543 (exit $ac_status); }; } &&
92544 { ac_try='test -s conftest$ac_exeext'
92545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92546 (eval $ac_try) 2>&5
92547 ac_status=$?
92548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92549 (exit $ac_status); }; }; then
92550 eval "$as_ac_var=yes"
92551 else
92552 echo "$as_me: failed program was:" >&5
92553 sed 's/^/| /' conftest.$ac_ext >&5
92555 eval "$as_ac_var=no"
92557 rm -f conftest.err conftest.$ac_objext \
92558 conftest$ac_exeext conftest.$ac_ext
92560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92562 if test `eval echo '${'$as_ac_var'}'` = yes; then
92563 cat >>confdefs.h <<_ACEOF
92564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92565 _ACEOF
92568 done
92570 else
92572 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92573 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92574 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92575 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92576 echo $ECHO_N "(cached) $ECHO_C" >&6
92577 else
92581 ac_ext=cc
92582 ac_cpp='$CXXCPP $CPPFLAGS'
92583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92587 cat >conftest.$ac_ext <<_ACEOF
92588 /* confdefs.h. */
92589 _ACEOF
92590 cat confdefs.h >>conftest.$ac_ext
92591 cat >>conftest.$ac_ext <<_ACEOF
92592 /* end confdefs.h. */
92593 #include <math.h>
92595 main ()
92597 _frexpl(0, 0);
92599 return 0;
92601 _ACEOF
92602 rm -f conftest.$ac_objext
92603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92604 (eval $ac_compile) 2>conftest.er1
92605 ac_status=$?
92606 grep -v '^ *+' conftest.er1 >conftest.err
92607 rm -f conftest.er1
92608 cat conftest.err >&5
92609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92610 (exit $ac_status); } &&
92611 { ac_try='test -z "$ac_cxx_werror_flag"
92612 || test ! -s conftest.err'
92613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92614 (eval $ac_try) 2>&5
92615 ac_status=$?
92616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92617 (exit $ac_status); }; } &&
92618 { ac_try='test -s conftest.$ac_objext'
92619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92620 (eval $ac_try) 2>&5
92621 ac_status=$?
92622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92623 (exit $ac_status); }; }; then
92624 glibcxx_cv_func__frexpl_use=yes
92625 else
92626 echo "$as_me: failed program was:" >&5
92627 sed 's/^/| /' conftest.$ac_ext >&5
92629 glibcxx_cv_func__frexpl_use=no
92631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92632 ac_ext=c
92633 ac_cpp='$CPP $CPPFLAGS'
92634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92643 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92645 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92647 for ac_func in _frexpl
92649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92650 echo "$as_me:$LINENO: checking for $ac_func" >&5
92651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92652 if eval "test \"\${$as_ac_var+set}\" = set"; then
92653 echo $ECHO_N "(cached) $ECHO_C" >&6
92654 else
92655 if test x$gcc_no_link = xyes; then
92656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92658 { (exit 1); exit 1; }; }
92660 cat >conftest.$ac_ext <<_ACEOF
92661 /* confdefs.h. */
92662 _ACEOF
92663 cat confdefs.h >>conftest.$ac_ext
92664 cat >>conftest.$ac_ext <<_ACEOF
92665 /* end confdefs.h. */
92666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92668 #define $ac_func innocuous_$ac_func
92670 /* System header to define __stub macros and hopefully few prototypes,
92671 which can conflict with char $ac_func (); below.
92672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92673 <limits.h> exists even on freestanding compilers. */
92675 #ifdef __STDC__
92676 # include <limits.h>
92677 #else
92678 # include <assert.h>
92679 #endif
92681 #undef $ac_func
92683 /* Override any gcc2 internal prototype to avoid an error. */
92684 #ifdef __cplusplus
92685 extern "C"
92687 #endif
92688 /* We use char because int might match the return type of a gcc2
92689 builtin and then its argument prototype would still apply. */
92690 char $ac_func ();
92691 /* The GNU C library defines this for functions which it implements
92692 to always fail with ENOSYS. Some functions are actually named
92693 something starting with __ and the normal name is an alias. */
92694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92695 choke me
92696 #else
92697 char (*f) () = $ac_func;
92698 #endif
92699 #ifdef __cplusplus
92701 #endif
92704 main ()
92706 return f != $ac_func;
92708 return 0;
92710 _ACEOF
92711 rm -f conftest.$ac_objext conftest$ac_exeext
92712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92713 (eval $ac_link) 2>conftest.er1
92714 ac_status=$?
92715 grep -v '^ *+' conftest.er1 >conftest.err
92716 rm -f conftest.er1
92717 cat conftest.err >&5
92718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92719 (exit $ac_status); } &&
92720 { ac_try='test -z "$ac_c_werror_flag"
92721 || test ! -s conftest.err'
92722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92723 (eval $ac_try) 2>&5
92724 ac_status=$?
92725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92726 (exit $ac_status); }; } &&
92727 { ac_try='test -s conftest$ac_exeext'
92728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92729 (eval $ac_try) 2>&5
92730 ac_status=$?
92731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92732 (exit $ac_status); }; }; then
92733 eval "$as_ac_var=yes"
92734 else
92735 echo "$as_me: failed program was:" >&5
92736 sed 's/^/| /' conftest.$ac_ext >&5
92738 eval "$as_ac_var=no"
92740 rm -f conftest.err conftest.$ac_objext \
92741 conftest$ac_exeext conftest.$ac_ext
92743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92745 if test `eval echo '${'$as_ac_var'}'` = yes; then
92746 cat >>confdefs.h <<_ACEOF
92747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92748 _ACEOF
92751 done
92761 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92762 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92763 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92764 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92765 echo $ECHO_N "(cached) $ECHO_C" >&6
92766 else
92770 ac_ext=cc
92771 ac_cpp='$CXXCPP $CPPFLAGS'
92772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92776 cat >conftest.$ac_ext <<_ACEOF
92777 /* confdefs.h. */
92778 _ACEOF
92779 cat confdefs.h >>conftest.$ac_ext
92780 cat >>conftest.$ac_ext <<_ACEOF
92781 /* end confdefs.h. */
92782 #include <math.h>
92784 main ()
92786 hypotl(0, 0);
92788 return 0;
92790 _ACEOF
92791 rm -f conftest.$ac_objext
92792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92793 (eval $ac_compile) 2>conftest.er1
92794 ac_status=$?
92795 grep -v '^ *+' conftest.er1 >conftest.err
92796 rm -f conftest.er1
92797 cat conftest.err >&5
92798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92799 (exit $ac_status); } &&
92800 { ac_try='test -z "$ac_cxx_werror_flag"
92801 || test ! -s conftest.err'
92802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92803 (eval $ac_try) 2>&5
92804 ac_status=$?
92805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92806 (exit $ac_status); }; } &&
92807 { ac_try='test -s conftest.$ac_objext'
92808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92809 (eval $ac_try) 2>&5
92810 ac_status=$?
92811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92812 (exit $ac_status); }; }; then
92813 glibcxx_cv_func_hypotl_use=yes
92814 else
92815 echo "$as_me: failed program was:" >&5
92816 sed 's/^/| /' conftest.$ac_ext >&5
92818 glibcxx_cv_func_hypotl_use=no
92820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92821 ac_ext=c
92822 ac_cpp='$CPP $CPPFLAGS'
92823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92832 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92834 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92836 for ac_func in hypotl
92838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92839 echo "$as_me:$LINENO: checking for $ac_func" >&5
92840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92841 if eval "test \"\${$as_ac_var+set}\" = set"; then
92842 echo $ECHO_N "(cached) $ECHO_C" >&6
92843 else
92844 if test x$gcc_no_link = xyes; then
92845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92847 { (exit 1); exit 1; }; }
92849 cat >conftest.$ac_ext <<_ACEOF
92850 /* confdefs.h. */
92851 _ACEOF
92852 cat confdefs.h >>conftest.$ac_ext
92853 cat >>conftest.$ac_ext <<_ACEOF
92854 /* end confdefs.h. */
92855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92857 #define $ac_func innocuous_$ac_func
92859 /* System header to define __stub macros and hopefully few prototypes,
92860 which can conflict with char $ac_func (); below.
92861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92862 <limits.h> exists even on freestanding compilers. */
92864 #ifdef __STDC__
92865 # include <limits.h>
92866 #else
92867 # include <assert.h>
92868 #endif
92870 #undef $ac_func
92872 /* Override any gcc2 internal prototype to avoid an error. */
92873 #ifdef __cplusplus
92874 extern "C"
92876 #endif
92877 /* We use char because int might match the return type of a gcc2
92878 builtin and then its argument prototype would still apply. */
92879 char $ac_func ();
92880 /* The GNU C library defines this for functions which it implements
92881 to always fail with ENOSYS. Some functions are actually named
92882 something starting with __ and the normal name is an alias. */
92883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92884 choke me
92885 #else
92886 char (*f) () = $ac_func;
92887 #endif
92888 #ifdef __cplusplus
92890 #endif
92893 main ()
92895 return f != $ac_func;
92897 return 0;
92899 _ACEOF
92900 rm -f conftest.$ac_objext conftest$ac_exeext
92901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92902 (eval $ac_link) 2>conftest.er1
92903 ac_status=$?
92904 grep -v '^ *+' conftest.er1 >conftest.err
92905 rm -f conftest.er1
92906 cat conftest.err >&5
92907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92908 (exit $ac_status); } &&
92909 { ac_try='test -z "$ac_c_werror_flag"
92910 || test ! -s conftest.err'
92911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92912 (eval $ac_try) 2>&5
92913 ac_status=$?
92914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915 (exit $ac_status); }; } &&
92916 { ac_try='test -s conftest$ac_exeext'
92917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92918 (eval $ac_try) 2>&5
92919 ac_status=$?
92920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921 (exit $ac_status); }; }; then
92922 eval "$as_ac_var=yes"
92923 else
92924 echo "$as_me: failed program was:" >&5
92925 sed 's/^/| /' conftest.$ac_ext >&5
92927 eval "$as_ac_var=no"
92929 rm -f conftest.err conftest.$ac_objext \
92930 conftest$ac_exeext conftest.$ac_ext
92932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92934 if test `eval echo '${'$as_ac_var'}'` = yes; then
92935 cat >>confdefs.h <<_ACEOF
92936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92937 _ACEOF
92940 done
92942 else
92944 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92945 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92946 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92947 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92948 echo $ECHO_N "(cached) $ECHO_C" >&6
92949 else
92953 ac_ext=cc
92954 ac_cpp='$CXXCPP $CPPFLAGS'
92955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92959 cat >conftest.$ac_ext <<_ACEOF
92960 /* confdefs.h. */
92961 _ACEOF
92962 cat confdefs.h >>conftest.$ac_ext
92963 cat >>conftest.$ac_ext <<_ACEOF
92964 /* end confdefs.h. */
92965 #include <math.h>
92967 main ()
92969 _hypotl(0, 0);
92971 return 0;
92973 _ACEOF
92974 rm -f conftest.$ac_objext
92975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92976 (eval $ac_compile) 2>conftest.er1
92977 ac_status=$?
92978 grep -v '^ *+' conftest.er1 >conftest.err
92979 rm -f conftest.er1
92980 cat conftest.err >&5
92981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92982 (exit $ac_status); } &&
92983 { ac_try='test -z "$ac_cxx_werror_flag"
92984 || test ! -s conftest.err'
92985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92986 (eval $ac_try) 2>&5
92987 ac_status=$?
92988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92989 (exit $ac_status); }; } &&
92990 { ac_try='test -s conftest.$ac_objext'
92991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92992 (eval $ac_try) 2>&5
92993 ac_status=$?
92994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92995 (exit $ac_status); }; }; then
92996 glibcxx_cv_func__hypotl_use=yes
92997 else
92998 echo "$as_me: failed program was:" >&5
92999 sed 's/^/| /' conftest.$ac_ext >&5
93001 glibcxx_cv_func__hypotl_use=no
93003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93004 ac_ext=c
93005 ac_cpp='$CPP $CPPFLAGS'
93006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93015 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93017 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93019 for ac_func in _hypotl
93021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93022 echo "$as_me:$LINENO: checking for $ac_func" >&5
93023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93024 if eval "test \"\${$as_ac_var+set}\" = set"; then
93025 echo $ECHO_N "(cached) $ECHO_C" >&6
93026 else
93027 if test x$gcc_no_link = xyes; then
93028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93030 { (exit 1); exit 1; }; }
93032 cat >conftest.$ac_ext <<_ACEOF
93033 /* confdefs.h. */
93034 _ACEOF
93035 cat confdefs.h >>conftest.$ac_ext
93036 cat >>conftest.$ac_ext <<_ACEOF
93037 /* end confdefs.h. */
93038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93040 #define $ac_func innocuous_$ac_func
93042 /* System header to define __stub macros and hopefully few prototypes,
93043 which can conflict with char $ac_func (); below.
93044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93045 <limits.h> exists even on freestanding compilers. */
93047 #ifdef __STDC__
93048 # include <limits.h>
93049 #else
93050 # include <assert.h>
93051 #endif
93053 #undef $ac_func
93055 /* Override any gcc2 internal prototype to avoid an error. */
93056 #ifdef __cplusplus
93057 extern "C"
93059 #endif
93060 /* We use char because int might match the return type of a gcc2
93061 builtin and then its argument prototype would still apply. */
93062 char $ac_func ();
93063 /* The GNU C library defines this for functions which it implements
93064 to always fail with ENOSYS. Some functions are actually named
93065 something starting with __ and the normal name is an alias. */
93066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93067 choke me
93068 #else
93069 char (*f) () = $ac_func;
93070 #endif
93071 #ifdef __cplusplus
93073 #endif
93076 main ()
93078 return f != $ac_func;
93080 return 0;
93082 _ACEOF
93083 rm -f conftest.$ac_objext conftest$ac_exeext
93084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93085 (eval $ac_link) 2>conftest.er1
93086 ac_status=$?
93087 grep -v '^ *+' conftest.er1 >conftest.err
93088 rm -f conftest.er1
93089 cat conftest.err >&5
93090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93091 (exit $ac_status); } &&
93092 { ac_try='test -z "$ac_c_werror_flag"
93093 || test ! -s conftest.err'
93094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93095 (eval $ac_try) 2>&5
93096 ac_status=$?
93097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93098 (exit $ac_status); }; } &&
93099 { ac_try='test -s conftest$ac_exeext'
93100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93101 (eval $ac_try) 2>&5
93102 ac_status=$?
93103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93104 (exit $ac_status); }; }; then
93105 eval "$as_ac_var=yes"
93106 else
93107 echo "$as_me: failed program was:" >&5
93108 sed 's/^/| /' conftest.$ac_ext >&5
93110 eval "$as_ac_var=no"
93112 rm -f conftest.err conftest.$ac_objext \
93113 conftest$ac_exeext conftest.$ac_ext
93115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93117 if test `eval echo '${'$as_ac_var'}'` = yes; then
93118 cat >>confdefs.h <<_ACEOF
93119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93120 _ACEOF
93123 done
93133 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93134 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93135 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93136 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93137 echo $ECHO_N "(cached) $ECHO_C" >&6
93138 else
93142 ac_ext=cc
93143 ac_cpp='$CXXCPP $CPPFLAGS'
93144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93148 cat >conftest.$ac_ext <<_ACEOF
93149 /* confdefs.h. */
93150 _ACEOF
93151 cat confdefs.h >>conftest.$ac_ext
93152 cat >>conftest.$ac_ext <<_ACEOF
93153 /* end confdefs.h. */
93154 #include <math.h>
93156 main ()
93158 ldexpl(0, 0);
93160 return 0;
93162 _ACEOF
93163 rm -f conftest.$ac_objext
93164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93165 (eval $ac_compile) 2>conftest.er1
93166 ac_status=$?
93167 grep -v '^ *+' conftest.er1 >conftest.err
93168 rm -f conftest.er1
93169 cat conftest.err >&5
93170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93171 (exit $ac_status); } &&
93172 { ac_try='test -z "$ac_cxx_werror_flag"
93173 || test ! -s conftest.err'
93174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93175 (eval $ac_try) 2>&5
93176 ac_status=$?
93177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93178 (exit $ac_status); }; } &&
93179 { ac_try='test -s conftest.$ac_objext'
93180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93181 (eval $ac_try) 2>&5
93182 ac_status=$?
93183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93184 (exit $ac_status); }; }; then
93185 glibcxx_cv_func_ldexpl_use=yes
93186 else
93187 echo "$as_me: failed program was:" >&5
93188 sed 's/^/| /' conftest.$ac_ext >&5
93190 glibcxx_cv_func_ldexpl_use=no
93192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93193 ac_ext=c
93194 ac_cpp='$CPP $CPPFLAGS'
93195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93204 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93206 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93208 for ac_func in ldexpl
93210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93211 echo "$as_me:$LINENO: checking for $ac_func" >&5
93212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93213 if eval "test \"\${$as_ac_var+set}\" = set"; then
93214 echo $ECHO_N "(cached) $ECHO_C" >&6
93215 else
93216 if test x$gcc_no_link = xyes; then
93217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93219 { (exit 1); exit 1; }; }
93221 cat >conftest.$ac_ext <<_ACEOF
93222 /* confdefs.h. */
93223 _ACEOF
93224 cat confdefs.h >>conftest.$ac_ext
93225 cat >>conftest.$ac_ext <<_ACEOF
93226 /* end confdefs.h. */
93227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93229 #define $ac_func innocuous_$ac_func
93231 /* System header to define __stub macros and hopefully few prototypes,
93232 which can conflict with char $ac_func (); below.
93233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93234 <limits.h> exists even on freestanding compilers. */
93236 #ifdef __STDC__
93237 # include <limits.h>
93238 #else
93239 # include <assert.h>
93240 #endif
93242 #undef $ac_func
93244 /* Override any gcc2 internal prototype to avoid an error. */
93245 #ifdef __cplusplus
93246 extern "C"
93248 #endif
93249 /* We use char because int might match the return type of a gcc2
93250 builtin and then its argument prototype would still apply. */
93251 char $ac_func ();
93252 /* The GNU C library defines this for functions which it implements
93253 to always fail with ENOSYS. Some functions are actually named
93254 something starting with __ and the normal name is an alias. */
93255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93256 choke me
93257 #else
93258 char (*f) () = $ac_func;
93259 #endif
93260 #ifdef __cplusplus
93262 #endif
93265 main ()
93267 return f != $ac_func;
93269 return 0;
93271 _ACEOF
93272 rm -f conftest.$ac_objext conftest$ac_exeext
93273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93274 (eval $ac_link) 2>conftest.er1
93275 ac_status=$?
93276 grep -v '^ *+' conftest.er1 >conftest.err
93277 rm -f conftest.er1
93278 cat conftest.err >&5
93279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93280 (exit $ac_status); } &&
93281 { ac_try='test -z "$ac_c_werror_flag"
93282 || test ! -s conftest.err'
93283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93284 (eval $ac_try) 2>&5
93285 ac_status=$?
93286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93287 (exit $ac_status); }; } &&
93288 { ac_try='test -s conftest$ac_exeext'
93289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93290 (eval $ac_try) 2>&5
93291 ac_status=$?
93292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93293 (exit $ac_status); }; }; then
93294 eval "$as_ac_var=yes"
93295 else
93296 echo "$as_me: failed program was:" >&5
93297 sed 's/^/| /' conftest.$ac_ext >&5
93299 eval "$as_ac_var=no"
93301 rm -f conftest.err conftest.$ac_objext \
93302 conftest$ac_exeext conftest.$ac_ext
93304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93306 if test `eval echo '${'$as_ac_var'}'` = yes; then
93307 cat >>confdefs.h <<_ACEOF
93308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93309 _ACEOF
93312 done
93314 else
93316 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93317 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93318 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93319 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93320 echo $ECHO_N "(cached) $ECHO_C" >&6
93321 else
93325 ac_ext=cc
93326 ac_cpp='$CXXCPP $CPPFLAGS'
93327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93331 cat >conftest.$ac_ext <<_ACEOF
93332 /* confdefs.h. */
93333 _ACEOF
93334 cat confdefs.h >>conftest.$ac_ext
93335 cat >>conftest.$ac_ext <<_ACEOF
93336 /* end confdefs.h. */
93337 #include <math.h>
93339 main ()
93341 _ldexpl(0, 0);
93343 return 0;
93345 _ACEOF
93346 rm -f conftest.$ac_objext
93347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93348 (eval $ac_compile) 2>conftest.er1
93349 ac_status=$?
93350 grep -v '^ *+' conftest.er1 >conftest.err
93351 rm -f conftest.er1
93352 cat conftest.err >&5
93353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93354 (exit $ac_status); } &&
93355 { ac_try='test -z "$ac_cxx_werror_flag"
93356 || test ! -s conftest.err'
93357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93358 (eval $ac_try) 2>&5
93359 ac_status=$?
93360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93361 (exit $ac_status); }; } &&
93362 { ac_try='test -s conftest.$ac_objext'
93363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93364 (eval $ac_try) 2>&5
93365 ac_status=$?
93366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93367 (exit $ac_status); }; }; then
93368 glibcxx_cv_func__ldexpl_use=yes
93369 else
93370 echo "$as_me: failed program was:" >&5
93371 sed 's/^/| /' conftest.$ac_ext >&5
93373 glibcxx_cv_func__ldexpl_use=no
93375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93376 ac_ext=c
93377 ac_cpp='$CPP $CPPFLAGS'
93378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93387 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93389 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93391 for ac_func in _ldexpl
93393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93394 echo "$as_me:$LINENO: checking for $ac_func" >&5
93395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93396 if eval "test \"\${$as_ac_var+set}\" = set"; then
93397 echo $ECHO_N "(cached) $ECHO_C" >&6
93398 else
93399 if test x$gcc_no_link = xyes; then
93400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93402 { (exit 1); exit 1; }; }
93404 cat >conftest.$ac_ext <<_ACEOF
93405 /* confdefs.h. */
93406 _ACEOF
93407 cat confdefs.h >>conftest.$ac_ext
93408 cat >>conftest.$ac_ext <<_ACEOF
93409 /* end confdefs.h. */
93410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93412 #define $ac_func innocuous_$ac_func
93414 /* System header to define __stub macros and hopefully few prototypes,
93415 which can conflict with char $ac_func (); below.
93416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93417 <limits.h> exists even on freestanding compilers. */
93419 #ifdef __STDC__
93420 # include <limits.h>
93421 #else
93422 # include <assert.h>
93423 #endif
93425 #undef $ac_func
93427 /* Override any gcc2 internal prototype to avoid an error. */
93428 #ifdef __cplusplus
93429 extern "C"
93431 #endif
93432 /* We use char because int might match the return type of a gcc2
93433 builtin and then its argument prototype would still apply. */
93434 char $ac_func ();
93435 /* The GNU C library defines this for functions which it implements
93436 to always fail with ENOSYS. Some functions are actually named
93437 something starting with __ and the normal name is an alias. */
93438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93439 choke me
93440 #else
93441 char (*f) () = $ac_func;
93442 #endif
93443 #ifdef __cplusplus
93445 #endif
93448 main ()
93450 return f != $ac_func;
93452 return 0;
93454 _ACEOF
93455 rm -f conftest.$ac_objext conftest$ac_exeext
93456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93457 (eval $ac_link) 2>conftest.er1
93458 ac_status=$?
93459 grep -v '^ *+' conftest.er1 >conftest.err
93460 rm -f conftest.er1
93461 cat conftest.err >&5
93462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93463 (exit $ac_status); } &&
93464 { ac_try='test -z "$ac_c_werror_flag"
93465 || test ! -s conftest.err'
93466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93467 (eval $ac_try) 2>&5
93468 ac_status=$?
93469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93470 (exit $ac_status); }; } &&
93471 { ac_try='test -s conftest$ac_exeext'
93472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93473 (eval $ac_try) 2>&5
93474 ac_status=$?
93475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93476 (exit $ac_status); }; }; then
93477 eval "$as_ac_var=yes"
93478 else
93479 echo "$as_me: failed program was:" >&5
93480 sed 's/^/| /' conftest.$ac_ext >&5
93482 eval "$as_ac_var=no"
93484 rm -f conftest.err conftest.$ac_objext \
93485 conftest$ac_exeext conftest.$ac_ext
93487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93489 if test `eval echo '${'$as_ac_var'}'` = yes; then
93490 cat >>confdefs.h <<_ACEOF
93491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93492 _ACEOF
93495 done
93505 echo "$as_me:$LINENO: checking for logl declaration" >&5
93506 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93507 if test x${glibcxx_cv_func_logl_use+set} != xset; then
93508 if test "${glibcxx_cv_func_logl_use+set}" = set; then
93509 echo $ECHO_N "(cached) $ECHO_C" >&6
93510 else
93514 ac_ext=cc
93515 ac_cpp='$CXXCPP $CPPFLAGS'
93516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93520 cat >conftest.$ac_ext <<_ACEOF
93521 /* confdefs.h. */
93522 _ACEOF
93523 cat confdefs.h >>conftest.$ac_ext
93524 cat >>conftest.$ac_ext <<_ACEOF
93525 /* end confdefs.h. */
93526 #include <math.h>
93527 #ifdef HAVE_IEEEFP_H
93528 #include <ieeefp.h>
93529 #endif
93532 main ()
93534 logl(0);
93536 return 0;
93538 _ACEOF
93539 rm -f conftest.$ac_objext
93540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93541 (eval $ac_compile) 2>conftest.er1
93542 ac_status=$?
93543 grep -v '^ *+' conftest.er1 >conftest.err
93544 rm -f conftest.er1
93545 cat conftest.err >&5
93546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93547 (exit $ac_status); } &&
93548 { ac_try='test -z "$ac_cxx_werror_flag"
93549 || test ! -s conftest.err'
93550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93551 (eval $ac_try) 2>&5
93552 ac_status=$?
93553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93554 (exit $ac_status); }; } &&
93555 { ac_try='test -s conftest.$ac_objext'
93556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93557 (eval $ac_try) 2>&5
93558 ac_status=$?
93559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93560 (exit $ac_status); }; }; then
93561 glibcxx_cv_func_logl_use=yes
93562 else
93563 echo "$as_me: failed program was:" >&5
93564 sed 's/^/| /' conftest.$ac_ext >&5
93566 glibcxx_cv_func_logl_use=no
93568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93569 ac_ext=c
93570 ac_cpp='$CPP $CPPFLAGS'
93571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93580 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93582 if test x$glibcxx_cv_func_logl_use = x"yes"; then
93584 for ac_func in logl
93586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93587 echo "$as_me:$LINENO: checking for $ac_func" >&5
93588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93589 if eval "test \"\${$as_ac_var+set}\" = set"; then
93590 echo $ECHO_N "(cached) $ECHO_C" >&6
93591 else
93592 if test x$gcc_no_link = xyes; then
93593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93595 { (exit 1); exit 1; }; }
93597 cat >conftest.$ac_ext <<_ACEOF
93598 /* confdefs.h. */
93599 _ACEOF
93600 cat confdefs.h >>conftest.$ac_ext
93601 cat >>conftest.$ac_ext <<_ACEOF
93602 /* end confdefs.h. */
93603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93605 #define $ac_func innocuous_$ac_func
93607 /* System header to define __stub macros and hopefully few prototypes,
93608 which can conflict with char $ac_func (); below.
93609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93610 <limits.h> exists even on freestanding compilers. */
93612 #ifdef __STDC__
93613 # include <limits.h>
93614 #else
93615 # include <assert.h>
93616 #endif
93618 #undef $ac_func
93620 /* Override any gcc2 internal prototype to avoid an error. */
93621 #ifdef __cplusplus
93622 extern "C"
93624 #endif
93625 /* We use char because int might match the return type of a gcc2
93626 builtin and then its argument prototype would still apply. */
93627 char $ac_func ();
93628 /* The GNU C library defines this for functions which it implements
93629 to always fail with ENOSYS. Some functions are actually named
93630 something starting with __ and the normal name is an alias. */
93631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93632 choke me
93633 #else
93634 char (*f) () = $ac_func;
93635 #endif
93636 #ifdef __cplusplus
93638 #endif
93641 main ()
93643 return f != $ac_func;
93645 return 0;
93647 _ACEOF
93648 rm -f conftest.$ac_objext conftest$ac_exeext
93649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93650 (eval $ac_link) 2>conftest.er1
93651 ac_status=$?
93652 grep -v '^ *+' conftest.er1 >conftest.err
93653 rm -f conftest.er1
93654 cat conftest.err >&5
93655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93656 (exit $ac_status); } &&
93657 { ac_try='test -z "$ac_c_werror_flag"
93658 || test ! -s conftest.err'
93659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93660 (eval $ac_try) 2>&5
93661 ac_status=$?
93662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93663 (exit $ac_status); }; } &&
93664 { ac_try='test -s conftest$ac_exeext'
93665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93666 (eval $ac_try) 2>&5
93667 ac_status=$?
93668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93669 (exit $ac_status); }; }; then
93670 eval "$as_ac_var=yes"
93671 else
93672 echo "$as_me: failed program was:" >&5
93673 sed 's/^/| /' conftest.$ac_ext >&5
93675 eval "$as_ac_var=no"
93677 rm -f conftest.err conftest.$ac_objext \
93678 conftest$ac_exeext conftest.$ac_ext
93680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93682 if test `eval echo '${'$as_ac_var'}'` = yes; then
93683 cat >>confdefs.h <<_ACEOF
93684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93685 _ACEOF
93688 done
93690 else
93692 echo "$as_me:$LINENO: checking for _logl declaration" >&5
93693 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93694 if test x${glibcxx_cv_func__logl_use+set} != xset; then
93695 if test "${glibcxx_cv_func__logl_use+set}" = set; then
93696 echo $ECHO_N "(cached) $ECHO_C" >&6
93697 else
93701 ac_ext=cc
93702 ac_cpp='$CXXCPP $CPPFLAGS'
93703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93707 cat >conftest.$ac_ext <<_ACEOF
93708 /* confdefs.h. */
93709 _ACEOF
93710 cat confdefs.h >>conftest.$ac_ext
93711 cat >>conftest.$ac_ext <<_ACEOF
93712 /* end confdefs.h. */
93713 #include <math.h>
93714 #ifdef HAVE_IEEEFP_H
93715 #include <ieeefp.h>
93716 #endif
93719 main ()
93721 _logl(0);
93723 return 0;
93725 _ACEOF
93726 rm -f conftest.$ac_objext
93727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93728 (eval $ac_compile) 2>conftest.er1
93729 ac_status=$?
93730 grep -v '^ *+' conftest.er1 >conftest.err
93731 rm -f conftest.er1
93732 cat conftest.err >&5
93733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93734 (exit $ac_status); } &&
93735 { ac_try='test -z "$ac_cxx_werror_flag"
93736 || test ! -s conftest.err'
93737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93738 (eval $ac_try) 2>&5
93739 ac_status=$?
93740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93741 (exit $ac_status); }; } &&
93742 { ac_try='test -s conftest.$ac_objext'
93743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93744 (eval $ac_try) 2>&5
93745 ac_status=$?
93746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93747 (exit $ac_status); }; }; then
93748 glibcxx_cv_func__logl_use=yes
93749 else
93750 echo "$as_me: failed program was:" >&5
93751 sed 's/^/| /' conftest.$ac_ext >&5
93753 glibcxx_cv_func__logl_use=no
93755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93756 ac_ext=c
93757 ac_cpp='$CPP $CPPFLAGS'
93758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93767 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93769 if test x$glibcxx_cv_func__logl_use = x"yes"; then
93771 for ac_func in _logl
93773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93774 echo "$as_me:$LINENO: checking for $ac_func" >&5
93775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93776 if eval "test \"\${$as_ac_var+set}\" = set"; then
93777 echo $ECHO_N "(cached) $ECHO_C" >&6
93778 else
93779 if test x$gcc_no_link = xyes; then
93780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93782 { (exit 1); exit 1; }; }
93784 cat >conftest.$ac_ext <<_ACEOF
93785 /* confdefs.h. */
93786 _ACEOF
93787 cat confdefs.h >>conftest.$ac_ext
93788 cat >>conftest.$ac_ext <<_ACEOF
93789 /* end confdefs.h. */
93790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93792 #define $ac_func innocuous_$ac_func
93794 /* System header to define __stub macros and hopefully few prototypes,
93795 which can conflict with char $ac_func (); below.
93796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93797 <limits.h> exists even on freestanding compilers. */
93799 #ifdef __STDC__
93800 # include <limits.h>
93801 #else
93802 # include <assert.h>
93803 #endif
93805 #undef $ac_func
93807 /* Override any gcc2 internal prototype to avoid an error. */
93808 #ifdef __cplusplus
93809 extern "C"
93811 #endif
93812 /* We use char because int might match the return type of a gcc2
93813 builtin and then its argument prototype would still apply. */
93814 char $ac_func ();
93815 /* The GNU C library defines this for functions which it implements
93816 to always fail with ENOSYS. Some functions are actually named
93817 something starting with __ and the normal name is an alias. */
93818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93819 choke me
93820 #else
93821 char (*f) () = $ac_func;
93822 #endif
93823 #ifdef __cplusplus
93825 #endif
93828 main ()
93830 return f != $ac_func;
93832 return 0;
93834 _ACEOF
93835 rm -f conftest.$ac_objext conftest$ac_exeext
93836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93837 (eval $ac_link) 2>conftest.er1
93838 ac_status=$?
93839 grep -v '^ *+' conftest.er1 >conftest.err
93840 rm -f conftest.er1
93841 cat conftest.err >&5
93842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93843 (exit $ac_status); } &&
93844 { ac_try='test -z "$ac_c_werror_flag"
93845 || test ! -s conftest.err'
93846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93847 (eval $ac_try) 2>&5
93848 ac_status=$?
93849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93850 (exit $ac_status); }; } &&
93851 { ac_try='test -s conftest$ac_exeext'
93852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93853 (eval $ac_try) 2>&5
93854 ac_status=$?
93855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93856 (exit $ac_status); }; }; then
93857 eval "$as_ac_var=yes"
93858 else
93859 echo "$as_me: failed program was:" >&5
93860 sed 's/^/| /' conftest.$ac_ext >&5
93862 eval "$as_ac_var=no"
93864 rm -f conftest.err conftest.$ac_objext \
93865 conftest$ac_exeext conftest.$ac_ext
93867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93869 if test `eval echo '${'$as_ac_var'}'` = yes; then
93870 cat >>confdefs.h <<_ACEOF
93871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93872 _ACEOF
93875 done
93885 echo "$as_me:$LINENO: checking for log10l declaration" >&5
93886 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93887 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93888 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93889 echo $ECHO_N "(cached) $ECHO_C" >&6
93890 else
93894 ac_ext=cc
93895 ac_cpp='$CXXCPP $CPPFLAGS'
93896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93900 cat >conftest.$ac_ext <<_ACEOF
93901 /* confdefs.h. */
93902 _ACEOF
93903 cat confdefs.h >>conftest.$ac_ext
93904 cat >>conftest.$ac_ext <<_ACEOF
93905 /* end confdefs.h. */
93906 #include <math.h>
93907 #ifdef HAVE_IEEEFP_H
93908 #include <ieeefp.h>
93909 #endif
93912 main ()
93914 log10l(0);
93916 return 0;
93918 _ACEOF
93919 rm -f conftest.$ac_objext
93920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93921 (eval $ac_compile) 2>conftest.er1
93922 ac_status=$?
93923 grep -v '^ *+' conftest.er1 >conftest.err
93924 rm -f conftest.er1
93925 cat conftest.err >&5
93926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93927 (exit $ac_status); } &&
93928 { ac_try='test -z "$ac_cxx_werror_flag"
93929 || test ! -s conftest.err'
93930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93931 (eval $ac_try) 2>&5
93932 ac_status=$?
93933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93934 (exit $ac_status); }; } &&
93935 { ac_try='test -s conftest.$ac_objext'
93936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93937 (eval $ac_try) 2>&5
93938 ac_status=$?
93939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93940 (exit $ac_status); }; }; then
93941 glibcxx_cv_func_log10l_use=yes
93942 else
93943 echo "$as_me: failed program was:" >&5
93944 sed 's/^/| /' conftest.$ac_ext >&5
93946 glibcxx_cv_func_log10l_use=no
93948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93949 ac_ext=c
93950 ac_cpp='$CPP $CPPFLAGS'
93951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93960 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93962 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93964 for ac_func in log10l
93966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93967 echo "$as_me:$LINENO: checking for $ac_func" >&5
93968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93969 if eval "test \"\${$as_ac_var+set}\" = set"; then
93970 echo $ECHO_N "(cached) $ECHO_C" >&6
93971 else
93972 if test x$gcc_no_link = xyes; then
93973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93975 { (exit 1); exit 1; }; }
93977 cat >conftest.$ac_ext <<_ACEOF
93978 /* confdefs.h. */
93979 _ACEOF
93980 cat confdefs.h >>conftest.$ac_ext
93981 cat >>conftest.$ac_ext <<_ACEOF
93982 /* end confdefs.h. */
93983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93985 #define $ac_func innocuous_$ac_func
93987 /* System header to define __stub macros and hopefully few prototypes,
93988 which can conflict with char $ac_func (); below.
93989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93990 <limits.h> exists even on freestanding compilers. */
93992 #ifdef __STDC__
93993 # include <limits.h>
93994 #else
93995 # include <assert.h>
93996 #endif
93998 #undef $ac_func
94000 /* Override any gcc2 internal prototype to avoid an error. */
94001 #ifdef __cplusplus
94002 extern "C"
94004 #endif
94005 /* We use char because int might match the return type of a gcc2
94006 builtin and then its argument prototype would still apply. */
94007 char $ac_func ();
94008 /* The GNU C library defines this for functions which it implements
94009 to always fail with ENOSYS. Some functions are actually named
94010 something starting with __ and the normal name is an alias. */
94011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94012 choke me
94013 #else
94014 char (*f) () = $ac_func;
94015 #endif
94016 #ifdef __cplusplus
94018 #endif
94021 main ()
94023 return f != $ac_func;
94025 return 0;
94027 _ACEOF
94028 rm -f conftest.$ac_objext conftest$ac_exeext
94029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94030 (eval $ac_link) 2>conftest.er1
94031 ac_status=$?
94032 grep -v '^ *+' conftest.er1 >conftest.err
94033 rm -f conftest.er1
94034 cat conftest.err >&5
94035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036 (exit $ac_status); } &&
94037 { ac_try='test -z "$ac_c_werror_flag"
94038 || test ! -s conftest.err'
94039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94040 (eval $ac_try) 2>&5
94041 ac_status=$?
94042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94043 (exit $ac_status); }; } &&
94044 { ac_try='test -s conftest$ac_exeext'
94045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94046 (eval $ac_try) 2>&5
94047 ac_status=$?
94048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94049 (exit $ac_status); }; }; then
94050 eval "$as_ac_var=yes"
94051 else
94052 echo "$as_me: failed program was:" >&5
94053 sed 's/^/| /' conftest.$ac_ext >&5
94055 eval "$as_ac_var=no"
94057 rm -f conftest.err conftest.$ac_objext \
94058 conftest$ac_exeext conftest.$ac_ext
94060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94062 if test `eval echo '${'$as_ac_var'}'` = yes; then
94063 cat >>confdefs.h <<_ACEOF
94064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94065 _ACEOF
94068 done
94070 else
94072 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94073 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94074 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94075 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94076 echo $ECHO_N "(cached) $ECHO_C" >&6
94077 else
94081 ac_ext=cc
94082 ac_cpp='$CXXCPP $CPPFLAGS'
94083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94087 cat >conftest.$ac_ext <<_ACEOF
94088 /* confdefs.h. */
94089 _ACEOF
94090 cat confdefs.h >>conftest.$ac_ext
94091 cat >>conftest.$ac_ext <<_ACEOF
94092 /* end confdefs.h. */
94093 #include <math.h>
94094 #ifdef HAVE_IEEEFP_H
94095 #include <ieeefp.h>
94096 #endif
94099 main ()
94101 _log10l(0);
94103 return 0;
94105 _ACEOF
94106 rm -f conftest.$ac_objext
94107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94108 (eval $ac_compile) 2>conftest.er1
94109 ac_status=$?
94110 grep -v '^ *+' conftest.er1 >conftest.err
94111 rm -f conftest.er1
94112 cat conftest.err >&5
94113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94114 (exit $ac_status); } &&
94115 { ac_try='test -z "$ac_cxx_werror_flag"
94116 || test ! -s conftest.err'
94117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94118 (eval $ac_try) 2>&5
94119 ac_status=$?
94120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94121 (exit $ac_status); }; } &&
94122 { ac_try='test -s conftest.$ac_objext'
94123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94124 (eval $ac_try) 2>&5
94125 ac_status=$?
94126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94127 (exit $ac_status); }; }; then
94128 glibcxx_cv_func__log10l_use=yes
94129 else
94130 echo "$as_me: failed program was:" >&5
94131 sed 's/^/| /' conftest.$ac_ext >&5
94133 glibcxx_cv_func__log10l_use=no
94135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94136 ac_ext=c
94137 ac_cpp='$CPP $CPPFLAGS'
94138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94147 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94149 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94151 for ac_func in _log10l
94153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94154 echo "$as_me:$LINENO: checking for $ac_func" >&5
94155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94156 if eval "test \"\${$as_ac_var+set}\" = set"; then
94157 echo $ECHO_N "(cached) $ECHO_C" >&6
94158 else
94159 if test x$gcc_no_link = xyes; then
94160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94162 { (exit 1); exit 1; }; }
94164 cat >conftest.$ac_ext <<_ACEOF
94165 /* confdefs.h. */
94166 _ACEOF
94167 cat confdefs.h >>conftest.$ac_ext
94168 cat >>conftest.$ac_ext <<_ACEOF
94169 /* end confdefs.h. */
94170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94172 #define $ac_func innocuous_$ac_func
94174 /* System header to define __stub macros and hopefully few prototypes,
94175 which can conflict with char $ac_func (); below.
94176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94177 <limits.h> exists even on freestanding compilers. */
94179 #ifdef __STDC__
94180 # include <limits.h>
94181 #else
94182 # include <assert.h>
94183 #endif
94185 #undef $ac_func
94187 /* Override any gcc2 internal prototype to avoid an error. */
94188 #ifdef __cplusplus
94189 extern "C"
94191 #endif
94192 /* We use char because int might match the return type of a gcc2
94193 builtin and then its argument prototype would still apply. */
94194 char $ac_func ();
94195 /* The GNU C library defines this for functions which it implements
94196 to always fail with ENOSYS. Some functions are actually named
94197 something starting with __ and the normal name is an alias. */
94198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94199 choke me
94200 #else
94201 char (*f) () = $ac_func;
94202 #endif
94203 #ifdef __cplusplus
94205 #endif
94208 main ()
94210 return f != $ac_func;
94212 return 0;
94214 _ACEOF
94215 rm -f conftest.$ac_objext conftest$ac_exeext
94216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94217 (eval $ac_link) 2>conftest.er1
94218 ac_status=$?
94219 grep -v '^ *+' conftest.er1 >conftest.err
94220 rm -f conftest.er1
94221 cat conftest.err >&5
94222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94223 (exit $ac_status); } &&
94224 { ac_try='test -z "$ac_c_werror_flag"
94225 || test ! -s conftest.err'
94226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94227 (eval $ac_try) 2>&5
94228 ac_status=$?
94229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94230 (exit $ac_status); }; } &&
94231 { ac_try='test -s conftest$ac_exeext'
94232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94233 (eval $ac_try) 2>&5
94234 ac_status=$?
94235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94236 (exit $ac_status); }; }; then
94237 eval "$as_ac_var=yes"
94238 else
94239 echo "$as_me: failed program was:" >&5
94240 sed 's/^/| /' conftest.$ac_ext >&5
94242 eval "$as_ac_var=no"
94244 rm -f conftest.err conftest.$ac_objext \
94245 conftest$ac_exeext conftest.$ac_ext
94247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94249 if test `eval echo '${'$as_ac_var'}'` = yes; then
94250 cat >>confdefs.h <<_ACEOF
94251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94252 _ACEOF
94255 done
94265 echo "$as_me:$LINENO: checking for modfl declaration" >&5
94266 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94267 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94268 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94269 echo $ECHO_N "(cached) $ECHO_C" >&6
94270 else
94274 ac_ext=cc
94275 ac_cpp='$CXXCPP $CPPFLAGS'
94276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94280 cat >conftest.$ac_ext <<_ACEOF
94281 /* confdefs.h. */
94282 _ACEOF
94283 cat confdefs.h >>conftest.$ac_ext
94284 cat >>conftest.$ac_ext <<_ACEOF
94285 /* end confdefs.h. */
94286 #include <math.h>
94288 main ()
94290 modfl(0, 0);
94292 return 0;
94294 _ACEOF
94295 rm -f conftest.$ac_objext
94296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94297 (eval $ac_compile) 2>conftest.er1
94298 ac_status=$?
94299 grep -v '^ *+' conftest.er1 >conftest.err
94300 rm -f conftest.er1
94301 cat conftest.err >&5
94302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94303 (exit $ac_status); } &&
94304 { ac_try='test -z "$ac_cxx_werror_flag"
94305 || test ! -s conftest.err'
94306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94307 (eval $ac_try) 2>&5
94308 ac_status=$?
94309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310 (exit $ac_status); }; } &&
94311 { ac_try='test -s conftest.$ac_objext'
94312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94313 (eval $ac_try) 2>&5
94314 ac_status=$?
94315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94316 (exit $ac_status); }; }; then
94317 glibcxx_cv_func_modfl_use=yes
94318 else
94319 echo "$as_me: failed program was:" >&5
94320 sed 's/^/| /' conftest.$ac_ext >&5
94322 glibcxx_cv_func_modfl_use=no
94324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94325 ac_ext=c
94326 ac_cpp='$CPP $CPPFLAGS'
94327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94336 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94338 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94340 for ac_func in modfl
94342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94343 echo "$as_me:$LINENO: checking for $ac_func" >&5
94344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94345 if eval "test \"\${$as_ac_var+set}\" = set"; then
94346 echo $ECHO_N "(cached) $ECHO_C" >&6
94347 else
94348 if test x$gcc_no_link = xyes; then
94349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94351 { (exit 1); exit 1; }; }
94353 cat >conftest.$ac_ext <<_ACEOF
94354 /* confdefs.h. */
94355 _ACEOF
94356 cat confdefs.h >>conftest.$ac_ext
94357 cat >>conftest.$ac_ext <<_ACEOF
94358 /* end confdefs.h. */
94359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94361 #define $ac_func innocuous_$ac_func
94363 /* System header to define __stub macros and hopefully few prototypes,
94364 which can conflict with char $ac_func (); below.
94365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94366 <limits.h> exists even on freestanding compilers. */
94368 #ifdef __STDC__
94369 # include <limits.h>
94370 #else
94371 # include <assert.h>
94372 #endif
94374 #undef $ac_func
94376 /* Override any gcc2 internal prototype to avoid an error. */
94377 #ifdef __cplusplus
94378 extern "C"
94380 #endif
94381 /* We use char because int might match the return type of a gcc2
94382 builtin and then its argument prototype would still apply. */
94383 char $ac_func ();
94384 /* The GNU C library defines this for functions which it implements
94385 to always fail with ENOSYS. Some functions are actually named
94386 something starting with __ and the normal name is an alias. */
94387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94388 choke me
94389 #else
94390 char (*f) () = $ac_func;
94391 #endif
94392 #ifdef __cplusplus
94394 #endif
94397 main ()
94399 return f != $ac_func;
94401 return 0;
94403 _ACEOF
94404 rm -f conftest.$ac_objext conftest$ac_exeext
94405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94406 (eval $ac_link) 2>conftest.er1
94407 ac_status=$?
94408 grep -v '^ *+' conftest.er1 >conftest.err
94409 rm -f conftest.er1
94410 cat conftest.err >&5
94411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412 (exit $ac_status); } &&
94413 { ac_try='test -z "$ac_c_werror_flag"
94414 || test ! -s conftest.err'
94415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416 (eval $ac_try) 2>&5
94417 ac_status=$?
94418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419 (exit $ac_status); }; } &&
94420 { ac_try='test -s conftest$ac_exeext'
94421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422 (eval $ac_try) 2>&5
94423 ac_status=$?
94424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 (exit $ac_status); }; }; then
94426 eval "$as_ac_var=yes"
94427 else
94428 echo "$as_me: failed program was:" >&5
94429 sed 's/^/| /' conftest.$ac_ext >&5
94431 eval "$as_ac_var=no"
94433 rm -f conftest.err conftest.$ac_objext \
94434 conftest$ac_exeext conftest.$ac_ext
94436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94438 if test `eval echo '${'$as_ac_var'}'` = yes; then
94439 cat >>confdefs.h <<_ACEOF
94440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94441 _ACEOF
94444 done
94446 else
94448 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94449 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94450 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94451 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94452 echo $ECHO_N "(cached) $ECHO_C" >&6
94453 else
94457 ac_ext=cc
94458 ac_cpp='$CXXCPP $CPPFLAGS'
94459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94463 cat >conftest.$ac_ext <<_ACEOF
94464 /* confdefs.h. */
94465 _ACEOF
94466 cat confdefs.h >>conftest.$ac_ext
94467 cat >>conftest.$ac_ext <<_ACEOF
94468 /* end confdefs.h. */
94469 #include <math.h>
94471 main ()
94473 _modfl(0, 0);
94475 return 0;
94477 _ACEOF
94478 rm -f conftest.$ac_objext
94479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94480 (eval $ac_compile) 2>conftest.er1
94481 ac_status=$?
94482 grep -v '^ *+' conftest.er1 >conftest.err
94483 rm -f conftest.er1
94484 cat conftest.err >&5
94485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94486 (exit $ac_status); } &&
94487 { ac_try='test -z "$ac_cxx_werror_flag"
94488 || test ! -s conftest.err'
94489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94490 (eval $ac_try) 2>&5
94491 ac_status=$?
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); }; } &&
94494 { ac_try='test -s conftest.$ac_objext'
94495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94496 (eval $ac_try) 2>&5
94497 ac_status=$?
94498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499 (exit $ac_status); }; }; then
94500 glibcxx_cv_func__modfl_use=yes
94501 else
94502 echo "$as_me: failed program was:" >&5
94503 sed 's/^/| /' conftest.$ac_ext >&5
94505 glibcxx_cv_func__modfl_use=no
94507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94508 ac_ext=c
94509 ac_cpp='$CPP $CPPFLAGS'
94510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94519 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94521 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94523 for ac_func in _modfl
94525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94526 echo "$as_me:$LINENO: checking for $ac_func" >&5
94527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94528 if eval "test \"\${$as_ac_var+set}\" = set"; then
94529 echo $ECHO_N "(cached) $ECHO_C" >&6
94530 else
94531 if test x$gcc_no_link = xyes; then
94532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94534 { (exit 1); exit 1; }; }
94536 cat >conftest.$ac_ext <<_ACEOF
94537 /* confdefs.h. */
94538 _ACEOF
94539 cat confdefs.h >>conftest.$ac_ext
94540 cat >>conftest.$ac_ext <<_ACEOF
94541 /* end confdefs.h. */
94542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94544 #define $ac_func innocuous_$ac_func
94546 /* System header to define __stub macros and hopefully few prototypes,
94547 which can conflict with char $ac_func (); below.
94548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94549 <limits.h> exists even on freestanding compilers. */
94551 #ifdef __STDC__
94552 # include <limits.h>
94553 #else
94554 # include <assert.h>
94555 #endif
94557 #undef $ac_func
94559 /* Override any gcc2 internal prototype to avoid an error. */
94560 #ifdef __cplusplus
94561 extern "C"
94563 #endif
94564 /* We use char because int might match the return type of a gcc2
94565 builtin and then its argument prototype would still apply. */
94566 char $ac_func ();
94567 /* The GNU C library defines this for functions which it implements
94568 to always fail with ENOSYS. Some functions are actually named
94569 something starting with __ and the normal name is an alias. */
94570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94571 choke me
94572 #else
94573 char (*f) () = $ac_func;
94574 #endif
94575 #ifdef __cplusplus
94577 #endif
94580 main ()
94582 return f != $ac_func;
94584 return 0;
94586 _ACEOF
94587 rm -f conftest.$ac_objext conftest$ac_exeext
94588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94589 (eval $ac_link) 2>conftest.er1
94590 ac_status=$?
94591 grep -v '^ *+' conftest.er1 >conftest.err
94592 rm -f conftest.er1
94593 cat conftest.err >&5
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); } &&
94596 { ac_try='test -z "$ac_c_werror_flag"
94597 || test ! -s conftest.err'
94598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94599 (eval $ac_try) 2>&5
94600 ac_status=$?
94601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94602 (exit $ac_status); }; } &&
94603 { ac_try='test -s conftest$ac_exeext'
94604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94605 (eval $ac_try) 2>&5
94606 ac_status=$?
94607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608 (exit $ac_status); }; }; then
94609 eval "$as_ac_var=yes"
94610 else
94611 echo "$as_me: failed program was:" >&5
94612 sed 's/^/| /' conftest.$ac_ext >&5
94614 eval "$as_ac_var=no"
94616 rm -f conftest.err conftest.$ac_objext \
94617 conftest$ac_exeext conftest.$ac_ext
94619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94621 if test `eval echo '${'$as_ac_var'}'` = yes; then
94622 cat >>confdefs.h <<_ACEOF
94623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94624 _ACEOF
94627 done
94637 echo "$as_me:$LINENO: checking for powl declaration" >&5
94638 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94639 if test x${glibcxx_cv_func_powl_use+set} != xset; then
94640 if test "${glibcxx_cv_func_powl_use+set}" = set; then
94641 echo $ECHO_N "(cached) $ECHO_C" >&6
94642 else
94646 ac_ext=cc
94647 ac_cpp='$CXXCPP $CPPFLAGS'
94648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94652 cat >conftest.$ac_ext <<_ACEOF
94653 /* confdefs.h. */
94654 _ACEOF
94655 cat confdefs.h >>conftest.$ac_ext
94656 cat >>conftest.$ac_ext <<_ACEOF
94657 /* end confdefs.h. */
94658 #include <math.h>
94660 main ()
94662 powl(0, 0);
94664 return 0;
94666 _ACEOF
94667 rm -f conftest.$ac_objext
94668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94669 (eval $ac_compile) 2>conftest.er1
94670 ac_status=$?
94671 grep -v '^ *+' conftest.er1 >conftest.err
94672 rm -f conftest.er1
94673 cat conftest.err >&5
94674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94675 (exit $ac_status); } &&
94676 { ac_try='test -z "$ac_cxx_werror_flag"
94677 || test ! -s conftest.err'
94678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94679 (eval $ac_try) 2>&5
94680 ac_status=$?
94681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682 (exit $ac_status); }; } &&
94683 { ac_try='test -s conftest.$ac_objext'
94684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94685 (eval $ac_try) 2>&5
94686 ac_status=$?
94687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94688 (exit $ac_status); }; }; then
94689 glibcxx_cv_func_powl_use=yes
94690 else
94691 echo "$as_me: failed program was:" >&5
94692 sed 's/^/| /' conftest.$ac_ext >&5
94694 glibcxx_cv_func_powl_use=no
94696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94697 ac_ext=c
94698 ac_cpp='$CPP $CPPFLAGS'
94699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94708 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94710 if test x$glibcxx_cv_func_powl_use = x"yes"; then
94712 for ac_func in powl
94714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94715 echo "$as_me:$LINENO: checking for $ac_func" >&5
94716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94717 if eval "test \"\${$as_ac_var+set}\" = set"; then
94718 echo $ECHO_N "(cached) $ECHO_C" >&6
94719 else
94720 if test x$gcc_no_link = xyes; then
94721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94723 { (exit 1); exit 1; }; }
94725 cat >conftest.$ac_ext <<_ACEOF
94726 /* confdefs.h. */
94727 _ACEOF
94728 cat confdefs.h >>conftest.$ac_ext
94729 cat >>conftest.$ac_ext <<_ACEOF
94730 /* end confdefs.h. */
94731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94733 #define $ac_func innocuous_$ac_func
94735 /* System header to define __stub macros and hopefully few prototypes,
94736 which can conflict with char $ac_func (); below.
94737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94738 <limits.h> exists even on freestanding compilers. */
94740 #ifdef __STDC__
94741 # include <limits.h>
94742 #else
94743 # include <assert.h>
94744 #endif
94746 #undef $ac_func
94748 /* Override any gcc2 internal prototype to avoid an error. */
94749 #ifdef __cplusplus
94750 extern "C"
94752 #endif
94753 /* We use char because int might match the return type of a gcc2
94754 builtin and then its argument prototype would still apply. */
94755 char $ac_func ();
94756 /* The GNU C library defines this for functions which it implements
94757 to always fail with ENOSYS. Some functions are actually named
94758 something starting with __ and the normal name is an alias. */
94759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94760 choke me
94761 #else
94762 char (*f) () = $ac_func;
94763 #endif
94764 #ifdef __cplusplus
94766 #endif
94769 main ()
94771 return f != $ac_func;
94773 return 0;
94775 _ACEOF
94776 rm -f conftest.$ac_objext conftest$ac_exeext
94777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94778 (eval $ac_link) 2>conftest.er1
94779 ac_status=$?
94780 grep -v '^ *+' conftest.er1 >conftest.err
94781 rm -f conftest.er1
94782 cat conftest.err >&5
94783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784 (exit $ac_status); } &&
94785 { ac_try='test -z "$ac_c_werror_flag"
94786 || test ! -s conftest.err'
94787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788 (eval $ac_try) 2>&5
94789 ac_status=$?
94790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791 (exit $ac_status); }; } &&
94792 { ac_try='test -s conftest$ac_exeext'
94793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94794 (eval $ac_try) 2>&5
94795 ac_status=$?
94796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94797 (exit $ac_status); }; }; then
94798 eval "$as_ac_var=yes"
94799 else
94800 echo "$as_me: failed program was:" >&5
94801 sed 's/^/| /' conftest.$ac_ext >&5
94803 eval "$as_ac_var=no"
94805 rm -f conftest.err conftest.$ac_objext \
94806 conftest$ac_exeext conftest.$ac_ext
94808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94810 if test `eval echo '${'$as_ac_var'}'` = yes; then
94811 cat >>confdefs.h <<_ACEOF
94812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94813 _ACEOF
94816 done
94818 else
94820 echo "$as_me:$LINENO: checking for _powl declaration" >&5
94821 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94822 if test x${glibcxx_cv_func__powl_use+set} != xset; then
94823 if test "${glibcxx_cv_func__powl_use+set}" = set; then
94824 echo $ECHO_N "(cached) $ECHO_C" >&6
94825 else
94829 ac_ext=cc
94830 ac_cpp='$CXXCPP $CPPFLAGS'
94831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94835 cat >conftest.$ac_ext <<_ACEOF
94836 /* confdefs.h. */
94837 _ACEOF
94838 cat confdefs.h >>conftest.$ac_ext
94839 cat >>conftest.$ac_ext <<_ACEOF
94840 /* end confdefs.h. */
94841 #include <math.h>
94843 main ()
94845 _powl(0, 0);
94847 return 0;
94849 _ACEOF
94850 rm -f conftest.$ac_objext
94851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94852 (eval $ac_compile) 2>conftest.er1
94853 ac_status=$?
94854 grep -v '^ *+' conftest.er1 >conftest.err
94855 rm -f conftest.er1
94856 cat conftest.err >&5
94857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94858 (exit $ac_status); } &&
94859 { ac_try='test -z "$ac_cxx_werror_flag"
94860 || test ! -s conftest.err'
94861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94862 (eval $ac_try) 2>&5
94863 ac_status=$?
94864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94865 (exit $ac_status); }; } &&
94866 { ac_try='test -s conftest.$ac_objext'
94867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94868 (eval $ac_try) 2>&5
94869 ac_status=$?
94870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94871 (exit $ac_status); }; }; then
94872 glibcxx_cv_func__powl_use=yes
94873 else
94874 echo "$as_me: failed program was:" >&5
94875 sed 's/^/| /' conftest.$ac_ext >&5
94877 glibcxx_cv_func__powl_use=no
94879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94880 ac_ext=c
94881 ac_cpp='$CPP $CPPFLAGS'
94882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94891 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94893 if test x$glibcxx_cv_func__powl_use = x"yes"; then
94895 for ac_func in _powl
94897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94898 echo "$as_me:$LINENO: checking for $ac_func" >&5
94899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94900 if eval "test \"\${$as_ac_var+set}\" = set"; then
94901 echo $ECHO_N "(cached) $ECHO_C" >&6
94902 else
94903 if test x$gcc_no_link = xyes; then
94904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94906 { (exit 1); exit 1; }; }
94908 cat >conftest.$ac_ext <<_ACEOF
94909 /* confdefs.h. */
94910 _ACEOF
94911 cat confdefs.h >>conftest.$ac_ext
94912 cat >>conftest.$ac_ext <<_ACEOF
94913 /* end confdefs.h. */
94914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94916 #define $ac_func innocuous_$ac_func
94918 /* System header to define __stub macros and hopefully few prototypes,
94919 which can conflict with char $ac_func (); below.
94920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94921 <limits.h> exists even on freestanding compilers. */
94923 #ifdef __STDC__
94924 # include <limits.h>
94925 #else
94926 # include <assert.h>
94927 #endif
94929 #undef $ac_func
94931 /* Override any gcc2 internal prototype to avoid an error. */
94932 #ifdef __cplusplus
94933 extern "C"
94935 #endif
94936 /* We use char because int might match the return type of a gcc2
94937 builtin and then its argument prototype would still apply. */
94938 char $ac_func ();
94939 /* The GNU C library defines this for functions which it implements
94940 to always fail with ENOSYS. Some functions are actually named
94941 something starting with __ and the normal name is an alias. */
94942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94943 choke me
94944 #else
94945 char (*f) () = $ac_func;
94946 #endif
94947 #ifdef __cplusplus
94949 #endif
94952 main ()
94954 return f != $ac_func;
94956 return 0;
94958 _ACEOF
94959 rm -f conftest.$ac_objext conftest$ac_exeext
94960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94961 (eval $ac_link) 2>conftest.er1
94962 ac_status=$?
94963 grep -v '^ *+' conftest.er1 >conftest.err
94964 rm -f conftest.er1
94965 cat conftest.err >&5
94966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94967 (exit $ac_status); } &&
94968 { ac_try='test -z "$ac_c_werror_flag"
94969 || test ! -s conftest.err'
94970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94971 (eval $ac_try) 2>&5
94972 ac_status=$?
94973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94974 (exit $ac_status); }; } &&
94975 { ac_try='test -s conftest$ac_exeext'
94976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94977 (eval $ac_try) 2>&5
94978 ac_status=$?
94979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980 (exit $ac_status); }; }; then
94981 eval "$as_ac_var=yes"
94982 else
94983 echo "$as_me: failed program was:" >&5
94984 sed 's/^/| /' conftest.$ac_ext >&5
94986 eval "$as_ac_var=no"
94988 rm -f conftest.err conftest.$ac_objext \
94989 conftest$ac_exeext conftest.$ac_ext
94991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94993 if test `eval echo '${'$as_ac_var'}'` = yes; then
94994 cat >>confdefs.h <<_ACEOF
94995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94996 _ACEOF
94999 done
95009 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95010 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95011 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95012 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95013 echo $ECHO_N "(cached) $ECHO_C" >&6
95014 else
95018 ac_ext=cc
95019 ac_cpp='$CXXCPP $CPPFLAGS'
95020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95024 cat >conftest.$ac_ext <<_ACEOF
95025 /* confdefs.h. */
95026 _ACEOF
95027 cat confdefs.h >>conftest.$ac_ext
95028 cat >>conftest.$ac_ext <<_ACEOF
95029 /* end confdefs.h. */
95030 #include <math.h>
95031 #ifdef HAVE_IEEEFP_H
95032 #include <ieeefp.h>
95033 #endif
95036 main ()
95038 sqrtl(0);
95040 return 0;
95042 _ACEOF
95043 rm -f conftest.$ac_objext
95044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95045 (eval $ac_compile) 2>conftest.er1
95046 ac_status=$?
95047 grep -v '^ *+' conftest.er1 >conftest.err
95048 rm -f conftest.er1
95049 cat conftest.err >&5
95050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95051 (exit $ac_status); } &&
95052 { ac_try='test -z "$ac_cxx_werror_flag"
95053 || test ! -s conftest.err'
95054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95055 (eval $ac_try) 2>&5
95056 ac_status=$?
95057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95058 (exit $ac_status); }; } &&
95059 { ac_try='test -s conftest.$ac_objext'
95060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95061 (eval $ac_try) 2>&5
95062 ac_status=$?
95063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95064 (exit $ac_status); }; }; then
95065 glibcxx_cv_func_sqrtl_use=yes
95066 else
95067 echo "$as_me: failed program was:" >&5
95068 sed 's/^/| /' conftest.$ac_ext >&5
95070 glibcxx_cv_func_sqrtl_use=no
95072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95073 ac_ext=c
95074 ac_cpp='$CPP $CPPFLAGS'
95075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95084 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95086 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95088 for ac_func in sqrtl
95090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95091 echo "$as_me:$LINENO: checking for $ac_func" >&5
95092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95093 if eval "test \"\${$as_ac_var+set}\" = set"; then
95094 echo $ECHO_N "(cached) $ECHO_C" >&6
95095 else
95096 if test x$gcc_no_link = xyes; then
95097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95099 { (exit 1); exit 1; }; }
95101 cat >conftest.$ac_ext <<_ACEOF
95102 /* confdefs.h. */
95103 _ACEOF
95104 cat confdefs.h >>conftest.$ac_ext
95105 cat >>conftest.$ac_ext <<_ACEOF
95106 /* end confdefs.h. */
95107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95109 #define $ac_func innocuous_$ac_func
95111 /* System header to define __stub macros and hopefully few prototypes,
95112 which can conflict with char $ac_func (); below.
95113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95114 <limits.h> exists even on freestanding compilers. */
95116 #ifdef __STDC__
95117 # include <limits.h>
95118 #else
95119 # include <assert.h>
95120 #endif
95122 #undef $ac_func
95124 /* Override any gcc2 internal prototype to avoid an error. */
95125 #ifdef __cplusplus
95126 extern "C"
95128 #endif
95129 /* We use char because int might match the return type of a gcc2
95130 builtin and then its argument prototype would still apply. */
95131 char $ac_func ();
95132 /* The GNU C library defines this for functions which it implements
95133 to always fail with ENOSYS. Some functions are actually named
95134 something starting with __ and the normal name is an alias. */
95135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95136 choke me
95137 #else
95138 char (*f) () = $ac_func;
95139 #endif
95140 #ifdef __cplusplus
95142 #endif
95145 main ()
95147 return f != $ac_func;
95149 return 0;
95151 _ACEOF
95152 rm -f conftest.$ac_objext conftest$ac_exeext
95153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95154 (eval $ac_link) 2>conftest.er1
95155 ac_status=$?
95156 grep -v '^ *+' conftest.er1 >conftest.err
95157 rm -f conftest.er1
95158 cat conftest.err >&5
95159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160 (exit $ac_status); } &&
95161 { ac_try='test -z "$ac_c_werror_flag"
95162 || test ! -s conftest.err'
95163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95164 (eval $ac_try) 2>&5
95165 ac_status=$?
95166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95167 (exit $ac_status); }; } &&
95168 { ac_try='test -s conftest$ac_exeext'
95169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95170 (eval $ac_try) 2>&5
95171 ac_status=$?
95172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95173 (exit $ac_status); }; }; then
95174 eval "$as_ac_var=yes"
95175 else
95176 echo "$as_me: failed program was:" >&5
95177 sed 's/^/| /' conftest.$ac_ext >&5
95179 eval "$as_ac_var=no"
95181 rm -f conftest.err conftest.$ac_objext \
95182 conftest$ac_exeext conftest.$ac_ext
95184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95186 if test `eval echo '${'$as_ac_var'}'` = yes; then
95187 cat >>confdefs.h <<_ACEOF
95188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95189 _ACEOF
95192 done
95194 else
95196 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95197 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95198 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95199 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95200 echo $ECHO_N "(cached) $ECHO_C" >&6
95201 else
95205 ac_ext=cc
95206 ac_cpp='$CXXCPP $CPPFLAGS'
95207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95211 cat >conftest.$ac_ext <<_ACEOF
95212 /* confdefs.h. */
95213 _ACEOF
95214 cat confdefs.h >>conftest.$ac_ext
95215 cat >>conftest.$ac_ext <<_ACEOF
95216 /* end confdefs.h. */
95217 #include <math.h>
95218 #ifdef HAVE_IEEEFP_H
95219 #include <ieeefp.h>
95220 #endif
95223 main ()
95225 _sqrtl(0);
95227 return 0;
95229 _ACEOF
95230 rm -f conftest.$ac_objext
95231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95232 (eval $ac_compile) 2>conftest.er1
95233 ac_status=$?
95234 grep -v '^ *+' conftest.er1 >conftest.err
95235 rm -f conftest.er1
95236 cat conftest.err >&5
95237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95238 (exit $ac_status); } &&
95239 { ac_try='test -z "$ac_cxx_werror_flag"
95240 || test ! -s conftest.err'
95241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95242 (eval $ac_try) 2>&5
95243 ac_status=$?
95244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95245 (exit $ac_status); }; } &&
95246 { ac_try='test -s conftest.$ac_objext'
95247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95248 (eval $ac_try) 2>&5
95249 ac_status=$?
95250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95251 (exit $ac_status); }; }; then
95252 glibcxx_cv_func__sqrtl_use=yes
95253 else
95254 echo "$as_me: failed program was:" >&5
95255 sed 's/^/| /' conftest.$ac_ext >&5
95257 glibcxx_cv_func__sqrtl_use=no
95259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95260 ac_ext=c
95261 ac_cpp='$CPP $CPPFLAGS'
95262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95271 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95273 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95275 for ac_func in _sqrtl
95277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95278 echo "$as_me:$LINENO: checking for $ac_func" >&5
95279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95280 if eval "test \"\${$as_ac_var+set}\" = set"; then
95281 echo $ECHO_N "(cached) $ECHO_C" >&6
95282 else
95283 if test x$gcc_no_link = xyes; then
95284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95286 { (exit 1); exit 1; }; }
95288 cat >conftest.$ac_ext <<_ACEOF
95289 /* confdefs.h. */
95290 _ACEOF
95291 cat confdefs.h >>conftest.$ac_ext
95292 cat >>conftest.$ac_ext <<_ACEOF
95293 /* end confdefs.h. */
95294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95296 #define $ac_func innocuous_$ac_func
95298 /* System header to define __stub macros and hopefully few prototypes,
95299 which can conflict with char $ac_func (); below.
95300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95301 <limits.h> exists even on freestanding compilers. */
95303 #ifdef __STDC__
95304 # include <limits.h>
95305 #else
95306 # include <assert.h>
95307 #endif
95309 #undef $ac_func
95311 /* Override any gcc2 internal prototype to avoid an error. */
95312 #ifdef __cplusplus
95313 extern "C"
95315 #endif
95316 /* We use char because int might match the return type of a gcc2
95317 builtin and then its argument prototype would still apply. */
95318 char $ac_func ();
95319 /* The GNU C library defines this for functions which it implements
95320 to always fail with ENOSYS. Some functions are actually named
95321 something starting with __ and the normal name is an alias. */
95322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95323 choke me
95324 #else
95325 char (*f) () = $ac_func;
95326 #endif
95327 #ifdef __cplusplus
95329 #endif
95332 main ()
95334 return f != $ac_func;
95336 return 0;
95338 _ACEOF
95339 rm -f conftest.$ac_objext conftest$ac_exeext
95340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95341 (eval $ac_link) 2>conftest.er1
95342 ac_status=$?
95343 grep -v '^ *+' conftest.er1 >conftest.err
95344 rm -f conftest.er1
95345 cat conftest.err >&5
95346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95347 (exit $ac_status); } &&
95348 { ac_try='test -z "$ac_c_werror_flag"
95349 || test ! -s conftest.err'
95350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95351 (eval $ac_try) 2>&5
95352 ac_status=$?
95353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354 (exit $ac_status); }; } &&
95355 { ac_try='test -s conftest$ac_exeext'
95356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95357 (eval $ac_try) 2>&5
95358 ac_status=$?
95359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95360 (exit $ac_status); }; }; then
95361 eval "$as_ac_var=yes"
95362 else
95363 echo "$as_me: failed program was:" >&5
95364 sed 's/^/| /' conftest.$ac_ext >&5
95366 eval "$as_ac_var=no"
95368 rm -f conftest.err conftest.$ac_objext \
95369 conftest$ac_exeext conftest.$ac_ext
95371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95373 if test `eval echo '${'$as_ac_var'}'` = yes; then
95374 cat >>confdefs.h <<_ACEOF
95375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95376 _ACEOF
95379 done
95389 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95390 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95391 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95392 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95393 echo $ECHO_N "(cached) $ECHO_C" >&6
95394 else
95398 ac_ext=cc
95399 ac_cpp='$CXXCPP $CPPFLAGS'
95400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95404 cat >conftest.$ac_ext <<_ACEOF
95405 /* confdefs.h. */
95406 _ACEOF
95407 cat confdefs.h >>conftest.$ac_ext
95408 cat >>conftest.$ac_ext <<_ACEOF
95409 /* end confdefs.h. */
95410 #include <math.h>
95412 main ()
95414 sincosl(0, 0, 0);
95416 return 0;
95418 _ACEOF
95419 rm -f conftest.$ac_objext
95420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95421 (eval $ac_compile) 2>conftest.er1
95422 ac_status=$?
95423 grep -v '^ *+' conftest.er1 >conftest.err
95424 rm -f conftest.er1
95425 cat conftest.err >&5
95426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95427 (exit $ac_status); } &&
95428 { ac_try='test -z "$ac_cxx_werror_flag"
95429 || test ! -s conftest.err'
95430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95431 (eval $ac_try) 2>&5
95432 ac_status=$?
95433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434 (exit $ac_status); }; } &&
95435 { ac_try='test -s conftest.$ac_objext'
95436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95437 (eval $ac_try) 2>&5
95438 ac_status=$?
95439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95440 (exit $ac_status); }; }; then
95441 glibcxx_cv_func_sincosl_use=yes
95442 else
95443 echo "$as_me: failed program was:" >&5
95444 sed 's/^/| /' conftest.$ac_ext >&5
95446 glibcxx_cv_func_sincosl_use=no
95448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95449 ac_ext=c
95450 ac_cpp='$CPP $CPPFLAGS'
95451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95460 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95462 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95464 for ac_func in sincosl
95466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95467 echo "$as_me:$LINENO: checking for $ac_func" >&5
95468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95469 if eval "test \"\${$as_ac_var+set}\" = set"; then
95470 echo $ECHO_N "(cached) $ECHO_C" >&6
95471 else
95472 if test x$gcc_no_link = xyes; then
95473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95475 { (exit 1); exit 1; }; }
95477 cat >conftest.$ac_ext <<_ACEOF
95478 /* confdefs.h. */
95479 _ACEOF
95480 cat confdefs.h >>conftest.$ac_ext
95481 cat >>conftest.$ac_ext <<_ACEOF
95482 /* end confdefs.h. */
95483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95485 #define $ac_func innocuous_$ac_func
95487 /* System header to define __stub macros and hopefully few prototypes,
95488 which can conflict with char $ac_func (); below.
95489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95490 <limits.h> exists even on freestanding compilers. */
95492 #ifdef __STDC__
95493 # include <limits.h>
95494 #else
95495 # include <assert.h>
95496 #endif
95498 #undef $ac_func
95500 /* Override any gcc2 internal prototype to avoid an error. */
95501 #ifdef __cplusplus
95502 extern "C"
95504 #endif
95505 /* We use char because int might match the return type of a gcc2
95506 builtin and then its argument prototype would still apply. */
95507 char $ac_func ();
95508 /* The GNU C library defines this for functions which it implements
95509 to always fail with ENOSYS. Some functions are actually named
95510 something starting with __ and the normal name is an alias. */
95511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95512 choke me
95513 #else
95514 char (*f) () = $ac_func;
95515 #endif
95516 #ifdef __cplusplus
95518 #endif
95521 main ()
95523 return f != $ac_func;
95525 return 0;
95527 _ACEOF
95528 rm -f conftest.$ac_objext conftest$ac_exeext
95529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95530 (eval $ac_link) 2>conftest.er1
95531 ac_status=$?
95532 grep -v '^ *+' conftest.er1 >conftest.err
95533 rm -f conftest.er1
95534 cat conftest.err >&5
95535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95536 (exit $ac_status); } &&
95537 { ac_try='test -z "$ac_c_werror_flag"
95538 || test ! -s conftest.err'
95539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95540 (eval $ac_try) 2>&5
95541 ac_status=$?
95542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543 (exit $ac_status); }; } &&
95544 { ac_try='test -s conftest$ac_exeext'
95545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95546 (eval $ac_try) 2>&5
95547 ac_status=$?
95548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95549 (exit $ac_status); }; }; then
95550 eval "$as_ac_var=yes"
95551 else
95552 echo "$as_me: failed program was:" >&5
95553 sed 's/^/| /' conftest.$ac_ext >&5
95555 eval "$as_ac_var=no"
95557 rm -f conftest.err conftest.$ac_objext \
95558 conftest$ac_exeext conftest.$ac_ext
95560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95562 if test `eval echo '${'$as_ac_var'}'` = yes; then
95563 cat >>confdefs.h <<_ACEOF
95564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95565 _ACEOF
95568 done
95570 else
95572 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95573 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95574 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95575 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95576 echo $ECHO_N "(cached) $ECHO_C" >&6
95577 else
95581 ac_ext=cc
95582 ac_cpp='$CXXCPP $CPPFLAGS'
95583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95587 cat >conftest.$ac_ext <<_ACEOF
95588 /* confdefs.h. */
95589 _ACEOF
95590 cat confdefs.h >>conftest.$ac_ext
95591 cat >>conftest.$ac_ext <<_ACEOF
95592 /* end confdefs.h. */
95593 #include <math.h>
95595 main ()
95597 _sincosl(0, 0, 0);
95599 return 0;
95601 _ACEOF
95602 rm -f conftest.$ac_objext
95603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95604 (eval $ac_compile) 2>conftest.er1
95605 ac_status=$?
95606 grep -v '^ *+' conftest.er1 >conftest.err
95607 rm -f conftest.er1
95608 cat conftest.err >&5
95609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95610 (exit $ac_status); } &&
95611 { ac_try='test -z "$ac_cxx_werror_flag"
95612 || test ! -s conftest.err'
95613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95614 (eval $ac_try) 2>&5
95615 ac_status=$?
95616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95617 (exit $ac_status); }; } &&
95618 { ac_try='test -s conftest.$ac_objext'
95619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95620 (eval $ac_try) 2>&5
95621 ac_status=$?
95622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95623 (exit $ac_status); }; }; then
95624 glibcxx_cv_func__sincosl_use=yes
95625 else
95626 echo "$as_me: failed program was:" >&5
95627 sed 's/^/| /' conftest.$ac_ext >&5
95629 glibcxx_cv_func__sincosl_use=no
95631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95632 ac_ext=c
95633 ac_cpp='$CPP $CPPFLAGS'
95634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95643 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95645 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95647 for ac_func in _sincosl
95649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95650 echo "$as_me:$LINENO: checking for $ac_func" >&5
95651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95652 if eval "test \"\${$as_ac_var+set}\" = set"; then
95653 echo $ECHO_N "(cached) $ECHO_C" >&6
95654 else
95655 if test x$gcc_no_link = xyes; then
95656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95658 { (exit 1); exit 1; }; }
95660 cat >conftest.$ac_ext <<_ACEOF
95661 /* confdefs.h. */
95662 _ACEOF
95663 cat confdefs.h >>conftest.$ac_ext
95664 cat >>conftest.$ac_ext <<_ACEOF
95665 /* end confdefs.h. */
95666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95668 #define $ac_func innocuous_$ac_func
95670 /* System header to define __stub macros and hopefully few prototypes,
95671 which can conflict with char $ac_func (); below.
95672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95673 <limits.h> exists even on freestanding compilers. */
95675 #ifdef __STDC__
95676 # include <limits.h>
95677 #else
95678 # include <assert.h>
95679 #endif
95681 #undef $ac_func
95683 /* Override any gcc2 internal prototype to avoid an error. */
95684 #ifdef __cplusplus
95685 extern "C"
95687 #endif
95688 /* We use char because int might match the return type of a gcc2
95689 builtin and then its argument prototype would still apply. */
95690 char $ac_func ();
95691 /* The GNU C library defines this for functions which it implements
95692 to always fail with ENOSYS. Some functions are actually named
95693 something starting with __ and the normal name is an alias. */
95694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95695 choke me
95696 #else
95697 char (*f) () = $ac_func;
95698 #endif
95699 #ifdef __cplusplus
95701 #endif
95704 main ()
95706 return f != $ac_func;
95708 return 0;
95710 _ACEOF
95711 rm -f conftest.$ac_objext conftest$ac_exeext
95712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95713 (eval $ac_link) 2>conftest.er1
95714 ac_status=$?
95715 grep -v '^ *+' conftest.er1 >conftest.err
95716 rm -f conftest.er1
95717 cat conftest.err >&5
95718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95719 (exit $ac_status); } &&
95720 { ac_try='test -z "$ac_c_werror_flag"
95721 || test ! -s conftest.err'
95722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95723 (eval $ac_try) 2>&5
95724 ac_status=$?
95725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95726 (exit $ac_status); }; } &&
95727 { ac_try='test -s conftest$ac_exeext'
95728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95729 (eval $ac_try) 2>&5
95730 ac_status=$?
95731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95732 (exit $ac_status); }; }; then
95733 eval "$as_ac_var=yes"
95734 else
95735 echo "$as_me: failed program was:" >&5
95736 sed 's/^/| /' conftest.$ac_ext >&5
95738 eval "$as_ac_var=no"
95740 rm -f conftest.err conftest.$ac_objext \
95741 conftest$ac_exeext conftest.$ac_ext
95743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95745 if test `eval echo '${'$as_ac_var'}'` = yes; then
95746 cat >>confdefs.h <<_ACEOF
95747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95748 _ACEOF
95751 done
95761 echo "$as_me:$LINENO: checking for finitel declaration" >&5
95762 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95763 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95764 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95765 echo $ECHO_N "(cached) $ECHO_C" >&6
95766 else
95770 ac_ext=cc
95771 ac_cpp='$CXXCPP $CPPFLAGS'
95772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95776 cat >conftest.$ac_ext <<_ACEOF
95777 /* confdefs.h. */
95778 _ACEOF
95779 cat confdefs.h >>conftest.$ac_ext
95780 cat >>conftest.$ac_ext <<_ACEOF
95781 /* end confdefs.h. */
95782 #include <math.h>
95783 #ifdef HAVE_IEEEFP_H
95784 #include <ieeefp.h>
95785 #endif
95788 main ()
95790 finitel(0);
95792 return 0;
95794 _ACEOF
95795 rm -f conftest.$ac_objext
95796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95797 (eval $ac_compile) 2>conftest.er1
95798 ac_status=$?
95799 grep -v '^ *+' conftest.er1 >conftest.err
95800 rm -f conftest.er1
95801 cat conftest.err >&5
95802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95803 (exit $ac_status); } &&
95804 { ac_try='test -z "$ac_cxx_werror_flag"
95805 || test ! -s conftest.err'
95806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95807 (eval $ac_try) 2>&5
95808 ac_status=$?
95809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95810 (exit $ac_status); }; } &&
95811 { ac_try='test -s conftest.$ac_objext'
95812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95813 (eval $ac_try) 2>&5
95814 ac_status=$?
95815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95816 (exit $ac_status); }; }; then
95817 glibcxx_cv_func_finitel_use=yes
95818 else
95819 echo "$as_me: failed program was:" >&5
95820 sed 's/^/| /' conftest.$ac_ext >&5
95822 glibcxx_cv_func_finitel_use=no
95824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95825 ac_ext=c
95826 ac_cpp='$CPP $CPPFLAGS'
95827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95836 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95838 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95840 for ac_func in finitel
95842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95843 echo "$as_me:$LINENO: checking for $ac_func" >&5
95844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95845 if eval "test \"\${$as_ac_var+set}\" = set"; then
95846 echo $ECHO_N "(cached) $ECHO_C" >&6
95847 else
95848 if test x$gcc_no_link = xyes; then
95849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95851 { (exit 1); exit 1; }; }
95853 cat >conftest.$ac_ext <<_ACEOF
95854 /* confdefs.h. */
95855 _ACEOF
95856 cat confdefs.h >>conftest.$ac_ext
95857 cat >>conftest.$ac_ext <<_ACEOF
95858 /* end confdefs.h. */
95859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95861 #define $ac_func innocuous_$ac_func
95863 /* System header to define __stub macros and hopefully few prototypes,
95864 which can conflict with char $ac_func (); below.
95865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95866 <limits.h> exists even on freestanding compilers. */
95868 #ifdef __STDC__
95869 # include <limits.h>
95870 #else
95871 # include <assert.h>
95872 #endif
95874 #undef $ac_func
95876 /* Override any gcc2 internal prototype to avoid an error. */
95877 #ifdef __cplusplus
95878 extern "C"
95880 #endif
95881 /* We use char because int might match the return type of a gcc2
95882 builtin and then its argument prototype would still apply. */
95883 char $ac_func ();
95884 /* The GNU C library defines this for functions which it implements
95885 to always fail with ENOSYS. Some functions are actually named
95886 something starting with __ and the normal name is an alias. */
95887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95888 choke me
95889 #else
95890 char (*f) () = $ac_func;
95891 #endif
95892 #ifdef __cplusplus
95894 #endif
95897 main ()
95899 return f != $ac_func;
95901 return 0;
95903 _ACEOF
95904 rm -f conftest.$ac_objext conftest$ac_exeext
95905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95906 (eval $ac_link) 2>conftest.er1
95907 ac_status=$?
95908 grep -v '^ *+' conftest.er1 >conftest.err
95909 rm -f conftest.er1
95910 cat conftest.err >&5
95911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95912 (exit $ac_status); } &&
95913 { ac_try='test -z "$ac_c_werror_flag"
95914 || test ! -s conftest.err'
95915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95916 (eval $ac_try) 2>&5
95917 ac_status=$?
95918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95919 (exit $ac_status); }; } &&
95920 { ac_try='test -s conftest$ac_exeext'
95921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95922 (eval $ac_try) 2>&5
95923 ac_status=$?
95924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95925 (exit $ac_status); }; }; then
95926 eval "$as_ac_var=yes"
95927 else
95928 echo "$as_me: failed program was:" >&5
95929 sed 's/^/| /' conftest.$ac_ext >&5
95931 eval "$as_ac_var=no"
95933 rm -f conftest.err conftest.$ac_objext \
95934 conftest$ac_exeext conftest.$ac_ext
95936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95938 if test `eval echo '${'$as_ac_var'}'` = yes; then
95939 cat >>confdefs.h <<_ACEOF
95940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95941 _ACEOF
95944 done
95946 else
95948 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95949 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95950 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95951 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95952 echo $ECHO_N "(cached) $ECHO_C" >&6
95953 else
95957 ac_ext=cc
95958 ac_cpp='$CXXCPP $CPPFLAGS'
95959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95963 cat >conftest.$ac_ext <<_ACEOF
95964 /* confdefs.h. */
95965 _ACEOF
95966 cat confdefs.h >>conftest.$ac_ext
95967 cat >>conftest.$ac_ext <<_ACEOF
95968 /* end confdefs.h. */
95969 #include <math.h>
95970 #ifdef HAVE_IEEEFP_H
95971 #include <ieeefp.h>
95972 #endif
95975 main ()
95977 _finitel(0);
95979 return 0;
95981 _ACEOF
95982 rm -f conftest.$ac_objext
95983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95984 (eval $ac_compile) 2>conftest.er1
95985 ac_status=$?
95986 grep -v '^ *+' conftest.er1 >conftest.err
95987 rm -f conftest.er1
95988 cat conftest.err >&5
95989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95990 (exit $ac_status); } &&
95991 { ac_try='test -z "$ac_cxx_werror_flag"
95992 || test ! -s conftest.err'
95993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95994 (eval $ac_try) 2>&5
95995 ac_status=$?
95996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997 (exit $ac_status); }; } &&
95998 { ac_try='test -s conftest.$ac_objext'
95999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96000 (eval $ac_try) 2>&5
96001 ac_status=$?
96002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96003 (exit $ac_status); }; }; then
96004 glibcxx_cv_func__finitel_use=yes
96005 else
96006 echo "$as_me: failed program was:" >&5
96007 sed 's/^/| /' conftest.$ac_ext >&5
96009 glibcxx_cv_func__finitel_use=no
96011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96012 ac_ext=c
96013 ac_cpp='$CPP $CPPFLAGS'
96014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96023 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96025 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96027 for ac_func in _finitel
96029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96030 echo "$as_me:$LINENO: checking for $ac_func" >&5
96031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96032 if eval "test \"\${$as_ac_var+set}\" = set"; then
96033 echo $ECHO_N "(cached) $ECHO_C" >&6
96034 else
96035 if test x$gcc_no_link = xyes; then
96036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96038 { (exit 1); exit 1; }; }
96040 cat >conftest.$ac_ext <<_ACEOF
96041 /* confdefs.h. */
96042 _ACEOF
96043 cat confdefs.h >>conftest.$ac_ext
96044 cat >>conftest.$ac_ext <<_ACEOF
96045 /* end confdefs.h. */
96046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96048 #define $ac_func innocuous_$ac_func
96050 /* System header to define __stub macros and hopefully few prototypes,
96051 which can conflict with char $ac_func (); below.
96052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96053 <limits.h> exists even on freestanding compilers. */
96055 #ifdef __STDC__
96056 # include <limits.h>
96057 #else
96058 # include <assert.h>
96059 #endif
96061 #undef $ac_func
96063 /* Override any gcc2 internal prototype to avoid an error. */
96064 #ifdef __cplusplus
96065 extern "C"
96067 #endif
96068 /* We use char because int might match the return type of a gcc2
96069 builtin and then its argument prototype would still apply. */
96070 char $ac_func ();
96071 /* The GNU C library defines this for functions which it implements
96072 to always fail with ENOSYS. Some functions are actually named
96073 something starting with __ and the normal name is an alias. */
96074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96075 choke me
96076 #else
96077 char (*f) () = $ac_func;
96078 #endif
96079 #ifdef __cplusplus
96081 #endif
96084 main ()
96086 return f != $ac_func;
96088 return 0;
96090 _ACEOF
96091 rm -f conftest.$ac_objext conftest$ac_exeext
96092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96093 (eval $ac_link) 2>conftest.er1
96094 ac_status=$?
96095 grep -v '^ *+' conftest.er1 >conftest.err
96096 rm -f conftest.er1
96097 cat conftest.err >&5
96098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96099 (exit $ac_status); } &&
96100 { ac_try='test -z "$ac_c_werror_flag"
96101 || test ! -s conftest.err'
96102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96103 (eval $ac_try) 2>&5
96104 ac_status=$?
96105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96106 (exit $ac_status); }; } &&
96107 { ac_try='test -s conftest$ac_exeext'
96108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96109 (eval $ac_try) 2>&5
96110 ac_status=$?
96111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96112 (exit $ac_status); }; }; then
96113 eval "$as_ac_var=yes"
96114 else
96115 echo "$as_me: failed program was:" >&5
96116 sed 's/^/| /' conftest.$ac_ext >&5
96118 eval "$as_ac_var=no"
96120 rm -f conftest.err conftest.$ac_objext \
96121 conftest$ac_exeext conftest.$ac_ext
96123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96125 if test `eval echo '${'$as_ac_var'}'` = yes; then
96126 cat >>confdefs.h <<_ACEOF
96127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96128 _ACEOF
96131 done
96140 LIBS="$ac_save_LIBS"
96141 CXXFLAGS="$ac_save_CXXFLAGS"
96145 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96146 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96147 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96148 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96149 echo $ECHO_N "(cached) $ECHO_C" >&6
96150 else
96154 ac_ext=cc
96155 ac_cpp='$CXXCPP $CPPFLAGS'
96156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96160 cat >conftest.$ac_ext <<_ACEOF
96161 /* confdefs.h. */
96162 _ACEOF
96163 cat confdefs.h >>conftest.$ac_ext
96164 cat >>conftest.$ac_ext <<_ACEOF
96165 /* end confdefs.h. */
96166 #include <math.h>
96168 main ()
96170 __builtin_abs(0);
96172 return 0;
96174 _ACEOF
96175 rm -f conftest.$ac_objext
96176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96177 (eval $ac_compile) 2>conftest.er1
96178 ac_status=$?
96179 grep -v '^ *+' conftest.er1 >conftest.err
96180 rm -f conftest.er1
96181 cat conftest.err >&5
96182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96183 (exit $ac_status); } &&
96184 { ac_try='test -z "$ac_cxx_werror_flag"
96185 || test ! -s conftest.err'
96186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96187 (eval $ac_try) 2>&5
96188 ac_status=$?
96189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96190 (exit $ac_status); }; } &&
96191 { ac_try='test -s conftest.$ac_objext'
96192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96193 (eval $ac_try) 2>&5
96194 ac_status=$?
96195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96196 (exit $ac_status); }; }; then
96197 glibcxx_cv_func___builtin_abs_use=yes
96198 else
96199 echo "$as_me: failed program was:" >&5
96200 sed 's/^/| /' conftest.$ac_ext >&5
96202 glibcxx_cv_func___builtin_abs_use=no
96204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96205 ac_ext=c
96206 ac_cpp='$CPP $CPPFLAGS'
96207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96215 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96216 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96217 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96218 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96219 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96220 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96221 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96222 echo $ECHO_N "(cached) $ECHO_C" >&6
96223 else
96225 if test x$gcc_no_link = xyes; then
96226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96228 { (exit 1); exit 1; }; }
96230 cat >conftest.$ac_ext <<_ACEOF
96231 /* confdefs.h. */
96232 _ACEOF
96233 cat confdefs.h >>conftest.$ac_ext
96234 cat >>conftest.$ac_ext <<_ACEOF
96235 /* end confdefs.h. */
96236 #include <math.h>
96238 main ()
96240 __builtin_abs(0);
96242 return 0;
96244 _ACEOF
96245 rm -f conftest.$ac_objext conftest$ac_exeext
96246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96247 (eval $ac_link) 2>conftest.er1
96248 ac_status=$?
96249 grep -v '^ *+' conftest.er1 >conftest.err
96250 rm -f conftest.er1
96251 cat conftest.err >&5
96252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96253 (exit $ac_status); } &&
96254 { ac_try='test -z "$ac_c_werror_flag"
96255 || test ! -s conftest.err'
96256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96257 (eval $ac_try) 2>&5
96258 ac_status=$?
96259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96260 (exit $ac_status); }; } &&
96261 { ac_try='test -s conftest$ac_exeext'
96262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96263 (eval $ac_try) 2>&5
96264 ac_status=$?
96265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96266 (exit $ac_status); }; }; then
96267 glibcxx_cv_func___builtin_abs_link=yes
96268 else
96269 echo "$as_me: failed program was:" >&5
96270 sed 's/^/| /' conftest.$ac_ext >&5
96272 glibcxx_cv_func___builtin_abs_link=no
96274 rm -f conftest.err conftest.$ac_objext \
96275 conftest$ac_exeext conftest.$ac_ext
96280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96281 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96283 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96285 cat >>confdefs.h <<\_ACEOF
96286 #define HAVE___BUILTIN_ABS 1
96287 _ACEOF
96294 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96295 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96296 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96297 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96298 echo $ECHO_N "(cached) $ECHO_C" >&6
96299 else
96303 ac_ext=cc
96304 ac_cpp='$CXXCPP $CPPFLAGS'
96305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96309 cat >conftest.$ac_ext <<_ACEOF
96310 /* confdefs.h. */
96311 _ACEOF
96312 cat confdefs.h >>conftest.$ac_ext
96313 cat >>conftest.$ac_ext <<_ACEOF
96314 /* end confdefs.h. */
96315 #include <math.h>
96317 main ()
96319 __builtin_fabsf(0);
96321 return 0;
96323 _ACEOF
96324 rm -f conftest.$ac_objext
96325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96326 (eval $ac_compile) 2>conftest.er1
96327 ac_status=$?
96328 grep -v '^ *+' conftest.er1 >conftest.err
96329 rm -f conftest.er1
96330 cat conftest.err >&5
96331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96332 (exit $ac_status); } &&
96333 { ac_try='test -z "$ac_cxx_werror_flag"
96334 || test ! -s conftest.err'
96335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96336 (eval $ac_try) 2>&5
96337 ac_status=$?
96338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96339 (exit $ac_status); }; } &&
96340 { ac_try='test -s conftest.$ac_objext'
96341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96342 (eval $ac_try) 2>&5
96343 ac_status=$?
96344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96345 (exit $ac_status); }; }; then
96346 glibcxx_cv_func___builtin_fabsf_use=yes
96347 else
96348 echo "$as_me: failed program was:" >&5
96349 sed 's/^/| /' conftest.$ac_ext >&5
96351 glibcxx_cv_func___builtin_fabsf_use=no
96353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96354 ac_ext=c
96355 ac_cpp='$CPP $CPPFLAGS'
96356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96365 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96366 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96367 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96368 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96369 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96370 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96371 echo $ECHO_N "(cached) $ECHO_C" >&6
96372 else
96374 if test x$gcc_no_link = xyes; then
96375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96377 { (exit 1); exit 1; }; }
96379 cat >conftest.$ac_ext <<_ACEOF
96380 /* confdefs.h. */
96381 _ACEOF
96382 cat confdefs.h >>conftest.$ac_ext
96383 cat >>conftest.$ac_ext <<_ACEOF
96384 /* end confdefs.h. */
96385 #include <math.h>
96387 main ()
96389 __builtin_fabsf(0);
96391 return 0;
96393 _ACEOF
96394 rm -f conftest.$ac_objext conftest$ac_exeext
96395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96396 (eval $ac_link) 2>conftest.er1
96397 ac_status=$?
96398 grep -v '^ *+' conftest.er1 >conftest.err
96399 rm -f conftest.er1
96400 cat conftest.err >&5
96401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96402 (exit $ac_status); } &&
96403 { ac_try='test -z "$ac_c_werror_flag"
96404 || test ! -s conftest.err'
96405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96406 (eval $ac_try) 2>&5
96407 ac_status=$?
96408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96409 (exit $ac_status); }; } &&
96410 { ac_try='test -s conftest$ac_exeext'
96411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96412 (eval $ac_try) 2>&5
96413 ac_status=$?
96414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96415 (exit $ac_status); }; }; then
96416 glibcxx_cv_func___builtin_fabsf_link=yes
96417 else
96418 echo "$as_me: failed program was:" >&5
96419 sed 's/^/| /' conftest.$ac_ext >&5
96421 glibcxx_cv_func___builtin_fabsf_link=no
96423 rm -f conftest.err conftest.$ac_objext \
96424 conftest$ac_exeext conftest.$ac_ext
96429 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96430 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96432 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96434 cat >>confdefs.h <<\_ACEOF
96435 #define HAVE___BUILTIN_FABSF 1
96436 _ACEOF
96443 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96444 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96445 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96446 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96447 echo $ECHO_N "(cached) $ECHO_C" >&6
96448 else
96452 ac_ext=cc
96453 ac_cpp='$CXXCPP $CPPFLAGS'
96454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96458 cat >conftest.$ac_ext <<_ACEOF
96459 /* confdefs.h. */
96460 _ACEOF
96461 cat confdefs.h >>conftest.$ac_ext
96462 cat >>conftest.$ac_ext <<_ACEOF
96463 /* end confdefs.h. */
96464 #include <math.h>
96466 main ()
96468 __builtin_fabs(0);
96470 return 0;
96472 _ACEOF
96473 rm -f conftest.$ac_objext
96474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96475 (eval $ac_compile) 2>conftest.er1
96476 ac_status=$?
96477 grep -v '^ *+' conftest.er1 >conftest.err
96478 rm -f conftest.er1
96479 cat conftest.err >&5
96480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96481 (exit $ac_status); } &&
96482 { ac_try='test -z "$ac_cxx_werror_flag"
96483 || test ! -s conftest.err'
96484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96485 (eval $ac_try) 2>&5
96486 ac_status=$?
96487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96488 (exit $ac_status); }; } &&
96489 { ac_try='test -s conftest.$ac_objext'
96490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96491 (eval $ac_try) 2>&5
96492 ac_status=$?
96493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96494 (exit $ac_status); }; }; then
96495 glibcxx_cv_func___builtin_fabs_use=yes
96496 else
96497 echo "$as_me: failed program was:" >&5
96498 sed 's/^/| /' conftest.$ac_ext >&5
96500 glibcxx_cv_func___builtin_fabs_use=no
96502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96503 ac_ext=c
96504 ac_cpp='$CPP $CPPFLAGS'
96505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96514 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96515 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96516 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96517 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96518 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96519 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96520 echo $ECHO_N "(cached) $ECHO_C" >&6
96521 else
96523 if test x$gcc_no_link = xyes; then
96524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96526 { (exit 1); exit 1; }; }
96528 cat >conftest.$ac_ext <<_ACEOF
96529 /* confdefs.h. */
96530 _ACEOF
96531 cat confdefs.h >>conftest.$ac_ext
96532 cat >>conftest.$ac_ext <<_ACEOF
96533 /* end confdefs.h. */
96534 #include <math.h>
96536 main ()
96538 __builtin_fabs(0);
96540 return 0;
96542 _ACEOF
96543 rm -f conftest.$ac_objext conftest$ac_exeext
96544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96545 (eval $ac_link) 2>conftest.er1
96546 ac_status=$?
96547 grep -v '^ *+' conftest.er1 >conftest.err
96548 rm -f conftest.er1
96549 cat conftest.err >&5
96550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96551 (exit $ac_status); } &&
96552 { ac_try='test -z "$ac_c_werror_flag"
96553 || test ! -s conftest.err'
96554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96555 (eval $ac_try) 2>&5
96556 ac_status=$?
96557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558 (exit $ac_status); }; } &&
96559 { ac_try='test -s conftest$ac_exeext'
96560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96561 (eval $ac_try) 2>&5
96562 ac_status=$?
96563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96564 (exit $ac_status); }; }; then
96565 glibcxx_cv_func___builtin_fabs_link=yes
96566 else
96567 echo "$as_me: failed program was:" >&5
96568 sed 's/^/| /' conftest.$ac_ext >&5
96570 glibcxx_cv_func___builtin_fabs_link=no
96572 rm -f conftest.err conftest.$ac_objext \
96573 conftest$ac_exeext conftest.$ac_ext
96578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96579 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96581 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96583 cat >>confdefs.h <<\_ACEOF
96584 #define HAVE___BUILTIN_FABS 1
96585 _ACEOF
96592 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96593 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96594 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96595 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96596 echo $ECHO_N "(cached) $ECHO_C" >&6
96597 else
96601 ac_ext=cc
96602 ac_cpp='$CXXCPP $CPPFLAGS'
96603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96607 cat >conftest.$ac_ext <<_ACEOF
96608 /* confdefs.h. */
96609 _ACEOF
96610 cat confdefs.h >>conftest.$ac_ext
96611 cat >>conftest.$ac_ext <<_ACEOF
96612 /* end confdefs.h. */
96613 #include <math.h>
96615 main ()
96617 __builtin_fabsl(0);
96619 return 0;
96621 _ACEOF
96622 rm -f conftest.$ac_objext
96623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96624 (eval $ac_compile) 2>conftest.er1
96625 ac_status=$?
96626 grep -v '^ *+' conftest.er1 >conftest.err
96627 rm -f conftest.er1
96628 cat conftest.err >&5
96629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96630 (exit $ac_status); } &&
96631 { ac_try='test -z "$ac_cxx_werror_flag"
96632 || test ! -s conftest.err'
96633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96634 (eval $ac_try) 2>&5
96635 ac_status=$?
96636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96637 (exit $ac_status); }; } &&
96638 { ac_try='test -s conftest.$ac_objext'
96639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96640 (eval $ac_try) 2>&5
96641 ac_status=$?
96642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96643 (exit $ac_status); }; }; then
96644 glibcxx_cv_func___builtin_fabsl_use=yes
96645 else
96646 echo "$as_me: failed program was:" >&5
96647 sed 's/^/| /' conftest.$ac_ext >&5
96649 glibcxx_cv_func___builtin_fabsl_use=no
96651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96652 ac_ext=c
96653 ac_cpp='$CPP $CPPFLAGS'
96654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96663 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96664 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96665 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96666 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96667 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96668 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96669 echo $ECHO_N "(cached) $ECHO_C" >&6
96670 else
96672 if test x$gcc_no_link = xyes; then
96673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96675 { (exit 1); exit 1; }; }
96677 cat >conftest.$ac_ext <<_ACEOF
96678 /* confdefs.h. */
96679 _ACEOF
96680 cat confdefs.h >>conftest.$ac_ext
96681 cat >>conftest.$ac_ext <<_ACEOF
96682 /* end confdefs.h. */
96683 #include <math.h>
96685 main ()
96687 __builtin_fabsl(0);
96689 return 0;
96691 _ACEOF
96692 rm -f conftest.$ac_objext conftest$ac_exeext
96693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96694 (eval $ac_link) 2>conftest.er1
96695 ac_status=$?
96696 grep -v '^ *+' conftest.er1 >conftest.err
96697 rm -f conftest.er1
96698 cat conftest.err >&5
96699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96700 (exit $ac_status); } &&
96701 { ac_try='test -z "$ac_c_werror_flag"
96702 || test ! -s conftest.err'
96703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96704 (eval $ac_try) 2>&5
96705 ac_status=$?
96706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96707 (exit $ac_status); }; } &&
96708 { ac_try='test -s conftest$ac_exeext'
96709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96710 (eval $ac_try) 2>&5
96711 ac_status=$?
96712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96713 (exit $ac_status); }; }; then
96714 glibcxx_cv_func___builtin_fabsl_link=yes
96715 else
96716 echo "$as_me: failed program was:" >&5
96717 sed 's/^/| /' conftest.$ac_ext >&5
96719 glibcxx_cv_func___builtin_fabsl_link=no
96721 rm -f conftest.err conftest.$ac_objext \
96722 conftest$ac_exeext conftest.$ac_ext
96727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96728 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96730 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96732 cat >>confdefs.h <<\_ACEOF
96733 #define HAVE___BUILTIN_FABSL 1
96734 _ACEOF
96741 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96742 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96743 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96744 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96745 echo $ECHO_N "(cached) $ECHO_C" >&6
96746 else
96750 ac_ext=cc
96751 ac_cpp='$CXXCPP $CPPFLAGS'
96752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96756 cat >conftest.$ac_ext <<_ACEOF
96757 /* confdefs.h. */
96758 _ACEOF
96759 cat confdefs.h >>conftest.$ac_ext
96760 cat >>conftest.$ac_ext <<_ACEOF
96761 /* end confdefs.h. */
96762 #include <math.h>
96764 main ()
96766 __builtin_labs(0);
96768 return 0;
96770 _ACEOF
96771 rm -f conftest.$ac_objext
96772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96773 (eval $ac_compile) 2>conftest.er1
96774 ac_status=$?
96775 grep -v '^ *+' conftest.er1 >conftest.err
96776 rm -f conftest.er1
96777 cat conftest.err >&5
96778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96779 (exit $ac_status); } &&
96780 { ac_try='test -z "$ac_cxx_werror_flag"
96781 || test ! -s conftest.err'
96782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96783 (eval $ac_try) 2>&5
96784 ac_status=$?
96785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96786 (exit $ac_status); }; } &&
96787 { ac_try='test -s conftest.$ac_objext'
96788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96789 (eval $ac_try) 2>&5
96790 ac_status=$?
96791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96792 (exit $ac_status); }; }; then
96793 glibcxx_cv_func___builtin_labs_use=yes
96794 else
96795 echo "$as_me: failed program was:" >&5
96796 sed 's/^/| /' conftest.$ac_ext >&5
96798 glibcxx_cv_func___builtin_labs_use=no
96800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96801 ac_ext=c
96802 ac_cpp='$CPP $CPPFLAGS'
96803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96812 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96813 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96814 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96815 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96816 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96817 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96818 echo $ECHO_N "(cached) $ECHO_C" >&6
96819 else
96821 if test x$gcc_no_link = xyes; then
96822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96824 { (exit 1); exit 1; }; }
96826 cat >conftest.$ac_ext <<_ACEOF
96827 /* confdefs.h. */
96828 _ACEOF
96829 cat confdefs.h >>conftest.$ac_ext
96830 cat >>conftest.$ac_ext <<_ACEOF
96831 /* end confdefs.h. */
96832 #include <math.h>
96834 main ()
96836 __builtin_labs(0);
96838 return 0;
96840 _ACEOF
96841 rm -f conftest.$ac_objext conftest$ac_exeext
96842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96843 (eval $ac_link) 2>conftest.er1
96844 ac_status=$?
96845 grep -v '^ *+' conftest.er1 >conftest.err
96846 rm -f conftest.er1
96847 cat conftest.err >&5
96848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96849 (exit $ac_status); } &&
96850 { ac_try='test -z "$ac_c_werror_flag"
96851 || test ! -s conftest.err'
96852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853 (eval $ac_try) 2>&5
96854 ac_status=$?
96855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856 (exit $ac_status); }; } &&
96857 { ac_try='test -s conftest$ac_exeext'
96858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859 (eval $ac_try) 2>&5
96860 ac_status=$?
96861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862 (exit $ac_status); }; }; then
96863 glibcxx_cv_func___builtin_labs_link=yes
96864 else
96865 echo "$as_me: failed program was:" >&5
96866 sed 's/^/| /' conftest.$ac_ext >&5
96868 glibcxx_cv_func___builtin_labs_link=no
96870 rm -f conftest.err conftest.$ac_objext \
96871 conftest$ac_exeext conftest.$ac_ext
96876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96877 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96879 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96881 cat >>confdefs.h <<\_ACEOF
96882 #define HAVE___BUILTIN_LABS 1
96883 _ACEOF
96891 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96892 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96893 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96894 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96895 echo $ECHO_N "(cached) $ECHO_C" >&6
96896 else
96900 ac_ext=cc
96901 ac_cpp='$CXXCPP $CPPFLAGS'
96902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96906 cat >conftest.$ac_ext <<_ACEOF
96907 /* confdefs.h. */
96908 _ACEOF
96909 cat confdefs.h >>conftest.$ac_ext
96910 cat >>conftest.$ac_ext <<_ACEOF
96911 /* end confdefs.h. */
96912 #include <math.h>
96914 main ()
96916 __builtin_sqrtf(0);
96918 return 0;
96920 _ACEOF
96921 rm -f conftest.$ac_objext
96922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96923 (eval $ac_compile) 2>conftest.er1
96924 ac_status=$?
96925 grep -v '^ *+' conftest.er1 >conftest.err
96926 rm -f conftest.er1
96927 cat conftest.err >&5
96928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96929 (exit $ac_status); } &&
96930 { ac_try='test -z "$ac_cxx_werror_flag"
96931 || test ! -s conftest.err'
96932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96933 (eval $ac_try) 2>&5
96934 ac_status=$?
96935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96936 (exit $ac_status); }; } &&
96937 { ac_try='test -s conftest.$ac_objext'
96938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96939 (eval $ac_try) 2>&5
96940 ac_status=$?
96941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96942 (exit $ac_status); }; }; then
96943 glibcxx_cv_func___builtin_sqrtf_use=yes
96944 else
96945 echo "$as_me: failed program was:" >&5
96946 sed 's/^/| /' conftest.$ac_ext >&5
96948 glibcxx_cv_func___builtin_sqrtf_use=no
96950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96951 ac_ext=c
96952 ac_cpp='$CPP $CPPFLAGS'
96953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
96962 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
96963 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
96964 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
96965 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
96966 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
96967 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
96968 echo $ECHO_N "(cached) $ECHO_C" >&6
96969 else
96971 if test x$gcc_no_link = xyes; then
96972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96974 { (exit 1); exit 1; }; }
96976 cat >conftest.$ac_ext <<_ACEOF
96977 /* confdefs.h. */
96978 _ACEOF
96979 cat confdefs.h >>conftest.$ac_ext
96980 cat >>conftest.$ac_ext <<_ACEOF
96981 /* end confdefs.h. */
96982 #include <math.h>
96984 main ()
96986 __builtin_sqrtf(0);
96988 return 0;
96990 _ACEOF
96991 rm -f conftest.$ac_objext conftest$ac_exeext
96992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96993 (eval $ac_link) 2>conftest.er1
96994 ac_status=$?
96995 grep -v '^ *+' conftest.er1 >conftest.err
96996 rm -f conftest.er1
96997 cat conftest.err >&5
96998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96999 (exit $ac_status); } &&
97000 { ac_try='test -z "$ac_c_werror_flag"
97001 || test ! -s conftest.err'
97002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97003 (eval $ac_try) 2>&5
97004 ac_status=$?
97005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97006 (exit $ac_status); }; } &&
97007 { ac_try='test -s conftest$ac_exeext'
97008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97009 (eval $ac_try) 2>&5
97010 ac_status=$?
97011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97012 (exit $ac_status); }; }; then
97013 glibcxx_cv_func___builtin_sqrtf_link=yes
97014 else
97015 echo "$as_me: failed program was:" >&5
97016 sed 's/^/| /' conftest.$ac_ext >&5
97018 glibcxx_cv_func___builtin_sqrtf_link=no
97020 rm -f conftest.err conftest.$ac_objext \
97021 conftest$ac_exeext conftest.$ac_ext
97026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97029 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97031 cat >>confdefs.h <<\_ACEOF
97032 #define HAVE___BUILTIN_SQRTF 1
97033 _ACEOF
97040 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97041 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97042 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97043 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97044 echo $ECHO_N "(cached) $ECHO_C" >&6
97045 else
97049 ac_ext=cc
97050 ac_cpp='$CXXCPP $CPPFLAGS'
97051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97055 cat >conftest.$ac_ext <<_ACEOF
97056 /* confdefs.h. */
97057 _ACEOF
97058 cat confdefs.h >>conftest.$ac_ext
97059 cat >>conftest.$ac_ext <<_ACEOF
97060 /* end confdefs.h. */
97061 #include <math.h>
97063 main ()
97065 __builtin_sqrt(0);
97067 return 0;
97069 _ACEOF
97070 rm -f conftest.$ac_objext
97071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97072 (eval $ac_compile) 2>conftest.er1
97073 ac_status=$?
97074 grep -v '^ *+' conftest.er1 >conftest.err
97075 rm -f conftest.er1
97076 cat conftest.err >&5
97077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97078 (exit $ac_status); } &&
97079 { ac_try='test -z "$ac_cxx_werror_flag"
97080 || test ! -s conftest.err'
97081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97082 (eval $ac_try) 2>&5
97083 ac_status=$?
97084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97085 (exit $ac_status); }; } &&
97086 { ac_try='test -s conftest.$ac_objext'
97087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97088 (eval $ac_try) 2>&5
97089 ac_status=$?
97090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97091 (exit $ac_status); }; }; then
97092 glibcxx_cv_func___builtin_sqrt_use=yes
97093 else
97094 echo "$as_me: failed program was:" >&5
97095 sed 's/^/| /' conftest.$ac_ext >&5
97097 glibcxx_cv_func___builtin_sqrt_use=no
97099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97100 ac_ext=c
97101 ac_cpp='$CPP $CPPFLAGS'
97102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97111 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97112 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97113 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97114 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97115 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97116 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97117 echo $ECHO_N "(cached) $ECHO_C" >&6
97118 else
97120 if test x$gcc_no_link = xyes; then
97121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97123 { (exit 1); exit 1; }; }
97125 cat >conftest.$ac_ext <<_ACEOF
97126 /* confdefs.h. */
97127 _ACEOF
97128 cat confdefs.h >>conftest.$ac_ext
97129 cat >>conftest.$ac_ext <<_ACEOF
97130 /* end confdefs.h. */
97131 #include <math.h>
97133 main ()
97135 __builtin_sqrt(0);
97137 return 0;
97139 _ACEOF
97140 rm -f conftest.$ac_objext conftest$ac_exeext
97141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97142 (eval $ac_link) 2>conftest.er1
97143 ac_status=$?
97144 grep -v '^ *+' conftest.er1 >conftest.err
97145 rm -f conftest.er1
97146 cat conftest.err >&5
97147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97148 (exit $ac_status); } &&
97149 { ac_try='test -z "$ac_c_werror_flag"
97150 || test ! -s conftest.err'
97151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97152 (eval $ac_try) 2>&5
97153 ac_status=$?
97154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97155 (exit $ac_status); }; } &&
97156 { ac_try='test -s conftest$ac_exeext'
97157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97158 (eval $ac_try) 2>&5
97159 ac_status=$?
97160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97161 (exit $ac_status); }; }; then
97162 glibcxx_cv_func___builtin_sqrt_link=yes
97163 else
97164 echo "$as_me: failed program was:" >&5
97165 sed 's/^/| /' conftest.$ac_ext >&5
97167 glibcxx_cv_func___builtin_sqrt_link=no
97169 rm -f conftest.err conftest.$ac_objext \
97170 conftest$ac_exeext conftest.$ac_ext
97175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97176 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97178 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97180 cat >>confdefs.h <<\_ACEOF
97181 #define HAVE___BUILTIN_SQRT 1
97182 _ACEOF
97189 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97190 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97191 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97192 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97193 echo $ECHO_N "(cached) $ECHO_C" >&6
97194 else
97198 ac_ext=cc
97199 ac_cpp='$CXXCPP $CPPFLAGS'
97200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97204 cat >conftest.$ac_ext <<_ACEOF
97205 /* confdefs.h. */
97206 _ACEOF
97207 cat confdefs.h >>conftest.$ac_ext
97208 cat >>conftest.$ac_ext <<_ACEOF
97209 /* end confdefs.h. */
97210 #include <math.h>
97212 main ()
97214 __builtin_sqrtl(0);
97216 return 0;
97218 _ACEOF
97219 rm -f conftest.$ac_objext
97220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97221 (eval $ac_compile) 2>conftest.er1
97222 ac_status=$?
97223 grep -v '^ *+' conftest.er1 >conftest.err
97224 rm -f conftest.er1
97225 cat conftest.err >&5
97226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227 (exit $ac_status); } &&
97228 { ac_try='test -z "$ac_cxx_werror_flag"
97229 || test ! -s conftest.err'
97230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97231 (eval $ac_try) 2>&5
97232 ac_status=$?
97233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97234 (exit $ac_status); }; } &&
97235 { ac_try='test -s conftest.$ac_objext'
97236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97237 (eval $ac_try) 2>&5
97238 ac_status=$?
97239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97240 (exit $ac_status); }; }; then
97241 glibcxx_cv_func___builtin_sqrtl_use=yes
97242 else
97243 echo "$as_me: failed program was:" >&5
97244 sed 's/^/| /' conftest.$ac_ext >&5
97246 glibcxx_cv_func___builtin_sqrtl_use=no
97248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97249 ac_ext=c
97250 ac_cpp='$CPP $CPPFLAGS'
97251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97260 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97261 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97262 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97263 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97264 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97265 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97266 echo $ECHO_N "(cached) $ECHO_C" >&6
97267 else
97269 if test x$gcc_no_link = xyes; then
97270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97272 { (exit 1); exit 1; }; }
97274 cat >conftest.$ac_ext <<_ACEOF
97275 /* confdefs.h. */
97276 _ACEOF
97277 cat confdefs.h >>conftest.$ac_ext
97278 cat >>conftest.$ac_ext <<_ACEOF
97279 /* end confdefs.h. */
97280 #include <math.h>
97282 main ()
97284 __builtin_sqrtl(0);
97286 return 0;
97288 _ACEOF
97289 rm -f conftest.$ac_objext conftest$ac_exeext
97290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97291 (eval $ac_link) 2>conftest.er1
97292 ac_status=$?
97293 grep -v '^ *+' conftest.er1 >conftest.err
97294 rm -f conftest.er1
97295 cat conftest.err >&5
97296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97297 (exit $ac_status); } &&
97298 { ac_try='test -z "$ac_c_werror_flag"
97299 || test ! -s conftest.err'
97300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97301 (eval $ac_try) 2>&5
97302 ac_status=$?
97303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97304 (exit $ac_status); }; } &&
97305 { ac_try='test -s conftest$ac_exeext'
97306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97307 (eval $ac_try) 2>&5
97308 ac_status=$?
97309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97310 (exit $ac_status); }; }; then
97311 glibcxx_cv_func___builtin_sqrtl_link=yes
97312 else
97313 echo "$as_me: failed program was:" >&5
97314 sed 's/^/| /' conftest.$ac_ext >&5
97316 glibcxx_cv_func___builtin_sqrtl_link=no
97318 rm -f conftest.err conftest.$ac_objext \
97319 conftest$ac_exeext conftest.$ac_ext
97324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97325 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97327 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97329 cat >>confdefs.h <<\_ACEOF
97330 #define HAVE___BUILTIN_SQRTL 1
97331 _ACEOF
97339 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97340 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97341 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97342 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97343 echo $ECHO_N "(cached) $ECHO_C" >&6
97344 else
97348 ac_ext=cc
97349 ac_cpp='$CXXCPP $CPPFLAGS'
97350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97354 cat >conftest.$ac_ext <<_ACEOF
97355 /* confdefs.h. */
97356 _ACEOF
97357 cat confdefs.h >>conftest.$ac_ext
97358 cat >>conftest.$ac_ext <<_ACEOF
97359 /* end confdefs.h. */
97360 #include <math.h>
97362 main ()
97364 __builtin_sinf(0);
97366 return 0;
97368 _ACEOF
97369 rm -f conftest.$ac_objext
97370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97371 (eval $ac_compile) 2>conftest.er1
97372 ac_status=$?
97373 grep -v '^ *+' conftest.er1 >conftest.err
97374 rm -f conftest.er1
97375 cat conftest.err >&5
97376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97377 (exit $ac_status); } &&
97378 { ac_try='test -z "$ac_cxx_werror_flag"
97379 || test ! -s conftest.err'
97380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97381 (eval $ac_try) 2>&5
97382 ac_status=$?
97383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97384 (exit $ac_status); }; } &&
97385 { ac_try='test -s conftest.$ac_objext'
97386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97387 (eval $ac_try) 2>&5
97388 ac_status=$?
97389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97390 (exit $ac_status); }; }; then
97391 glibcxx_cv_func___builtin_sinf_use=yes
97392 else
97393 echo "$as_me: failed program was:" >&5
97394 sed 's/^/| /' conftest.$ac_ext >&5
97396 glibcxx_cv_func___builtin_sinf_use=no
97398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97399 ac_ext=c
97400 ac_cpp='$CPP $CPPFLAGS'
97401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97410 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97411 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97412 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97413 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97414 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97415 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97416 echo $ECHO_N "(cached) $ECHO_C" >&6
97417 else
97419 if test x$gcc_no_link = xyes; then
97420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97422 { (exit 1); exit 1; }; }
97424 cat >conftest.$ac_ext <<_ACEOF
97425 /* confdefs.h. */
97426 _ACEOF
97427 cat confdefs.h >>conftest.$ac_ext
97428 cat >>conftest.$ac_ext <<_ACEOF
97429 /* end confdefs.h. */
97430 #include <math.h>
97432 main ()
97434 __builtin_sinf(0);
97436 return 0;
97438 _ACEOF
97439 rm -f conftest.$ac_objext conftest$ac_exeext
97440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97441 (eval $ac_link) 2>conftest.er1
97442 ac_status=$?
97443 grep -v '^ *+' conftest.er1 >conftest.err
97444 rm -f conftest.er1
97445 cat conftest.err >&5
97446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97447 (exit $ac_status); } &&
97448 { ac_try='test -z "$ac_c_werror_flag"
97449 || test ! -s conftest.err'
97450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97451 (eval $ac_try) 2>&5
97452 ac_status=$?
97453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97454 (exit $ac_status); }; } &&
97455 { ac_try='test -s conftest$ac_exeext'
97456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97457 (eval $ac_try) 2>&5
97458 ac_status=$?
97459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97460 (exit $ac_status); }; }; then
97461 glibcxx_cv_func___builtin_sinf_link=yes
97462 else
97463 echo "$as_me: failed program was:" >&5
97464 sed 's/^/| /' conftest.$ac_ext >&5
97466 glibcxx_cv_func___builtin_sinf_link=no
97468 rm -f conftest.err conftest.$ac_objext \
97469 conftest$ac_exeext conftest.$ac_ext
97474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97477 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97479 cat >>confdefs.h <<\_ACEOF
97480 #define HAVE___BUILTIN_SINF 1
97481 _ACEOF
97488 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97489 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97490 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97491 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97492 echo $ECHO_N "(cached) $ECHO_C" >&6
97493 else
97497 ac_ext=cc
97498 ac_cpp='$CXXCPP $CPPFLAGS'
97499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97503 cat >conftest.$ac_ext <<_ACEOF
97504 /* confdefs.h. */
97505 _ACEOF
97506 cat confdefs.h >>conftest.$ac_ext
97507 cat >>conftest.$ac_ext <<_ACEOF
97508 /* end confdefs.h. */
97509 #include <math.h>
97511 main ()
97513 __builtin_sin(0);
97515 return 0;
97517 _ACEOF
97518 rm -f conftest.$ac_objext
97519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97520 (eval $ac_compile) 2>conftest.er1
97521 ac_status=$?
97522 grep -v '^ *+' conftest.er1 >conftest.err
97523 rm -f conftest.er1
97524 cat conftest.err >&5
97525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97526 (exit $ac_status); } &&
97527 { ac_try='test -z "$ac_cxx_werror_flag"
97528 || test ! -s conftest.err'
97529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97530 (eval $ac_try) 2>&5
97531 ac_status=$?
97532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97533 (exit $ac_status); }; } &&
97534 { ac_try='test -s conftest.$ac_objext'
97535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97536 (eval $ac_try) 2>&5
97537 ac_status=$?
97538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97539 (exit $ac_status); }; }; then
97540 glibcxx_cv_func___builtin_sin_use=yes
97541 else
97542 echo "$as_me: failed program was:" >&5
97543 sed 's/^/| /' conftest.$ac_ext >&5
97545 glibcxx_cv_func___builtin_sin_use=no
97547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97548 ac_ext=c
97549 ac_cpp='$CPP $CPPFLAGS'
97550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97560 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97561 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97562 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97563 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97564 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97565 echo $ECHO_N "(cached) $ECHO_C" >&6
97566 else
97568 if test x$gcc_no_link = xyes; then
97569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97571 { (exit 1); exit 1; }; }
97573 cat >conftest.$ac_ext <<_ACEOF
97574 /* confdefs.h. */
97575 _ACEOF
97576 cat confdefs.h >>conftest.$ac_ext
97577 cat >>conftest.$ac_ext <<_ACEOF
97578 /* end confdefs.h. */
97579 #include <math.h>
97581 main ()
97583 __builtin_sin(0);
97585 return 0;
97587 _ACEOF
97588 rm -f conftest.$ac_objext conftest$ac_exeext
97589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97590 (eval $ac_link) 2>conftest.er1
97591 ac_status=$?
97592 grep -v '^ *+' conftest.er1 >conftest.err
97593 rm -f conftest.er1
97594 cat conftest.err >&5
97595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97596 (exit $ac_status); } &&
97597 { ac_try='test -z "$ac_c_werror_flag"
97598 || test ! -s conftest.err'
97599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97600 (eval $ac_try) 2>&5
97601 ac_status=$?
97602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97603 (exit $ac_status); }; } &&
97604 { ac_try='test -s conftest$ac_exeext'
97605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97606 (eval $ac_try) 2>&5
97607 ac_status=$?
97608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97609 (exit $ac_status); }; }; then
97610 glibcxx_cv_func___builtin_sin_link=yes
97611 else
97612 echo "$as_me: failed program was:" >&5
97613 sed 's/^/| /' conftest.$ac_ext >&5
97615 glibcxx_cv_func___builtin_sin_link=no
97617 rm -f conftest.err conftest.$ac_objext \
97618 conftest$ac_exeext conftest.$ac_ext
97623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97626 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97628 cat >>confdefs.h <<\_ACEOF
97629 #define HAVE___BUILTIN_SIN 1
97630 _ACEOF
97637 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97638 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97639 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97640 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97641 echo $ECHO_N "(cached) $ECHO_C" >&6
97642 else
97646 ac_ext=cc
97647 ac_cpp='$CXXCPP $CPPFLAGS'
97648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97652 cat >conftest.$ac_ext <<_ACEOF
97653 /* confdefs.h. */
97654 _ACEOF
97655 cat confdefs.h >>conftest.$ac_ext
97656 cat >>conftest.$ac_ext <<_ACEOF
97657 /* end confdefs.h. */
97658 #include <math.h>
97660 main ()
97662 __builtin_sinl(0);
97664 return 0;
97666 _ACEOF
97667 rm -f conftest.$ac_objext
97668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97669 (eval $ac_compile) 2>conftest.er1
97670 ac_status=$?
97671 grep -v '^ *+' conftest.er1 >conftest.err
97672 rm -f conftest.er1
97673 cat conftest.err >&5
97674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97675 (exit $ac_status); } &&
97676 { ac_try='test -z "$ac_cxx_werror_flag"
97677 || test ! -s conftest.err'
97678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97679 (eval $ac_try) 2>&5
97680 ac_status=$?
97681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97682 (exit $ac_status); }; } &&
97683 { ac_try='test -s conftest.$ac_objext'
97684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97685 (eval $ac_try) 2>&5
97686 ac_status=$?
97687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97688 (exit $ac_status); }; }; then
97689 glibcxx_cv_func___builtin_sinl_use=yes
97690 else
97691 echo "$as_me: failed program was:" >&5
97692 sed 's/^/| /' conftest.$ac_ext >&5
97694 glibcxx_cv_func___builtin_sinl_use=no
97696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97697 ac_ext=c
97698 ac_cpp='$CPP $CPPFLAGS'
97699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97707 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97708 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97709 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97710 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97711 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97712 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97713 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97714 echo $ECHO_N "(cached) $ECHO_C" >&6
97715 else
97717 if test x$gcc_no_link = xyes; then
97718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97720 { (exit 1); exit 1; }; }
97722 cat >conftest.$ac_ext <<_ACEOF
97723 /* confdefs.h. */
97724 _ACEOF
97725 cat confdefs.h >>conftest.$ac_ext
97726 cat >>conftest.$ac_ext <<_ACEOF
97727 /* end confdefs.h. */
97728 #include <math.h>
97730 main ()
97732 __builtin_sinl(0);
97734 return 0;
97736 _ACEOF
97737 rm -f conftest.$ac_objext conftest$ac_exeext
97738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97739 (eval $ac_link) 2>conftest.er1
97740 ac_status=$?
97741 grep -v '^ *+' conftest.er1 >conftest.err
97742 rm -f conftest.er1
97743 cat conftest.err >&5
97744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97745 (exit $ac_status); } &&
97746 { ac_try='test -z "$ac_c_werror_flag"
97747 || test ! -s conftest.err'
97748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97749 (eval $ac_try) 2>&5
97750 ac_status=$?
97751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97752 (exit $ac_status); }; } &&
97753 { ac_try='test -s conftest$ac_exeext'
97754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97755 (eval $ac_try) 2>&5
97756 ac_status=$?
97757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97758 (exit $ac_status); }; }; then
97759 glibcxx_cv_func___builtin_sinl_link=yes
97760 else
97761 echo "$as_me: failed program was:" >&5
97762 sed 's/^/| /' conftest.$ac_ext >&5
97764 glibcxx_cv_func___builtin_sinl_link=no
97766 rm -f conftest.err conftest.$ac_objext \
97767 conftest$ac_exeext conftest.$ac_ext
97772 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97773 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97775 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97777 cat >>confdefs.h <<\_ACEOF
97778 #define HAVE___BUILTIN_SINL 1
97779 _ACEOF
97787 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97788 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97789 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97790 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97791 echo $ECHO_N "(cached) $ECHO_C" >&6
97792 else
97796 ac_ext=cc
97797 ac_cpp='$CXXCPP $CPPFLAGS'
97798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97802 cat >conftest.$ac_ext <<_ACEOF
97803 /* confdefs.h. */
97804 _ACEOF
97805 cat confdefs.h >>conftest.$ac_ext
97806 cat >>conftest.$ac_ext <<_ACEOF
97807 /* end confdefs.h. */
97808 #include <math.h>
97810 main ()
97812 __builtin_cosf(0);
97814 return 0;
97816 _ACEOF
97817 rm -f conftest.$ac_objext
97818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97819 (eval $ac_compile) 2>conftest.er1
97820 ac_status=$?
97821 grep -v '^ *+' conftest.er1 >conftest.err
97822 rm -f conftest.er1
97823 cat conftest.err >&5
97824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97825 (exit $ac_status); } &&
97826 { ac_try='test -z "$ac_cxx_werror_flag"
97827 || test ! -s conftest.err'
97828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97829 (eval $ac_try) 2>&5
97830 ac_status=$?
97831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97832 (exit $ac_status); }; } &&
97833 { ac_try='test -s conftest.$ac_objext'
97834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97835 (eval $ac_try) 2>&5
97836 ac_status=$?
97837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97838 (exit $ac_status); }; }; then
97839 glibcxx_cv_func___builtin_cosf_use=yes
97840 else
97841 echo "$as_me: failed program was:" >&5
97842 sed 's/^/| /' conftest.$ac_ext >&5
97844 glibcxx_cv_func___builtin_cosf_use=no
97846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97847 ac_ext=c
97848 ac_cpp='$CPP $CPPFLAGS'
97849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97857 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97858 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97859 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97860 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97861 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97862 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97863 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97864 echo $ECHO_N "(cached) $ECHO_C" >&6
97865 else
97867 if test x$gcc_no_link = xyes; then
97868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97870 { (exit 1); exit 1; }; }
97872 cat >conftest.$ac_ext <<_ACEOF
97873 /* confdefs.h. */
97874 _ACEOF
97875 cat confdefs.h >>conftest.$ac_ext
97876 cat >>conftest.$ac_ext <<_ACEOF
97877 /* end confdefs.h. */
97878 #include <math.h>
97880 main ()
97882 __builtin_cosf(0);
97884 return 0;
97886 _ACEOF
97887 rm -f conftest.$ac_objext conftest$ac_exeext
97888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97889 (eval $ac_link) 2>conftest.er1
97890 ac_status=$?
97891 grep -v '^ *+' conftest.er1 >conftest.err
97892 rm -f conftest.er1
97893 cat conftest.err >&5
97894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97895 (exit $ac_status); } &&
97896 { ac_try='test -z "$ac_c_werror_flag"
97897 || test ! -s conftest.err'
97898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97899 (eval $ac_try) 2>&5
97900 ac_status=$?
97901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97902 (exit $ac_status); }; } &&
97903 { ac_try='test -s conftest$ac_exeext'
97904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97905 (eval $ac_try) 2>&5
97906 ac_status=$?
97907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97908 (exit $ac_status); }; }; then
97909 glibcxx_cv_func___builtin_cosf_link=yes
97910 else
97911 echo "$as_me: failed program was:" >&5
97912 sed 's/^/| /' conftest.$ac_ext >&5
97914 glibcxx_cv_func___builtin_cosf_link=no
97916 rm -f conftest.err conftest.$ac_objext \
97917 conftest$ac_exeext conftest.$ac_ext
97922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97923 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97925 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97927 cat >>confdefs.h <<\_ACEOF
97928 #define HAVE___BUILTIN_COSF 1
97929 _ACEOF
97936 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97937 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97938 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97939 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97940 echo $ECHO_N "(cached) $ECHO_C" >&6
97941 else
97945 ac_ext=cc
97946 ac_cpp='$CXXCPP $CPPFLAGS'
97947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97951 cat >conftest.$ac_ext <<_ACEOF
97952 /* confdefs.h. */
97953 _ACEOF
97954 cat confdefs.h >>conftest.$ac_ext
97955 cat >>conftest.$ac_ext <<_ACEOF
97956 /* end confdefs.h. */
97957 #include <math.h>
97959 main ()
97961 __builtin_cos(0);
97963 return 0;
97965 _ACEOF
97966 rm -f conftest.$ac_objext
97967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97968 (eval $ac_compile) 2>conftest.er1
97969 ac_status=$?
97970 grep -v '^ *+' conftest.er1 >conftest.err
97971 rm -f conftest.er1
97972 cat conftest.err >&5
97973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97974 (exit $ac_status); } &&
97975 { ac_try='test -z "$ac_cxx_werror_flag"
97976 || test ! -s conftest.err'
97977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97978 (eval $ac_try) 2>&5
97979 ac_status=$?
97980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97981 (exit $ac_status); }; } &&
97982 { ac_try='test -s conftest.$ac_objext'
97983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97984 (eval $ac_try) 2>&5
97985 ac_status=$?
97986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97987 (exit $ac_status); }; }; then
97988 glibcxx_cv_func___builtin_cos_use=yes
97989 else
97990 echo "$as_me: failed program was:" >&5
97991 sed 's/^/| /' conftest.$ac_ext >&5
97993 glibcxx_cv_func___builtin_cos_use=no
97995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97996 ac_ext=c
97997 ac_cpp='$CPP $CPPFLAGS'
97998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98006 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98007 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98008 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98009 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98010 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98011 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98012 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98013 echo $ECHO_N "(cached) $ECHO_C" >&6
98014 else
98016 if test x$gcc_no_link = xyes; then
98017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98019 { (exit 1); exit 1; }; }
98021 cat >conftest.$ac_ext <<_ACEOF
98022 /* confdefs.h. */
98023 _ACEOF
98024 cat confdefs.h >>conftest.$ac_ext
98025 cat >>conftest.$ac_ext <<_ACEOF
98026 /* end confdefs.h. */
98027 #include <math.h>
98029 main ()
98031 __builtin_cos(0);
98033 return 0;
98035 _ACEOF
98036 rm -f conftest.$ac_objext conftest$ac_exeext
98037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98038 (eval $ac_link) 2>conftest.er1
98039 ac_status=$?
98040 grep -v '^ *+' conftest.er1 >conftest.err
98041 rm -f conftest.er1
98042 cat conftest.err >&5
98043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98044 (exit $ac_status); } &&
98045 { ac_try='test -z "$ac_c_werror_flag"
98046 || test ! -s conftest.err'
98047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98048 (eval $ac_try) 2>&5
98049 ac_status=$?
98050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98051 (exit $ac_status); }; } &&
98052 { ac_try='test -s conftest$ac_exeext'
98053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98054 (eval $ac_try) 2>&5
98055 ac_status=$?
98056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98057 (exit $ac_status); }; }; then
98058 glibcxx_cv_func___builtin_cos_link=yes
98059 else
98060 echo "$as_me: failed program was:" >&5
98061 sed 's/^/| /' conftest.$ac_ext >&5
98063 glibcxx_cv_func___builtin_cos_link=no
98065 rm -f conftest.err conftest.$ac_objext \
98066 conftest$ac_exeext conftest.$ac_ext
98071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98072 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98074 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98076 cat >>confdefs.h <<\_ACEOF
98077 #define HAVE___BUILTIN_COS 1
98078 _ACEOF
98085 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98086 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98087 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98088 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98089 echo $ECHO_N "(cached) $ECHO_C" >&6
98090 else
98094 ac_ext=cc
98095 ac_cpp='$CXXCPP $CPPFLAGS'
98096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98100 cat >conftest.$ac_ext <<_ACEOF
98101 /* confdefs.h. */
98102 _ACEOF
98103 cat confdefs.h >>conftest.$ac_ext
98104 cat >>conftest.$ac_ext <<_ACEOF
98105 /* end confdefs.h. */
98106 #include <math.h>
98108 main ()
98110 __builtin_cosl(0);
98112 return 0;
98114 _ACEOF
98115 rm -f conftest.$ac_objext
98116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98117 (eval $ac_compile) 2>conftest.er1
98118 ac_status=$?
98119 grep -v '^ *+' conftest.er1 >conftest.err
98120 rm -f conftest.er1
98121 cat conftest.err >&5
98122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98123 (exit $ac_status); } &&
98124 { ac_try='test -z "$ac_cxx_werror_flag"
98125 || test ! -s conftest.err'
98126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98127 (eval $ac_try) 2>&5
98128 ac_status=$?
98129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98130 (exit $ac_status); }; } &&
98131 { ac_try='test -s conftest.$ac_objext'
98132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98133 (eval $ac_try) 2>&5
98134 ac_status=$?
98135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98136 (exit $ac_status); }; }; then
98137 glibcxx_cv_func___builtin_cosl_use=yes
98138 else
98139 echo "$as_me: failed program was:" >&5
98140 sed 's/^/| /' conftest.$ac_ext >&5
98142 glibcxx_cv_func___builtin_cosl_use=no
98144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98145 ac_ext=c
98146 ac_cpp='$CPP $CPPFLAGS'
98147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98155 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98156 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98157 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98158 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98159 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98160 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98161 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98162 echo $ECHO_N "(cached) $ECHO_C" >&6
98163 else
98165 if test x$gcc_no_link = xyes; then
98166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98168 { (exit 1); exit 1; }; }
98170 cat >conftest.$ac_ext <<_ACEOF
98171 /* confdefs.h. */
98172 _ACEOF
98173 cat confdefs.h >>conftest.$ac_ext
98174 cat >>conftest.$ac_ext <<_ACEOF
98175 /* end confdefs.h. */
98176 #include <math.h>
98178 main ()
98180 __builtin_cosl(0);
98182 return 0;
98184 _ACEOF
98185 rm -f conftest.$ac_objext conftest$ac_exeext
98186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98187 (eval $ac_link) 2>conftest.er1
98188 ac_status=$?
98189 grep -v '^ *+' conftest.er1 >conftest.err
98190 rm -f conftest.er1
98191 cat conftest.err >&5
98192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98193 (exit $ac_status); } &&
98194 { ac_try='test -z "$ac_c_werror_flag"
98195 || test ! -s conftest.err'
98196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98197 (eval $ac_try) 2>&5
98198 ac_status=$?
98199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98200 (exit $ac_status); }; } &&
98201 { ac_try='test -s conftest$ac_exeext'
98202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98203 (eval $ac_try) 2>&5
98204 ac_status=$?
98205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98206 (exit $ac_status); }; }; then
98207 glibcxx_cv_func___builtin_cosl_link=yes
98208 else
98209 echo "$as_me: failed program was:" >&5
98210 sed 's/^/| /' conftest.$ac_ext >&5
98212 glibcxx_cv_func___builtin_cosl_link=no
98214 rm -f conftest.err conftest.$ac_objext \
98215 conftest$ac_exeext conftest.$ac_ext
98220 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98221 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98223 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98225 cat >>confdefs.h <<\_ACEOF
98226 #define HAVE___BUILTIN_COSL 1
98227 _ACEOF
98236 echo "$as_me:$LINENO: checking for main in -lm" >&5
98237 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98238 if test "${ac_cv_lib_m_main+set}" = set; then
98239 echo $ECHO_N "(cached) $ECHO_C" >&6
98240 else
98241 ac_check_lib_save_LIBS=$LIBS
98242 LIBS="-lm $LIBS"
98243 if test x$gcc_no_link = xyes; then
98244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98246 { (exit 1); exit 1; }; }
98248 cat >conftest.$ac_ext <<_ACEOF
98249 /* confdefs.h. */
98250 _ACEOF
98251 cat confdefs.h >>conftest.$ac_ext
98252 cat >>conftest.$ac_ext <<_ACEOF
98253 /* end confdefs.h. */
98257 main ()
98259 main ();
98261 return 0;
98263 _ACEOF
98264 rm -f conftest.$ac_objext conftest$ac_exeext
98265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98266 (eval $ac_link) 2>conftest.er1
98267 ac_status=$?
98268 grep -v '^ *+' conftest.er1 >conftest.err
98269 rm -f conftest.er1
98270 cat conftest.err >&5
98271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98272 (exit $ac_status); } &&
98273 { ac_try='test -z "$ac_c_werror_flag"
98274 || test ! -s conftest.err'
98275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98276 (eval $ac_try) 2>&5
98277 ac_status=$?
98278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98279 (exit $ac_status); }; } &&
98280 { ac_try='test -s conftest$ac_exeext'
98281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98282 (eval $ac_try) 2>&5
98283 ac_status=$?
98284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98285 (exit $ac_status); }; }; then
98286 ac_cv_lib_m_main=yes
98287 else
98288 echo "$as_me: failed program was:" >&5
98289 sed 's/^/| /' conftest.$ac_ext >&5
98291 ac_cv_lib_m_main=no
98293 rm -f conftest.err conftest.$ac_objext \
98294 conftest$ac_exeext conftest.$ac_ext
98295 LIBS=$ac_check_lib_save_LIBS
98297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98298 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98299 if test $ac_cv_lib_m_main = yes; then
98300 cat >>confdefs.h <<_ACEOF
98301 #define HAVE_LIBM 1
98302 _ACEOF
98304 LIBS="-lm $LIBS"
98309 for ac_func in copysignf
98311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98312 echo "$as_me:$LINENO: checking for $ac_func" >&5
98313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98314 if eval "test \"\${$as_ac_var+set}\" = set"; then
98315 echo $ECHO_N "(cached) $ECHO_C" >&6
98316 else
98317 if test x$gcc_no_link = xyes; then
98318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98320 { (exit 1); exit 1; }; }
98322 cat >conftest.$ac_ext <<_ACEOF
98323 /* confdefs.h. */
98324 _ACEOF
98325 cat confdefs.h >>conftest.$ac_ext
98326 cat >>conftest.$ac_ext <<_ACEOF
98327 /* end confdefs.h. */
98328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98330 #define $ac_func innocuous_$ac_func
98332 /* System header to define __stub macros and hopefully few prototypes,
98333 which can conflict with char $ac_func (); below.
98334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98335 <limits.h> exists even on freestanding compilers. */
98337 #ifdef __STDC__
98338 # include <limits.h>
98339 #else
98340 # include <assert.h>
98341 #endif
98343 #undef $ac_func
98345 /* Override any gcc2 internal prototype to avoid an error. */
98346 #ifdef __cplusplus
98347 extern "C"
98349 #endif
98350 /* We use char because int might match the return type of a gcc2
98351 builtin and then its argument prototype would still apply. */
98352 char $ac_func ();
98353 /* The GNU C library defines this for functions which it implements
98354 to always fail with ENOSYS. Some functions are actually named
98355 something starting with __ and the normal name is an alias. */
98356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98357 choke me
98358 #else
98359 char (*f) () = $ac_func;
98360 #endif
98361 #ifdef __cplusplus
98363 #endif
98366 main ()
98368 return f != $ac_func;
98370 return 0;
98372 _ACEOF
98373 rm -f conftest.$ac_objext conftest$ac_exeext
98374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98375 (eval $ac_link) 2>conftest.er1
98376 ac_status=$?
98377 grep -v '^ *+' conftest.er1 >conftest.err
98378 rm -f conftest.er1
98379 cat conftest.err >&5
98380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98381 (exit $ac_status); } &&
98382 { ac_try='test -z "$ac_c_werror_flag"
98383 || test ! -s conftest.err'
98384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98385 (eval $ac_try) 2>&5
98386 ac_status=$?
98387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98388 (exit $ac_status); }; } &&
98389 { ac_try='test -s conftest$ac_exeext'
98390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98391 (eval $ac_try) 2>&5
98392 ac_status=$?
98393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98394 (exit $ac_status); }; }; then
98395 eval "$as_ac_var=yes"
98396 else
98397 echo "$as_me: failed program was:" >&5
98398 sed 's/^/| /' conftest.$ac_ext >&5
98400 eval "$as_ac_var=no"
98402 rm -f conftest.err conftest.$ac_objext \
98403 conftest$ac_exeext conftest.$ac_ext
98405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98407 if test `eval echo '${'$as_ac_var'}'` = yes; then
98408 cat >>confdefs.h <<_ACEOF
98409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98410 _ACEOF
98412 else
98413 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98415 done
98419 for ac_func in __signbit
98421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98422 echo "$as_me:$LINENO: checking for $ac_func" >&5
98423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98424 if eval "test \"\${$as_ac_var+set}\" = set"; then
98425 echo $ECHO_N "(cached) $ECHO_C" >&6
98426 else
98427 if test x$gcc_no_link = xyes; then
98428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98430 { (exit 1); exit 1; }; }
98432 cat >conftest.$ac_ext <<_ACEOF
98433 /* confdefs.h. */
98434 _ACEOF
98435 cat confdefs.h >>conftest.$ac_ext
98436 cat >>conftest.$ac_ext <<_ACEOF
98437 /* end confdefs.h. */
98438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98440 #define $ac_func innocuous_$ac_func
98442 /* System header to define __stub macros and hopefully few prototypes,
98443 which can conflict with char $ac_func (); below.
98444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98445 <limits.h> exists even on freestanding compilers. */
98447 #ifdef __STDC__
98448 # include <limits.h>
98449 #else
98450 # include <assert.h>
98451 #endif
98453 #undef $ac_func
98455 /* Override any gcc2 internal prototype to avoid an error. */
98456 #ifdef __cplusplus
98457 extern "C"
98459 #endif
98460 /* We use char because int might match the return type of a gcc2
98461 builtin and then its argument prototype would still apply. */
98462 char $ac_func ();
98463 /* The GNU C library defines this for functions which it implements
98464 to always fail with ENOSYS. Some functions are actually named
98465 something starting with __ and the normal name is an alias. */
98466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98467 choke me
98468 #else
98469 char (*f) () = $ac_func;
98470 #endif
98471 #ifdef __cplusplus
98473 #endif
98476 main ()
98478 return f != $ac_func;
98480 return 0;
98482 _ACEOF
98483 rm -f conftest.$ac_objext conftest$ac_exeext
98484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98485 (eval $ac_link) 2>conftest.er1
98486 ac_status=$?
98487 grep -v '^ *+' conftest.er1 >conftest.err
98488 rm -f conftest.er1
98489 cat conftest.err >&5
98490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98491 (exit $ac_status); } &&
98492 { ac_try='test -z "$ac_c_werror_flag"
98493 || test ! -s conftest.err'
98494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98495 (eval $ac_try) 2>&5
98496 ac_status=$?
98497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98498 (exit $ac_status); }; } &&
98499 { ac_try='test -s conftest$ac_exeext'
98500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98501 (eval $ac_try) 2>&5
98502 ac_status=$?
98503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98504 (exit $ac_status); }; }; then
98505 eval "$as_ac_var=yes"
98506 else
98507 echo "$as_me: failed program was:" >&5
98508 sed 's/^/| /' conftest.$ac_ext >&5
98510 eval "$as_ac_var=no"
98512 rm -f conftest.err conftest.$ac_objext \
98513 conftest$ac_exeext conftest.$ac_ext
98515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98517 if test `eval echo '${'$as_ac_var'}'` = yes; then
98518 cat >>confdefs.h <<_ACEOF
98519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98520 _ACEOF
98522 else
98523 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98525 done
98529 for ac_func in __signbitf
98531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98532 echo "$as_me:$LINENO: checking for $ac_func" >&5
98533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98534 if eval "test \"\${$as_ac_var+set}\" = set"; then
98535 echo $ECHO_N "(cached) $ECHO_C" >&6
98536 else
98537 if test x$gcc_no_link = xyes; then
98538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98540 { (exit 1); exit 1; }; }
98542 cat >conftest.$ac_ext <<_ACEOF
98543 /* confdefs.h. */
98544 _ACEOF
98545 cat confdefs.h >>conftest.$ac_ext
98546 cat >>conftest.$ac_ext <<_ACEOF
98547 /* end confdefs.h. */
98548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98550 #define $ac_func innocuous_$ac_func
98552 /* System header to define __stub macros and hopefully few prototypes,
98553 which can conflict with char $ac_func (); below.
98554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98555 <limits.h> exists even on freestanding compilers. */
98557 #ifdef __STDC__
98558 # include <limits.h>
98559 #else
98560 # include <assert.h>
98561 #endif
98563 #undef $ac_func
98565 /* Override any gcc2 internal prototype to avoid an error. */
98566 #ifdef __cplusplus
98567 extern "C"
98569 #endif
98570 /* We use char because int might match the return type of a gcc2
98571 builtin and then its argument prototype would still apply. */
98572 char $ac_func ();
98573 /* The GNU C library defines this for functions which it implements
98574 to always fail with ENOSYS. Some functions are actually named
98575 something starting with __ and the normal name is an alias. */
98576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98577 choke me
98578 #else
98579 char (*f) () = $ac_func;
98580 #endif
98581 #ifdef __cplusplus
98583 #endif
98586 main ()
98588 return f != $ac_func;
98590 return 0;
98592 _ACEOF
98593 rm -f conftest.$ac_objext conftest$ac_exeext
98594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98595 (eval $ac_link) 2>conftest.er1
98596 ac_status=$?
98597 grep -v '^ *+' conftest.er1 >conftest.err
98598 rm -f conftest.er1
98599 cat conftest.err >&5
98600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98601 (exit $ac_status); } &&
98602 { ac_try='test -z "$ac_c_werror_flag"
98603 || test ! -s conftest.err'
98604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98605 (eval $ac_try) 2>&5
98606 ac_status=$?
98607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98608 (exit $ac_status); }; } &&
98609 { ac_try='test -s conftest$ac_exeext'
98610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98611 (eval $ac_try) 2>&5
98612 ac_status=$?
98613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98614 (exit $ac_status); }; }; then
98615 eval "$as_ac_var=yes"
98616 else
98617 echo "$as_me: failed program was:" >&5
98618 sed 's/^/| /' conftest.$ac_ext >&5
98620 eval "$as_ac_var=no"
98622 rm -f conftest.err conftest.$ac_objext \
98623 conftest$ac_exeext conftest.$ac_ext
98625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98627 if test `eval echo '${'$as_ac_var'}'` = yes; then
98628 cat >>confdefs.h <<_ACEOF
98629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98630 _ACEOF
98632 else
98633 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98635 done
98638 if test x$ac_cv_func_copysignl = x"yes"; then
98640 for ac_func in __signbitl
98642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98643 echo "$as_me:$LINENO: checking for $ac_func" >&5
98644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98645 if eval "test \"\${$as_ac_var+set}\" = set"; then
98646 echo $ECHO_N "(cached) $ECHO_C" >&6
98647 else
98648 if test x$gcc_no_link = xyes; then
98649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98651 { (exit 1); exit 1; }; }
98653 cat >conftest.$ac_ext <<_ACEOF
98654 /* confdefs.h. */
98655 _ACEOF
98656 cat confdefs.h >>conftest.$ac_ext
98657 cat >>conftest.$ac_ext <<_ACEOF
98658 /* end confdefs.h. */
98659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98661 #define $ac_func innocuous_$ac_func
98663 /* System header to define __stub macros and hopefully few prototypes,
98664 which can conflict with char $ac_func (); below.
98665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98666 <limits.h> exists even on freestanding compilers. */
98668 #ifdef __STDC__
98669 # include <limits.h>
98670 #else
98671 # include <assert.h>
98672 #endif
98674 #undef $ac_func
98676 /* Override any gcc2 internal prototype to avoid an error. */
98677 #ifdef __cplusplus
98678 extern "C"
98680 #endif
98681 /* We use char because int might match the return type of a gcc2
98682 builtin and then its argument prototype would still apply. */
98683 char $ac_func ();
98684 /* The GNU C library defines this for functions which it implements
98685 to always fail with ENOSYS. Some functions are actually named
98686 something starting with __ and the normal name is an alias. */
98687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98688 choke me
98689 #else
98690 char (*f) () = $ac_func;
98691 #endif
98692 #ifdef __cplusplus
98694 #endif
98697 main ()
98699 return f != $ac_func;
98701 return 0;
98703 _ACEOF
98704 rm -f conftest.$ac_objext conftest$ac_exeext
98705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98706 (eval $ac_link) 2>conftest.er1
98707 ac_status=$?
98708 grep -v '^ *+' conftest.er1 >conftest.err
98709 rm -f conftest.er1
98710 cat conftest.err >&5
98711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98712 (exit $ac_status); } &&
98713 { ac_try='test -z "$ac_c_werror_flag"
98714 || test ! -s conftest.err'
98715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98716 (eval $ac_try) 2>&5
98717 ac_status=$?
98718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98719 (exit $ac_status); }; } &&
98720 { ac_try='test -s conftest$ac_exeext'
98721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98722 (eval $ac_try) 2>&5
98723 ac_status=$?
98724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98725 (exit $ac_status); }; }; then
98726 eval "$as_ac_var=yes"
98727 else
98728 echo "$as_me: failed program was:" >&5
98729 sed 's/^/| /' conftest.$ac_ext >&5
98731 eval "$as_ac_var=no"
98733 rm -f conftest.err conftest.$ac_objext \
98734 conftest$ac_exeext conftest.$ac_ext
98736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98738 if test `eval echo '${'$as_ac_var'}'` = yes; then
98739 cat >>confdefs.h <<_ACEOF
98740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98741 _ACEOF
98743 else
98744 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98746 done
98750 # Used in libmath/Makefile.am.
98751 if test -n "$LIBMATHOBJS"; then
98752 need_libmath=yes
98758 enable_iconv=no
98759 # Only continue checking if the ISO C99 headers exist and support is on.
98760 if test x"$enable_wchar_t" = xyes; then
98762 # Use iconv for wchar_t to char conversions. As such, check for
98763 # X/Open Portability Guide, version 2 features (XPG2).
98764 if test "${ac_cv_header_iconv_h+set}" = set; then
98765 echo "$as_me:$LINENO: checking for iconv.h" >&5
98766 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98767 if test "${ac_cv_header_iconv_h+set}" = set; then
98768 echo $ECHO_N "(cached) $ECHO_C" >&6
98770 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98771 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98772 else
98773 # Is the header compilable?
98774 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98775 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98776 cat >conftest.$ac_ext <<_ACEOF
98777 /* confdefs.h. */
98778 _ACEOF
98779 cat confdefs.h >>conftest.$ac_ext
98780 cat >>conftest.$ac_ext <<_ACEOF
98781 /* end confdefs.h. */
98782 $ac_includes_default
98783 #include <iconv.h>
98784 _ACEOF
98785 rm -f conftest.$ac_objext
98786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98787 (eval $ac_compile) 2>conftest.er1
98788 ac_status=$?
98789 grep -v '^ *+' conftest.er1 >conftest.err
98790 rm -f conftest.er1
98791 cat conftest.err >&5
98792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98793 (exit $ac_status); } &&
98794 { ac_try='test -z "$ac_c_werror_flag"
98795 || test ! -s conftest.err'
98796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98797 (eval $ac_try) 2>&5
98798 ac_status=$?
98799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98800 (exit $ac_status); }; } &&
98801 { ac_try='test -s conftest.$ac_objext'
98802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98803 (eval $ac_try) 2>&5
98804 ac_status=$?
98805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98806 (exit $ac_status); }; }; then
98807 ac_header_compiler=yes
98808 else
98809 echo "$as_me: failed program was:" >&5
98810 sed 's/^/| /' conftest.$ac_ext >&5
98812 ac_header_compiler=no
98814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98816 echo "${ECHO_T}$ac_header_compiler" >&6
98818 # Is the header present?
98819 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98820 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98821 cat >conftest.$ac_ext <<_ACEOF
98822 /* confdefs.h. */
98823 _ACEOF
98824 cat confdefs.h >>conftest.$ac_ext
98825 cat >>conftest.$ac_ext <<_ACEOF
98826 /* end confdefs.h. */
98827 #include <iconv.h>
98828 _ACEOF
98829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98831 ac_status=$?
98832 grep -v '^ *+' conftest.er1 >conftest.err
98833 rm -f conftest.er1
98834 cat conftest.err >&5
98835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98836 (exit $ac_status); } >/dev/null; then
98837 if test -s conftest.err; then
98838 ac_cpp_err=$ac_c_preproc_warn_flag
98839 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98840 else
98841 ac_cpp_err=
98843 else
98844 ac_cpp_err=yes
98846 if test -z "$ac_cpp_err"; then
98847 ac_header_preproc=yes
98848 else
98849 echo "$as_me: failed program was:" >&5
98850 sed 's/^/| /' conftest.$ac_ext >&5
98852 ac_header_preproc=no
98854 rm -f conftest.err conftest.$ac_ext
98855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98856 echo "${ECHO_T}$ac_header_preproc" >&6
98858 # So? What about this header?
98859 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98860 yes:no: )
98861 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98862 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98863 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98864 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98865 ac_header_preproc=yes
98867 no:yes:* )
98868 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98869 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98870 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
98871 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
98872 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98873 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98874 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
98875 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
98876 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98877 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98878 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98879 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98881 cat <<\_ASBOX
98882 ## ----------------------------------------- ##
98883 ## Report this to the package-unused lists. ##
98884 ## ----------------------------------------- ##
98885 _ASBOX
98887 sed "s/^/$as_me: WARNING: /" >&2
98889 esac
98890 echo "$as_me:$LINENO: checking for iconv.h" >&5
98891 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98892 if test "${ac_cv_header_iconv_h+set}" = set; then
98893 echo $ECHO_N "(cached) $ECHO_C" >&6
98894 else
98895 ac_cv_header_iconv_h=$ac_header_preproc
98897 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98898 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98901 if test $ac_cv_header_iconv_h = yes; then
98902 ac_has_iconv_h=yes
98903 else
98904 ac_has_iconv_h=no
98908 if test "${ac_cv_header_langinfo_h+set}" = set; then
98909 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98910 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98911 if test "${ac_cv_header_langinfo_h+set}" = set; then
98912 echo $ECHO_N "(cached) $ECHO_C" >&6
98914 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98915 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98916 else
98917 # Is the header compilable?
98918 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98919 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98920 cat >conftest.$ac_ext <<_ACEOF
98921 /* confdefs.h. */
98922 _ACEOF
98923 cat confdefs.h >>conftest.$ac_ext
98924 cat >>conftest.$ac_ext <<_ACEOF
98925 /* end confdefs.h. */
98926 $ac_includes_default
98927 #include <langinfo.h>
98928 _ACEOF
98929 rm -f conftest.$ac_objext
98930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98931 (eval $ac_compile) 2>conftest.er1
98932 ac_status=$?
98933 grep -v '^ *+' conftest.er1 >conftest.err
98934 rm -f conftest.er1
98935 cat conftest.err >&5
98936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98937 (exit $ac_status); } &&
98938 { ac_try='test -z "$ac_c_werror_flag"
98939 || test ! -s conftest.err'
98940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98941 (eval $ac_try) 2>&5
98942 ac_status=$?
98943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98944 (exit $ac_status); }; } &&
98945 { ac_try='test -s conftest.$ac_objext'
98946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98947 (eval $ac_try) 2>&5
98948 ac_status=$?
98949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98950 (exit $ac_status); }; }; then
98951 ac_header_compiler=yes
98952 else
98953 echo "$as_me: failed program was:" >&5
98954 sed 's/^/| /' conftest.$ac_ext >&5
98956 ac_header_compiler=no
98958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98960 echo "${ECHO_T}$ac_header_compiler" >&6
98962 # Is the header present?
98963 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
98964 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
98965 cat >conftest.$ac_ext <<_ACEOF
98966 /* confdefs.h. */
98967 _ACEOF
98968 cat confdefs.h >>conftest.$ac_ext
98969 cat >>conftest.$ac_ext <<_ACEOF
98970 /* end confdefs.h. */
98971 #include <langinfo.h>
98972 _ACEOF
98973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98975 ac_status=$?
98976 grep -v '^ *+' conftest.er1 >conftest.err
98977 rm -f conftest.er1
98978 cat conftest.err >&5
98979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98980 (exit $ac_status); } >/dev/null; then
98981 if test -s conftest.err; then
98982 ac_cpp_err=$ac_c_preproc_warn_flag
98983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98984 else
98985 ac_cpp_err=
98987 else
98988 ac_cpp_err=yes
98990 if test -z "$ac_cpp_err"; then
98991 ac_header_preproc=yes
98992 else
98993 echo "$as_me: failed program was:" >&5
98994 sed 's/^/| /' conftest.$ac_ext >&5
98996 ac_header_preproc=no
98998 rm -f conftest.err conftest.$ac_ext
98999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99000 echo "${ECHO_T}$ac_header_preproc" >&6
99002 # So? What about this header?
99003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99004 yes:no: )
99005 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99006 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99007 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99008 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99009 ac_header_preproc=yes
99011 no:yes:* )
99012 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99013 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99014 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
99015 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
99016 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99017 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99018 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
99019 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
99020 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99021 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99022 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99023 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99025 cat <<\_ASBOX
99026 ## ----------------------------------------- ##
99027 ## Report this to the package-unused lists. ##
99028 ## ----------------------------------------- ##
99029 _ASBOX
99031 sed "s/^/$as_me: WARNING: /" >&2
99033 esac
99034 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99035 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99036 if test "${ac_cv_header_langinfo_h+set}" = set; then
99037 echo $ECHO_N "(cached) $ECHO_C" >&6
99038 else
99039 ac_cv_header_langinfo_h=$ac_header_preproc
99041 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99042 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99045 if test $ac_cv_header_langinfo_h = yes; then
99046 ac_has_langinfo_h=yes
99047 else
99048 ac_has_langinfo_h=no
99053 # Check for existence of libiconv.a providing XPG2 wchar_t support.
99054 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99055 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99056 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99057 echo $ECHO_N "(cached) $ECHO_C" >&6
99058 else
99059 ac_check_lib_save_LIBS=$LIBS
99060 LIBS="-liconv $LIBS"
99061 if test x$gcc_no_link = xyes; then
99062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99064 { (exit 1); exit 1; }; }
99066 cat >conftest.$ac_ext <<_ACEOF
99067 /* confdefs.h. */
99068 _ACEOF
99069 cat confdefs.h >>conftest.$ac_ext
99070 cat >>conftest.$ac_ext <<_ACEOF
99071 /* end confdefs.h. */
99073 /* Override any gcc2 internal prototype to avoid an error. */
99074 #ifdef __cplusplus
99075 extern "C"
99076 #endif
99077 /* We use char because int might match the return type of a gcc2
99078 builtin and then its argument prototype would still apply. */
99079 char iconv ();
99081 main ()
99083 iconv ();
99085 return 0;
99087 _ACEOF
99088 rm -f conftest.$ac_objext conftest$ac_exeext
99089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99090 (eval $ac_link) 2>conftest.er1
99091 ac_status=$?
99092 grep -v '^ *+' conftest.er1 >conftest.err
99093 rm -f conftest.er1
99094 cat conftest.err >&5
99095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99096 (exit $ac_status); } &&
99097 { ac_try='test -z "$ac_c_werror_flag"
99098 || test ! -s conftest.err'
99099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99100 (eval $ac_try) 2>&5
99101 ac_status=$?
99102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99103 (exit $ac_status); }; } &&
99104 { ac_try='test -s conftest$ac_exeext'
99105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99106 (eval $ac_try) 2>&5
99107 ac_status=$?
99108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99109 (exit $ac_status); }; }; then
99110 ac_cv_lib_iconv_iconv=yes
99111 else
99112 echo "$as_me: failed program was:" >&5
99113 sed 's/^/| /' conftest.$ac_ext >&5
99115 ac_cv_lib_iconv_iconv=no
99117 rm -f conftest.err conftest.$ac_objext \
99118 conftest$ac_exeext conftest.$ac_ext
99119 LIBS=$ac_check_lib_save_LIBS
99121 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99122 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99123 if test $ac_cv_lib_iconv_iconv = yes; then
99124 LIBICONV="-liconv"
99127 ac_save_LIBS="$LIBS"
99128 LIBS="$LIBS $LIBICONV"
99135 for ac_func in iconv_open iconv_close iconv nl_langinfo
99137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99138 echo "$as_me:$LINENO: checking for $ac_func" >&5
99139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99140 if eval "test \"\${$as_ac_var+set}\" = set"; then
99141 echo $ECHO_N "(cached) $ECHO_C" >&6
99142 else
99143 if test x$gcc_no_link = xyes; then
99144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99146 { (exit 1); exit 1; }; }
99148 cat >conftest.$ac_ext <<_ACEOF
99149 /* confdefs.h. */
99150 _ACEOF
99151 cat confdefs.h >>conftest.$ac_ext
99152 cat >>conftest.$ac_ext <<_ACEOF
99153 /* end confdefs.h. */
99154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99156 #define $ac_func innocuous_$ac_func
99158 /* System header to define __stub macros and hopefully few prototypes,
99159 which can conflict with char $ac_func (); below.
99160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99161 <limits.h> exists even on freestanding compilers. */
99163 #ifdef __STDC__
99164 # include <limits.h>
99165 #else
99166 # include <assert.h>
99167 #endif
99169 #undef $ac_func
99171 /* Override any gcc2 internal prototype to avoid an error. */
99172 #ifdef __cplusplus
99173 extern "C"
99175 #endif
99176 /* We use char because int might match the return type of a gcc2
99177 builtin and then its argument prototype would still apply. */
99178 char $ac_func ();
99179 /* The GNU C library defines this for functions which it implements
99180 to always fail with ENOSYS. Some functions are actually named
99181 something starting with __ and the normal name is an alias. */
99182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99183 choke me
99184 #else
99185 char (*f) () = $ac_func;
99186 #endif
99187 #ifdef __cplusplus
99189 #endif
99192 main ()
99194 return f != $ac_func;
99196 return 0;
99198 _ACEOF
99199 rm -f conftest.$ac_objext conftest$ac_exeext
99200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99201 (eval $ac_link) 2>conftest.er1
99202 ac_status=$?
99203 grep -v '^ *+' conftest.er1 >conftest.err
99204 rm -f conftest.er1
99205 cat conftest.err >&5
99206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99207 (exit $ac_status); } &&
99208 { ac_try='test -z "$ac_c_werror_flag"
99209 || test ! -s conftest.err'
99210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99211 (eval $ac_try) 2>&5
99212 ac_status=$?
99213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99214 (exit $ac_status); }; } &&
99215 { ac_try='test -s conftest$ac_exeext'
99216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99217 (eval $ac_try) 2>&5
99218 ac_status=$?
99219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99220 (exit $ac_status); }; }; then
99221 eval "$as_ac_var=yes"
99222 else
99223 echo "$as_me: failed program was:" >&5
99224 sed 's/^/| /' conftest.$ac_ext >&5
99226 eval "$as_ac_var=no"
99228 rm -f conftest.err conftest.$ac_objext \
99229 conftest$ac_exeext conftest.$ac_ext
99231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99233 if test `eval echo '${'$as_ac_var'}'` = yes; then
99234 cat >>confdefs.h <<_ACEOF
99235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99236 _ACEOF
99237 ac_XPG2funcs=yes
99238 else
99239 ac_XPG2funcs=no
99241 done
99244 LIBS="$ac_save_LIBS"
99246 if test x"$ac_has_iconv_h" = xyes &&
99247 test x"$ac_has_langinfo_h" = xyes &&
99248 test x"$ac_XPG2funcs" = xyes;
99249 then
99251 cat >>confdefs.h <<\_ACEOF
99252 #define _GLIBCXX_USE_ICONV 1
99253 _ACEOF
99255 enable_iconv=yes
99258 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99259 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99260 echo "$as_me:$LINENO: result: $enable_iconv" >&5
99261 echo "${ECHO_T}$enable_iconv" >&6
99264 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99265 ac_save_CXXFLAGS="$CXXFLAGS"
99266 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99269 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99270 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99271 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99272 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99273 echo $ECHO_N "(cached) $ECHO_C" >&6
99274 else
99278 ac_ext=cc
99279 ac_cpp='$CXXCPP $CPPFLAGS'
99280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99284 cat >conftest.$ac_ext <<_ACEOF
99285 /* confdefs.h. */
99286 _ACEOF
99287 cat confdefs.h >>conftest.$ac_ext
99288 cat >>conftest.$ac_ext <<_ACEOF
99289 /* end confdefs.h. */
99290 #include <stdlib.h>
99292 main ()
99294 strtold(0, 0);
99296 return 0;
99298 _ACEOF
99299 rm -f conftest.$ac_objext
99300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99301 (eval $ac_compile) 2>conftest.er1
99302 ac_status=$?
99303 grep -v '^ *+' conftest.er1 >conftest.err
99304 rm -f conftest.er1
99305 cat conftest.err >&5
99306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99307 (exit $ac_status); } &&
99308 { ac_try='test -z "$ac_cxx_werror_flag"
99309 || test ! -s conftest.err'
99310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99311 (eval $ac_try) 2>&5
99312 ac_status=$?
99313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99314 (exit $ac_status); }; } &&
99315 { ac_try='test -s conftest.$ac_objext'
99316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99317 (eval $ac_try) 2>&5
99318 ac_status=$?
99319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99320 (exit $ac_status); }; }; then
99321 glibcxx_cv_func_strtold_use=yes
99322 else
99323 echo "$as_me: failed program was:" >&5
99324 sed 's/^/| /' conftest.$ac_ext >&5
99326 glibcxx_cv_func_strtold_use=no
99328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99329 ac_ext=c
99330 ac_cpp='$CPP $CPPFLAGS'
99331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99340 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99341 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99343 for ac_func in strtold
99345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99346 echo "$as_me:$LINENO: checking for $ac_func" >&5
99347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99348 if eval "test \"\${$as_ac_var+set}\" = set"; then
99349 echo $ECHO_N "(cached) $ECHO_C" >&6
99350 else
99351 if test x$gcc_no_link = xyes; then
99352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99354 { (exit 1); exit 1; }; }
99356 cat >conftest.$ac_ext <<_ACEOF
99357 /* confdefs.h. */
99358 _ACEOF
99359 cat confdefs.h >>conftest.$ac_ext
99360 cat >>conftest.$ac_ext <<_ACEOF
99361 /* end confdefs.h. */
99362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99364 #define $ac_func innocuous_$ac_func
99366 /* System header to define __stub macros and hopefully few prototypes,
99367 which can conflict with char $ac_func (); below.
99368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99369 <limits.h> exists even on freestanding compilers. */
99371 #ifdef __STDC__
99372 # include <limits.h>
99373 #else
99374 # include <assert.h>
99375 #endif
99377 #undef $ac_func
99379 /* Override any gcc2 internal prototype to avoid an error. */
99380 #ifdef __cplusplus
99381 extern "C"
99383 #endif
99384 /* We use char because int might match the return type of a gcc2
99385 builtin and then its argument prototype would still apply. */
99386 char $ac_func ();
99387 /* The GNU C library defines this for functions which it implements
99388 to always fail with ENOSYS. Some functions are actually named
99389 something starting with __ and the normal name is an alias. */
99390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99391 choke me
99392 #else
99393 char (*f) () = $ac_func;
99394 #endif
99395 #ifdef __cplusplus
99397 #endif
99400 main ()
99402 return f != $ac_func;
99404 return 0;
99406 _ACEOF
99407 rm -f conftest.$ac_objext conftest$ac_exeext
99408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99409 (eval $ac_link) 2>conftest.er1
99410 ac_status=$?
99411 grep -v '^ *+' conftest.er1 >conftest.err
99412 rm -f conftest.er1
99413 cat conftest.err >&5
99414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99415 (exit $ac_status); } &&
99416 { ac_try='test -z "$ac_c_werror_flag"
99417 || test ! -s conftest.err'
99418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99419 (eval $ac_try) 2>&5
99420 ac_status=$?
99421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99422 (exit $ac_status); }; } &&
99423 { ac_try='test -s conftest$ac_exeext'
99424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99425 (eval $ac_try) 2>&5
99426 ac_status=$?
99427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99428 (exit $ac_status); }; }; then
99429 eval "$as_ac_var=yes"
99430 else
99431 echo "$as_me: failed program was:" >&5
99432 sed 's/^/| /' conftest.$ac_ext >&5
99434 eval "$as_ac_var=no"
99436 rm -f conftest.err conftest.$ac_objext \
99437 conftest$ac_exeext conftest.$ac_ext
99439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99441 if test `eval echo '${'$as_ac_var'}'` = yes; then
99442 cat >>confdefs.h <<_ACEOF
99443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99444 _ACEOF
99447 done
99455 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99456 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99457 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99458 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99459 echo $ECHO_N "(cached) $ECHO_C" >&6
99460 else
99464 ac_ext=cc
99465 ac_cpp='$CXXCPP $CPPFLAGS'
99466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99470 cat >conftest.$ac_ext <<_ACEOF
99471 /* confdefs.h. */
99472 _ACEOF
99473 cat confdefs.h >>conftest.$ac_ext
99474 cat >>conftest.$ac_ext <<_ACEOF
99475 /* end confdefs.h. */
99476 #include <stdlib.h>
99478 main ()
99480 strtof(0, 0);
99482 return 0;
99484 _ACEOF
99485 rm -f conftest.$ac_objext
99486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99487 (eval $ac_compile) 2>conftest.er1
99488 ac_status=$?
99489 grep -v '^ *+' conftest.er1 >conftest.err
99490 rm -f conftest.er1
99491 cat conftest.err >&5
99492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99493 (exit $ac_status); } &&
99494 { ac_try='test -z "$ac_cxx_werror_flag"
99495 || test ! -s conftest.err'
99496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99497 (eval $ac_try) 2>&5
99498 ac_status=$?
99499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99500 (exit $ac_status); }; } &&
99501 { ac_try='test -s conftest.$ac_objext'
99502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99503 (eval $ac_try) 2>&5
99504 ac_status=$?
99505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99506 (exit $ac_status); }; }; then
99507 glibcxx_cv_func_strtof_use=yes
99508 else
99509 echo "$as_me: failed program was:" >&5
99510 sed 's/^/| /' conftest.$ac_ext >&5
99512 glibcxx_cv_func_strtof_use=no
99514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99515 ac_ext=c
99516 ac_cpp='$CPP $CPPFLAGS'
99517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99526 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99527 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99529 for ac_func in strtof
99531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99532 echo "$as_me:$LINENO: checking for $ac_func" >&5
99533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99534 if eval "test \"\${$as_ac_var+set}\" = set"; then
99535 echo $ECHO_N "(cached) $ECHO_C" >&6
99536 else
99537 if test x$gcc_no_link = xyes; then
99538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99540 { (exit 1); exit 1; }; }
99542 cat >conftest.$ac_ext <<_ACEOF
99543 /* confdefs.h. */
99544 _ACEOF
99545 cat confdefs.h >>conftest.$ac_ext
99546 cat >>conftest.$ac_ext <<_ACEOF
99547 /* end confdefs.h. */
99548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99550 #define $ac_func innocuous_$ac_func
99552 /* System header to define __stub macros and hopefully few prototypes,
99553 which can conflict with char $ac_func (); below.
99554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99555 <limits.h> exists even on freestanding compilers. */
99557 #ifdef __STDC__
99558 # include <limits.h>
99559 #else
99560 # include <assert.h>
99561 #endif
99563 #undef $ac_func
99565 /* Override any gcc2 internal prototype to avoid an error. */
99566 #ifdef __cplusplus
99567 extern "C"
99569 #endif
99570 /* We use char because int might match the return type of a gcc2
99571 builtin and then its argument prototype would still apply. */
99572 char $ac_func ();
99573 /* The GNU C library defines this for functions which it implements
99574 to always fail with ENOSYS. Some functions are actually named
99575 something starting with __ and the normal name is an alias. */
99576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99577 choke me
99578 #else
99579 char (*f) () = $ac_func;
99580 #endif
99581 #ifdef __cplusplus
99583 #endif
99586 main ()
99588 return f != $ac_func;
99590 return 0;
99592 _ACEOF
99593 rm -f conftest.$ac_objext conftest$ac_exeext
99594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99595 (eval $ac_link) 2>conftest.er1
99596 ac_status=$?
99597 grep -v '^ *+' conftest.er1 >conftest.err
99598 rm -f conftest.er1
99599 cat conftest.err >&5
99600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99601 (exit $ac_status); } &&
99602 { ac_try='test -z "$ac_c_werror_flag"
99603 || test ! -s conftest.err'
99604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99605 (eval $ac_try) 2>&5
99606 ac_status=$?
99607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99608 (exit $ac_status); }; } &&
99609 { ac_try='test -s conftest$ac_exeext'
99610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99611 (eval $ac_try) 2>&5
99612 ac_status=$?
99613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99614 (exit $ac_status); }; }; then
99615 eval "$as_ac_var=yes"
99616 else
99617 echo "$as_me: failed program was:" >&5
99618 sed 's/^/| /' conftest.$ac_ext >&5
99620 eval "$as_ac_var=no"
99622 rm -f conftest.err conftest.$ac_objext \
99623 conftest$ac_exeext conftest.$ac_ext
99625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99627 if test `eval echo '${'$as_ac_var'}'` = yes; then
99628 cat >>confdefs.h <<_ACEOF
99629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99630 _ACEOF
99633 done
99641 CXXFLAGS="$ac_save_CXXFLAGS"
99644 # For LFS.
99645 cat >>confdefs.h <<\_ACEOF
99646 #define HAVE_INT64_T 1
99647 _ACEOF
99649 case "$target" in
99650 *-uclinux*)
99651 # Don't enable LFS with uClibc
99654 cat >>confdefs.h <<\_ACEOF
99655 #define _GLIBCXX_USE_LFS 1
99656 _ACEOF
99658 esac
99660 # For showmanyc_helper().
99663 for ac_header in sys/ioctl.h sys/filio.h
99665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99667 echo "$as_me:$LINENO: checking for $ac_header" >&5
99668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99670 echo $ECHO_N "(cached) $ECHO_C" >&6
99672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99674 else
99675 # Is the header compilable?
99676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99678 cat >conftest.$ac_ext <<_ACEOF
99679 /* confdefs.h. */
99680 _ACEOF
99681 cat confdefs.h >>conftest.$ac_ext
99682 cat >>conftest.$ac_ext <<_ACEOF
99683 /* end confdefs.h. */
99684 $ac_includes_default
99685 #include <$ac_header>
99686 _ACEOF
99687 rm -f conftest.$ac_objext
99688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99689 (eval $ac_compile) 2>conftest.er1
99690 ac_status=$?
99691 grep -v '^ *+' conftest.er1 >conftest.err
99692 rm -f conftest.er1
99693 cat conftest.err >&5
99694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99695 (exit $ac_status); } &&
99696 { ac_try='test -z "$ac_c_werror_flag"
99697 || test ! -s conftest.err'
99698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99699 (eval $ac_try) 2>&5
99700 ac_status=$?
99701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99702 (exit $ac_status); }; } &&
99703 { ac_try='test -s conftest.$ac_objext'
99704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99705 (eval $ac_try) 2>&5
99706 ac_status=$?
99707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99708 (exit $ac_status); }; }; then
99709 ac_header_compiler=yes
99710 else
99711 echo "$as_me: failed program was:" >&5
99712 sed 's/^/| /' conftest.$ac_ext >&5
99714 ac_header_compiler=no
99716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99718 echo "${ECHO_T}$ac_header_compiler" >&6
99720 # Is the header present?
99721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99723 cat >conftest.$ac_ext <<_ACEOF
99724 /* confdefs.h. */
99725 _ACEOF
99726 cat confdefs.h >>conftest.$ac_ext
99727 cat >>conftest.$ac_ext <<_ACEOF
99728 /* end confdefs.h. */
99729 #include <$ac_header>
99730 _ACEOF
99731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99733 ac_status=$?
99734 grep -v '^ *+' conftest.er1 >conftest.err
99735 rm -f conftest.er1
99736 cat conftest.err >&5
99737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99738 (exit $ac_status); } >/dev/null; then
99739 if test -s conftest.err; then
99740 ac_cpp_err=$ac_c_preproc_warn_flag
99741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99742 else
99743 ac_cpp_err=
99745 else
99746 ac_cpp_err=yes
99748 if test -z "$ac_cpp_err"; then
99749 ac_header_preproc=yes
99750 else
99751 echo "$as_me: failed program was:" >&5
99752 sed 's/^/| /' conftest.$ac_ext >&5
99754 ac_header_preproc=no
99756 rm -f conftest.err conftest.$ac_ext
99757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99758 echo "${ECHO_T}$ac_header_preproc" >&6
99760 # So? What about this header?
99761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99762 yes:no: )
99763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99767 ac_header_preproc=yes
99769 no:yes:* )
99770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99783 cat <<\_ASBOX
99784 ## ----------------------------------------- ##
99785 ## Report this to the package-unused lists. ##
99786 ## ----------------------------------------- ##
99787 _ASBOX
99789 sed "s/^/$as_me: WARNING: /" >&2
99791 esac
99792 echo "$as_me:$LINENO: checking for $ac_header" >&5
99793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99795 echo $ECHO_N "(cached) $ECHO_C" >&6
99796 else
99797 eval "$as_ac_Header=\$ac_header_preproc"
99799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99804 cat >>confdefs.h <<_ACEOF
99805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99806 _ACEOF
99810 done
99813 echo "$as_me:$LINENO: checking for poll" >&5
99814 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99815 if test "${glibcxx_cv_POLL+set}" = set; then
99816 echo $ECHO_N "(cached) $ECHO_C" >&6
99817 else
99819 if test x$gcc_no_link = xyes; then
99820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99822 { (exit 1); exit 1; }; }
99824 cat >conftest.$ac_ext <<_ACEOF
99825 /* confdefs.h. */
99826 _ACEOF
99827 cat confdefs.h >>conftest.$ac_ext
99828 cat >>conftest.$ac_ext <<_ACEOF
99829 /* end confdefs.h. */
99830 #include <poll.h>
99832 main ()
99834 struct pollfd pfd[1];
99835 pfd[0].events = POLLIN;
99836 poll(pfd, 1, 0);
99838 return 0;
99840 _ACEOF
99841 rm -f conftest.$ac_objext conftest$ac_exeext
99842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99843 (eval $ac_link) 2>conftest.er1
99844 ac_status=$?
99845 grep -v '^ *+' conftest.er1 >conftest.err
99846 rm -f conftest.er1
99847 cat conftest.err >&5
99848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99849 (exit $ac_status); } &&
99850 { ac_try='test -z "$ac_c_werror_flag"
99851 || test ! -s conftest.err'
99852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99853 (eval $ac_try) 2>&5
99854 ac_status=$?
99855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99856 (exit $ac_status); }; } &&
99857 { ac_try='test -s conftest$ac_exeext'
99858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99859 (eval $ac_try) 2>&5
99860 ac_status=$?
99861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99862 (exit $ac_status); }; }; then
99863 glibcxx_cv_POLL=yes
99864 else
99865 echo "$as_me: failed program was:" >&5
99866 sed 's/^/| /' conftest.$ac_ext >&5
99868 glibcxx_cv_POLL=no
99870 rm -f conftest.err conftest.$ac_objext \
99871 conftest$ac_exeext conftest.$ac_ext
99875 if test $glibcxx_cv_POLL = yes; then
99877 cat >>confdefs.h <<\_ACEOF
99878 #define HAVE_POLL 1
99879 _ACEOF
99882 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
99883 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
99886 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
99887 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
99888 if test "${glibcxx_cv_S_ISREG+set}" = set; then
99889 echo $ECHO_N "(cached) $ECHO_C" >&6
99890 else
99892 if test x$gcc_no_link = xyes; then
99893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99895 { (exit 1); exit 1; }; }
99897 cat >conftest.$ac_ext <<_ACEOF
99898 /* confdefs.h. */
99899 _ACEOF
99900 cat confdefs.h >>conftest.$ac_ext
99901 cat >>conftest.$ac_ext <<_ACEOF
99902 /* end confdefs.h. */
99903 #include <sys/stat.h>
99905 main ()
99907 struct stat buffer;
99908 fstat(0, &buffer);
99909 S_ISREG(buffer.st_mode);
99911 return 0;
99913 _ACEOF
99914 rm -f conftest.$ac_objext conftest$ac_exeext
99915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99916 (eval $ac_link) 2>conftest.er1
99917 ac_status=$?
99918 grep -v '^ *+' conftest.er1 >conftest.err
99919 rm -f conftest.er1
99920 cat conftest.err >&5
99921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99922 (exit $ac_status); } &&
99923 { ac_try='test -z "$ac_c_werror_flag"
99924 || test ! -s conftest.err'
99925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99926 (eval $ac_try) 2>&5
99927 ac_status=$?
99928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99929 (exit $ac_status); }; } &&
99930 { ac_try='test -s conftest$ac_exeext'
99931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99932 (eval $ac_try) 2>&5
99933 ac_status=$?
99934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99935 (exit $ac_status); }; }; then
99936 glibcxx_cv_S_ISREG=yes
99937 else
99938 echo "$as_me: failed program was:" >&5
99939 sed 's/^/| /' conftest.$ac_ext >&5
99941 glibcxx_cv_S_ISREG=no
99943 rm -f conftest.err conftest.$ac_objext \
99944 conftest$ac_exeext conftest.$ac_ext
99948 if test "${glibcxx_cv_S_IFREG+set}" = set; then
99949 echo $ECHO_N "(cached) $ECHO_C" >&6
99950 else
99952 if test x$gcc_no_link = xyes; then
99953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99955 { (exit 1); exit 1; }; }
99957 cat >conftest.$ac_ext <<_ACEOF
99958 /* confdefs.h. */
99959 _ACEOF
99960 cat confdefs.h >>conftest.$ac_ext
99961 cat >>conftest.$ac_ext <<_ACEOF
99962 /* end confdefs.h. */
99963 #include <sys/stat.h>
99965 main ()
99967 struct stat buffer;
99968 fstat(0, &buffer);
99969 S_IFREG & buffer.st_mode;
99971 return 0;
99973 _ACEOF
99974 rm -f conftest.$ac_objext conftest$ac_exeext
99975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99976 (eval $ac_link) 2>conftest.er1
99977 ac_status=$?
99978 grep -v '^ *+' conftest.er1 >conftest.err
99979 rm -f conftest.er1
99980 cat conftest.err >&5
99981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99982 (exit $ac_status); } &&
99983 { ac_try='test -z "$ac_c_werror_flag"
99984 || test ! -s conftest.err'
99985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99986 (eval $ac_try) 2>&5
99987 ac_status=$?
99988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99989 (exit $ac_status); }; } &&
99990 { ac_try='test -s conftest$ac_exeext'
99991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99992 (eval $ac_try) 2>&5
99993 ac_status=$?
99994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99995 (exit $ac_status); }; }; then
99996 glibcxx_cv_S_IFREG=yes
99997 else
99998 echo "$as_me: failed program was:" >&5
99999 sed 's/^/| /' conftest.$ac_ext >&5
100001 glibcxx_cv_S_IFREG=no
100003 rm -f conftest.err conftest.$ac_objext \
100004 conftest$ac_exeext conftest.$ac_ext
100008 res=no
100009 if test $glibcxx_cv_S_ISREG = yes; then
100011 cat >>confdefs.h <<\_ACEOF
100012 #define HAVE_S_ISREG 1
100013 _ACEOF
100015 res=S_ISREG
100016 elif test $glibcxx_cv_S_IFREG = yes; then
100018 cat >>confdefs.h <<\_ACEOF
100019 #define HAVE_S_IFREG 1
100020 _ACEOF
100022 res=S_IFREG
100024 echo "$as_me:$LINENO: result: $res" >&5
100025 echo "${ECHO_T}$res" >&6
100028 # For xsputn_2().
100030 for ac_header in sys/uio.h
100032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100034 echo "$as_me:$LINENO: checking for $ac_header" >&5
100035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100037 echo $ECHO_N "(cached) $ECHO_C" >&6
100039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100042 # Is the header compilable?
100043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100045 cat >conftest.$ac_ext <<_ACEOF
100046 /* confdefs.h. */
100047 _ACEOF
100048 cat confdefs.h >>conftest.$ac_ext
100049 cat >>conftest.$ac_ext <<_ACEOF
100050 /* end confdefs.h. */
100051 $ac_includes_default
100052 #include <$ac_header>
100053 _ACEOF
100054 rm -f conftest.$ac_objext
100055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100056 (eval $ac_compile) 2>conftest.er1
100057 ac_status=$?
100058 grep -v '^ *+' conftest.er1 >conftest.err
100059 rm -f conftest.er1
100060 cat conftest.err >&5
100061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100062 (exit $ac_status); } &&
100063 { ac_try='test -z "$ac_c_werror_flag"
100064 || test ! -s conftest.err'
100065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100066 (eval $ac_try) 2>&5
100067 ac_status=$?
100068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100069 (exit $ac_status); }; } &&
100070 { ac_try='test -s conftest.$ac_objext'
100071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100072 (eval $ac_try) 2>&5
100073 ac_status=$?
100074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100075 (exit $ac_status); }; }; then
100076 ac_header_compiler=yes
100078 echo "$as_me: failed program was:" >&5
100079 sed 's/^/| /' conftest.$ac_ext >&5
100081 ac_header_compiler=no
100083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100085 echo "${ECHO_T}$ac_header_compiler" >&6
100087 # Is the header present?
100088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100090 cat >conftest.$ac_ext <<_ACEOF
100091 /* confdefs.h. */
100092 _ACEOF
100093 cat confdefs.h >>conftest.$ac_ext
100094 cat >>conftest.$ac_ext <<_ACEOF
100095 /* end confdefs.h. */
100096 #include <$ac_header>
100097 _ACEOF
100098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100100 ac_status=$?
100101 grep -v '^ *+' conftest.er1 >conftest.err
100102 rm -f conftest.er1
100103 cat conftest.err >&5
100104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100105 (exit $ac_status); } >/dev/null; then
100106 if test -s conftest.err; then
100107 ac_cpp_err=$ac_c_preproc_warn_flag
100108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100110 ac_cpp_err=
100113 ac_cpp_err=yes
100115 if test -z "$ac_cpp_err"; then
100116 ac_header_preproc=yes
100118 echo "$as_me: failed program was:" >&5
100119 sed 's/^/| /' conftest.$ac_ext >&5
100121 ac_header_preproc=no
100123 rm -f conftest.err conftest.$ac_ext
100124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100125 echo "${ECHO_T}$ac_header_preproc" >&6
100127 # So? What about this header?
100128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100129 yes:no: )
100130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100134 ac_header_preproc=yes
100136 no:yes:* )
100137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100150 cat <<\_ASBOX
100151 ## ----------------------------------------- ##
100152 ## Report this to the package-unused lists. ##
100153 ## ----------------------------------------- ##
100154 _ASBOX
100156 sed "s/^/$as_me: WARNING: /" >&2
100159 echo "$as_me:$LINENO: checking for $ac_header" >&5
100160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100162 echo $ECHO_N "(cached) $ECHO_C" >&6
100164 eval "$as_ac_Header=\$ac_header_preproc"
100166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100171 cat >>confdefs.h <<_ACEOF
100172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100173 _ACEOF
100180 echo "$as_me:$LINENO: checking for writev" >&5
100181 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100182 if test "${glibcxx_cv_WRITEV+set}" = set; then
100183 echo $ECHO_N "(cached) $ECHO_C" >&6
100186 if test x$gcc_no_link = xyes; then
100187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100189 { (exit 1); exit 1; }; }
100191 cat >conftest.$ac_ext <<_ACEOF
100192 /* confdefs.h. */
100193 _ACEOF
100194 cat confdefs.h >>conftest.$ac_ext
100195 cat >>conftest.$ac_ext <<_ACEOF
100196 /* end confdefs.h. */
100197 #include <sys/uio.h>
100199 main ()
100201 struct iovec iov[2];
100202 writev(0, iov, 0);
100204 return 0;
100206 _ACEOF
100207 rm -f conftest.$ac_objext conftest$ac_exeext
100208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100209 (eval $ac_link) 2>conftest.er1
100210 ac_status=$?
100211 grep -v '^ *+' conftest.er1 >conftest.err
100212 rm -f conftest.er1
100213 cat conftest.err >&5
100214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100215 (exit $ac_status); } &&
100216 { ac_try='test -z "$ac_c_werror_flag"
100217 || test ! -s conftest.err'
100218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100219 (eval $ac_try) 2>&5
100220 ac_status=$?
100221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100222 (exit $ac_status); }; } &&
100223 { ac_try='test -s conftest$ac_exeext'
100224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100225 (eval $ac_try) 2>&5
100226 ac_status=$?
100227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100228 (exit $ac_status); }; }; then
100229 glibcxx_cv_WRITEV=yes
100231 echo "$as_me: failed program was:" >&5
100232 sed 's/^/| /' conftest.$ac_ext >&5
100234 glibcxx_cv_WRITEV=no
100236 rm -f conftest.err conftest.$ac_objext \
100237 conftest$ac_exeext conftest.$ac_ext
100241 if test $glibcxx_cv_WRITEV = yes; then
100243 cat >>confdefs.h <<\_ACEOF
100244 #define HAVE_WRITEV 1
100245 _ACEOF
100248 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100249 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100252 *-mingw32*)
100256 for ac_header in sys/types.h locale.h float.h
100258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100260 echo "$as_me:$LINENO: checking for $ac_header" >&5
100261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100263 echo $ECHO_N "(cached) $ECHO_C" >&6
100265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100268 # Is the header compilable?
100269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100271 cat >conftest.$ac_ext <<_ACEOF
100272 /* confdefs.h. */
100273 _ACEOF
100274 cat confdefs.h >>conftest.$ac_ext
100275 cat >>conftest.$ac_ext <<_ACEOF
100276 /* end confdefs.h. */
100277 $ac_includes_default
100278 #include <$ac_header>
100279 _ACEOF
100280 rm -f conftest.$ac_objext
100281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100282 (eval $ac_compile) 2>conftest.er1
100283 ac_status=$?
100284 grep -v '^ *+' conftest.er1 >conftest.err
100285 rm -f conftest.er1
100286 cat conftest.err >&5
100287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100288 (exit $ac_status); } &&
100289 { ac_try='test -z "$ac_c_werror_flag"
100290 || test ! -s conftest.err'
100291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100292 (eval $ac_try) 2>&5
100293 ac_status=$?
100294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100295 (exit $ac_status); }; } &&
100296 { ac_try='test -s conftest.$ac_objext'
100297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100298 (eval $ac_try) 2>&5
100299 ac_status=$?
100300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100301 (exit $ac_status); }; }; then
100302 ac_header_compiler=yes
100304 echo "$as_me: failed program was:" >&5
100305 sed 's/^/| /' conftest.$ac_ext >&5
100307 ac_header_compiler=no
100309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100311 echo "${ECHO_T}$ac_header_compiler" >&6
100313 # Is the header present?
100314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100316 cat >conftest.$ac_ext <<_ACEOF
100317 /* confdefs.h. */
100318 _ACEOF
100319 cat confdefs.h >>conftest.$ac_ext
100320 cat >>conftest.$ac_ext <<_ACEOF
100321 /* end confdefs.h. */
100322 #include <$ac_header>
100323 _ACEOF
100324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100326 ac_status=$?
100327 grep -v '^ *+' conftest.er1 >conftest.err
100328 rm -f conftest.er1
100329 cat conftest.err >&5
100330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100331 (exit $ac_status); } >/dev/null; then
100332 if test -s conftest.err; then
100333 ac_cpp_err=$ac_c_preproc_warn_flag
100334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100336 ac_cpp_err=
100339 ac_cpp_err=yes
100341 if test -z "$ac_cpp_err"; then
100342 ac_header_preproc=yes
100344 echo "$as_me: failed program was:" >&5
100345 sed 's/^/| /' conftest.$ac_ext >&5
100347 ac_header_preproc=no
100349 rm -f conftest.err conftest.$ac_ext
100350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100351 echo "${ECHO_T}$ac_header_preproc" >&6
100353 # So? What about this header?
100354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100355 yes:no: )
100356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100360 ac_header_preproc=yes
100362 no:yes:* )
100363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100376 cat <<\_ASBOX
100377 ## ----------------------------------------- ##
100378 ## Report this to the package-unused lists. ##
100379 ## ----------------------------------------- ##
100380 _ASBOX
100382 sed "s/^/$as_me: WARNING: /" >&2
100385 echo "$as_me:$LINENO: checking for $ac_header" >&5
100386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100388 echo $ECHO_N "(cached) $ECHO_C" >&6
100390 eval "$as_ac_Header=\$ac_header_preproc"
100392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100397 cat >>confdefs.h <<_ACEOF
100398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100399 _ACEOF
100406 # If we're not using GNU ld, then there's no point in even trying these
100407 # tests. Check for that first. We should have already tested for gld
100408 # by now (in libtool), but require it now just to be safe...
100409 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100410 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100414 # The name set by libtool depends on the version of libtool. Shame on us
100415 # for depending on an impl detail, but c'est la vie. Older versions used
100416 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100417 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100418 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100419 # set (hence we're using an older libtool), then set it.
100420 if test x${with_gnu_ld+set} != xset; then
100421 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100422 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100423 with_gnu_ld=no
100425 with_gnu_ld=$ac_cv_prog_gnu_ld
100429 # Start by getting the version number. I think the libtool test already
100430 # does some of this, but throws away the result.
100431 echo "$as_me:$LINENO: checking for ld version" >&5
100432 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100434 ldver=`$LD --version 2>/dev/null | head -1 | \
100435 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100437 glibcxx_gnu_ld_version=`echo $ldver | \
100438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100439 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100440 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100442 # Set --gc-sections.
100443 glibcxx_gcsections_min_ld=21602
100444 if test x"$with_gnu_ld" = x"yes" &&
100445 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100447 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100448 # NB: This flag only works reliably after 2.16.1. Configure tests
100449 # for this are difficult, so hard wire a value that should work.
100451 # All these tests are for C++, but run with the "C" compiler driver.
100452 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100453 ac_test_CFLAGS="${CFLAGS+set}"
100454 ac_save_CFLAGS="$CFLAGS"
100455 CFLAGS='-x c++ -Wl,--gc-sections'
100457 # Check for -Wl,--gc-sections
100458 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100459 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100460 if test x$gcc_no_link = xyes; then
100461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100463 { (exit 1); exit 1; }; }
100465 cat >conftest.$ac_ext <<_ACEOF
100466 /* confdefs.h. */
100467 _ACEOF
100468 cat confdefs.h >>conftest.$ac_ext
100469 cat >>conftest.$ac_ext <<_ACEOF
100470 /* end confdefs.h. */
100471 int one(void) { return 1; }
100472 int two(void) { return 2; }
100475 main ()
100477 two();
100479 return 0;
100481 _ACEOF
100482 rm -f conftest.$ac_objext conftest$ac_exeext
100483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100484 (eval $ac_link) 2>conftest.er1
100485 ac_status=$?
100486 grep -v '^ *+' conftest.er1 >conftest.err
100487 rm -f conftest.er1
100488 cat conftest.err >&5
100489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100490 (exit $ac_status); } &&
100491 { ac_try='test -z "$ac_c_werror_flag"
100492 || test ! -s conftest.err'
100493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100494 (eval $ac_try) 2>&5
100495 ac_status=$?
100496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100497 (exit $ac_status); }; } &&
100498 { ac_try='test -s conftest$ac_exeext'
100499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100500 (eval $ac_try) 2>&5
100501 ac_status=$?
100502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100503 (exit $ac_status); }; }; then
100504 ac_gcsections=yes
100506 echo "$as_me: failed program was:" >&5
100507 sed 's/^/| /' conftest.$ac_ext >&5
100509 ac_gcsections=no
100511 rm -f conftest.err conftest.$ac_objext \
100512 conftest$ac_exeext conftest.$ac_ext
100513 if test "$ac_gcsections" = "yes"; then
100514 rm -f conftest.c
100515 touch conftest.c
100516 if $CC -c conftest.c; then
100517 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100518 grep "Warning: gc-sections option ignored" > /dev/null; then
100519 ac_gcsections=no
100522 rm -f conftest.c conftest.o conftest
100524 if test "$ac_gcsections" = "yes"; then
100525 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100527 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100528 echo "${ECHO_T}$ac_gcsections" >&6
100530 if test "$ac_test_CFLAGS" = set; then
100531 CFLAGS="$ac_save_CFLAGS"
100533 # this is the suspicious part
100534 CFLAGS=''
100538 # Set -z,relro.
100539 # Note this is only for shared objects.
100540 ac_ld_relro=no
100541 if test x"$with_gnu_ld" = x"yes"; then
100542 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100543 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100544 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100545 if test -n "$cxx_z_relo"; then
100546 OPT_LDFLAGS="-Wl,-z,relro"
100547 ac_ld_relro=yes
100549 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100550 echo "${ECHO_T}$ac_ld_relro" >&6
100553 # Set linker optimization flags.
100554 if test x"$with_gnu_ld" = x"yes"; then
100555 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100563 echo "$as_me:$LINENO: checking for main in -lm" >&5
100564 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100565 if test "${ac_cv_lib_m_main+set}" = set; then
100566 echo $ECHO_N "(cached) $ECHO_C" >&6
100568 ac_check_lib_save_LIBS=$LIBS
100569 LIBS="-lm $LIBS"
100570 if test x$gcc_no_link = xyes; then
100571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100573 { (exit 1); exit 1; }; }
100575 cat >conftest.$ac_ext <<_ACEOF
100576 /* confdefs.h. */
100577 _ACEOF
100578 cat confdefs.h >>conftest.$ac_ext
100579 cat >>conftest.$ac_ext <<_ACEOF
100580 /* end confdefs.h. */
100584 main ()
100586 main ();
100588 return 0;
100590 _ACEOF
100591 rm -f conftest.$ac_objext conftest$ac_exeext
100592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100593 (eval $ac_link) 2>conftest.er1
100594 ac_status=$?
100595 grep -v '^ *+' conftest.er1 >conftest.err
100596 rm -f conftest.er1
100597 cat conftest.err >&5
100598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100599 (exit $ac_status); } &&
100600 { ac_try='test -z "$ac_c_werror_flag"
100601 || test ! -s conftest.err'
100602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100603 (eval $ac_try) 2>&5
100604 ac_status=$?
100605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100606 (exit $ac_status); }; } &&
100607 { ac_try='test -s conftest$ac_exeext'
100608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100609 (eval $ac_try) 2>&5
100610 ac_status=$?
100611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100612 (exit $ac_status); }; }; then
100613 ac_cv_lib_m_main=yes
100615 echo "$as_me: failed program was:" >&5
100616 sed 's/^/| /' conftest.$ac_ext >&5
100618 ac_cv_lib_m_main=no
100620 rm -f conftest.err conftest.$ac_objext \
100621 conftest$ac_exeext conftest.$ac_ext
100622 LIBS=$ac_check_lib_save_LIBS
100624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100625 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100626 if test $ac_cv_lib_m_main = yes; then
100627 cat >>confdefs.h <<_ACEOF
100628 #define HAVE_LIBM 1
100629 _ACEOF
100631 LIBS="-lm $LIBS"
100636 for ac_func in copysignf
100638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100639 echo "$as_me:$LINENO: checking for $ac_func" >&5
100640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100641 if eval "test \"\${$as_ac_var+set}\" = set"; then
100642 echo $ECHO_N "(cached) $ECHO_C" >&6
100644 if test x$gcc_no_link = xyes; then
100645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100647 { (exit 1); exit 1; }; }
100649 cat >conftest.$ac_ext <<_ACEOF
100650 /* confdefs.h. */
100651 _ACEOF
100652 cat confdefs.h >>conftest.$ac_ext
100653 cat >>conftest.$ac_ext <<_ACEOF
100654 /* end confdefs.h. */
100655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100657 #define $ac_func innocuous_$ac_func
100659 /* System header to define __stub macros and hopefully few prototypes,
100660 which can conflict with char $ac_func (); below.
100661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100662 <limits.h> exists even on freestanding compilers. */
100664 #ifdef __STDC__
100665 # include <limits.h>
100666 #else
100667 # include <assert.h>
100668 #endif
100670 #undef $ac_func
100672 /* Override any gcc2 internal prototype to avoid an error. */
100673 #ifdef __cplusplus
100674 extern "C"
100676 #endif
100677 /* We use char because int might match the return type of a gcc2
100678 builtin and then its argument prototype would still apply. */
100679 char $ac_func ();
100680 /* The GNU C library defines this for functions which it implements
100681 to always fail with ENOSYS. Some functions are actually named
100682 something starting with __ and the normal name is an alias. */
100683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100684 choke me
100685 #else
100686 char (*f) () = $ac_func;
100687 #endif
100688 #ifdef __cplusplus
100690 #endif
100693 main ()
100695 return f != $ac_func;
100697 return 0;
100699 _ACEOF
100700 rm -f conftest.$ac_objext conftest$ac_exeext
100701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100702 (eval $ac_link) 2>conftest.er1
100703 ac_status=$?
100704 grep -v '^ *+' conftest.er1 >conftest.err
100705 rm -f conftest.er1
100706 cat conftest.err >&5
100707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100708 (exit $ac_status); } &&
100709 { ac_try='test -z "$ac_c_werror_flag"
100710 || test ! -s conftest.err'
100711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100712 (eval $ac_try) 2>&5
100713 ac_status=$?
100714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100715 (exit $ac_status); }; } &&
100716 { ac_try='test -s conftest$ac_exeext'
100717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100718 (eval $ac_try) 2>&5
100719 ac_status=$?
100720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100721 (exit $ac_status); }; }; then
100722 eval "$as_ac_var=yes"
100724 echo "$as_me: failed program was:" >&5
100725 sed 's/^/| /' conftest.$ac_ext >&5
100727 eval "$as_ac_var=no"
100729 rm -f conftest.err conftest.$ac_objext \
100730 conftest$ac_exeext conftest.$ac_ext
100732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100734 if test `eval echo '${'$as_ac_var'}'` = yes; then
100735 cat >>confdefs.h <<_ACEOF
100736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100737 _ACEOF
100740 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100746 for ac_func in __signbit
100748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100749 echo "$as_me:$LINENO: checking for $ac_func" >&5
100750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100751 if eval "test \"\${$as_ac_var+set}\" = set"; then
100752 echo $ECHO_N "(cached) $ECHO_C" >&6
100754 if test x$gcc_no_link = xyes; then
100755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100757 { (exit 1); exit 1; }; }
100759 cat >conftest.$ac_ext <<_ACEOF
100760 /* confdefs.h. */
100761 _ACEOF
100762 cat confdefs.h >>conftest.$ac_ext
100763 cat >>conftest.$ac_ext <<_ACEOF
100764 /* end confdefs.h. */
100765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100767 #define $ac_func innocuous_$ac_func
100769 /* System header to define __stub macros and hopefully few prototypes,
100770 which can conflict with char $ac_func (); below.
100771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100772 <limits.h> exists even on freestanding compilers. */
100774 #ifdef __STDC__
100775 # include <limits.h>
100776 #else
100777 # include <assert.h>
100778 #endif
100780 #undef $ac_func
100782 /* Override any gcc2 internal prototype to avoid an error. */
100783 #ifdef __cplusplus
100784 extern "C"
100786 #endif
100787 /* We use char because int might match the return type of a gcc2
100788 builtin and then its argument prototype would still apply. */
100789 char $ac_func ();
100790 /* The GNU C library defines this for functions which it implements
100791 to always fail with ENOSYS. Some functions are actually named
100792 something starting with __ and the normal name is an alias. */
100793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100794 choke me
100795 #else
100796 char (*f) () = $ac_func;
100797 #endif
100798 #ifdef __cplusplus
100800 #endif
100803 main ()
100805 return f != $ac_func;
100807 return 0;
100809 _ACEOF
100810 rm -f conftest.$ac_objext conftest$ac_exeext
100811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100812 (eval $ac_link) 2>conftest.er1
100813 ac_status=$?
100814 grep -v '^ *+' conftest.er1 >conftest.err
100815 rm -f conftest.er1
100816 cat conftest.err >&5
100817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100818 (exit $ac_status); } &&
100819 { ac_try='test -z "$ac_c_werror_flag"
100820 || test ! -s conftest.err'
100821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100822 (eval $ac_try) 2>&5
100823 ac_status=$?
100824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100825 (exit $ac_status); }; } &&
100826 { ac_try='test -s conftest$ac_exeext'
100827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100828 (eval $ac_try) 2>&5
100829 ac_status=$?
100830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100831 (exit $ac_status); }; }; then
100832 eval "$as_ac_var=yes"
100834 echo "$as_me: failed program was:" >&5
100835 sed 's/^/| /' conftest.$ac_ext >&5
100837 eval "$as_ac_var=no"
100839 rm -f conftest.err conftest.$ac_objext \
100840 conftest$ac_exeext conftest.$ac_ext
100842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100844 if test `eval echo '${'$as_ac_var'}'` = yes; then
100845 cat >>confdefs.h <<_ACEOF
100846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100847 _ACEOF
100850 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100856 for ac_func in __signbitf
100858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100859 echo "$as_me:$LINENO: checking for $ac_func" >&5
100860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100861 if eval "test \"\${$as_ac_var+set}\" = set"; then
100862 echo $ECHO_N "(cached) $ECHO_C" >&6
100864 if test x$gcc_no_link = xyes; then
100865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100867 { (exit 1); exit 1; }; }
100869 cat >conftest.$ac_ext <<_ACEOF
100870 /* confdefs.h. */
100871 _ACEOF
100872 cat confdefs.h >>conftest.$ac_ext
100873 cat >>conftest.$ac_ext <<_ACEOF
100874 /* end confdefs.h. */
100875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100877 #define $ac_func innocuous_$ac_func
100879 /* System header to define __stub macros and hopefully few prototypes,
100880 which can conflict with char $ac_func (); below.
100881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100882 <limits.h> exists even on freestanding compilers. */
100884 #ifdef __STDC__
100885 # include <limits.h>
100886 #else
100887 # include <assert.h>
100888 #endif
100890 #undef $ac_func
100892 /* Override any gcc2 internal prototype to avoid an error. */
100893 #ifdef __cplusplus
100894 extern "C"
100896 #endif
100897 /* We use char because int might match the return type of a gcc2
100898 builtin and then its argument prototype would still apply. */
100899 char $ac_func ();
100900 /* The GNU C library defines this for functions which it implements
100901 to always fail with ENOSYS. Some functions are actually named
100902 something starting with __ and the normal name is an alias. */
100903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100904 choke me
100905 #else
100906 char (*f) () = $ac_func;
100907 #endif
100908 #ifdef __cplusplus
100910 #endif
100913 main ()
100915 return f != $ac_func;
100917 return 0;
100919 _ACEOF
100920 rm -f conftest.$ac_objext conftest$ac_exeext
100921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100922 (eval $ac_link) 2>conftest.er1
100923 ac_status=$?
100924 grep -v '^ *+' conftest.er1 >conftest.err
100925 rm -f conftest.er1
100926 cat conftest.err >&5
100927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100928 (exit $ac_status); } &&
100929 { ac_try='test -z "$ac_c_werror_flag"
100930 || test ! -s conftest.err'
100931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100932 (eval $ac_try) 2>&5
100933 ac_status=$?
100934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100935 (exit $ac_status); }; } &&
100936 { ac_try='test -s conftest$ac_exeext'
100937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100938 (eval $ac_try) 2>&5
100939 ac_status=$?
100940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100941 (exit $ac_status); }; }; then
100942 eval "$as_ac_var=yes"
100944 echo "$as_me: failed program was:" >&5
100945 sed 's/^/| /' conftest.$ac_ext >&5
100947 eval "$as_ac_var=no"
100949 rm -f conftest.err conftest.$ac_objext \
100950 conftest$ac_exeext conftest.$ac_ext
100952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100954 if test `eval echo '${'$as_ac_var'}'` = yes; then
100955 cat >>confdefs.h <<_ACEOF
100956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100957 _ACEOF
100960 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100965 if test x$ac_cv_func_copysignl = x"yes"; then
100967 for ac_func in __signbitl
100969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100970 echo "$as_me:$LINENO: checking for $ac_func" >&5
100971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100972 if eval "test \"\${$as_ac_var+set}\" = set"; then
100973 echo $ECHO_N "(cached) $ECHO_C" >&6
100975 if test x$gcc_no_link = xyes; then
100976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100978 { (exit 1); exit 1; }; }
100980 cat >conftest.$ac_ext <<_ACEOF
100981 /* confdefs.h. */
100982 _ACEOF
100983 cat confdefs.h >>conftest.$ac_ext
100984 cat >>conftest.$ac_ext <<_ACEOF
100985 /* end confdefs.h. */
100986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100988 #define $ac_func innocuous_$ac_func
100990 /* System header to define __stub macros and hopefully few prototypes,
100991 which can conflict with char $ac_func (); below.
100992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100993 <limits.h> exists even on freestanding compilers. */
100995 #ifdef __STDC__
100996 # include <limits.h>
100997 #else
100998 # include <assert.h>
100999 #endif
101001 #undef $ac_func
101003 /* Override any gcc2 internal prototype to avoid an error. */
101004 #ifdef __cplusplus
101005 extern "C"
101007 #endif
101008 /* We use char because int might match the return type of a gcc2
101009 builtin and then its argument prototype would still apply. */
101010 char $ac_func ();
101011 /* The GNU C library defines this for functions which it implements
101012 to always fail with ENOSYS. Some functions are actually named
101013 something starting with __ and the normal name is an alias. */
101014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101015 choke me
101016 #else
101017 char (*f) () = $ac_func;
101018 #endif
101019 #ifdef __cplusplus
101021 #endif
101024 main ()
101026 return f != $ac_func;
101028 return 0;
101030 _ACEOF
101031 rm -f conftest.$ac_objext conftest$ac_exeext
101032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101033 (eval $ac_link) 2>conftest.er1
101034 ac_status=$?
101035 grep -v '^ *+' conftest.er1 >conftest.err
101036 rm -f conftest.er1
101037 cat conftest.err >&5
101038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101039 (exit $ac_status); } &&
101040 { ac_try='test -z "$ac_c_werror_flag"
101041 || test ! -s conftest.err'
101042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101043 (eval $ac_try) 2>&5
101044 ac_status=$?
101045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101046 (exit $ac_status); }; } &&
101047 { ac_try='test -s conftest$ac_exeext'
101048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101049 (eval $ac_try) 2>&5
101050 ac_status=$?
101051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101052 (exit $ac_status); }; }; then
101053 eval "$as_ac_var=yes"
101055 echo "$as_me: failed program was:" >&5
101056 sed 's/^/| /' conftest.$ac_ext >&5
101058 eval "$as_ac_var=no"
101060 rm -f conftest.err conftest.$ac_objext \
101061 conftest$ac_exeext conftest.$ac_ext
101063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101065 if test `eval echo '${'$as_ac_var'}'` = yes; then
101066 cat >>confdefs.h <<_ACEOF
101067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101068 _ACEOF
101071 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101077 # Used in libmath/Makefile.am.
101078 if test -n "$LIBMATHOBJS"; then
101079 need_libmath=yes
101085 enable_iconv=no
101086 # Only continue checking if the ISO C99 headers exist and support is on.
101087 if test x"$enable_wchar_t" = xyes; then
101089 # Use iconv for wchar_t to char conversions. As such, check for
101090 # X/Open Portability Guide, version 2 features (XPG2).
101091 if test "${ac_cv_header_iconv_h+set}" = set; then
101092 echo "$as_me:$LINENO: checking for iconv.h" >&5
101093 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101094 if test "${ac_cv_header_iconv_h+set}" = set; then
101095 echo $ECHO_N "(cached) $ECHO_C" >&6
101097 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101098 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101100 # Is the header compilable?
101101 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101102 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101103 cat >conftest.$ac_ext <<_ACEOF
101104 /* confdefs.h. */
101105 _ACEOF
101106 cat confdefs.h >>conftest.$ac_ext
101107 cat >>conftest.$ac_ext <<_ACEOF
101108 /* end confdefs.h. */
101109 $ac_includes_default
101110 #include <iconv.h>
101111 _ACEOF
101112 rm -f conftest.$ac_objext
101113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101114 (eval $ac_compile) 2>conftest.er1
101115 ac_status=$?
101116 grep -v '^ *+' conftest.er1 >conftest.err
101117 rm -f conftest.er1
101118 cat conftest.err >&5
101119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101120 (exit $ac_status); } &&
101121 { ac_try='test -z "$ac_c_werror_flag"
101122 || test ! -s conftest.err'
101123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101124 (eval $ac_try) 2>&5
101125 ac_status=$?
101126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101127 (exit $ac_status); }; } &&
101128 { ac_try='test -s conftest.$ac_objext'
101129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101130 (eval $ac_try) 2>&5
101131 ac_status=$?
101132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101133 (exit $ac_status); }; }; then
101134 ac_header_compiler=yes
101136 echo "$as_me: failed program was:" >&5
101137 sed 's/^/| /' conftest.$ac_ext >&5
101139 ac_header_compiler=no
101141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101143 echo "${ECHO_T}$ac_header_compiler" >&6
101145 # Is the header present?
101146 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101147 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101148 cat >conftest.$ac_ext <<_ACEOF
101149 /* confdefs.h. */
101150 _ACEOF
101151 cat confdefs.h >>conftest.$ac_ext
101152 cat >>conftest.$ac_ext <<_ACEOF
101153 /* end confdefs.h. */
101154 #include <iconv.h>
101155 _ACEOF
101156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101158 ac_status=$?
101159 grep -v '^ *+' conftest.er1 >conftest.err
101160 rm -f conftest.er1
101161 cat conftest.err >&5
101162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101163 (exit $ac_status); } >/dev/null; then
101164 if test -s conftest.err; then
101165 ac_cpp_err=$ac_c_preproc_warn_flag
101166 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101168 ac_cpp_err=
101171 ac_cpp_err=yes
101173 if test -z "$ac_cpp_err"; then
101174 ac_header_preproc=yes
101176 echo "$as_me: failed program was:" >&5
101177 sed 's/^/| /' conftest.$ac_ext >&5
101179 ac_header_preproc=no
101181 rm -f conftest.err conftest.$ac_ext
101182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101183 echo "${ECHO_T}$ac_header_preproc" >&6
101185 # So? What about this header?
101186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101187 yes:no: )
101188 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101189 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101190 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101191 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101192 ac_header_preproc=yes
101194 no:yes:* )
101195 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101196 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101197 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
101198 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
101199 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101200 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101201 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
101202 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
101203 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101204 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101205 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101206 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101208 cat <<\_ASBOX
101209 ## ----------------------------------------- ##
101210 ## Report this to the package-unused lists. ##
101211 ## ----------------------------------------- ##
101212 _ASBOX
101214 sed "s/^/$as_me: WARNING: /" >&2
101217 echo "$as_me:$LINENO: checking for iconv.h" >&5
101218 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101219 if test "${ac_cv_header_iconv_h+set}" = set; then
101220 echo $ECHO_N "(cached) $ECHO_C" >&6
101222 ac_cv_header_iconv_h=$ac_header_preproc
101224 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101225 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101228 if test $ac_cv_header_iconv_h = yes; then
101229 ac_has_iconv_h=yes
101231 ac_has_iconv_h=no
101235 if test "${ac_cv_header_langinfo_h+set}" = set; then
101236 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101237 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101238 if test "${ac_cv_header_langinfo_h+set}" = set; then
101239 echo $ECHO_N "(cached) $ECHO_C" >&6
101241 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101242 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101244 # Is the header compilable?
101245 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101246 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101247 cat >conftest.$ac_ext <<_ACEOF
101248 /* confdefs.h. */
101249 _ACEOF
101250 cat confdefs.h >>conftest.$ac_ext
101251 cat >>conftest.$ac_ext <<_ACEOF
101252 /* end confdefs.h. */
101253 $ac_includes_default
101254 #include <langinfo.h>
101255 _ACEOF
101256 rm -f conftest.$ac_objext
101257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101258 (eval $ac_compile) 2>conftest.er1
101259 ac_status=$?
101260 grep -v '^ *+' conftest.er1 >conftest.err
101261 rm -f conftest.er1
101262 cat conftest.err >&5
101263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101264 (exit $ac_status); } &&
101265 { ac_try='test -z "$ac_c_werror_flag"
101266 || test ! -s conftest.err'
101267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101268 (eval $ac_try) 2>&5
101269 ac_status=$?
101270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101271 (exit $ac_status); }; } &&
101272 { ac_try='test -s conftest.$ac_objext'
101273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101274 (eval $ac_try) 2>&5
101275 ac_status=$?
101276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101277 (exit $ac_status); }; }; then
101278 ac_header_compiler=yes
101280 echo "$as_me: failed program was:" >&5
101281 sed 's/^/| /' conftest.$ac_ext >&5
101283 ac_header_compiler=no
101285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101287 echo "${ECHO_T}$ac_header_compiler" >&6
101289 # Is the header present?
101290 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101291 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101292 cat >conftest.$ac_ext <<_ACEOF
101293 /* confdefs.h. */
101294 _ACEOF
101295 cat confdefs.h >>conftest.$ac_ext
101296 cat >>conftest.$ac_ext <<_ACEOF
101297 /* end confdefs.h. */
101298 #include <langinfo.h>
101299 _ACEOF
101300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101302 ac_status=$?
101303 grep -v '^ *+' conftest.er1 >conftest.err
101304 rm -f conftest.er1
101305 cat conftest.err >&5
101306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101307 (exit $ac_status); } >/dev/null; then
101308 if test -s conftest.err; then
101309 ac_cpp_err=$ac_c_preproc_warn_flag
101310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101312 ac_cpp_err=
101315 ac_cpp_err=yes
101317 if test -z "$ac_cpp_err"; then
101318 ac_header_preproc=yes
101320 echo "$as_me: failed program was:" >&5
101321 sed 's/^/| /' conftest.$ac_ext >&5
101323 ac_header_preproc=no
101325 rm -f conftest.err conftest.$ac_ext
101326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101327 echo "${ECHO_T}$ac_header_preproc" >&6
101329 # So? What about this header?
101330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101331 yes:no: )
101332 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101333 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101334 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101335 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101336 ac_header_preproc=yes
101338 no:yes:* )
101339 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101340 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101341 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
101342 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
101343 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101344 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101345 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
101346 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
101347 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101348 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101349 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101350 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101352 cat <<\_ASBOX
101353 ## ----------------------------------------- ##
101354 ## Report this to the package-unused lists. ##
101355 ## ----------------------------------------- ##
101356 _ASBOX
101358 sed "s/^/$as_me: WARNING: /" >&2
101361 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101362 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101363 if test "${ac_cv_header_langinfo_h+set}" = set; then
101364 echo $ECHO_N "(cached) $ECHO_C" >&6
101366 ac_cv_header_langinfo_h=$ac_header_preproc
101368 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101369 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101372 if test $ac_cv_header_langinfo_h = yes; then
101373 ac_has_langinfo_h=yes
101375 ac_has_langinfo_h=no
101380 # Check for existence of libiconv.a providing XPG2 wchar_t support.
101381 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101382 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101383 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101384 echo $ECHO_N "(cached) $ECHO_C" >&6
101386 ac_check_lib_save_LIBS=$LIBS
101387 LIBS="-liconv $LIBS"
101388 if test x$gcc_no_link = xyes; then
101389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101391 { (exit 1); exit 1; }; }
101393 cat >conftest.$ac_ext <<_ACEOF
101394 /* confdefs.h. */
101395 _ACEOF
101396 cat confdefs.h >>conftest.$ac_ext
101397 cat >>conftest.$ac_ext <<_ACEOF
101398 /* end confdefs.h. */
101400 /* Override any gcc2 internal prototype to avoid an error. */
101401 #ifdef __cplusplus
101402 extern "C"
101403 #endif
101404 /* We use char because int might match the return type of a gcc2
101405 builtin and then its argument prototype would still apply. */
101406 char iconv ();
101408 main ()
101410 iconv ();
101412 return 0;
101414 _ACEOF
101415 rm -f conftest.$ac_objext conftest$ac_exeext
101416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101417 (eval $ac_link) 2>conftest.er1
101418 ac_status=$?
101419 grep -v '^ *+' conftest.er1 >conftest.err
101420 rm -f conftest.er1
101421 cat conftest.err >&5
101422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101423 (exit $ac_status); } &&
101424 { ac_try='test -z "$ac_c_werror_flag"
101425 || test ! -s conftest.err'
101426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101427 (eval $ac_try) 2>&5
101428 ac_status=$?
101429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101430 (exit $ac_status); }; } &&
101431 { ac_try='test -s conftest$ac_exeext'
101432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101433 (eval $ac_try) 2>&5
101434 ac_status=$?
101435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101436 (exit $ac_status); }; }; then
101437 ac_cv_lib_iconv_iconv=yes
101439 echo "$as_me: failed program was:" >&5
101440 sed 's/^/| /' conftest.$ac_ext >&5
101442 ac_cv_lib_iconv_iconv=no
101444 rm -f conftest.err conftest.$ac_objext \
101445 conftest$ac_exeext conftest.$ac_ext
101446 LIBS=$ac_check_lib_save_LIBS
101448 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101449 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101450 if test $ac_cv_lib_iconv_iconv = yes; then
101451 LIBICONV="-liconv"
101454 ac_save_LIBS="$LIBS"
101455 LIBS="$LIBS $LIBICONV"
101462 for ac_func in iconv_open iconv_close iconv nl_langinfo
101464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101465 echo "$as_me:$LINENO: checking for $ac_func" >&5
101466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101467 if eval "test \"\${$as_ac_var+set}\" = set"; then
101468 echo $ECHO_N "(cached) $ECHO_C" >&6
101470 if test x$gcc_no_link = xyes; then
101471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101473 { (exit 1); exit 1; }; }
101475 cat >conftest.$ac_ext <<_ACEOF
101476 /* confdefs.h. */
101477 _ACEOF
101478 cat confdefs.h >>conftest.$ac_ext
101479 cat >>conftest.$ac_ext <<_ACEOF
101480 /* end confdefs.h. */
101481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101483 #define $ac_func innocuous_$ac_func
101485 /* System header to define __stub macros and hopefully few prototypes,
101486 which can conflict with char $ac_func (); below.
101487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101488 <limits.h> exists even on freestanding compilers. */
101490 #ifdef __STDC__
101491 # include <limits.h>
101492 #else
101493 # include <assert.h>
101494 #endif
101496 #undef $ac_func
101498 /* Override any gcc2 internal prototype to avoid an error. */
101499 #ifdef __cplusplus
101500 extern "C"
101502 #endif
101503 /* We use char because int might match the return type of a gcc2
101504 builtin and then its argument prototype would still apply. */
101505 char $ac_func ();
101506 /* The GNU C library defines this for functions which it implements
101507 to always fail with ENOSYS. Some functions are actually named
101508 something starting with __ and the normal name is an alias. */
101509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101510 choke me
101511 #else
101512 char (*f) () = $ac_func;
101513 #endif
101514 #ifdef __cplusplus
101516 #endif
101519 main ()
101521 return f != $ac_func;
101523 return 0;
101525 _ACEOF
101526 rm -f conftest.$ac_objext conftest$ac_exeext
101527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101528 (eval $ac_link) 2>conftest.er1
101529 ac_status=$?
101530 grep -v '^ *+' conftest.er1 >conftest.err
101531 rm -f conftest.er1
101532 cat conftest.err >&5
101533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101534 (exit $ac_status); } &&
101535 { ac_try='test -z "$ac_c_werror_flag"
101536 || test ! -s conftest.err'
101537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101538 (eval $ac_try) 2>&5
101539 ac_status=$?
101540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101541 (exit $ac_status); }; } &&
101542 { ac_try='test -s conftest$ac_exeext'
101543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101544 (eval $ac_try) 2>&5
101545 ac_status=$?
101546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101547 (exit $ac_status); }; }; then
101548 eval "$as_ac_var=yes"
101550 echo "$as_me: failed program was:" >&5
101551 sed 's/^/| /' conftest.$ac_ext >&5
101553 eval "$as_ac_var=no"
101555 rm -f conftest.err conftest.$ac_objext \
101556 conftest$ac_exeext conftest.$ac_ext
101558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101560 if test `eval echo '${'$as_ac_var'}'` = yes; then
101561 cat >>confdefs.h <<_ACEOF
101562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101563 _ACEOF
101564 ac_XPG2funcs=yes
101566 ac_XPG2funcs=no
101571 LIBS="$ac_save_LIBS"
101573 if test x"$ac_has_iconv_h" = xyes &&
101574 test x"$ac_has_langinfo_h" = xyes &&
101575 test x"$ac_XPG2funcs" = xyes;
101578 cat >>confdefs.h <<\_ACEOF
101579 #define _GLIBCXX_USE_ICONV 1
101580 _ACEOF
101582 enable_iconv=yes
101585 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101586 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101587 echo "$as_me:$LINENO: result: $enable_iconv" >&5
101588 echo "${ECHO_T}$enable_iconv" >&6
101591 *-netbsd*)
101604 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101605 machine/endian.h machine/param.h sys/machine.h sys/types.h \
101606 fp.h locale.h float.h inttypes.h
101608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101610 echo "$as_me:$LINENO: checking for $ac_header" >&5
101611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101613 echo $ECHO_N "(cached) $ECHO_C" >&6
101615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101618 # Is the header compilable?
101619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101621 cat >conftest.$ac_ext <<_ACEOF
101622 /* confdefs.h. */
101623 _ACEOF
101624 cat confdefs.h >>conftest.$ac_ext
101625 cat >>conftest.$ac_ext <<_ACEOF
101626 /* end confdefs.h. */
101627 $ac_includes_default
101628 #include <$ac_header>
101629 _ACEOF
101630 rm -f conftest.$ac_objext
101631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101632 (eval $ac_compile) 2>conftest.er1
101633 ac_status=$?
101634 grep -v '^ *+' conftest.er1 >conftest.err
101635 rm -f conftest.er1
101636 cat conftest.err >&5
101637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101638 (exit $ac_status); } &&
101639 { ac_try='test -z "$ac_c_werror_flag"
101640 || test ! -s conftest.err'
101641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101642 (eval $ac_try) 2>&5
101643 ac_status=$?
101644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101645 (exit $ac_status); }; } &&
101646 { ac_try='test -s conftest.$ac_objext'
101647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101648 (eval $ac_try) 2>&5
101649 ac_status=$?
101650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651 (exit $ac_status); }; }; then
101652 ac_header_compiler=yes
101654 echo "$as_me: failed program was:" >&5
101655 sed 's/^/| /' conftest.$ac_ext >&5
101657 ac_header_compiler=no
101659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101661 echo "${ECHO_T}$ac_header_compiler" >&6
101663 # Is the header present?
101664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101666 cat >conftest.$ac_ext <<_ACEOF
101667 /* confdefs.h. */
101668 _ACEOF
101669 cat confdefs.h >>conftest.$ac_ext
101670 cat >>conftest.$ac_ext <<_ACEOF
101671 /* end confdefs.h. */
101672 #include <$ac_header>
101673 _ACEOF
101674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101676 ac_status=$?
101677 grep -v '^ *+' conftest.er1 >conftest.err
101678 rm -f conftest.er1
101679 cat conftest.err >&5
101680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101681 (exit $ac_status); } >/dev/null; then
101682 if test -s conftest.err; then
101683 ac_cpp_err=$ac_c_preproc_warn_flag
101684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101686 ac_cpp_err=
101689 ac_cpp_err=yes
101691 if test -z "$ac_cpp_err"; then
101692 ac_header_preproc=yes
101694 echo "$as_me: failed program was:" >&5
101695 sed 's/^/| /' conftest.$ac_ext >&5
101697 ac_header_preproc=no
101699 rm -f conftest.err conftest.$ac_ext
101700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101701 echo "${ECHO_T}$ac_header_preproc" >&6
101703 # So? What about this header?
101704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101705 yes:no: )
101706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101710 ac_header_preproc=yes
101712 no:yes:* )
101713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101726 cat <<\_ASBOX
101727 ## ----------------------------------------- ##
101728 ## Report this to the package-unused lists. ##
101729 ## ----------------------------------------- ##
101730 _ASBOX
101732 sed "s/^/$as_me: WARNING: /" >&2
101735 echo "$as_me:$LINENO: checking for $ac_header" >&5
101736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101738 echo $ECHO_N "(cached) $ECHO_C" >&6
101740 eval "$as_ac_Header=\$ac_header_preproc"
101742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101747 cat >>confdefs.h <<_ACEOF
101748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101749 _ACEOF
101755 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101758 # If we're not using GNU ld, then there's no point in even trying these
101759 # tests. Check for that first. We should have already tested for gld
101760 # by now (in libtool), but require it now just to be safe...
101761 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101762 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101766 # The name set by libtool depends on the version of libtool. Shame on us
101767 # for depending on an impl detail, but c'est la vie. Older versions used
101768 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101769 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101770 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101771 # set (hence we're using an older libtool), then set it.
101772 if test x${with_gnu_ld+set} != xset; then
101773 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101774 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101775 with_gnu_ld=no
101777 with_gnu_ld=$ac_cv_prog_gnu_ld
101781 # Start by getting the version number. I think the libtool test already
101782 # does some of this, but throws away the result.
101783 echo "$as_me:$LINENO: checking for ld version" >&5
101784 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101786 ldver=`$LD --version 2>/dev/null | head -1 | \
101787 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101789 glibcxx_gnu_ld_version=`echo $ldver | \
101790 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101791 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101792 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101794 # Set --gc-sections.
101795 glibcxx_gcsections_min_ld=21602
101796 if test x"$with_gnu_ld" = x"yes" &&
101797 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101799 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101800 # NB: This flag only works reliably after 2.16.1. Configure tests
101801 # for this are difficult, so hard wire a value that should work.
101803 # All these tests are for C++, but run with the "C" compiler driver.
101804 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101805 ac_test_CFLAGS="${CFLAGS+set}"
101806 ac_save_CFLAGS="$CFLAGS"
101807 CFLAGS='-x c++ -Wl,--gc-sections'
101809 # Check for -Wl,--gc-sections
101810 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101811 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101812 if test x$gcc_no_link = xyes; then
101813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101815 { (exit 1); exit 1; }; }
101817 cat >conftest.$ac_ext <<_ACEOF
101818 /* confdefs.h. */
101819 _ACEOF
101820 cat confdefs.h >>conftest.$ac_ext
101821 cat >>conftest.$ac_ext <<_ACEOF
101822 /* end confdefs.h. */
101823 int one(void) { return 1; }
101824 int two(void) { return 2; }
101827 main ()
101829 two();
101831 return 0;
101833 _ACEOF
101834 rm -f conftest.$ac_objext conftest$ac_exeext
101835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101836 (eval $ac_link) 2>conftest.er1
101837 ac_status=$?
101838 grep -v '^ *+' conftest.er1 >conftest.err
101839 rm -f conftest.er1
101840 cat conftest.err >&5
101841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101842 (exit $ac_status); } &&
101843 { ac_try='test -z "$ac_c_werror_flag"
101844 || test ! -s conftest.err'
101845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101846 (eval $ac_try) 2>&5
101847 ac_status=$?
101848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849 (exit $ac_status); }; } &&
101850 { ac_try='test -s conftest$ac_exeext'
101851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101852 (eval $ac_try) 2>&5
101853 ac_status=$?
101854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101855 (exit $ac_status); }; }; then
101856 ac_gcsections=yes
101858 echo "$as_me: failed program was:" >&5
101859 sed 's/^/| /' conftest.$ac_ext >&5
101861 ac_gcsections=no
101863 rm -f conftest.err conftest.$ac_objext \
101864 conftest$ac_exeext conftest.$ac_ext
101865 if test "$ac_gcsections" = "yes"; then
101866 rm -f conftest.c
101867 touch conftest.c
101868 if $CC -c conftest.c; then
101869 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101870 grep "Warning: gc-sections option ignored" > /dev/null; then
101871 ac_gcsections=no
101874 rm -f conftest.c conftest.o conftest
101876 if test "$ac_gcsections" = "yes"; then
101877 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101879 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101880 echo "${ECHO_T}$ac_gcsections" >&6
101882 if test "$ac_test_CFLAGS" = set; then
101883 CFLAGS="$ac_save_CFLAGS"
101885 # this is the suspicious part
101886 CFLAGS=''
101890 # Set -z,relro.
101891 # Note this is only for shared objects.
101892 ac_ld_relro=no
101893 if test x"$with_gnu_ld" = x"yes"; then
101894 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101895 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101896 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101897 if test -n "$cxx_z_relo"; then
101898 OPT_LDFLAGS="-Wl,-z,relro"
101899 ac_ld_relro=yes
101901 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101902 echo "${ECHO_T}$ac_ld_relro" >&6
101905 # Set linker optimization flags.
101906 if test x"$with_gnu_ld" = x"yes"; then
101907 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101915 echo "$as_me:$LINENO: checking for main in -lm" >&5
101916 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101917 if test "${ac_cv_lib_m_main+set}" = set; then
101918 echo $ECHO_N "(cached) $ECHO_C" >&6
101920 ac_check_lib_save_LIBS=$LIBS
101921 LIBS="-lm $LIBS"
101922 if test x$gcc_no_link = xyes; then
101923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101925 { (exit 1); exit 1; }; }
101927 cat >conftest.$ac_ext <<_ACEOF
101928 /* confdefs.h. */
101929 _ACEOF
101930 cat confdefs.h >>conftest.$ac_ext
101931 cat >>conftest.$ac_ext <<_ACEOF
101932 /* end confdefs.h. */
101936 main ()
101938 main ();
101940 return 0;
101942 _ACEOF
101943 rm -f conftest.$ac_objext conftest$ac_exeext
101944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101945 (eval $ac_link) 2>conftest.er1
101946 ac_status=$?
101947 grep -v '^ *+' conftest.er1 >conftest.err
101948 rm -f conftest.er1
101949 cat conftest.err >&5
101950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101951 (exit $ac_status); } &&
101952 { ac_try='test -z "$ac_c_werror_flag"
101953 || test ! -s conftest.err'
101954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101955 (eval $ac_try) 2>&5
101956 ac_status=$?
101957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101958 (exit $ac_status); }; } &&
101959 { ac_try='test -s conftest$ac_exeext'
101960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101961 (eval $ac_try) 2>&5
101962 ac_status=$?
101963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101964 (exit $ac_status); }; }; then
101965 ac_cv_lib_m_main=yes
101967 echo "$as_me: failed program was:" >&5
101968 sed 's/^/| /' conftest.$ac_ext >&5
101970 ac_cv_lib_m_main=no
101972 rm -f conftest.err conftest.$ac_objext \
101973 conftest$ac_exeext conftest.$ac_ext
101974 LIBS=$ac_check_lib_save_LIBS
101976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101977 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101978 if test $ac_cv_lib_m_main = yes; then
101979 cat >>confdefs.h <<_ACEOF
101980 #define HAVE_LIBM 1
101981 _ACEOF
101983 LIBS="-lm $LIBS"
101988 for ac_func in copysignf
101990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101991 echo "$as_me:$LINENO: checking for $ac_func" >&5
101992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101993 if eval "test \"\${$as_ac_var+set}\" = set"; then
101994 echo $ECHO_N "(cached) $ECHO_C" >&6
101996 if test x$gcc_no_link = xyes; then
101997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101999 { (exit 1); exit 1; }; }
102001 cat >conftest.$ac_ext <<_ACEOF
102002 /* confdefs.h. */
102003 _ACEOF
102004 cat confdefs.h >>conftest.$ac_ext
102005 cat >>conftest.$ac_ext <<_ACEOF
102006 /* end confdefs.h. */
102007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102009 #define $ac_func innocuous_$ac_func
102011 /* System header to define __stub macros and hopefully few prototypes,
102012 which can conflict with char $ac_func (); below.
102013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102014 <limits.h> exists even on freestanding compilers. */
102016 #ifdef __STDC__
102017 # include <limits.h>
102018 #else
102019 # include <assert.h>
102020 #endif
102022 #undef $ac_func
102024 /* Override any gcc2 internal prototype to avoid an error. */
102025 #ifdef __cplusplus
102026 extern "C"
102028 #endif
102029 /* We use char because int might match the return type of a gcc2
102030 builtin and then its argument prototype would still apply. */
102031 char $ac_func ();
102032 /* The GNU C library defines this for functions which it implements
102033 to always fail with ENOSYS. Some functions are actually named
102034 something starting with __ and the normal name is an alias. */
102035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102036 choke me
102037 #else
102038 char (*f) () = $ac_func;
102039 #endif
102040 #ifdef __cplusplus
102042 #endif
102045 main ()
102047 return f != $ac_func;
102049 return 0;
102051 _ACEOF
102052 rm -f conftest.$ac_objext conftest$ac_exeext
102053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102054 (eval $ac_link) 2>conftest.er1
102055 ac_status=$?
102056 grep -v '^ *+' conftest.er1 >conftest.err
102057 rm -f conftest.er1
102058 cat conftest.err >&5
102059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102060 (exit $ac_status); } &&
102061 { ac_try='test -z "$ac_c_werror_flag"
102062 || test ! -s conftest.err'
102063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102064 (eval $ac_try) 2>&5
102065 ac_status=$?
102066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102067 (exit $ac_status); }; } &&
102068 { ac_try='test -s conftest$ac_exeext'
102069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102070 (eval $ac_try) 2>&5
102071 ac_status=$?
102072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102073 (exit $ac_status); }; }; then
102074 eval "$as_ac_var=yes"
102076 echo "$as_me: failed program was:" >&5
102077 sed 's/^/| /' conftest.$ac_ext >&5
102079 eval "$as_ac_var=no"
102081 rm -f conftest.err conftest.$ac_objext \
102082 conftest$ac_exeext conftest.$ac_ext
102084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102086 if test `eval echo '${'$as_ac_var'}'` = yes; then
102087 cat >>confdefs.h <<_ACEOF
102088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102089 _ACEOF
102092 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102098 for ac_func in __signbit
102100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102101 echo "$as_me:$LINENO: checking for $ac_func" >&5
102102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102103 if eval "test \"\${$as_ac_var+set}\" = set"; then
102104 echo $ECHO_N "(cached) $ECHO_C" >&6
102106 if test x$gcc_no_link = xyes; then
102107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102109 { (exit 1); exit 1; }; }
102111 cat >conftest.$ac_ext <<_ACEOF
102112 /* confdefs.h. */
102113 _ACEOF
102114 cat confdefs.h >>conftest.$ac_ext
102115 cat >>conftest.$ac_ext <<_ACEOF
102116 /* end confdefs.h. */
102117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102119 #define $ac_func innocuous_$ac_func
102121 /* System header to define __stub macros and hopefully few prototypes,
102122 which can conflict with char $ac_func (); below.
102123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102124 <limits.h> exists even on freestanding compilers. */
102126 #ifdef __STDC__
102127 # include <limits.h>
102128 #else
102129 # include <assert.h>
102130 #endif
102132 #undef $ac_func
102134 /* Override any gcc2 internal prototype to avoid an error. */
102135 #ifdef __cplusplus
102136 extern "C"
102138 #endif
102139 /* We use char because int might match the return type of a gcc2
102140 builtin and then its argument prototype would still apply. */
102141 char $ac_func ();
102142 /* The GNU C library defines this for functions which it implements
102143 to always fail with ENOSYS. Some functions are actually named
102144 something starting with __ and the normal name is an alias. */
102145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102146 choke me
102147 #else
102148 char (*f) () = $ac_func;
102149 #endif
102150 #ifdef __cplusplus
102152 #endif
102155 main ()
102157 return f != $ac_func;
102159 return 0;
102161 _ACEOF
102162 rm -f conftest.$ac_objext conftest$ac_exeext
102163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102164 (eval $ac_link) 2>conftest.er1
102165 ac_status=$?
102166 grep -v '^ *+' conftest.er1 >conftest.err
102167 rm -f conftest.er1
102168 cat conftest.err >&5
102169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102170 (exit $ac_status); } &&
102171 { ac_try='test -z "$ac_c_werror_flag"
102172 || test ! -s conftest.err'
102173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102174 (eval $ac_try) 2>&5
102175 ac_status=$?
102176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102177 (exit $ac_status); }; } &&
102178 { ac_try='test -s conftest$ac_exeext'
102179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102180 (eval $ac_try) 2>&5
102181 ac_status=$?
102182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102183 (exit $ac_status); }; }; then
102184 eval "$as_ac_var=yes"
102186 echo "$as_me: failed program was:" >&5
102187 sed 's/^/| /' conftest.$ac_ext >&5
102189 eval "$as_ac_var=no"
102191 rm -f conftest.err conftest.$ac_objext \
102192 conftest$ac_exeext conftest.$ac_ext
102194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102196 if test `eval echo '${'$as_ac_var'}'` = yes; then
102197 cat >>confdefs.h <<_ACEOF
102198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102199 _ACEOF
102202 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102208 for ac_func in __signbitf
102210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102211 echo "$as_me:$LINENO: checking for $ac_func" >&5
102212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102213 if eval "test \"\${$as_ac_var+set}\" = set"; then
102214 echo $ECHO_N "(cached) $ECHO_C" >&6
102216 if test x$gcc_no_link = xyes; then
102217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102219 { (exit 1); exit 1; }; }
102221 cat >conftest.$ac_ext <<_ACEOF
102222 /* confdefs.h. */
102223 _ACEOF
102224 cat confdefs.h >>conftest.$ac_ext
102225 cat >>conftest.$ac_ext <<_ACEOF
102226 /* end confdefs.h. */
102227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102229 #define $ac_func innocuous_$ac_func
102231 /* System header to define __stub macros and hopefully few prototypes,
102232 which can conflict with char $ac_func (); below.
102233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102234 <limits.h> exists even on freestanding compilers. */
102236 #ifdef __STDC__
102237 # include <limits.h>
102238 #else
102239 # include <assert.h>
102240 #endif
102242 #undef $ac_func
102244 /* Override any gcc2 internal prototype to avoid an error. */
102245 #ifdef __cplusplus
102246 extern "C"
102248 #endif
102249 /* We use char because int might match the return type of a gcc2
102250 builtin and then its argument prototype would still apply. */
102251 char $ac_func ();
102252 /* The GNU C library defines this for functions which it implements
102253 to always fail with ENOSYS. Some functions are actually named
102254 something starting with __ and the normal name is an alias. */
102255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102256 choke me
102257 #else
102258 char (*f) () = $ac_func;
102259 #endif
102260 #ifdef __cplusplus
102262 #endif
102265 main ()
102267 return f != $ac_func;
102269 return 0;
102271 _ACEOF
102272 rm -f conftest.$ac_objext conftest$ac_exeext
102273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102274 (eval $ac_link) 2>conftest.er1
102275 ac_status=$?
102276 grep -v '^ *+' conftest.er1 >conftest.err
102277 rm -f conftest.er1
102278 cat conftest.err >&5
102279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102280 (exit $ac_status); } &&
102281 { ac_try='test -z "$ac_c_werror_flag"
102282 || test ! -s conftest.err'
102283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102284 (eval $ac_try) 2>&5
102285 ac_status=$?
102286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102287 (exit $ac_status); }; } &&
102288 { ac_try='test -s conftest$ac_exeext'
102289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102290 (eval $ac_try) 2>&5
102291 ac_status=$?
102292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102293 (exit $ac_status); }; }; then
102294 eval "$as_ac_var=yes"
102296 echo "$as_me: failed program was:" >&5
102297 sed 's/^/| /' conftest.$ac_ext >&5
102299 eval "$as_ac_var=no"
102301 rm -f conftest.err conftest.$ac_objext \
102302 conftest$ac_exeext conftest.$ac_ext
102304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102306 if test `eval echo '${'$as_ac_var'}'` = yes; then
102307 cat >>confdefs.h <<_ACEOF
102308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102309 _ACEOF
102312 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102317 if test x$ac_cv_func_copysignl = x"yes"; then
102319 for ac_func in __signbitl
102321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102322 echo "$as_me:$LINENO: checking for $ac_func" >&5
102323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102324 if eval "test \"\${$as_ac_var+set}\" = set"; then
102325 echo $ECHO_N "(cached) $ECHO_C" >&6
102327 if test x$gcc_no_link = xyes; then
102328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102330 { (exit 1); exit 1; }; }
102332 cat >conftest.$ac_ext <<_ACEOF
102333 /* confdefs.h. */
102334 _ACEOF
102335 cat confdefs.h >>conftest.$ac_ext
102336 cat >>conftest.$ac_ext <<_ACEOF
102337 /* end confdefs.h. */
102338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102340 #define $ac_func innocuous_$ac_func
102342 /* System header to define __stub macros and hopefully few prototypes,
102343 which can conflict with char $ac_func (); below.
102344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102345 <limits.h> exists even on freestanding compilers. */
102347 #ifdef __STDC__
102348 # include <limits.h>
102349 #else
102350 # include <assert.h>
102351 #endif
102353 #undef $ac_func
102355 /* Override any gcc2 internal prototype to avoid an error. */
102356 #ifdef __cplusplus
102357 extern "C"
102359 #endif
102360 /* We use char because int might match the return type of a gcc2
102361 builtin and then its argument prototype would still apply. */
102362 char $ac_func ();
102363 /* The GNU C library defines this for functions which it implements
102364 to always fail with ENOSYS. Some functions are actually named
102365 something starting with __ and the normal name is an alias. */
102366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102367 choke me
102368 #else
102369 char (*f) () = $ac_func;
102370 #endif
102371 #ifdef __cplusplus
102373 #endif
102376 main ()
102378 return f != $ac_func;
102380 return 0;
102382 _ACEOF
102383 rm -f conftest.$ac_objext conftest$ac_exeext
102384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102385 (eval $ac_link) 2>conftest.er1
102386 ac_status=$?
102387 grep -v '^ *+' conftest.er1 >conftest.err
102388 rm -f conftest.er1
102389 cat conftest.err >&5
102390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102391 (exit $ac_status); } &&
102392 { ac_try='test -z "$ac_c_werror_flag"
102393 || test ! -s conftest.err'
102394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102395 (eval $ac_try) 2>&5
102396 ac_status=$?
102397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102398 (exit $ac_status); }; } &&
102399 { ac_try='test -s conftest$ac_exeext'
102400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102401 (eval $ac_try) 2>&5
102402 ac_status=$?
102403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102404 (exit $ac_status); }; }; then
102405 eval "$as_ac_var=yes"
102407 echo "$as_me: failed program was:" >&5
102408 sed 's/^/| /' conftest.$ac_ext >&5
102410 eval "$as_ac_var=no"
102412 rm -f conftest.err conftest.$ac_objext \
102413 conftest$ac_exeext conftest.$ac_ext
102415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102417 if test `eval echo '${'$as_ac_var'}'` = yes; then
102418 cat >>confdefs.h <<_ACEOF
102419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102420 _ACEOF
102423 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102429 # Used in libmath/Makefile.am.
102430 if test -n "$LIBMATHOBJS"; then
102431 need_libmath=yes
102437 enable_iconv=no
102438 # Only continue checking if the ISO C99 headers exist and support is on.
102439 if test x"$enable_wchar_t" = xyes; then
102441 # Use iconv for wchar_t to char conversions. As such, check for
102442 # X/Open Portability Guide, version 2 features (XPG2).
102443 if test "${ac_cv_header_iconv_h+set}" = set; then
102444 echo "$as_me:$LINENO: checking for iconv.h" >&5
102445 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102446 if test "${ac_cv_header_iconv_h+set}" = set; then
102447 echo $ECHO_N "(cached) $ECHO_C" >&6
102449 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102450 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102452 # Is the header compilable?
102453 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102454 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102455 cat >conftest.$ac_ext <<_ACEOF
102456 /* confdefs.h. */
102457 _ACEOF
102458 cat confdefs.h >>conftest.$ac_ext
102459 cat >>conftest.$ac_ext <<_ACEOF
102460 /* end confdefs.h. */
102461 $ac_includes_default
102462 #include <iconv.h>
102463 _ACEOF
102464 rm -f conftest.$ac_objext
102465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102466 (eval $ac_compile) 2>conftest.er1
102467 ac_status=$?
102468 grep -v '^ *+' conftest.er1 >conftest.err
102469 rm -f conftest.er1
102470 cat conftest.err >&5
102471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102472 (exit $ac_status); } &&
102473 { ac_try='test -z "$ac_c_werror_flag"
102474 || test ! -s conftest.err'
102475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102476 (eval $ac_try) 2>&5
102477 ac_status=$?
102478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102479 (exit $ac_status); }; } &&
102480 { ac_try='test -s conftest.$ac_objext'
102481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102482 (eval $ac_try) 2>&5
102483 ac_status=$?
102484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102485 (exit $ac_status); }; }; then
102486 ac_header_compiler=yes
102488 echo "$as_me: failed program was:" >&5
102489 sed 's/^/| /' conftest.$ac_ext >&5
102491 ac_header_compiler=no
102493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102495 echo "${ECHO_T}$ac_header_compiler" >&6
102497 # Is the header present?
102498 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102499 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102500 cat >conftest.$ac_ext <<_ACEOF
102501 /* confdefs.h. */
102502 _ACEOF
102503 cat confdefs.h >>conftest.$ac_ext
102504 cat >>conftest.$ac_ext <<_ACEOF
102505 /* end confdefs.h. */
102506 #include <iconv.h>
102507 _ACEOF
102508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102510 ac_status=$?
102511 grep -v '^ *+' conftest.er1 >conftest.err
102512 rm -f conftest.er1
102513 cat conftest.err >&5
102514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102515 (exit $ac_status); } >/dev/null; then
102516 if test -s conftest.err; then
102517 ac_cpp_err=$ac_c_preproc_warn_flag
102518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102520 ac_cpp_err=
102523 ac_cpp_err=yes
102525 if test -z "$ac_cpp_err"; then
102526 ac_header_preproc=yes
102528 echo "$as_me: failed program was:" >&5
102529 sed 's/^/| /' conftest.$ac_ext >&5
102531 ac_header_preproc=no
102533 rm -f conftest.err conftest.$ac_ext
102534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102535 echo "${ECHO_T}$ac_header_preproc" >&6
102537 # So? What about this header?
102538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102539 yes:no: )
102540 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102541 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102542 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102543 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102544 ac_header_preproc=yes
102546 no:yes:* )
102547 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102548 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102549 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102550 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102551 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102552 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102553 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102554 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102555 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102556 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102557 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102558 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102560 cat <<\_ASBOX
102561 ## ----------------------------------------- ##
102562 ## Report this to the package-unused lists. ##
102563 ## ----------------------------------------- ##
102564 _ASBOX
102566 sed "s/^/$as_me: WARNING: /" >&2
102569 echo "$as_me:$LINENO: checking for iconv.h" >&5
102570 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102571 if test "${ac_cv_header_iconv_h+set}" = set; then
102572 echo $ECHO_N "(cached) $ECHO_C" >&6
102574 ac_cv_header_iconv_h=$ac_header_preproc
102576 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102577 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102580 if test $ac_cv_header_iconv_h = yes; then
102581 ac_has_iconv_h=yes
102583 ac_has_iconv_h=no
102587 if test "${ac_cv_header_langinfo_h+set}" = set; then
102588 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102589 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102590 if test "${ac_cv_header_langinfo_h+set}" = set; then
102591 echo $ECHO_N "(cached) $ECHO_C" >&6
102593 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102594 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102596 # Is the header compilable?
102597 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102598 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102599 cat >conftest.$ac_ext <<_ACEOF
102600 /* confdefs.h. */
102601 _ACEOF
102602 cat confdefs.h >>conftest.$ac_ext
102603 cat >>conftest.$ac_ext <<_ACEOF
102604 /* end confdefs.h. */
102605 $ac_includes_default
102606 #include <langinfo.h>
102607 _ACEOF
102608 rm -f conftest.$ac_objext
102609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102610 (eval $ac_compile) 2>conftest.er1
102611 ac_status=$?
102612 grep -v '^ *+' conftest.er1 >conftest.err
102613 rm -f conftest.er1
102614 cat conftest.err >&5
102615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102616 (exit $ac_status); } &&
102617 { ac_try='test -z "$ac_c_werror_flag"
102618 || test ! -s conftest.err'
102619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102620 (eval $ac_try) 2>&5
102621 ac_status=$?
102622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102623 (exit $ac_status); }; } &&
102624 { ac_try='test -s conftest.$ac_objext'
102625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102626 (eval $ac_try) 2>&5
102627 ac_status=$?
102628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102629 (exit $ac_status); }; }; then
102630 ac_header_compiler=yes
102632 echo "$as_me: failed program was:" >&5
102633 sed 's/^/| /' conftest.$ac_ext >&5
102635 ac_header_compiler=no
102637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102639 echo "${ECHO_T}$ac_header_compiler" >&6
102641 # Is the header present?
102642 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102643 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102644 cat >conftest.$ac_ext <<_ACEOF
102645 /* confdefs.h. */
102646 _ACEOF
102647 cat confdefs.h >>conftest.$ac_ext
102648 cat >>conftest.$ac_ext <<_ACEOF
102649 /* end confdefs.h. */
102650 #include <langinfo.h>
102651 _ACEOF
102652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102654 ac_status=$?
102655 grep -v '^ *+' conftest.er1 >conftest.err
102656 rm -f conftest.er1
102657 cat conftest.err >&5
102658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102659 (exit $ac_status); } >/dev/null; then
102660 if test -s conftest.err; then
102661 ac_cpp_err=$ac_c_preproc_warn_flag
102662 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102664 ac_cpp_err=
102667 ac_cpp_err=yes
102669 if test -z "$ac_cpp_err"; then
102670 ac_header_preproc=yes
102672 echo "$as_me: failed program was:" >&5
102673 sed 's/^/| /' conftest.$ac_ext >&5
102675 ac_header_preproc=no
102677 rm -f conftest.err conftest.$ac_ext
102678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102679 echo "${ECHO_T}$ac_header_preproc" >&6
102681 # So? What about this header?
102682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102683 yes:no: )
102684 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102685 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102686 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102687 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102688 ac_header_preproc=yes
102690 no:yes:* )
102691 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102692 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102693 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
102694 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
102695 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102696 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102697 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
102698 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
102699 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102700 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102701 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102702 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102704 cat <<\_ASBOX
102705 ## ----------------------------------------- ##
102706 ## Report this to the package-unused lists. ##
102707 ## ----------------------------------------- ##
102708 _ASBOX
102710 sed "s/^/$as_me: WARNING: /" >&2
102713 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102714 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102715 if test "${ac_cv_header_langinfo_h+set}" = set; then
102716 echo $ECHO_N "(cached) $ECHO_C" >&6
102718 ac_cv_header_langinfo_h=$ac_header_preproc
102720 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102721 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102724 if test $ac_cv_header_langinfo_h = yes; then
102725 ac_has_langinfo_h=yes
102727 ac_has_langinfo_h=no
102732 # Check for existence of libiconv.a providing XPG2 wchar_t support.
102733 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102734 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102735 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102736 echo $ECHO_N "(cached) $ECHO_C" >&6
102738 ac_check_lib_save_LIBS=$LIBS
102739 LIBS="-liconv $LIBS"
102740 if test x$gcc_no_link = xyes; then
102741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102743 { (exit 1); exit 1; }; }
102745 cat >conftest.$ac_ext <<_ACEOF
102746 /* confdefs.h. */
102747 _ACEOF
102748 cat confdefs.h >>conftest.$ac_ext
102749 cat >>conftest.$ac_ext <<_ACEOF
102750 /* end confdefs.h. */
102752 /* Override any gcc2 internal prototype to avoid an error. */
102753 #ifdef __cplusplus
102754 extern "C"
102755 #endif
102756 /* We use char because int might match the return type of a gcc2
102757 builtin and then its argument prototype would still apply. */
102758 char iconv ();
102760 main ()
102762 iconv ();
102764 return 0;
102766 _ACEOF
102767 rm -f conftest.$ac_objext conftest$ac_exeext
102768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102769 (eval $ac_link) 2>conftest.er1
102770 ac_status=$?
102771 grep -v '^ *+' conftest.er1 >conftest.err
102772 rm -f conftest.er1
102773 cat conftest.err >&5
102774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102775 (exit $ac_status); } &&
102776 { ac_try='test -z "$ac_c_werror_flag"
102777 || test ! -s conftest.err'
102778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102779 (eval $ac_try) 2>&5
102780 ac_status=$?
102781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102782 (exit $ac_status); }; } &&
102783 { ac_try='test -s conftest$ac_exeext'
102784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102785 (eval $ac_try) 2>&5
102786 ac_status=$?
102787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102788 (exit $ac_status); }; }; then
102789 ac_cv_lib_iconv_iconv=yes
102791 echo "$as_me: failed program was:" >&5
102792 sed 's/^/| /' conftest.$ac_ext >&5
102794 ac_cv_lib_iconv_iconv=no
102796 rm -f conftest.err conftest.$ac_objext \
102797 conftest$ac_exeext conftest.$ac_ext
102798 LIBS=$ac_check_lib_save_LIBS
102800 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102801 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102802 if test $ac_cv_lib_iconv_iconv = yes; then
102803 LIBICONV="-liconv"
102806 ac_save_LIBS="$LIBS"
102807 LIBS="$LIBS $LIBICONV"
102814 for ac_func in iconv_open iconv_close iconv nl_langinfo
102816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102817 echo "$as_me:$LINENO: checking for $ac_func" >&5
102818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102819 if eval "test \"\${$as_ac_var+set}\" = set"; then
102820 echo $ECHO_N "(cached) $ECHO_C" >&6
102822 if test x$gcc_no_link = xyes; then
102823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102825 { (exit 1); exit 1; }; }
102827 cat >conftest.$ac_ext <<_ACEOF
102828 /* confdefs.h. */
102829 _ACEOF
102830 cat confdefs.h >>conftest.$ac_ext
102831 cat >>conftest.$ac_ext <<_ACEOF
102832 /* end confdefs.h. */
102833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102835 #define $ac_func innocuous_$ac_func
102837 /* System header to define __stub macros and hopefully few prototypes,
102838 which can conflict with char $ac_func (); below.
102839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102840 <limits.h> exists even on freestanding compilers. */
102842 #ifdef __STDC__
102843 # include <limits.h>
102844 #else
102845 # include <assert.h>
102846 #endif
102848 #undef $ac_func
102850 /* Override any gcc2 internal prototype to avoid an error. */
102851 #ifdef __cplusplus
102852 extern "C"
102854 #endif
102855 /* We use char because int might match the return type of a gcc2
102856 builtin and then its argument prototype would still apply. */
102857 char $ac_func ();
102858 /* The GNU C library defines this for functions which it implements
102859 to always fail with ENOSYS. Some functions are actually named
102860 something starting with __ and the normal name is an alias. */
102861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102862 choke me
102863 #else
102864 char (*f) () = $ac_func;
102865 #endif
102866 #ifdef __cplusplus
102868 #endif
102871 main ()
102873 return f != $ac_func;
102875 return 0;
102877 _ACEOF
102878 rm -f conftest.$ac_objext conftest$ac_exeext
102879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102880 (eval $ac_link) 2>conftest.er1
102881 ac_status=$?
102882 grep -v '^ *+' conftest.er1 >conftest.err
102883 rm -f conftest.er1
102884 cat conftest.err >&5
102885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102886 (exit $ac_status); } &&
102887 { ac_try='test -z "$ac_c_werror_flag"
102888 || test ! -s conftest.err'
102889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102890 (eval $ac_try) 2>&5
102891 ac_status=$?
102892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102893 (exit $ac_status); }; } &&
102894 { ac_try='test -s conftest$ac_exeext'
102895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102896 (eval $ac_try) 2>&5
102897 ac_status=$?
102898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102899 (exit $ac_status); }; }; then
102900 eval "$as_ac_var=yes"
102902 echo "$as_me: failed program was:" >&5
102903 sed 's/^/| /' conftest.$ac_ext >&5
102905 eval "$as_ac_var=no"
102907 rm -f conftest.err conftest.$ac_objext \
102908 conftest$ac_exeext conftest.$ac_ext
102910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102912 if test `eval echo '${'$as_ac_var'}'` = yes; then
102913 cat >>confdefs.h <<_ACEOF
102914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102915 _ACEOF
102916 ac_XPG2funcs=yes
102918 ac_XPG2funcs=no
102923 LIBS="$ac_save_LIBS"
102925 if test x"$ac_has_iconv_h" = xyes &&
102926 test x"$ac_has_langinfo_h" = xyes &&
102927 test x"$ac_XPG2funcs" = xyes;
102930 cat >>confdefs.h <<\_ACEOF
102931 #define _GLIBCXX_USE_ICONV 1
102932 _ACEOF
102934 enable_iconv=yes
102937 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102938 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102939 echo "$as_me:$LINENO: result: $enable_iconv" >&5
102940 echo "${ECHO_T}$enable_iconv" >&6
102942 cat >>confdefs.h <<\_ACEOF
102943 #define HAVE_COPYSIGN 1
102944 _ACEOF
102946 cat >>confdefs.h <<\_ACEOF
102947 #define HAVE_COPYSIGNF 1
102948 _ACEOF
102950 cat >>confdefs.h <<\_ACEOF
102951 #define HAVE_FINITEF 1
102952 _ACEOF
102954 cat >>confdefs.h <<\_ACEOF
102955 #define HAVE_FINITE 1
102956 _ACEOF
102958 cat >>confdefs.h <<\_ACEOF
102959 #define HAVE_FREXPF 1
102960 _ACEOF
102962 cat >>confdefs.h <<\_ACEOF
102963 #define HAVE_HYPOTF 1
102964 _ACEOF
102966 cat >>confdefs.h <<\_ACEOF
102967 #define HAVE_ISINF 1
102968 _ACEOF
102970 cat >>confdefs.h <<\_ACEOF
102971 #define HAVE_ISINFF 1
102972 _ACEOF
102974 cat >>confdefs.h <<\_ACEOF
102975 #define HAVE_ISNAN 1
102976 _ACEOF
102978 cat >>confdefs.h <<\_ACEOF
102979 #define HAVE_ISNANF 1
102980 _ACEOF
102982 if test x"long_double_math_on_this_cpu" = x"yes"; then
102983 cat >>confdefs.h <<\_ACEOF
102984 #define HAVE_FINITEL 1
102985 _ACEOF
102987 cat >>confdefs.h <<\_ACEOF
102988 #define HAVE_ISINFL 1
102989 _ACEOF
102991 cat >>confdefs.h <<\_ACEOF
102992 #define HAVE_ISNANL 1
102993 _ACEOF
102997 *-netware)
103006 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
103007 sys/types.h locale.h float.h inttypes.h
103009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103011 echo "$as_me:$LINENO: checking for $ac_header" >&5
103012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103014 echo $ECHO_N "(cached) $ECHO_C" >&6
103016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103019 # Is the header compilable?
103020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103022 cat >conftest.$ac_ext <<_ACEOF
103023 /* confdefs.h. */
103024 _ACEOF
103025 cat confdefs.h >>conftest.$ac_ext
103026 cat >>conftest.$ac_ext <<_ACEOF
103027 /* end confdefs.h. */
103028 $ac_includes_default
103029 #include <$ac_header>
103030 _ACEOF
103031 rm -f conftest.$ac_objext
103032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103033 (eval $ac_compile) 2>conftest.er1
103034 ac_status=$?
103035 grep -v '^ *+' conftest.er1 >conftest.err
103036 rm -f conftest.er1
103037 cat conftest.err >&5
103038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103039 (exit $ac_status); } &&
103040 { ac_try='test -z "$ac_c_werror_flag"
103041 || test ! -s conftest.err'
103042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103043 (eval $ac_try) 2>&5
103044 ac_status=$?
103045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103046 (exit $ac_status); }; } &&
103047 { ac_try='test -s conftest.$ac_objext'
103048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103049 (eval $ac_try) 2>&5
103050 ac_status=$?
103051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103052 (exit $ac_status); }; }; then
103053 ac_header_compiler=yes
103055 echo "$as_me: failed program was:" >&5
103056 sed 's/^/| /' conftest.$ac_ext >&5
103058 ac_header_compiler=no
103060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103062 echo "${ECHO_T}$ac_header_compiler" >&6
103064 # Is the header present?
103065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103067 cat >conftest.$ac_ext <<_ACEOF
103068 /* confdefs.h. */
103069 _ACEOF
103070 cat confdefs.h >>conftest.$ac_ext
103071 cat >>conftest.$ac_ext <<_ACEOF
103072 /* end confdefs.h. */
103073 #include <$ac_header>
103074 _ACEOF
103075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103077 ac_status=$?
103078 grep -v '^ *+' conftest.er1 >conftest.err
103079 rm -f conftest.er1
103080 cat conftest.err >&5
103081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103082 (exit $ac_status); } >/dev/null; then
103083 if test -s conftest.err; then
103084 ac_cpp_err=$ac_c_preproc_warn_flag
103085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103087 ac_cpp_err=
103090 ac_cpp_err=yes
103092 if test -z "$ac_cpp_err"; then
103093 ac_header_preproc=yes
103095 echo "$as_me: failed program was:" >&5
103096 sed 's/^/| /' conftest.$ac_ext >&5
103098 ac_header_preproc=no
103100 rm -f conftest.err conftest.$ac_ext
103101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103102 echo "${ECHO_T}$ac_header_preproc" >&6
103104 # So? What about this header?
103105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103106 yes:no: )
103107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103111 ac_header_preproc=yes
103113 no:yes:* )
103114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103127 cat <<\_ASBOX
103128 ## ----------------------------------------- ##
103129 ## Report this to the package-unused lists. ##
103130 ## ----------------------------------------- ##
103131 _ASBOX
103133 sed "s/^/$as_me: WARNING: /" >&2
103136 echo "$as_me:$LINENO: checking for $ac_header" >&5
103137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103139 echo $ECHO_N "(cached) $ECHO_C" >&6
103141 eval "$as_ac_Header=\$ac_header_preproc"
103143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103148 cat >>confdefs.h <<_ACEOF
103149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103150 _ACEOF
103156 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103159 # If we're not using GNU ld, then there's no point in even trying these
103160 # tests. Check for that first. We should have already tested for gld
103161 # by now (in libtool), but require it now just to be safe...
103162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103167 # The name set by libtool depends on the version of libtool. Shame on us
103168 # for depending on an impl detail, but c'est la vie. Older versions used
103169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103172 # set (hence we're using an older libtool), then set it.
103173 if test x${with_gnu_ld+set} != xset; then
103174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103176 with_gnu_ld=no
103178 with_gnu_ld=$ac_cv_prog_gnu_ld
103182 # Start by getting the version number. I think the libtool test already
103183 # does some of this, but throws away the result.
103184 echo "$as_me:$LINENO: checking for ld version" >&5
103185 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103187 ldver=`$LD --version 2>/dev/null | head -1 | \
103188 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103190 glibcxx_gnu_ld_version=`echo $ldver | \
103191 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103192 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103193 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103195 # Set --gc-sections.
103196 glibcxx_gcsections_min_ld=21602
103197 if test x"$with_gnu_ld" = x"yes" &&
103198 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103200 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103201 # NB: This flag only works reliably after 2.16.1. Configure tests
103202 # for this are difficult, so hard wire a value that should work.
103204 # All these tests are for C++, but run with the "C" compiler driver.
103205 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103206 ac_test_CFLAGS="${CFLAGS+set}"
103207 ac_save_CFLAGS="$CFLAGS"
103208 CFLAGS='-x c++ -Wl,--gc-sections'
103210 # Check for -Wl,--gc-sections
103211 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103212 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103213 if test x$gcc_no_link = xyes; then
103214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103216 { (exit 1); exit 1; }; }
103218 cat >conftest.$ac_ext <<_ACEOF
103219 /* confdefs.h. */
103220 _ACEOF
103221 cat confdefs.h >>conftest.$ac_ext
103222 cat >>conftest.$ac_ext <<_ACEOF
103223 /* end confdefs.h. */
103224 int one(void) { return 1; }
103225 int two(void) { return 2; }
103228 main ()
103230 two();
103232 return 0;
103234 _ACEOF
103235 rm -f conftest.$ac_objext conftest$ac_exeext
103236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103237 (eval $ac_link) 2>conftest.er1
103238 ac_status=$?
103239 grep -v '^ *+' conftest.er1 >conftest.err
103240 rm -f conftest.er1
103241 cat conftest.err >&5
103242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103243 (exit $ac_status); } &&
103244 { ac_try='test -z "$ac_c_werror_flag"
103245 || test ! -s conftest.err'
103246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103247 (eval $ac_try) 2>&5
103248 ac_status=$?
103249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103250 (exit $ac_status); }; } &&
103251 { ac_try='test -s conftest$ac_exeext'
103252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103253 (eval $ac_try) 2>&5
103254 ac_status=$?
103255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103256 (exit $ac_status); }; }; then
103257 ac_gcsections=yes
103259 echo "$as_me: failed program was:" >&5
103260 sed 's/^/| /' conftest.$ac_ext >&5
103262 ac_gcsections=no
103264 rm -f conftest.err conftest.$ac_objext \
103265 conftest$ac_exeext conftest.$ac_ext
103266 if test "$ac_gcsections" = "yes"; then
103267 rm -f conftest.c
103268 touch conftest.c
103269 if $CC -c conftest.c; then
103270 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103271 grep "Warning: gc-sections option ignored" > /dev/null; then
103272 ac_gcsections=no
103275 rm -f conftest.c conftest.o conftest
103277 if test "$ac_gcsections" = "yes"; then
103278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103280 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103281 echo "${ECHO_T}$ac_gcsections" >&6
103283 if test "$ac_test_CFLAGS" = set; then
103284 CFLAGS="$ac_save_CFLAGS"
103286 # this is the suspicious part
103287 CFLAGS=''
103291 # Set -z,relro.
103292 # Note this is only for shared objects.
103293 ac_ld_relro=no
103294 if test x"$with_gnu_ld" = x"yes"; then
103295 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103296 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103297 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103298 if test -n "$cxx_z_relo"; then
103299 OPT_LDFLAGS="-Wl,-z,relro"
103300 ac_ld_relro=yes
103302 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103303 echo "${ECHO_T}$ac_ld_relro" >&6
103306 # Set linker optimization flags.
103307 if test x"$with_gnu_ld" = x"yes"; then
103308 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103316 echo "$as_me:$LINENO: checking for main in -lm" >&5
103317 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103318 if test "${ac_cv_lib_m_main+set}" = set; then
103319 echo $ECHO_N "(cached) $ECHO_C" >&6
103321 ac_check_lib_save_LIBS=$LIBS
103322 LIBS="-lm $LIBS"
103323 if test x$gcc_no_link = xyes; then
103324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103326 { (exit 1); exit 1; }; }
103328 cat >conftest.$ac_ext <<_ACEOF
103329 /* confdefs.h. */
103330 _ACEOF
103331 cat confdefs.h >>conftest.$ac_ext
103332 cat >>conftest.$ac_ext <<_ACEOF
103333 /* end confdefs.h. */
103337 main ()
103339 main ();
103341 return 0;
103343 _ACEOF
103344 rm -f conftest.$ac_objext conftest$ac_exeext
103345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103346 (eval $ac_link) 2>conftest.er1
103347 ac_status=$?
103348 grep -v '^ *+' conftest.er1 >conftest.err
103349 rm -f conftest.er1
103350 cat conftest.err >&5
103351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103352 (exit $ac_status); } &&
103353 { ac_try='test -z "$ac_c_werror_flag"
103354 || test ! -s conftest.err'
103355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103356 (eval $ac_try) 2>&5
103357 ac_status=$?
103358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103359 (exit $ac_status); }; } &&
103360 { ac_try='test -s conftest$ac_exeext'
103361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103362 (eval $ac_try) 2>&5
103363 ac_status=$?
103364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103365 (exit $ac_status); }; }; then
103366 ac_cv_lib_m_main=yes
103368 echo "$as_me: failed program was:" >&5
103369 sed 's/^/| /' conftest.$ac_ext >&5
103371 ac_cv_lib_m_main=no
103373 rm -f conftest.err conftest.$ac_objext \
103374 conftest$ac_exeext conftest.$ac_ext
103375 LIBS=$ac_check_lib_save_LIBS
103377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103378 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103379 if test $ac_cv_lib_m_main = yes; then
103380 cat >>confdefs.h <<_ACEOF
103381 #define HAVE_LIBM 1
103382 _ACEOF
103384 LIBS="-lm $LIBS"
103389 for ac_func in copysignf
103391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103392 echo "$as_me:$LINENO: checking for $ac_func" >&5
103393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103394 if eval "test \"\${$as_ac_var+set}\" = set"; then
103395 echo $ECHO_N "(cached) $ECHO_C" >&6
103397 if test x$gcc_no_link = xyes; then
103398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103400 { (exit 1); exit 1; }; }
103402 cat >conftest.$ac_ext <<_ACEOF
103403 /* confdefs.h. */
103404 _ACEOF
103405 cat confdefs.h >>conftest.$ac_ext
103406 cat >>conftest.$ac_ext <<_ACEOF
103407 /* end confdefs.h. */
103408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103410 #define $ac_func innocuous_$ac_func
103412 /* System header to define __stub macros and hopefully few prototypes,
103413 which can conflict with char $ac_func (); below.
103414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103415 <limits.h> exists even on freestanding compilers. */
103417 #ifdef __STDC__
103418 # include <limits.h>
103419 #else
103420 # include <assert.h>
103421 #endif
103423 #undef $ac_func
103425 /* Override any gcc2 internal prototype to avoid an error. */
103426 #ifdef __cplusplus
103427 extern "C"
103429 #endif
103430 /* We use char because int might match the return type of a gcc2
103431 builtin and then its argument prototype would still apply. */
103432 char $ac_func ();
103433 /* The GNU C library defines this for functions which it implements
103434 to always fail with ENOSYS. Some functions are actually named
103435 something starting with __ and the normal name is an alias. */
103436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103437 choke me
103438 #else
103439 char (*f) () = $ac_func;
103440 #endif
103441 #ifdef __cplusplus
103443 #endif
103446 main ()
103448 return f != $ac_func;
103450 return 0;
103452 _ACEOF
103453 rm -f conftest.$ac_objext conftest$ac_exeext
103454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103455 (eval $ac_link) 2>conftest.er1
103456 ac_status=$?
103457 grep -v '^ *+' conftest.er1 >conftest.err
103458 rm -f conftest.er1
103459 cat conftest.err >&5
103460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103461 (exit $ac_status); } &&
103462 { ac_try='test -z "$ac_c_werror_flag"
103463 || test ! -s conftest.err'
103464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103465 (eval $ac_try) 2>&5
103466 ac_status=$?
103467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103468 (exit $ac_status); }; } &&
103469 { ac_try='test -s conftest$ac_exeext'
103470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103471 (eval $ac_try) 2>&5
103472 ac_status=$?
103473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103474 (exit $ac_status); }; }; then
103475 eval "$as_ac_var=yes"
103477 echo "$as_me: failed program was:" >&5
103478 sed 's/^/| /' conftest.$ac_ext >&5
103480 eval "$as_ac_var=no"
103482 rm -f conftest.err conftest.$ac_objext \
103483 conftest$ac_exeext conftest.$ac_ext
103485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103487 if test `eval echo '${'$as_ac_var'}'` = yes; then
103488 cat >>confdefs.h <<_ACEOF
103489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103490 _ACEOF
103493 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103499 for ac_func in __signbit
103501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103502 echo "$as_me:$LINENO: checking for $ac_func" >&5
103503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103504 if eval "test \"\${$as_ac_var+set}\" = set"; then
103505 echo $ECHO_N "(cached) $ECHO_C" >&6
103507 if test x$gcc_no_link = xyes; then
103508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103510 { (exit 1); exit 1; }; }
103512 cat >conftest.$ac_ext <<_ACEOF
103513 /* confdefs.h. */
103514 _ACEOF
103515 cat confdefs.h >>conftest.$ac_ext
103516 cat >>conftest.$ac_ext <<_ACEOF
103517 /* end confdefs.h. */
103518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103520 #define $ac_func innocuous_$ac_func
103522 /* System header to define __stub macros and hopefully few prototypes,
103523 which can conflict with char $ac_func (); below.
103524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103525 <limits.h> exists even on freestanding compilers. */
103527 #ifdef __STDC__
103528 # include <limits.h>
103529 #else
103530 # include <assert.h>
103531 #endif
103533 #undef $ac_func
103535 /* Override any gcc2 internal prototype to avoid an error. */
103536 #ifdef __cplusplus
103537 extern "C"
103539 #endif
103540 /* We use char because int might match the return type of a gcc2
103541 builtin and then its argument prototype would still apply. */
103542 char $ac_func ();
103543 /* The GNU C library defines this for functions which it implements
103544 to always fail with ENOSYS. Some functions are actually named
103545 something starting with __ and the normal name is an alias. */
103546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103547 choke me
103548 #else
103549 char (*f) () = $ac_func;
103550 #endif
103551 #ifdef __cplusplus
103553 #endif
103556 main ()
103558 return f != $ac_func;
103560 return 0;
103562 _ACEOF
103563 rm -f conftest.$ac_objext conftest$ac_exeext
103564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103565 (eval $ac_link) 2>conftest.er1
103566 ac_status=$?
103567 grep -v '^ *+' conftest.er1 >conftest.err
103568 rm -f conftest.er1
103569 cat conftest.err >&5
103570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103571 (exit $ac_status); } &&
103572 { ac_try='test -z "$ac_c_werror_flag"
103573 || test ! -s conftest.err'
103574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103575 (eval $ac_try) 2>&5
103576 ac_status=$?
103577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103578 (exit $ac_status); }; } &&
103579 { ac_try='test -s conftest$ac_exeext'
103580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103581 (eval $ac_try) 2>&5
103582 ac_status=$?
103583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103584 (exit $ac_status); }; }; then
103585 eval "$as_ac_var=yes"
103587 echo "$as_me: failed program was:" >&5
103588 sed 's/^/| /' conftest.$ac_ext >&5
103590 eval "$as_ac_var=no"
103592 rm -f conftest.err conftest.$ac_objext \
103593 conftest$ac_exeext conftest.$ac_ext
103595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103597 if test `eval echo '${'$as_ac_var'}'` = yes; then
103598 cat >>confdefs.h <<_ACEOF
103599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103600 _ACEOF
103603 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103609 for ac_func in __signbitf
103611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103612 echo "$as_me:$LINENO: checking for $ac_func" >&5
103613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103614 if eval "test \"\${$as_ac_var+set}\" = set"; then
103615 echo $ECHO_N "(cached) $ECHO_C" >&6
103617 if test x$gcc_no_link = xyes; then
103618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103620 { (exit 1); exit 1; }; }
103622 cat >conftest.$ac_ext <<_ACEOF
103623 /* confdefs.h. */
103624 _ACEOF
103625 cat confdefs.h >>conftest.$ac_ext
103626 cat >>conftest.$ac_ext <<_ACEOF
103627 /* end confdefs.h. */
103628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103630 #define $ac_func innocuous_$ac_func
103632 /* System header to define __stub macros and hopefully few prototypes,
103633 which can conflict with char $ac_func (); below.
103634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103635 <limits.h> exists even on freestanding compilers. */
103637 #ifdef __STDC__
103638 # include <limits.h>
103639 #else
103640 # include <assert.h>
103641 #endif
103643 #undef $ac_func
103645 /* Override any gcc2 internal prototype to avoid an error. */
103646 #ifdef __cplusplus
103647 extern "C"
103649 #endif
103650 /* We use char because int might match the return type of a gcc2
103651 builtin and then its argument prototype would still apply. */
103652 char $ac_func ();
103653 /* The GNU C library defines this for functions which it implements
103654 to always fail with ENOSYS. Some functions are actually named
103655 something starting with __ and the normal name is an alias. */
103656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103657 choke me
103658 #else
103659 char (*f) () = $ac_func;
103660 #endif
103661 #ifdef __cplusplus
103663 #endif
103666 main ()
103668 return f != $ac_func;
103670 return 0;
103672 _ACEOF
103673 rm -f conftest.$ac_objext conftest$ac_exeext
103674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103675 (eval $ac_link) 2>conftest.er1
103676 ac_status=$?
103677 grep -v '^ *+' conftest.er1 >conftest.err
103678 rm -f conftest.er1
103679 cat conftest.err >&5
103680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103681 (exit $ac_status); } &&
103682 { ac_try='test -z "$ac_c_werror_flag"
103683 || test ! -s conftest.err'
103684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103685 (eval $ac_try) 2>&5
103686 ac_status=$?
103687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103688 (exit $ac_status); }; } &&
103689 { ac_try='test -s conftest$ac_exeext'
103690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103691 (eval $ac_try) 2>&5
103692 ac_status=$?
103693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103694 (exit $ac_status); }; }; then
103695 eval "$as_ac_var=yes"
103697 echo "$as_me: failed program was:" >&5
103698 sed 's/^/| /' conftest.$ac_ext >&5
103700 eval "$as_ac_var=no"
103702 rm -f conftest.err conftest.$ac_objext \
103703 conftest$ac_exeext conftest.$ac_ext
103705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103707 if test `eval echo '${'$as_ac_var'}'` = yes; then
103708 cat >>confdefs.h <<_ACEOF
103709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103710 _ACEOF
103713 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103718 if test x$ac_cv_func_copysignl = x"yes"; then
103720 for ac_func in __signbitl
103722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103723 echo "$as_me:$LINENO: checking for $ac_func" >&5
103724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103725 if eval "test \"\${$as_ac_var+set}\" = set"; then
103726 echo $ECHO_N "(cached) $ECHO_C" >&6
103728 if test x$gcc_no_link = xyes; then
103729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103731 { (exit 1); exit 1; }; }
103733 cat >conftest.$ac_ext <<_ACEOF
103734 /* confdefs.h. */
103735 _ACEOF
103736 cat confdefs.h >>conftest.$ac_ext
103737 cat >>conftest.$ac_ext <<_ACEOF
103738 /* end confdefs.h. */
103739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103741 #define $ac_func innocuous_$ac_func
103743 /* System header to define __stub macros and hopefully few prototypes,
103744 which can conflict with char $ac_func (); below.
103745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103746 <limits.h> exists even on freestanding compilers. */
103748 #ifdef __STDC__
103749 # include <limits.h>
103750 #else
103751 # include <assert.h>
103752 #endif
103754 #undef $ac_func
103756 /* Override any gcc2 internal prototype to avoid an error. */
103757 #ifdef __cplusplus
103758 extern "C"
103760 #endif
103761 /* We use char because int might match the return type of a gcc2
103762 builtin and then its argument prototype would still apply. */
103763 char $ac_func ();
103764 /* The GNU C library defines this for functions which it implements
103765 to always fail with ENOSYS. Some functions are actually named
103766 something starting with __ and the normal name is an alias. */
103767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103768 choke me
103769 #else
103770 char (*f) () = $ac_func;
103771 #endif
103772 #ifdef __cplusplus
103774 #endif
103777 main ()
103779 return f != $ac_func;
103781 return 0;
103783 _ACEOF
103784 rm -f conftest.$ac_objext conftest$ac_exeext
103785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103786 (eval $ac_link) 2>conftest.er1
103787 ac_status=$?
103788 grep -v '^ *+' conftest.er1 >conftest.err
103789 rm -f conftest.er1
103790 cat conftest.err >&5
103791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103792 (exit $ac_status); } &&
103793 { ac_try='test -z "$ac_c_werror_flag"
103794 || test ! -s conftest.err'
103795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103796 (eval $ac_try) 2>&5
103797 ac_status=$?
103798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103799 (exit $ac_status); }; } &&
103800 { ac_try='test -s conftest$ac_exeext'
103801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103802 (eval $ac_try) 2>&5
103803 ac_status=$?
103804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103805 (exit $ac_status); }; }; then
103806 eval "$as_ac_var=yes"
103808 echo "$as_me: failed program was:" >&5
103809 sed 's/^/| /' conftest.$ac_ext >&5
103811 eval "$as_ac_var=no"
103813 rm -f conftest.err conftest.$ac_objext \
103814 conftest$ac_exeext conftest.$ac_ext
103816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103818 if test `eval echo '${'$as_ac_var'}'` = yes; then
103819 cat >>confdefs.h <<_ACEOF
103820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103821 _ACEOF
103824 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103830 # Used in libmath/Makefile.am.
103831 if test -n "$LIBMATHOBJS"; then
103832 need_libmath=yes
103838 enable_iconv=no
103839 # Only continue checking if the ISO C99 headers exist and support is on.
103840 if test x"$enable_wchar_t" = xyes; then
103842 # Use iconv for wchar_t to char conversions. As such, check for
103843 # X/Open Portability Guide, version 2 features (XPG2).
103844 if test "${ac_cv_header_iconv_h+set}" = set; then
103845 echo "$as_me:$LINENO: checking for iconv.h" >&5
103846 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103847 if test "${ac_cv_header_iconv_h+set}" = set; then
103848 echo $ECHO_N "(cached) $ECHO_C" >&6
103850 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103851 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103853 # Is the header compilable?
103854 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103855 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103856 cat >conftest.$ac_ext <<_ACEOF
103857 /* confdefs.h. */
103858 _ACEOF
103859 cat confdefs.h >>conftest.$ac_ext
103860 cat >>conftest.$ac_ext <<_ACEOF
103861 /* end confdefs.h. */
103862 $ac_includes_default
103863 #include <iconv.h>
103864 _ACEOF
103865 rm -f conftest.$ac_objext
103866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103867 (eval $ac_compile) 2>conftest.er1
103868 ac_status=$?
103869 grep -v '^ *+' conftest.er1 >conftest.err
103870 rm -f conftest.er1
103871 cat conftest.err >&5
103872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103873 (exit $ac_status); } &&
103874 { ac_try='test -z "$ac_c_werror_flag"
103875 || test ! -s conftest.err'
103876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103877 (eval $ac_try) 2>&5
103878 ac_status=$?
103879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103880 (exit $ac_status); }; } &&
103881 { ac_try='test -s conftest.$ac_objext'
103882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103883 (eval $ac_try) 2>&5
103884 ac_status=$?
103885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103886 (exit $ac_status); }; }; then
103887 ac_header_compiler=yes
103889 echo "$as_me: failed program was:" >&5
103890 sed 's/^/| /' conftest.$ac_ext >&5
103892 ac_header_compiler=no
103894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103896 echo "${ECHO_T}$ac_header_compiler" >&6
103898 # Is the header present?
103899 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103900 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103901 cat >conftest.$ac_ext <<_ACEOF
103902 /* confdefs.h. */
103903 _ACEOF
103904 cat confdefs.h >>conftest.$ac_ext
103905 cat >>conftest.$ac_ext <<_ACEOF
103906 /* end confdefs.h. */
103907 #include <iconv.h>
103908 _ACEOF
103909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103911 ac_status=$?
103912 grep -v '^ *+' conftest.er1 >conftest.err
103913 rm -f conftest.er1
103914 cat conftest.err >&5
103915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103916 (exit $ac_status); } >/dev/null; then
103917 if test -s conftest.err; then
103918 ac_cpp_err=$ac_c_preproc_warn_flag
103919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103921 ac_cpp_err=
103924 ac_cpp_err=yes
103926 if test -z "$ac_cpp_err"; then
103927 ac_header_preproc=yes
103929 echo "$as_me: failed program was:" >&5
103930 sed 's/^/| /' conftest.$ac_ext >&5
103932 ac_header_preproc=no
103934 rm -f conftest.err conftest.$ac_ext
103935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103936 echo "${ECHO_T}$ac_header_preproc" >&6
103938 # So? What about this header?
103939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103940 yes:no: )
103941 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103942 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103943 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103944 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103945 ac_header_preproc=yes
103947 no:yes:* )
103948 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103949 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103950 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
103951 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
103952 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103953 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103954 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
103955 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
103956 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103957 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103958 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103959 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103961 cat <<\_ASBOX
103962 ## ----------------------------------------- ##
103963 ## Report this to the package-unused lists. ##
103964 ## ----------------------------------------- ##
103965 _ASBOX
103967 sed "s/^/$as_me: WARNING: /" >&2
103970 echo "$as_me:$LINENO: checking for iconv.h" >&5
103971 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103972 if test "${ac_cv_header_iconv_h+set}" = set; then
103973 echo $ECHO_N "(cached) $ECHO_C" >&6
103975 ac_cv_header_iconv_h=$ac_header_preproc
103977 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103978 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103981 if test $ac_cv_header_iconv_h = yes; then
103982 ac_has_iconv_h=yes
103984 ac_has_iconv_h=no
103988 if test "${ac_cv_header_langinfo_h+set}" = set; then
103989 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103990 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103991 if test "${ac_cv_header_langinfo_h+set}" = set; then
103992 echo $ECHO_N "(cached) $ECHO_C" >&6
103994 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103995 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103997 # Is the header compilable?
103998 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103999 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
104000 cat >conftest.$ac_ext <<_ACEOF
104001 /* confdefs.h. */
104002 _ACEOF
104003 cat confdefs.h >>conftest.$ac_ext
104004 cat >>conftest.$ac_ext <<_ACEOF
104005 /* end confdefs.h. */
104006 $ac_includes_default
104007 #include <langinfo.h>
104008 _ACEOF
104009 rm -f conftest.$ac_objext
104010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104011 (eval $ac_compile) 2>conftest.er1
104012 ac_status=$?
104013 grep -v '^ *+' conftest.er1 >conftest.err
104014 rm -f conftest.er1
104015 cat conftest.err >&5
104016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104017 (exit $ac_status); } &&
104018 { ac_try='test -z "$ac_c_werror_flag"
104019 || test ! -s conftest.err'
104020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104021 (eval $ac_try) 2>&5
104022 ac_status=$?
104023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104024 (exit $ac_status); }; } &&
104025 { ac_try='test -s conftest.$ac_objext'
104026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104027 (eval $ac_try) 2>&5
104028 ac_status=$?
104029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104030 (exit $ac_status); }; }; then
104031 ac_header_compiler=yes
104033 echo "$as_me: failed program was:" >&5
104034 sed 's/^/| /' conftest.$ac_ext >&5
104036 ac_header_compiler=no
104038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104040 echo "${ECHO_T}$ac_header_compiler" >&6
104042 # Is the header present?
104043 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
104044 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104045 cat >conftest.$ac_ext <<_ACEOF
104046 /* confdefs.h. */
104047 _ACEOF
104048 cat confdefs.h >>conftest.$ac_ext
104049 cat >>conftest.$ac_ext <<_ACEOF
104050 /* end confdefs.h. */
104051 #include <langinfo.h>
104052 _ACEOF
104053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104055 ac_status=$?
104056 grep -v '^ *+' conftest.er1 >conftest.err
104057 rm -f conftest.er1
104058 cat conftest.err >&5
104059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104060 (exit $ac_status); } >/dev/null; then
104061 if test -s conftest.err; then
104062 ac_cpp_err=$ac_c_preproc_warn_flag
104063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104065 ac_cpp_err=
104068 ac_cpp_err=yes
104070 if test -z "$ac_cpp_err"; then
104071 ac_header_preproc=yes
104073 echo "$as_me: failed program was:" >&5
104074 sed 's/^/| /' conftest.$ac_ext >&5
104076 ac_header_preproc=no
104078 rm -f conftest.err conftest.$ac_ext
104079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104080 echo "${ECHO_T}$ac_header_preproc" >&6
104082 # So? What about this header?
104083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104084 yes:no: )
104085 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104086 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104087 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104088 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104089 ac_header_preproc=yes
104091 no:yes:* )
104092 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104093 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104094 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
104095 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
104096 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104097 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104098 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
104099 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
104100 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104101 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104102 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104103 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104105 cat <<\_ASBOX
104106 ## ----------------------------------------- ##
104107 ## Report this to the package-unused lists. ##
104108 ## ----------------------------------------- ##
104109 _ASBOX
104111 sed "s/^/$as_me: WARNING: /" >&2
104114 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104115 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104116 if test "${ac_cv_header_langinfo_h+set}" = set; then
104117 echo $ECHO_N "(cached) $ECHO_C" >&6
104119 ac_cv_header_langinfo_h=$ac_header_preproc
104121 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104122 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104125 if test $ac_cv_header_langinfo_h = yes; then
104126 ac_has_langinfo_h=yes
104128 ac_has_langinfo_h=no
104133 # Check for existence of libiconv.a providing XPG2 wchar_t support.
104134 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104135 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104136 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104137 echo $ECHO_N "(cached) $ECHO_C" >&6
104139 ac_check_lib_save_LIBS=$LIBS
104140 LIBS="-liconv $LIBS"
104141 if test x$gcc_no_link = xyes; then
104142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104144 { (exit 1); exit 1; }; }
104146 cat >conftest.$ac_ext <<_ACEOF
104147 /* confdefs.h. */
104148 _ACEOF
104149 cat confdefs.h >>conftest.$ac_ext
104150 cat >>conftest.$ac_ext <<_ACEOF
104151 /* end confdefs.h. */
104153 /* Override any gcc2 internal prototype to avoid an error. */
104154 #ifdef __cplusplus
104155 extern "C"
104156 #endif
104157 /* We use char because int might match the return type of a gcc2
104158 builtin and then its argument prototype would still apply. */
104159 char iconv ();
104161 main ()
104163 iconv ();
104165 return 0;
104167 _ACEOF
104168 rm -f conftest.$ac_objext conftest$ac_exeext
104169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104170 (eval $ac_link) 2>conftest.er1
104171 ac_status=$?
104172 grep -v '^ *+' conftest.er1 >conftest.err
104173 rm -f conftest.er1
104174 cat conftest.err >&5
104175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104176 (exit $ac_status); } &&
104177 { ac_try='test -z "$ac_c_werror_flag"
104178 || test ! -s conftest.err'
104179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104180 (eval $ac_try) 2>&5
104181 ac_status=$?
104182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104183 (exit $ac_status); }; } &&
104184 { ac_try='test -s conftest$ac_exeext'
104185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104186 (eval $ac_try) 2>&5
104187 ac_status=$?
104188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104189 (exit $ac_status); }; }; then
104190 ac_cv_lib_iconv_iconv=yes
104192 echo "$as_me: failed program was:" >&5
104193 sed 's/^/| /' conftest.$ac_ext >&5
104195 ac_cv_lib_iconv_iconv=no
104197 rm -f conftest.err conftest.$ac_objext \
104198 conftest$ac_exeext conftest.$ac_ext
104199 LIBS=$ac_check_lib_save_LIBS
104201 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104202 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104203 if test $ac_cv_lib_iconv_iconv = yes; then
104204 LIBICONV="-liconv"
104207 ac_save_LIBS="$LIBS"
104208 LIBS="$LIBS $LIBICONV"
104215 for ac_func in iconv_open iconv_close iconv nl_langinfo
104217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104218 echo "$as_me:$LINENO: checking for $ac_func" >&5
104219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104220 if eval "test \"\${$as_ac_var+set}\" = set"; then
104221 echo $ECHO_N "(cached) $ECHO_C" >&6
104223 if test x$gcc_no_link = xyes; then
104224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104226 { (exit 1); exit 1; }; }
104228 cat >conftest.$ac_ext <<_ACEOF
104229 /* confdefs.h. */
104230 _ACEOF
104231 cat confdefs.h >>conftest.$ac_ext
104232 cat >>conftest.$ac_ext <<_ACEOF
104233 /* end confdefs.h. */
104234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104236 #define $ac_func innocuous_$ac_func
104238 /* System header to define __stub macros and hopefully few prototypes,
104239 which can conflict with char $ac_func (); below.
104240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104241 <limits.h> exists even on freestanding compilers. */
104243 #ifdef __STDC__
104244 # include <limits.h>
104245 #else
104246 # include <assert.h>
104247 #endif
104249 #undef $ac_func
104251 /* Override any gcc2 internal prototype to avoid an error. */
104252 #ifdef __cplusplus
104253 extern "C"
104255 #endif
104256 /* We use char because int might match the return type of a gcc2
104257 builtin and then its argument prototype would still apply. */
104258 char $ac_func ();
104259 /* The GNU C library defines this for functions which it implements
104260 to always fail with ENOSYS. Some functions are actually named
104261 something starting with __ and the normal name is an alias. */
104262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104263 choke me
104264 #else
104265 char (*f) () = $ac_func;
104266 #endif
104267 #ifdef __cplusplus
104269 #endif
104272 main ()
104274 return f != $ac_func;
104276 return 0;
104278 _ACEOF
104279 rm -f conftest.$ac_objext conftest$ac_exeext
104280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104281 (eval $ac_link) 2>conftest.er1
104282 ac_status=$?
104283 grep -v '^ *+' conftest.er1 >conftest.err
104284 rm -f conftest.er1
104285 cat conftest.err >&5
104286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104287 (exit $ac_status); } &&
104288 { ac_try='test -z "$ac_c_werror_flag"
104289 || test ! -s conftest.err'
104290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104291 (eval $ac_try) 2>&5
104292 ac_status=$?
104293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104294 (exit $ac_status); }; } &&
104295 { ac_try='test -s conftest$ac_exeext'
104296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104297 (eval $ac_try) 2>&5
104298 ac_status=$?
104299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104300 (exit $ac_status); }; }; then
104301 eval "$as_ac_var=yes"
104303 echo "$as_me: failed program was:" >&5
104304 sed 's/^/| /' conftest.$ac_ext >&5
104306 eval "$as_ac_var=no"
104308 rm -f conftest.err conftest.$ac_objext \
104309 conftest$ac_exeext conftest.$ac_ext
104311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104313 if test `eval echo '${'$as_ac_var'}'` = yes; then
104314 cat >>confdefs.h <<_ACEOF
104315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104316 _ACEOF
104317 ac_XPG2funcs=yes
104319 ac_XPG2funcs=no
104324 LIBS="$ac_save_LIBS"
104326 if test x"$ac_has_iconv_h" = xyes &&
104327 test x"$ac_has_langinfo_h" = xyes &&
104328 test x"$ac_XPG2funcs" = xyes;
104331 cat >>confdefs.h <<\_ACEOF
104332 #define _GLIBCXX_USE_ICONV 1
104333 _ACEOF
104335 enable_iconv=yes
104338 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104339 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104340 echo "$as_me:$LINENO: result: $enable_iconv" >&5
104341 echo "${ECHO_T}$enable_iconv" >&6
104343 cat >>confdefs.h <<\_ACEOF
104344 #define HAVE_HYPOT 1
104345 _ACEOF
104347 cat >>confdefs.h <<\_ACEOF
104348 #define HAVE_ISINF 1
104349 _ACEOF
104351 cat >>confdefs.h <<\_ACEOF
104352 #define HAVE_ISNAN 1
104353 _ACEOF
104356 # For showmanyc_helper().
104359 for ac_header in sys/ioctl.h sys/filio.h
104361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104363 echo "$as_me:$LINENO: checking for $ac_header" >&5
104364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104366 echo $ECHO_N "(cached) $ECHO_C" >&6
104368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104371 # Is the header compilable?
104372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104374 cat >conftest.$ac_ext <<_ACEOF
104375 /* confdefs.h. */
104376 _ACEOF
104377 cat confdefs.h >>conftest.$ac_ext
104378 cat >>conftest.$ac_ext <<_ACEOF
104379 /* end confdefs.h. */
104380 $ac_includes_default
104381 #include <$ac_header>
104382 _ACEOF
104383 rm -f conftest.$ac_objext
104384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104385 (eval $ac_compile) 2>conftest.er1
104386 ac_status=$?
104387 grep -v '^ *+' conftest.er1 >conftest.err
104388 rm -f conftest.er1
104389 cat conftest.err >&5
104390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104391 (exit $ac_status); } &&
104392 { ac_try='test -z "$ac_c_werror_flag"
104393 || test ! -s conftest.err'
104394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104395 (eval $ac_try) 2>&5
104396 ac_status=$?
104397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104398 (exit $ac_status); }; } &&
104399 { ac_try='test -s conftest.$ac_objext'
104400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104401 (eval $ac_try) 2>&5
104402 ac_status=$?
104403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104404 (exit $ac_status); }; }; then
104405 ac_header_compiler=yes
104407 echo "$as_me: failed program was:" >&5
104408 sed 's/^/| /' conftest.$ac_ext >&5
104410 ac_header_compiler=no
104412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104414 echo "${ECHO_T}$ac_header_compiler" >&6
104416 # Is the header present?
104417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104419 cat >conftest.$ac_ext <<_ACEOF
104420 /* confdefs.h. */
104421 _ACEOF
104422 cat confdefs.h >>conftest.$ac_ext
104423 cat >>conftest.$ac_ext <<_ACEOF
104424 /* end confdefs.h. */
104425 #include <$ac_header>
104426 _ACEOF
104427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104429 ac_status=$?
104430 grep -v '^ *+' conftest.er1 >conftest.err
104431 rm -f conftest.er1
104432 cat conftest.err >&5
104433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104434 (exit $ac_status); } >/dev/null; then
104435 if test -s conftest.err; then
104436 ac_cpp_err=$ac_c_preproc_warn_flag
104437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104439 ac_cpp_err=
104442 ac_cpp_err=yes
104444 if test -z "$ac_cpp_err"; then
104445 ac_header_preproc=yes
104447 echo "$as_me: failed program was:" >&5
104448 sed 's/^/| /' conftest.$ac_ext >&5
104450 ac_header_preproc=no
104452 rm -f conftest.err conftest.$ac_ext
104453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104454 echo "${ECHO_T}$ac_header_preproc" >&6
104456 # So? What about this header?
104457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104458 yes:no: )
104459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104463 ac_header_preproc=yes
104465 no:yes:* )
104466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104479 cat <<\_ASBOX
104480 ## ----------------------------------------- ##
104481 ## Report this to the package-unused lists. ##
104482 ## ----------------------------------------- ##
104483 _ASBOX
104485 sed "s/^/$as_me: WARNING: /" >&2
104488 echo "$as_me:$LINENO: checking for $ac_header" >&5
104489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104491 echo $ECHO_N "(cached) $ECHO_C" >&6
104493 eval "$as_ac_Header=\$ac_header_preproc"
104495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104500 cat >>confdefs.h <<_ACEOF
104501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104502 _ACEOF
104509 echo "$as_me:$LINENO: checking for poll" >&5
104510 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104511 if test "${glibcxx_cv_POLL+set}" = set; then
104512 echo $ECHO_N "(cached) $ECHO_C" >&6
104515 if test x$gcc_no_link = xyes; then
104516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104518 { (exit 1); exit 1; }; }
104520 cat >conftest.$ac_ext <<_ACEOF
104521 /* confdefs.h. */
104522 _ACEOF
104523 cat confdefs.h >>conftest.$ac_ext
104524 cat >>conftest.$ac_ext <<_ACEOF
104525 /* end confdefs.h. */
104526 #include <poll.h>
104528 main ()
104530 struct pollfd pfd[1];
104531 pfd[0].events = POLLIN;
104532 poll(pfd, 1, 0);
104534 return 0;
104536 _ACEOF
104537 rm -f conftest.$ac_objext conftest$ac_exeext
104538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104539 (eval $ac_link) 2>conftest.er1
104540 ac_status=$?
104541 grep -v '^ *+' conftest.er1 >conftest.err
104542 rm -f conftest.er1
104543 cat conftest.err >&5
104544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104545 (exit $ac_status); } &&
104546 { ac_try='test -z "$ac_c_werror_flag"
104547 || test ! -s conftest.err'
104548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549 (eval $ac_try) 2>&5
104550 ac_status=$?
104551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552 (exit $ac_status); }; } &&
104553 { ac_try='test -s conftest$ac_exeext'
104554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555 (eval $ac_try) 2>&5
104556 ac_status=$?
104557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558 (exit $ac_status); }; }; then
104559 glibcxx_cv_POLL=yes
104561 echo "$as_me: failed program was:" >&5
104562 sed 's/^/| /' conftest.$ac_ext >&5
104564 glibcxx_cv_POLL=no
104566 rm -f conftest.err conftest.$ac_objext \
104567 conftest$ac_exeext conftest.$ac_ext
104571 if test $glibcxx_cv_POLL = yes; then
104573 cat >>confdefs.h <<\_ACEOF
104574 #define HAVE_POLL 1
104575 _ACEOF
104578 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104579 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104582 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104583 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104584 if test "${glibcxx_cv_S_ISREG+set}" = set; then
104585 echo $ECHO_N "(cached) $ECHO_C" >&6
104588 if test x$gcc_no_link = xyes; then
104589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104591 { (exit 1); exit 1; }; }
104593 cat >conftest.$ac_ext <<_ACEOF
104594 /* confdefs.h. */
104595 _ACEOF
104596 cat confdefs.h >>conftest.$ac_ext
104597 cat >>conftest.$ac_ext <<_ACEOF
104598 /* end confdefs.h. */
104599 #include <sys/stat.h>
104601 main ()
104603 struct stat buffer;
104604 fstat(0, &buffer);
104605 S_ISREG(buffer.st_mode);
104607 return 0;
104609 _ACEOF
104610 rm -f conftest.$ac_objext conftest$ac_exeext
104611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104612 (eval $ac_link) 2>conftest.er1
104613 ac_status=$?
104614 grep -v '^ *+' conftest.er1 >conftest.err
104615 rm -f conftest.er1
104616 cat conftest.err >&5
104617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104618 (exit $ac_status); } &&
104619 { ac_try='test -z "$ac_c_werror_flag"
104620 || test ! -s conftest.err'
104621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104622 (eval $ac_try) 2>&5
104623 ac_status=$?
104624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104625 (exit $ac_status); }; } &&
104626 { ac_try='test -s conftest$ac_exeext'
104627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104628 (eval $ac_try) 2>&5
104629 ac_status=$?
104630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104631 (exit $ac_status); }; }; then
104632 glibcxx_cv_S_ISREG=yes
104634 echo "$as_me: failed program was:" >&5
104635 sed 's/^/| /' conftest.$ac_ext >&5
104637 glibcxx_cv_S_ISREG=no
104639 rm -f conftest.err conftest.$ac_objext \
104640 conftest$ac_exeext conftest.$ac_ext
104644 if test "${glibcxx_cv_S_IFREG+set}" = set; then
104645 echo $ECHO_N "(cached) $ECHO_C" >&6
104648 if test x$gcc_no_link = xyes; then
104649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104651 { (exit 1); exit 1; }; }
104653 cat >conftest.$ac_ext <<_ACEOF
104654 /* confdefs.h. */
104655 _ACEOF
104656 cat confdefs.h >>conftest.$ac_ext
104657 cat >>conftest.$ac_ext <<_ACEOF
104658 /* end confdefs.h. */
104659 #include <sys/stat.h>
104661 main ()
104663 struct stat buffer;
104664 fstat(0, &buffer);
104665 S_IFREG & buffer.st_mode;
104667 return 0;
104669 _ACEOF
104670 rm -f conftest.$ac_objext conftest$ac_exeext
104671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104672 (eval $ac_link) 2>conftest.er1
104673 ac_status=$?
104674 grep -v '^ *+' conftest.er1 >conftest.err
104675 rm -f conftest.er1
104676 cat conftest.err >&5
104677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104678 (exit $ac_status); } &&
104679 { ac_try='test -z "$ac_c_werror_flag"
104680 || test ! -s conftest.err'
104681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104682 (eval $ac_try) 2>&5
104683 ac_status=$?
104684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104685 (exit $ac_status); }; } &&
104686 { ac_try='test -s conftest$ac_exeext'
104687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104688 (eval $ac_try) 2>&5
104689 ac_status=$?
104690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104691 (exit $ac_status); }; }; then
104692 glibcxx_cv_S_IFREG=yes
104694 echo "$as_me: failed program was:" >&5
104695 sed 's/^/| /' conftest.$ac_ext >&5
104697 glibcxx_cv_S_IFREG=no
104699 rm -f conftest.err conftest.$ac_objext \
104700 conftest$ac_exeext conftest.$ac_ext
104704 res=no
104705 if test $glibcxx_cv_S_ISREG = yes; then
104707 cat >>confdefs.h <<\_ACEOF
104708 #define HAVE_S_ISREG 1
104709 _ACEOF
104711 res=S_ISREG
104712 elif test $glibcxx_cv_S_IFREG = yes; then
104714 cat >>confdefs.h <<\_ACEOF
104715 #define HAVE_S_IFREG 1
104716 _ACEOF
104718 res=S_IFREG
104720 echo "$as_me:$LINENO: result: $res" >&5
104721 echo "${ECHO_T}$res" >&6
104724 # For xsputn_2().
104726 for ac_header in sys/uio.h
104728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104730 echo "$as_me:$LINENO: checking for $ac_header" >&5
104731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104733 echo $ECHO_N "(cached) $ECHO_C" >&6
104735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104738 # Is the header compilable?
104739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104741 cat >conftest.$ac_ext <<_ACEOF
104742 /* confdefs.h. */
104743 _ACEOF
104744 cat confdefs.h >>conftest.$ac_ext
104745 cat >>conftest.$ac_ext <<_ACEOF
104746 /* end confdefs.h. */
104747 $ac_includes_default
104748 #include <$ac_header>
104749 _ACEOF
104750 rm -f conftest.$ac_objext
104751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104752 (eval $ac_compile) 2>conftest.er1
104753 ac_status=$?
104754 grep -v '^ *+' conftest.er1 >conftest.err
104755 rm -f conftest.er1
104756 cat conftest.err >&5
104757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104758 (exit $ac_status); } &&
104759 { ac_try='test -z "$ac_c_werror_flag"
104760 || test ! -s conftest.err'
104761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104762 (eval $ac_try) 2>&5
104763 ac_status=$?
104764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104765 (exit $ac_status); }; } &&
104766 { ac_try='test -s conftest.$ac_objext'
104767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104768 (eval $ac_try) 2>&5
104769 ac_status=$?
104770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104771 (exit $ac_status); }; }; then
104772 ac_header_compiler=yes
104774 echo "$as_me: failed program was:" >&5
104775 sed 's/^/| /' conftest.$ac_ext >&5
104777 ac_header_compiler=no
104779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104781 echo "${ECHO_T}$ac_header_compiler" >&6
104783 # Is the header present?
104784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104786 cat >conftest.$ac_ext <<_ACEOF
104787 /* confdefs.h. */
104788 _ACEOF
104789 cat confdefs.h >>conftest.$ac_ext
104790 cat >>conftest.$ac_ext <<_ACEOF
104791 /* end confdefs.h. */
104792 #include <$ac_header>
104793 _ACEOF
104794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104796 ac_status=$?
104797 grep -v '^ *+' conftest.er1 >conftest.err
104798 rm -f conftest.er1
104799 cat conftest.err >&5
104800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104801 (exit $ac_status); } >/dev/null; then
104802 if test -s conftest.err; then
104803 ac_cpp_err=$ac_c_preproc_warn_flag
104804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104806 ac_cpp_err=
104809 ac_cpp_err=yes
104811 if test -z "$ac_cpp_err"; then
104812 ac_header_preproc=yes
104814 echo "$as_me: failed program was:" >&5
104815 sed 's/^/| /' conftest.$ac_ext >&5
104817 ac_header_preproc=no
104819 rm -f conftest.err conftest.$ac_ext
104820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104821 echo "${ECHO_T}$ac_header_preproc" >&6
104823 # So? What about this header?
104824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104825 yes:no: )
104826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104830 ac_header_preproc=yes
104832 no:yes:* )
104833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104846 cat <<\_ASBOX
104847 ## ----------------------------------------- ##
104848 ## Report this to the package-unused lists. ##
104849 ## ----------------------------------------- ##
104850 _ASBOX
104852 sed "s/^/$as_me: WARNING: /" >&2
104855 echo "$as_me:$LINENO: checking for $ac_header" >&5
104856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104858 echo $ECHO_N "(cached) $ECHO_C" >&6
104860 eval "$as_ac_Header=\$ac_header_preproc"
104862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104867 cat >>confdefs.h <<_ACEOF
104868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104869 _ACEOF
104876 echo "$as_me:$LINENO: checking for writev" >&5
104877 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104878 if test "${glibcxx_cv_WRITEV+set}" = set; then
104879 echo $ECHO_N "(cached) $ECHO_C" >&6
104882 if test x$gcc_no_link = xyes; then
104883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104885 { (exit 1); exit 1; }; }
104887 cat >conftest.$ac_ext <<_ACEOF
104888 /* confdefs.h. */
104889 _ACEOF
104890 cat confdefs.h >>conftest.$ac_ext
104891 cat >>conftest.$ac_ext <<_ACEOF
104892 /* end confdefs.h. */
104893 #include <sys/uio.h>
104895 main ()
104897 struct iovec iov[2];
104898 writev(0, iov, 0);
104900 return 0;
104902 _ACEOF
104903 rm -f conftest.$ac_objext conftest$ac_exeext
104904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104905 (eval $ac_link) 2>conftest.er1
104906 ac_status=$?
104907 grep -v '^ *+' conftest.er1 >conftest.err
104908 rm -f conftest.er1
104909 cat conftest.err >&5
104910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104911 (exit $ac_status); } &&
104912 { ac_try='test -z "$ac_c_werror_flag"
104913 || test ! -s conftest.err'
104914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104915 (eval $ac_try) 2>&5
104916 ac_status=$?
104917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104918 (exit $ac_status); }; } &&
104919 { ac_try='test -s conftest$ac_exeext'
104920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104921 (eval $ac_try) 2>&5
104922 ac_status=$?
104923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104924 (exit $ac_status); }; }; then
104925 glibcxx_cv_WRITEV=yes
104927 echo "$as_me: failed program was:" >&5
104928 sed 's/^/| /' conftest.$ac_ext >&5
104930 glibcxx_cv_WRITEV=no
104932 rm -f conftest.err conftest.$ac_objext \
104933 conftest$ac_exeext conftest.$ac_ext
104937 if test $glibcxx_cv_WRITEV = yes; then
104939 cat >>confdefs.h <<\_ACEOF
104940 #define HAVE_WRITEV 1
104941 _ACEOF
104944 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104945 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104948 *-qnx6.1* | *-qnx6.2*)
104949 SECTION_FLAGS='-ffunction-sections -fdata-sections'
104952 # If we're not using GNU ld, then there's no point in even trying these
104953 # tests. Check for that first. We should have already tested for gld
104954 # by now (in libtool), but require it now just to be safe...
104955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104960 # The name set by libtool depends on the version of libtool. Shame on us
104961 # for depending on an impl detail, but c'est la vie. Older versions used
104962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
104965 # set (hence we're using an older libtool), then set it.
104966 if test x${with_gnu_ld+set} != xset; then
104967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
104968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
104969 with_gnu_ld=no
104971 with_gnu_ld=$ac_cv_prog_gnu_ld
104975 # Start by getting the version number. I think the libtool test already
104976 # does some of this, but throws away the result.
104977 echo "$as_me:$LINENO: checking for ld version" >&5
104978 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104980 ldver=`$LD --version 2>/dev/null | head -1 | \
104981 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
104983 glibcxx_gnu_ld_version=`echo $ldver | \
104984 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104985 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104986 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104988 # Set --gc-sections.
104989 glibcxx_gcsections_min_ld=21602
104990 if test x"$with_gnu_ld" = x"yes" &&
104991 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104993 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
104994 # NB: This flag only works reliably after 2.16.1. Configure tests
104995 # for this are difficult, so hard wire a value that should work.
104997 # All these tests are for C++, but run with the "C" compiler driver.
104998 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
104999 ac_test_CFLAGS="${CFLAGS+set}"
105000 ac_save_CFLAGS="$CFLAGS"
105001 CFLAGS='-x c++ -Wl,--gc-sections'
105003 # Check for -Wl,--gc-sections
105004 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105005 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105006 if test x$gcc_no_link = xyes; then
105007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105009 { (exit 1); exit 1; }; }
105011 cat >conftest.$ac_ext <<_ACEOF
105012 /* confdefs.h. */
105013 _ACEOF
105014 cat confdefs.h >>conftest.$ac_ext
105015 cat >>conftest.$ac_ext <<_ACEOF
105016 /* end confdefs.h. */
105017 int one(void) { return 1; }
105018 int two(void) { return 2; }
105021 main ()
105023 two();
105025 return 0;
105027 _ACEOF
105028 rm -f conftest.$ac_objext conftest$ac_exeext
105029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105030 (eval $ac_link) 2>conftest.er1
105031 ac_status=$?
105032 grep -v '^ *+' conftest.er1 >conftest.err
105033 rm -f conftest.er1
105034 cat conftest.err >&5
105035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105036 (exit $ac_status); } &&
105037 { ac_try='test -z "$ac_c_werror_flag"
105038 || test ! -s conftest.err'
105039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040 (eval $ac_try) 2>&5
105041 ac_status=$?
105042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043 (exit $ac_status); }; } &&
105044 { ac_try='test -s conftest$ac_exeext'
105045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105046 (eval $ac_try) 2>&5
105047 ac_status=$?
105048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105049 (exit $ac_status); }; }; then
105050 ac_gcsections=yes
105052 echo "$as_me: failed program was:" >&5
105053 sed 's/^/| /' conftest.$ac_ext >&5
105055 ac_gcsections=no
105057 rm -f conftest.err conftest.$ac_objext \
105058 conftest$ac_exeext conftest.$ac_ext
105059 if test "$ac_gcsections" = "yes"; then
105060 rm -f conftest.c
105061 touch conftest.c
105062 if $CC -c conftest.c; then
105063 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105064 grep "Warning: gc-sections option ignored" > /dev/null; then
105065 ac_gcsections=no
105068 rm -f conftest.c conftest.o conftest
105070 if test "$ac_gcsections" = "yes"; then
105071 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105073 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105074 echo "${ECHO_T}$ac_gcsections" >&6
105076 if test "$ac_test_CFLAGS" = set; then
105077 CFLAGS="$ac_save_CFLAGS"
105079 # this is the suspicious part
105080 CFLAGS=''
105084 # Set -z,relro.
105085 # Note this is only for shared objects.
105086 ac_ld_relro=no
105087 if test x"$with_gnu_ld" = x"yes"; then
105088 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105089 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105090 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105091 if test -n "$cxx_z_relo"; then
105092 OPT_LDFLAGS="-Wl,-z,relro"
105093 ac_ld_relro=yes
105095 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105096 echo "${ECHO_T}$ac_ld_relro" >&6
105099 # Set linker optimization flags.
105100 if test x"$with_gnu_ld" = x"yes"; then
105101 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105109 echo "$as_me:$LINENO: checking for main in -lm" >&5
105110 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
105111 if test "${ac_cv_lib_m_main+set}" = set; then
105112 echo $ECHO_N "(cached) $ECHO_C" >&6
105114 ac_check_lib_save_LIBS=$LIBS
105115 LIBS="-lm $LIBS"
105116 if test x$gcc_no_link = xyes; then
105117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105119 { (exit 1); exit 1; }; }
105121 cat >conftest.$ac_ext <<_ACEOF
105122 /* confdefs.h. */
105123 _ACEOF
105124 cat confdefs.h >>conftest.$ac_ext
105125 cat >>conftest.$ac_ext <<_ACEOF
105126 /* end confdefs.h. */
105130 main ()
105132 main ();
105134 return 0;
105136 _ACEOF
105137 rm -f conftest.$ac_objext conftest$ac_exeext
105138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105139 (eval $ac_link) 2>conftest.er1
105140 ac_status=$?
105141 grep -v '^ *+' conftest.er1 >conftest.err
105142 rm -f conftest.er1
105143 cat conftest.err >&5
105144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105145 (exit $ac_status); } &&
105146 { ac_try='test -z "$ac_c_werror_flag"
105147 || test ! -s conftest.err'
105148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105149 (eval $ac_try) 2>&5
105150 ac_status=$?
105151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105152 (exit $ac_status); }; } &&
105153 { ac_try='test -s conftest$ac_exeext'
105154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105155 (eval $ac_try) 2>&5
105156 ac_status=$?
105157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105158 (exit $ac_status); }; }; then
105159 ac_cv_lib_m_main=yes
105161 echo "$as_me: failed program was:" >&5
105162 sed 's/^/| /' conftest.$ac_ext >&5
105164 ac_cv_lib_m_main=no
105166 rm -f conftest.err conftest.$ac_objext \
105167 conftest$ac_exeext conftest.$ac_ext
105168 LIBS=$ac_check_lib_save_LIBS
105170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105171 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
105172 if test $ac_cv_lib_m_main = yes; then
105173 cat >>confdefs.h <<_ACEOF
105174 #define HAVE_LIBM 1
105175 _ACEOF
105177 LIBS="-lm $LIBS"
105182 for ac_func in copysignf
105184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105185 echo "$as_me:$LINENO: checking for $ac_func" >&5
105186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105187 if eval "test \"\${$as_ac_var+set}\" = set"; then
105188 echo $ECHO_N "(cached) $ECHO_C" >&6
105190 if test x$gcc_no_link = xyes; then
105191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105193 { (exit 1); exit 1; }; }
105195 cat >conftest.$ac_ext <<_ACEOF
105196 /* confdefs.h. */
105197 _ACEOF
105198 cat confdefs.h >>conftest.$ac_ext
105199 cat >>conftest.$ac_ext <<_ACEOF
105200 /* end confdefs.h. */
105201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105203 #define $ac_func innocuous_$ac_func
105205 /* System header to define __stub macros and hopefully few prototypes,
105206 which can conflict with char $ac_func (); below.
105207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105208 <limits.h> exists even on freestanding compilers. */
105210 #ifdef __STDC__
105211 # include <limits.h>
105212 #else
105213 # include <assert.h>
105214 #endif
105216 #undef $ac_func
105218 /* Override any gcc2 internal prototype to avoid an error. */
105219 #ifdef __cplusplus
105220 extern "C"
105222 #endif
105223 /* We use char because int might match the return type of a gcc2
105224 builtin and then its argument prototype would still apply. */
105225 char $ac_func ();
105226 /* The GNU C library defines this for functions which it implements
105227 to always fail with ENOSYS. Some functions are actually named
105228 something starting with __ and the normal name is an alias. */
105229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105230 choke me
105231 #else
105232 char (*f) () = $ac_func;
105233 #endif
105234 #ifdef __cplusplus
105236 #endif
105239 main ()
105241 return f != $ac_func;
105243 return 0;
105245 _ACEOF
105246 rm -f conftest.$ac_objext conftest$ac_exeext
105247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105248 (eval $ac_link) 2>conftest.er1
105249 ac_status=$?
105250 grep -v '^ *+' conftest.er1 >conftest.err
105251 rm -f conftest.er1
105252 cat conftest.err >&5
105253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105254 (exit $ac_status); } &&
105255 { ac_try='test -z "$ac_c_werror_flag"
105256 || test ! -s conftest.err'
105257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105258 (eval $ac_try) 2>&5
105259 ac_status=$?
105260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105261 (exit $ac_status); }; } &&
105262 { ac_try='test -s conftest$ac_exeext'
105263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105264 (eval $ac_try) 2>&5
105265 ac_status=$?
105266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105267 (exit $ac_status); }; }; then
105268 eval "$as_ac_var=yes"
105270 echo "$as_me: failed program was:" >&5
105271 sed 's/^/| /' conftest.$ac_ext >&5
105273 eval "$as_ac_var=no"
105275 rm -f conftest.err conftest.$ac_objext \
105276 conftest$ac_exeext conftest.$ac_ext
105278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105280 if test `eval echo '${'$as_ac_var'}'` = yes; then
105281 cat >>confdefs.h <<_ACEOF
105282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105283 _ACEOF
105286 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105292 for ac_func in __signbit
105294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105295 echo "$as_me:$LINENO: checking for $ac_func" >&5
105296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105297 if eval "test \"\${$as_ac_var+set}\" = set"; then
105298 echo $ECHO_N "(cached) $ECHO_C" >&6
105300 if test x$gcc_no_link = xyes; then
105301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105303 { (exit 1); exit 1; }; }
105305 cat >conftest.$ac_ext <<_ACEOF
105306 /* confdefs.h. */
105307 _ACEOF
105308 cat confdefs.h >>conftest.$ac_ext
105309 cat >>conftest.$ac_ext <<_ACEOF
105310 /* end confdefs.h. */
105311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105313 #define $ac_func innocuous_$ac_func
105315 /* System header to define __stub macros and hopefully few prototypes,
105316 which can conflict with char $ac_func (); below.
105317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105318 <limits.h> exists even on freestanding compilers. */
105320 #ifdef __STDC__
105321 # include <limits.h>
105322 #else
105323 # include <assert.h>
105324 #endif
105326 #undef $ac_func
105328 /* Override any gcc2 internal prototype to avoid an error. */
105329 #ifdef __cplusplus
105330 extern "C"
105332 #endif
105333 /* We use char because int might match the return type of a gcc2
105334 builtin and then its argument prototype would still apply. */
105335 char $ac_func ();
105336 /* The GNU C library defines this for functions which it implements
105337 to always fail with ENOSYS. Some functions are actually named
105338 something starting with __ and the normal name is an alias. */
105339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105340 choke me
105341 #else
105342 char (*f) () = $ac_func;
105343 #endif
105344 #ifdef __cplusplus
105346 #endif
105349 main ()
105351 return f != $ac_func;
105353 return 0;
105355 _ACEOF
105356 rm -f conftest.$ac_objext conftest$ac_exeext
105357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105358 (eval $ac_link) 2>conftest.er1
105359 ac_status=$?
105360 grep -v '^ *+' conftest.er1 >conftest.err
105361 rm -f conftest.er1
105362 cat conftest.err >&5
105363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105364 (exit $ac_status); } &&
105365 { ac_try='test -z "$ac_c_werror_flag"
105366 || test ! -s conftest.err'
105367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105368 (eval $ac_try) 2>&5
105369 ac_status=$?
105370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371 (exit $ac_status); }; } &&
105372 { ac_try='test -s conftest$ac_exeext'
105373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105374 (eval $ac_try) 2>&5
105375 ac_status=$?
105376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105377 (exit $ac_status); }; }; then
105378 eval "$as_ac_var=yes"
105380 echo "$as_me: failed program was:" >&5
105381 sed 's/^/| /' conftest.$ac_ext >&5
105383 eval "$as_ac_var=no"
105385 rm -f conftest.err conftest.$ac_objext \
105386 conftest$ac_exeext conftest.$ac_ext
105388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105390 if test `eval echo '${'$as_ac_var'}'` = yes; then
105391 cat >>confdefs.h <<_ACEOF
105392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105393 _ACEOF
105396 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105402 for ac_func in __signbitf
105404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105405 echo "$as_me:$LINENO: checking for $ac_func" >&5
105406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105407 if eval "test \"\${$as_ac_var+set}\" = set"; then
105408 echo $ECHO_N "(cached) $ECHO_C" >&6
105410 if test x$gcc_no_link = xyes; then
105411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105413 { (exit 1); exit 1; }; }
105415 cat >conftest.$ac_ext <<_ACEOF
105416 /* confdefs.h. */
105417 _ACEOF
105418 cat confdefs.h >>conftest.$ac_ext
105419 cat >>conftest.$ac_ext <<_ACEOF
105420 /* end confdefs.h. */
105421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105423 #define $ac_func innocuous_$ac_func
105425 /* System header to define __stub macros and hopefully few prototypes,
105426 which can conflict with char $ac_func (); below.
105427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105428 <limits.h> exists even on freestanding compilers. */
105430 #ifdef __STDC__
105431 # include <limits.h>
105432 #else
105433 # include <assert.h>
105434 #endif
105436 #undef $ac_func
105438 /* Override any gcc2 internal prototype to avoid an error. */
105439 #ifdef __cplusplus
105440 extern "C"
105442 #endif
105443 /* We use char because int might match the return type of a gcc2
105444 builtin and then its argument prototype would still apply. */
105445 char $ac_func ();
105446 /* The GNU C library defines this for functions which it implements
105447 to always fail with ENOSYS. Some functions are actually named
105448 something starting with __ and the normal name is an alias. */
105449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105450 choke me
105451 #else
105452 char (*f) () = $ac_func;
105453 #endif
105454 #ifdef __cplusplus
105456 #endif
105459 main ()
105461 return f != $ac_func;
105463 return 0;
105465 _ACEOF
105466 rm -f conftest.$ac_objext conftest$ac_exeext
105467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105468 (eval $ac_link) 2>conftest.er1
105469 ac_status=$?
105470 grep -v '^ *+' conftest.er1 >conftest.err
105471 rm -f conftest.er1
105472 cat conftest.err >&5
105473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105474 (exit $ac_status); } &&
105475 { ac_try='test -z "$ac_c_werror_flag"
105476 || test ! -s conftest.err'
105477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105478 (eval $ac_try) 2>&5
105479 ac_status=$?
105480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105481 (exit $ac_status); }; } &&
105482 { ac_try='test -s conftest$ac_exeext'
105483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105484 (eval $ac_try) 2>&5
105485 ac_status=$?
105486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105487 (exit $ac_status); }; }; then
105488 eval "$as_ac_var=yes"
105490 echo "$as_me: failed program was:" >&5
105491 sed 's/^/| /' conftest.$ac_ext >&5
105493 eval "$as_ac_var=no"
105495 rm -f conftest.err conftest.$ac_objext \
105496 conftest$ac_exeext conftest.$ac_ext
105498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105500 if test `eval echo '${'$as_ac_var'}'` = yes; then
105501 cat >>confdefs.h <<_ACEOF
105502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105503 _ACEOF
105506 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105511 if test x$ac_cv_func_copysignl = x"yes"; then
105513 for ac_func in __signbitl
105515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105516 echo "$as_me:$LINENO: checking for $ac_func" >&5
105517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105518 if eval "test \"\${$as_ac_var+set}\" = set"; then
105519 echo $ECHO_N "(cached) $ECHO_C" >&6
105521 if test x$gcc_no_link = xyes; then
105522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105524 { (exit 1); exit 1; }; }
105526 cat >conftest.$ac_ext <<_ACEOF
105527 /* confdefs.h. */
105528 _ACEOF
105529 cat confdefs.h >>conftest.$ac_ext
105530 cat >>conftest.$ac_ext <<_ACEOF
105531 /* end confdefs.h. */
105532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105534 #define $ac_func innocuous_$ac_func
105536 /* System header to define __stub macros and hopefully few prototypes,
105537 which can conflict with char $ac_func (); below.
105538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105539 <limits.h> exists even on freestanding compilers. */
105541 #ifdef __STDC__
105542 # include <limits.h>
105543 #else
105544 # include <assert.h>
105545 #endif
105547 #undef $ac_func
105549 /* Override any gcc2 internal prototype to avoid an error. */
105550 #ifdef __cplusplus
105551 extern "C"
105553 #endif
105554 /* We use char because int might match the return type of a gcc2
105555 builtin and then its argument prototype would still apply. */
105556 char $ac_func ();
105557 /* The GNU C library defines this for functions which it implements
105558 to always fail with ENOSYS. Some functions are actually named
105559 something starting with __ and the normal name is an alias. */
105560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105561 choke me
105562 #else
105563 char (*f) () = $ac_func;
105564 #endif
105565 #ifdef __cplusplus
105567 #endif
105570 main ()
105572 return f != $ac_func;
105574 return 0;
105576 _ACEOF
105577 rm -f conftest.$ac_objext conftest$ac_exeext
105578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105579 (eval $ac_link) 2>conftest.er1
105580 ac_status=$?
105581 grep -v '^ *+' conftest.er1 >conftest.err
105582 rm -f conftest.er1
105583 cat conftest.err >&5
105584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105585 (exit $ac_status); } &&
105586 { ac_try='test -z "$ac_c_werror_flag"
105587 || test ! -s conftest.err'
105588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105589 (eval $ac_try) 2>&5
105590 ac_status=$?
105591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105592 (exit $ac_status); }; } &&
105593 { ac_try='test -s conftest$ac_exeext'
105594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105595 (eval $ac_try) 2>&5
105596 ac_status=$?
105597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105598 (exit $ac_status); }; }; then
105599 eval "$as_ac_var=yes"
105601 echo "$as_me: failed program was:" >&5
105602 sed 's/^/| /' conftest.$ac_ext >&5
105604 eval "$as_ac_var=no"
105606 rm -f conftest.err conftest.$ac_objext \
105607 conftest$ac_exeext conftest.$ac_ext
105609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105611 if test `eval echo '${'$as_ac_var'}'` = yes; then
105612 cat >>confdefs.h <<_ACEOF
105613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105614 _ACEOF
105617 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105623 # Used in libmath/Makefile.am.
105624 if test -n "$LIBMATHOBJS"; then
105625 need_libmath=yes
105631 enable_iconv=no
105632 # Only continue checking if the ISO C99 headers exist and support is on.
105633 if test x"$enable_wchar_t" = xyes; then
105635 # Use iconv for wchar_t to char conversions. As such, check for
105636 # X/Open Portability Guide, version 2 features (XPG2).
105637 if test "${ac_cv_header_iconv_h+set}" = set; then
105638 echo "$as_me:$LINENO: checking for iconv.h" >&5
105639 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105640 if test "${ac_cv_header_iconv_h+set}" = set; then
105641 echo $ECHO_N "(cached) $ECHO_C" >&6
105643 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105644 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105646 # Is the header compilable?
105647 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105648 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105649 cat >conftest.$ac_ext <<_ACEOF
105650 /* confdefs.h. */
105651 _ACEOF
105652 cat confdefs.h >>conftest.$ac_ext
105653 cat >>conftest.$ac_ext <<_ACEOF
105654 /* end confdefs.h. */
105655 $ac_includes_default
105656 #include <iconv.h>
105657 _ACEOF
105658 rm -f conftest.$ac_objext
105659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105660 (eval $ac_compile) 2>conftest.er1
105661 ac_status=$?
105662 grep -v '^ *+' conftest.er1 >conftest.err
105663 rm -f conftest.er1
105664 cat conftest.err >&5
105665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105666 (exit $ac_status); } &&
105667 { ac_try='test -z "$ac_c_werror_flag"
105668 || test ! -s conftest.err'
105669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105670 (eval $ac_try) 2>&5
105671 ac_status=$?
105672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105673 (exit $ac_status); }; } &&
105674 { ac_try='test -s conftest.$ac_objext'
105675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105676 (eval $ac_try) 2>&5
105677 ac_status=$?
105678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105679 (exit $ac_status); }; }; then
105680 ac_header_compiler=yes
105682 echo "$as_me: failed program was:" >&5
105683 sed 's/^/| /' conftest.$ac_ext >&5
105685 ac_header_compiler=no
105687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105689 echo "${ECHO_T}$ac_header_compiler" >&6
105691 # Is the header present?
105692 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105693 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105694 cat >conftest.$ac_ext <<_ACEOF
105695 /* confdefs.h. */
105696 _ACEOF
105697 cat confdefs.h >>conftest.$ac_ext
105698 cat >>conftest.$ac_ext <<_ACEOF
105699 /* end confdefs.h. */
105700 #include <iconv.h>
105701 _ACEOF
105702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105704 ac_status=$?
105705 grep -v '^ *+' conftest.er1 >conftest.err
105706 rm -f conftest.er1
105707 cat conftest.err >&5
105708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105709 (exit $ac_status); } >/dev/null; then
105710 if test -s conftest.err; then
105711 ac_cpp_err=$ac_c_preproc_warn_flag
105712 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105714 ac_cpp_err=
105717 ac_cpp_err=yes
105719 if test -z "$ac_cpp_err"; then
105720 ac_header_preproc=yes
105722 echo "$as_me: failed program was:" >&5
105723 sed 's/^/| /' conftest.$ac_ext >&5
105725 ac_header_preproc=no
105727 rm -f conftest.err conftest.$ac_ext
105728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105729 echo "${ECHO_T}$ac_header_preproc" >&6
105731 # So? What about this header?
105732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105733 yes:no: )
105734 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105735 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105736 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105737 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105738 ac_header_preproc=yes
105740 no:yes:* )
105741 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105742 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105743 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105744 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105745 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105746 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105747 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105748 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105749 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105750 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105751 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105752 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105754 cat <<\_ASBOX
105755 ## ----------------------------------------- ##
105756 ## Report this to the package-unused lists. ##
105757 ## ----------------------------------------- ##
105758 _ASBOX
105760 sed "s/^/$as_me: WARNING: /" >&2
105763 echo "$as_me:$LINENO: checking for iconv.h" >&5
105764 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105765 if test "${ac_cv_header_iconv_h+set}" = set; then
105766 echo $ECHO_N "(cached) $ECHO_C" >&6
105768 ac_cv_header_iconv_h=$ac_header_preproc
105770 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105771 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105774 if test $ac_cv_header_iconv_h = yes; then
105775 ac_has_iconv_h=yes
105777 ac_has_iconv_h=no
105781 if test "${ac_cv_header_langinfo_h+set}" = set; then
105782 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105783 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105784 if test "${ac_cv_header_langinfo_h+set}" = set; then
105785 echo $ECHO_N "(cached) $ECHO_C" >&6
105787 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105788 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105790 # Is the header compilable?
105791 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105792 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105793 cat >conftest.$ac_ext <<_ACEOF
105794 /* confdefs.h. */
105795 _ACEOF
105796 cat confdefs.h >>conftest.$ac_ext
105797 cat >>conftest.$ac_ext <<_ACEOF
105798 /* end confdefs.h. */
105799 $ac_includes_default
105800 #include <langinfo.h>
105801 _ACEOF
105802 rm -f conftest.$ac_objext
105803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105804 (eval $ac_compile) 2>conftest.er1
105805 ac_status=$?
105806 grep -v '^ *+' conftest.er1 >conftest.err
105807 rm -f conftest.er1
105808 cat conftest.err >&5
105809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105810 (exit $ac_status); } &&
105811 { ac_try='test -z "$ac_c_werror_flag"
105812 || test ! -s conftest.err'
105813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105814 (eval $ac_try) 2>&5
105815 ac_status=$?
105816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105817 (exit $ac_status); }; } &&
105818 { ac_try='test -s conftest.$ac_objext'
105819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105820 (eval $ac_try) 2>&5
105821 ac_status=$?
105822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105823 (exit $ac_status); }; }; then
105824 ac_header_compiler=yes
105826 echo "$as_me: failed program was:" >&5
105827 sed 's/^/| /' conftest.$ac_ext >&5
105829 ac_header_compiler=no
105831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105833 echo "${ECHO_T}$ac_header_compiler" >&6
105835 # Is the header present?
105836 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105837 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105838 cat >conftest.$ac_ext <<_ACEOF
105839 /* confdefs.h. */
105840 _ACEOF
105841 cat confdefs.h >>conftest.$ac_ext
105842 cat >>conftest.$ac_ext <<_ACEOF
105843 /* end confdefs.h. */
105844 #include <langinfo.h>
105845 _ACEOF
105846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105848 ac_status=$?
105849 grep -v '^ *+' conftest.er1 >conftest.err
105850 rm -f conftest.er1
105851 cat conftest.err >&5
105852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105853 (exit $ac_status); } >/dev/null; then
105854 if test -s conftest.err; then
105855 ac_cpp_err=$ac_c_preproc_warn_flag
105856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105858 ac_cpp_err=
105861 ac_cpp_err=yes
105863 if test -z "$ac_cpp_err"; then
105864 ac_header_preproc=yes
105866 echo "$as_me: failed program was:" >&5
105867 sed 's/^/| /' conftest.$ac_ext >&5
105869 ac_header_preproc=no
105871 rm -f conftest.err conftest.$ac_ext
105872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105873 echo "${ECHO_T}$ac_header_preproc" >&6
105875 # So? What about this header?
105876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105877 yes:no: )
105878 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105879 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105880 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105881 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105882 ac_header_preproc=yes
105884 no:yes:* )
105885 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105886 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105887 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
105888 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
105889 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105890 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105891 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
105892 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
105893 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105894 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105895 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105896 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105898 cat <<\_ASBOX
105899 ## ----------------------------------------- ##
105900 ## Report this to the package-unused lists. ##
105901 ## ----------------------------------------- ##
105902 _ASBOX
105904 sed "s/^/$as_me: WARNING: /" >&2
105907 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105908 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105909 if test "${ac_cv_header_langinfo_h+set}" = set; then
105910 echo $ECHO_N "(cached) $ECHO_C" >&6
105912 ac_cv_header_langinfo_h=$ac_header_preproc
105914 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105915 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105918 if test $ac_cv_header_langinfo_h = yes; then
105919 ac_has_langinfo_h=yes
105921 ac_has_langinfo_h=no
105926 # Check for existence of libiconv.a providing XPG2 wchar_t support.
105927 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105928 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105929 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105930 echo $ECHO_N "(cached) $ECHO_C" >&6
105932 ac_check_lib_save_LIBS=$LIBS
105933 LIBS="-liconv $LIBS"
105934 if test x$gcc_no_link = xyes; then
105935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105937 { (exit 1); exit 1; }; }
105939 cat >conftest.$ac_ext <<_ACEOF
105940 /* confdefs.h. */
105941 _ACEOF
105942 cat confdefs.h >>conftest.$ac_ext
105943 cat >>conftest.$ac_ext <<_ACEOF
105944 /* end confdefs.h. */
105946 /* Override any gcc2 internal prototype to avoid an error. */
105947 #ifdef __cplusplus
105948 extern "C"
105949 #endif
105950 /* We use char because int might match the return type of a gcc2
105951 builtin and then its argument prototype would still apply. */
105952 char iconv ();
105954 main ()
105956 iconv ();
105958 return 0;
105960 _ACEOF
105961 rm -f conftest.$ac_objext conftest$ac_exeext
105962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105963 (eval $ac_link) 2>conftest.er1
105964 ac_status=$?
105965 grep -v '^ *+' conftest.er1 >conftest.err
105966 rm -f conftest.er1
105967 cat conftest.err >&5
105968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105969 (exit $ac_status); } &&
105970 { ac_try='test -z "$ac_c_werror_flag"
105971 || test ! -s conftest.err'
105972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105973 (eval $ac_try) 2>&5
105974 ac_status=$?
105975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105976 (exit $ac_status); }; } &&
105977 { ac_try='test -s conftest$ac_exeext'
105978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105979 (eval $ac_try) 2>&5
105980 ac_status=$?
105981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105982 (exit $ac_status); }; }; then
105983 ac_cv_lib_iconv_iconv=yes
105985 echo "$as_me: failed program was:" >&5
105986 sed 's/^/| /' conftest.$ac_ext >&5
105988 ac_cv_lib_iconv_iconv=no
105990 rm -f conftest.err conftest.$ac_objext \
105991 conftest$ac_exeext conftest.$ac_ext
105992 LIBS=$ac_check_lib_save_LIBS
105994 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105995 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105996 if test $ac_cv_lib_iconv_iconv = yes; then
105997 LIBICONV="-liconv"
106000 ac_save_LIBS="$LIBS"
106001 LIBS="$LIBS $LIBICONV"
106008 for ac_func in iconv_open iconv_close iconv nl_langinfo
106010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106011 echo "$as_me:$LINENO: checking for $ac_func" >&5
106012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106013 if eval "test \"\${$as_ac_var+set}\" = set"; then
106014 echo $ECHO_N "(cached) $ECHO_C" >&6
106016 if test x$gcc_no_link = xyes; then
106017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106019 { (exit 1); exit 1; }; }
106021 cat >conftest.$ac_ext <<_ACEOF
106022 /* confdefs.h. */
106023 _ACEOF
106024 cat confdefs.h >>conftest.$ac_ext
106025 cat >>conftest.$ac_ext <<_ACEOF
106026 /* end confdefs.h. */
106027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106029 #define $ac_func innocuous_$ac_func
106031 /* System header to define __stub macros and hopefully few prototypes,
106032 which can conflict with char $ac_func (); below.
106033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106034 <limits.h> exists even on freestanding compilers. */
106036 #ifdef __STDC__
106037 # include <limits.h>
106038 #else
106039 # include <assert.h>
106040 #endif
106042 #undef $ac_func
106044 /* Override any gcc2 internal prototype to avoid an error. */
106045 #ifdef __cplusplus
106046 extern "C"
106048 #endif
106049 /* We use char because int might match the return type of a gcc2
106050 builtin and then its argument prototype would still apply. */
106051 char $ac_func ();
106052 /* The GNU C library defines this for functions which it implements
106053 to always fail with ENOSYS. Some functions are actually named
106054 something starting with __ and the normal name is an alias. */
106055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106056 choke me
106057 #else
106058 char (*f) () = $ac_func;
106059 #endif
106060 #ifdef __cplusplus
106062 #endif
106065 main ()
106067 return f != $ac_func;
106069 return 0;
106071 _ACEOF
106072 rm -f conftest.$ac_objext conftest$ac_exeext
106073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106074 (eval $ac_link) 2>conftest.er1
106075 ac_status=$?
106076 grep -v '^ *+' conftest.er1 >conftest.err
106077 rm -f conftest.er1
106078 cat conftest.err >&5
106079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106080 (exit $ac_status); } &&
106081 { ac_try='test -z "$ac_c_werror_flag"
106082 || test ! -s conftest.err'
106083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106084 (eval $ac_try) 2>&5
106085 ac_status=$?
106086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106087 (exit $ac_status); }; } &&
106088 { ac_try='test -s conftest$ac_exeext'
106089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106090 (eval $ac_try) 2>&5
106091 ac_status=$?
106092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106093 (exit $ac_status); }; }; then
106094 eval "$as_ac_var=yes"
106096 echo "$as_me: failed program was:" >&5
106097 sed 's/^/| /' conftest.$ac_ext >&5
106099 eval "$as_ac_var=no"
106101 rm -f conftest.err conftest.$ac_objext \
106102 conftest$ac_exeext conftest.$ac_ext
106104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106106 if test `eval echo '${'$as_ac_var'}'` = yes; then
106107 cat >>confdefs.h <<_ACEOF
106108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106109 _ACEOF
106110 ac_XPG2funcs=yes
106112 ac_XPG2funcs=no
106117 LIBS="$ac_save_LIBS"
106119 if test x"$ac_has_iconv_h" = xyes &&
106120 test x"$ac_has_langinfo_h" = xyes &&
106121 test x"$ac_XPG2funcs" = xyes;
106124 cat >>confdefs.h <<\_ACEOF
106125 #define _GLIBCXX_USE_ICONV 1
106126 _ACEOF
106128 enable_iconv=yes
106131 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106132 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106133 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106134 echo "${ECHO_T}$enable_iconv" >&6
106136 cat >>confdefs.h <<\_ACEOF
106137 #define HAVE_COSF 1
106138 _ACEOF
106140 cat >>confdefs.h <<\_ACEOF
106141 #define HAVE_COSL 1
106142 _ACEOF
106144 cat >>confdefs.h <<\_ACEOF
106145 #define HAVE_COSHF 1
106146 _ACEOF
106148 cat >>confdefs.h <<\_ACEOF
106149 #define HAVE_COSHL 1
106150 _ACEOF
106152 cat >>confdefs.h <<\_ACEOF
106153 #define HAVE_LOGF 1
106154 _ACEOF
106156 cat >>confdefs.h <<\_ACEOF
106157 #define HAVE_LOGL 1
106158 _ACEOF
106160 cat >>confdefs.h <<\_ACEOF
106161 #define HAVE_LOG10F 1
106162 _ACEOF
106164 cat >>confdefs.h <<\_ACEOF
106165 #define HAVE_LOG10L 1
106166 _ACEOF
106168 cat >>confdefs.h <<\_ACEOF
106169 #define HAVE_SINF 1
106170 _ACEOF
106172 cat >>confdefs.h <<\_ACEOF
106173 #define HAVE_SINL 1
106174 _ACEOF
106176 cat >>confdefs.h <<\_ACEOF
106177 #define HAVE_SINHF 1
106178 _ACEOF
106180 cat >>confdefs.h <<\_ACEOF
106181 #define HAVE_SINHL 1
106182 _ACEOF
106185 *-solaris*)
106186 case "$target" in
106187 # *-solaris2.5)
106188 # os_include_dir="os/solaris/solaris2.5"
106190 # *-solaris2.6)
106191 # os_include_dir="os/solaris/solaris2.6"
106193 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
106194 cat >>confdefs.h <<\_ACEOF
106195 #define HAVE_GETPAGESIZE 1
106196 _ACEOF
106198 cat >>confdefs.h <<\_ACEOF
106199 #define HAVE_SIGSETJMP 1
106200 _ACEOF
106202 cat >>confdefs.h <<\_ACEOF
106203 #define HAVE_MBSTATE_T 1
106204 _ACEOF
106206 cat >>confdefs.h <<\_ACEOF
106207 #define HAVE_POLL 1
106208 _ACEOF
106210 cat >>confdefs.h <<\_ACEOF
106211 #define HAVE_S_ISREG 1
106212 _ACEOF
106214 cat >>confdefs.h <<\_ACEOF
106215 #define HAVE_LC_MESSAGES 1
106216 _ACEOF
106218 cat >>confdefs.h <<\_ACEOF
106219 #define HAVE_FINITE 1
106220 _ACEOF
106222 cat >>confdefs.h <<\_ACEOF
106223 #define HAVE_FPCLASS 1
106224 _ACEOF
106226 cat >>confdefs.h <<\_ACEOF
106227 #define HAVE_GETPAGESIZE 1
106228 _ACEOF
106230 cat >>confdefs.h <<\_ACEOF
106231 #define HAVE_NL_LANGINFO 1
106232 _ACEOF
106234 cat >>confdefs.h <<\_ACEOF
106235 #define HAVE_ICONV 1
106236 _ACEOF
106238 cat >>confdefs.h <<\_ACEOF
106239 #define HAVE_ICONV_CLOSE 1
106240 _ACEOF
106242 cat >>confdefs.h <<\_ACEOF
106243 #define HAVE_ICONV_OPEN 1
106244 _ACEOF
106246 # Look for the pieces required for wchar_t support in order to
106247 # get all the right HAVE_* macros defined.
106250 enable_iconv=no
106251 # Only continue checking if the ISO C99 headers exist and support is on.
106252 if test x"$enable_wchar_t" = xyes; then
106254 # Use iconv for wchar_t to char conversions. As such, check for
106255 # X/Open Portability Guide, version 2 features (XPG2).
106256 if test "${ac_cv_header_iconv_h+set}" = set; then
106257 echo "$as_me:$LINENO: checking for iconv.h" >&5
106258 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106259 if test "${ac_cv_header_iconv_h+set}" = set; then
106260 echo $ECHO_N "(cached) $ECHO_C" >&6
106262 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106263 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106265 # Is the header compilable?
106266 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106267 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106268 cat >conftest.$ac_ext <<_ACEOF
106269 /* confdefs.h. */
106270 _ACEOF
106271 cat confdefs.h >>conftest.$ac_ext
106272 cat >>conftest.$ac_ext <<_ACEOF
106273 /* end confdefs.h. */
106274 $ac_includes_default
106275 #include <iconv.h>
106276 _ACEOF
106277 rm -f conftest.$ac_objext
106278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106279 (eval $ac_compile) 2>conftest.er1
106280 ac_status=$?
106281 grep -v '^ *+' conftest.er1 >conftest.err
106282 rm -f conftest.er1
106283 cat conftest.err >&5
106284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106285 (exit $ac_status); } &&
106286 { ac_try='test -z "$ac_c_werror_flag"
106287 || test ! -s conftest.err'
106288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106289 (eval $ac_try) 2>&5
106290 ac_status=$?
106291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106292 (exit $ac_status); }; } &&
106293 { ac_try='test -s conftest.$ac_objext'
106294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106295 (eval $ac_try) 2>&5
106296 ac_status=$?
106297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106298 (exit $ac_status); }; }; then
106299 ac_header_compiler=yes
106301 echo "$as_me: failed program was:" >&5
106302 sed 's/^/| /' conftest.$ac_ext >&5
106304 ac_header_compiler=no
106306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106308 echo "${ECHO_T}$ac_header_compiler" >&6
106310 # Is the header present?
106311 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106312 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106313 cat >conftest.$ac_ext <<_ACEOF
106314 /* confdefs.h. */
106315 _ACEOF
106316 cat confdefs.h >>conftest.$ac_ext
106317 cat >>conftest.$ac_ext <<_ACEOF
106318 /* end confdefs.h. */
106319 #include <iconv.h>
106320 _ACEOF
106321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106323 ac_status=$?
106324 grep -v '^ *+' conftest.er1 >conftest.err
106325 rm -f conftest.er1
106326 cat conftest.err >&5
106327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106328 (exit $ac_status); } >/dev/null; then
106329 if test -s conftest.err; then
106330 ac_cpp_err=$ac_c_preproc_warn_flag
106331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106333 ac_cpp_err=
106336 ac_cpp_err=yes
106338 if test -z "$ac_cpp_err"; then
106339 ac_header_preproc=yes
106341 echo "$as_me: failed program was:" >&5
106342 sed 's/^/| /' conftest.$ac_ext >&5
106344 ac_header_preproc=no
106346 rm -f conftest.err conftest.$ac_ext
106347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106348 echo "${ECHO_T}$ac_header_preproc" >&6
106350 # So? What about this header?
106351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106352 yes:no: )
106353 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106354 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106355 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106356 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106357 ac_header_preproc=yes
106359 no:yes:* )
106360 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106361 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106362 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106363 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106364 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106365 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106366 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106367 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106368 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106369 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106370 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106371 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106373 cat <<\_ASBOX
106374 ## ----------------------------------------- ##
106375 ## Report this to the package-unused lists. ##
106376 ## ----------------------------------------- ##
106377 _ASBOX
106379 sed "s/^/$as_me: WARNING: /" >&2
106382 echo "$as_me:$LINENO: checking for iconv.h" >&5
106383 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106384 if test "${ac_cv_header_iconv_h+set}" = set; then
106385 echo $ECHO_N "(cached) $ECHO_C" >&6
106387 ac_cv_header_iconv_h=$ac_header_preproc
106389 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106390 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106393 if test $ac_cv_header_iconv_h = yes; then
106394 ac_has_iconv_h=yes
106396 ac_has_iconv_h=no
106400 if test "${ac_cv_header_langinfo_h+set}" = set; then
106401 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106402 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106403 if test "${ac_cv_header_langinfo_h+set}" = set; then
106404 echo $ECHO_N "(cached) $ECHO_C" >&6
106406 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106407 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106409 # Is the header compilable?
106410 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106411 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106412 cat >conftest.$ac_ext <<_ACEOF
106413 /* confdefs.h. */
106414 _ACEOF
106415 cat confdefs.h >>conftest.$ac_ext
106416 cat >>conftest.$ac_ext <<_ACEOF
106417 /* end confdefs.h. */
106418 $ac_includes_default
106419 #include <langinfo.h>
106420 _ACEOF
106421 rm -f conftest.$ac_objext
106422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106423 (eval $ac_compile) 2>conftest.er1
106424 ac_status=$?
106425 grep -v '^ *+' conftest.er1 >conftest.err
106426 rm -f conftest.er1
106427 cat conftest.err >&5
106428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106429 (exit $ac_status); } &&
106430 { ac_try='test -z "$ac_c_werror_flag"
106431 || test ! -s conftest.err'
106432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106433 (eval $ac_try) 2>&5
106434 ac_status=$?
106435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106436 (exit $ac_status); }; } &&
106437 { ac_try='test -s conftest.$ac_objext'
106438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106439 (eval $ac_try) 2>&5
106440 ac_status=$?
106441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106442 (exit $ac_status); }; }; then
106443 ac_header_compiler=yes
106445 echo "$as_me: failed program was:" >&5
106446 sed 's/^/| /' conftest.$ac_ext >&5
106448 ac_header_compiler=no
106450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106452 echo "${ECHO_T}$ac_header_compiler" >&6
106454 # Is the header present?
106455 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106456 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106457 cat >conftest.$ac_ext <<_ACEOF
106458 /* confdefs.h. */
106459 _ACEOF
106460 cat confdefs.h >>conftest.$ac_ext
106461 cat >>conftest.$ac_ext <<_ACEOF
106462 /* end confdefs.h. */
106463 #include <langinfo.h>
106464 _ACEOF
106465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106467 ac_status=$?
106468 grep -v '^ *+' conftest.er1 >conftest.err
106469 rm -f conftest.er1
106470 cat conftest.err >&5
106471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106472 (exit $ac_status); } >/dev/null; then
106473 if test -s conftest.err; then
106474 ac_cpp_err=$ac_c_preproc_warn_flag
106475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106477 ac_cpp_err=
106480 ac_cpp_err=yes
106482 if test -z "$ac_cpp_err"; then
106483 ac_header_preproc=yes
106485 echo "$as_me: failed program was:" >&5
106486 sed 's/^/| /' conftest.$ac_ext >&5
106488 ac_header_preproc=no
106490 rm -f conftest.err conftest.$ac_ext
106491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106492 echo "${ECHO_T}$ac_header_preproc" >&6
106494 # So? What about this header?
106495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106496 yes:no: )
106497 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106498 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106499 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106500 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106501 ac_header_preproc=yes
106503 no:yes:* )
106504 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106505 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106506 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106507 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106508 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106509 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106510 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106511 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106512 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106513 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106514 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106515 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106517 cat <<\_ASBOX
106518 ## ----------------------------------------- ##
106519 ## Report this to the package-unused lists. ##
106520 ## ----------------------------------------- ##
106521 _ASBOX
106523 sed "s/^/$as_me: WARNING: /" >&2
106526 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106527 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106528 if test "${ac_cv_header_langinfo_h+set}" = set; then
106529 echo $ECHO_N "(cached) $ECHO_C" >&6
106531 ac_cv_header_langinfo_h=$ac_header_preproc
106533 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106534 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106537 if test $ac_cv_header_langinfo_h = yes; then
106538 ac_has_langinfo_h=yes
106540 ac_has_langinfo_h=no
106545 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106546 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106547 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106548 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106549 echo $ECHO_N "(cached) $ECHO_C" >&6
106551 ac_check_lib_save_LIBS=$LIBS
106552 LIBS="-liconv $LIBS"
106553 if test x$gcc_no_link = xyes; then
106554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106556 { (exit 1); exit 1; }; }
106558 cat >conftest.$ac_ext <<_ACEOF
106559 /* confdefs.h. */
106560 _ACEOF
106561 cat confdefs.h >>conftest.$ac_ext
106562 cat >>conftest.$ac_ext <<_ACEOF
106563 /* end confdefs.h. */
106565 /* Override any gcc2 internal prototype to avoid an error. */
106566 #ifdef __cplusplus
106567 extern "C"
106568 #endif
106569 /* We use char because int might match the return type of a gcc2
106570 builtin and then its argument prototype would still apply. */
106571 char iconv ();
106573 main ()
106575 iconv ();
106577 return 0;
106579 _ACEOF
106580 rm -f conftest.$ac_objext conftest$ac_exeext
106581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106582 (eval $ac_link) 2>conftest.er1
106583 ac_status=$?
106584 grep -v '^ *+' conftest.er1 >conftest.err
106585 rm -f conftest.er1
106586 cat conftest.err >&5
106587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106588 (exit $ac_status); } &&
106589 { ac_try='test -z "$ac_c_werror_flag"
106590 || test ! -s conftest.err'
106591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106592 (eval $ac_try) 2>&5
106593 ac_status=$?
106594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106595 (exit $ac_status); }; } &&
106596 { ac_try='test -s conftest$ac_exeext'
106597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106598 (eval $ac_try) 2>&5
106599 ac_status=$?
106600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106601 (exit $ac_status); }; }; then
106602 ac_cv_lib_iconv_iconv=yes
106604 echo "$as_me: failed program was:" >&5
106605 sed 's/^/| /' conftest.$ac_ext >&5
106607 ac_cv_lib_iconv_iconv=no
106609 rm -f conftest.err conftest.$ac_objext \
106610 conftest$ac_exeext conftest.$ac_ext
106611 LIBS=$ac_check_lib_save_LIBS
106613 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106614 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106615 if test $ac_cv_lib_iconv_iconv = yes; then
106616 LIBICONV="-liconv"
106619 ac_save_LIBS="$LIBS"
106620 LIBS="$LIBS $LIBICONV"
106627 for ac_func in iconv_open iconv_close iconv nl_langinfo
106629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106630 echo "$as_me:$LINENO: checking for $ac_func" >&5
106631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106632 if eval "test \"\${$as_ac_var+set}\" = set"; then
106633 echo $ECHO_N "(cached) $ECHO_C" >&6
106635 if test x$gcc_no_link = xyes; then
106636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106638 { (exit 1); exit 1; }; }
106640 cat >conftest.$ac_ext <<_ACEOF
106641 /* confdefs.h. */
106642 _ACEOF
106643 cat confdefs.h >>conftest.$ac_ext
106644 cat >>conftest.$ac_ext <<_ACEOF
106645 /* end confdefs.h. */
106646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106648 #define $ac_func innocuous_$ac_func
106650 /* System header to define __stub macros and hopefully few prototypes,
106651 which can conflict with char $ac_func (); below.
106652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106653 <limits.h> exists even on freestanding compilers. */
106655 #ifdef __STDC__
106656 # include <limits.h>
106657 #else
106658 # include <assert.h>
106659 #endif
106661 #undef $ac_func
106663 /* Override any gcc2 internal prototype to avoid an error. */
106664 #ifdef __cplusplus
106665 extern "C"
106667 #endif
106668 /* We use char because int might match the return type of a gcc2
106669 builtin and then its argument prototype would still apply. */
106670 char $ac_func ();
106671 /* The GNU C library defines this for functions which it implements
106672 to always fail with ENOSYS. Some functions are actually named
106673 something starting with __ and the normal name is an alias. */
106674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106675 choke me
106676 #else
106677 char (*f) () = $ac_func;
106678 #endif
106679 #ifdef __cplusplus
106681 #endif
106684 main ()
106686 return f != $ac_func;
106688 return 0;
106690 _ACEOF
106691 rm -f conftest.$ac_objext conftest$ac_exeext
106692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106693 (eval $ac_link) 2>conftest.er1
106694 ac_status=$?
106695 grep -v '^ *+' conftest.er1 >conftest.err
106696 rm -f conftest.er1
106697 cat conftest.err >&5
106698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106699 (exit $ac_status); } &&
106700 { ac_try='test -z "$ac_c_werror_flag"
106701 || test ! -s conftest.err'
106702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106703 (eval $ac_try) 2>&5
106704 ac_status=$?
106705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706 (exit $ac_status); }; } &&
106707 { ac_try='test -s conftest$ac_exeext'
106708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106709 (eval $ac_try) 2>&5
106710 ac_status=$?
106711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106712 (exit $ac_status); }; }; then
106713 eval "$as_ac_var=yes"
106715 echo "$as_me: failed program was:" >&5
106716 sed 's/^/| /' conftest.$ac_ext >&5
106718 eval "$as_ac_var=no"
106720 rm -f conftest.err conftest.$ac_objext \
106721 conftest$ac_exeext conftest.$ac_ext
106723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106725 if test `eval echo '${'$as_ac_var'}'` = yes; then
106726 cat >>confdefs.h <<_ACEOF
106727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106728 _ACEOF
106729 ac_XPG2funcs=yes
106731 ac_XPG2funcs=no
106736 LIBS="$ac_save_LIBS"
106738 if test x"$ac_has_iconv_h" = xyes &&
106739 test x"$ac_has_langinfo_h" = xyes &&
106740 test x"$ac_XPG2funcs" = xyes;
106743 cat >>confdefs.h <<\_ACEOF
106744 #define _GLIBCXX_USE_ICONV 1
106745 _ACEOF
106747 enable_iconv=yes
106750 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106751 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106752 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106753 echo "${ECHO_T}$enable_iconv" >&6
106755 # All of the dependencies for wide character support are here, so
106756 # turn it on. This requires some syncronization with the
106757 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106758 cat >>confdefs.h <<\_ACEOF
106759 #define _GLIBCXX_USE_WCHAR_T 1
106760 _ACEOF
106762 # Are these tested for even when cross?
106763 cat >>confdefs.h <<\_ACEOF
106764 #define HAVE_FLOAT_H 1
106765 _ACEOF
106767 cat >>confdefs.h <<\_ACEOF
106768 #define HAVE_IEEEFP_H 1
106769 _ACEOF
106771 cat >>confdefs.h <<\_ACEOF
106772 #define HAVE_INTTYPES_H 1
106773 _ACEOF
106775 cat >>confdefs.h <<\_ACEOF
106776 #define HAVE_LOCALE_H 1
106777 _ACEOF
106779 cat >>confdefs.h <<\_ACEOF
106780 #define HAVE_NAN_H 1
106781 _ACEOF
106783 cat >>confdefs.h <<\_ACEOF
106784 #define HAVE_SYS_FILIO_H 1
106785 _ACEOF
106787 cat >>confdefs.h <<\_ACEOF
106788 #define HAVE_SYS_IOCTL_H 1
106789 _ACEOF
106791 cat >>confdefs.h <<\_ACEOF
106792 #define HAVE_SYS_ISA_DEFS_H 1
106793 _ACEOF
106795 cat >>confdefs.h <<\_ACEOF
106796 #define HAVE_SYS_RESOURCE_H 1
106797 _ACEOF
106799 cat >>confdefs.h <<\_ACEOF
106800 #define HAVE_SYS_TIME_H 1
106801 _ACEOF
106803 cat >>confdefs.h <<\_ACEOF
106804 #define HAVE_SYS_TYPES_H 1
106805 _ACEOF
106807 cat >>confdefs.h <<\_ACEOF
106808 #define HAVE_UNISTD_H 1
106809 _ACEOF
106811 cat >>confdefs.h <<\_ACEOF
106812 #define HAVE_WCHAR_H 1
106813 _ACEOF
106815 cat >>confdefs.h <<\_ACEOF
106816 #define HAVE_WCTYPE_H 1
106817 _ACEOF
106819 cat >>confdefs.h <<\_ACEOF
106820 #define HAVE_LIBM 1
106821 _ACEOF
106825 case "$target" in
106826 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106827 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106828 cat >>confdefs.h <<\_ACEOF
106829 #define HAVE___BUILTIN_ABS 1
106830 _ACEOF
106832 cat >>confdefs.h <<\_ACEOF
106833 #define HAVE___BUILTIN_LABS 1
106834 _ACEOF
106836 cat >>confdefs.h <<\_ACEOF
106837 #define HAVE___BUILTIN_FABS 1
106838 _ACEOF
106840 cat >>confdefs.h <<\_ACEOF
106841 #define HAVE___BUILTIN_FABSF 1
106842 _ACEOF
106844 cat >>confdefs.h <<\_ACEOF
106845 #define HAVE___BUILTIN_FABSL 1
106846 _ACEOF
106848 cat >>confdefs.h <<\_ACEOF
106849 #define HAVE___BUILTIN_COS 1
106850 _ACEOF
106852 cat >>confdefs.h <<\_ACEOF
106853 #define HAVE___BUILTIN_COSF 1
106854 _ACEOF
106856 cat >>confdefs.h <<\_ACEOF
106857 #define HAVE___BUILTIN_SIN 1
106858 _ACEOF
106860 cat >>confdefs.h <<\_ACEOF
106861 #define HAVE___BUILTIN_SINF 1
106862 _ACEOF
106866 case "$target" in
106867 *-*-solaris2.10)
106868 # These two C99 functions are present only in Solaris >= 10
106869 cat >>confdefs.h <<\_ACEOF
106870 #define HAVE_STRTOF 1
106871 _ACEOF
106873 cat >>confdefs.h <<\_ACEOF
106874 #define HAVE_STRTOLD 1
106875 _ACEOF
106879 cat >>confdefs.h <<\_ACEOF
106880 #define HAVE_MMAP 1
106881 _ACEOF
106883 cat >>confdefs.h <<\_ACEOF
106884 #define HAVE_COPYSIGN 1
106885 _ACEOF
106887 cat >>confdefs.h <<\_ACEOF
106888 #define HAVE_ISNAN 1
106889 _ACEOF
106891 cat >>confdefs.h <<\_ACEOF
106892 #define HAVE_ISNANF 1
106893 _ACEOF
106895 cat >>confdefs.h <<\_ACEOF
106896 #define HAVE_MODFF 1
106897 _ACEOF
106899 cat >>confdefs.h <<\_ACEOF
106900 #define HAVE_HYPOT 1
106901 _ACEOF
106904 *-tpf)
106913 for ac_header in nan.h endian.h machine/endian.h \
106914 sys/param.h sys/types.h locale.h float.h inttypes.h
106916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106918 echo "$as_me:$LINENO: checking for $ac_header" >&5
106919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106921 echo $ECHO_N "(cached) $ECHO_C" >&6
106923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106926 # Is the header compilable?
106927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106929 cat >conftest.$ac_ext <<_ACEOF
106930 /* confdefs.h. */
106931 _ACEOF
106932 cat confdefs.h >>conftest.$ac_ext
106933 cat >>conftest.$ac_ext <<_ACEOF
106934 /* end confdefs.h. */
106935 $ac_includes_default
106936 #include <$ac_header>
106937 _ACEOF
106938 rm -f conftest.$ac_objext
106939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106940 (eval $ac_compile) 2>conftest.er1
106941 ac_status=$?
106942 grep -v '^ *+' conftest.er1 >conftest.err
106943 rm -f conftest.er1
106944 cat conftest.err >&5
106945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106946 (exit $ac_status); } &&
106947 { ac_try='test -z "$ac_c_werror_flag"
106948 || test ! -s conftest.err'
106949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106950 (eval $ac_try) 2>&5
106951 ac_status=$?
106952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106953 (exit $ac_status); }; } &&
106954 { ac_try='test -s conftest.$ac_objext'
106955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106956 (eval $ac_try) 2>&5
106957 ac_status=$?
106958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106959 (exit $ac_status); }; }; then
106960 ac_header_compiler=yes
106962 echo "$as_me: failed program was:" >&5
106963 sed 's/^/| /' conftest.$ac_ext >&5
106965 ac_header_compiler=no
106967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106969 echo "${ECHO_T}$ac_header_compiler" >&6
106971 # Is the header present?
106972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106974 cat >conftest.$ac_ext <<_ACEOF
106975 /* confdefs.h. */
106976 _ACEOF
106977 cat confdefs.h >>conftest.$ac_ext
106978 cat >>conftest.$ac_ext <<_ACEOF
106979 /* end confdefs.h. */
106980 #include <$ac_header>
106981 _ACEOF
106982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106984 ac_status=$?
106985 grep -v '^ *+' conftest.er1 >conftest.err
106986 rm -f conftest.er1
106987 cat conftest.err >&5
106988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106989 (exit $ac_status); } >/dev/null; then
106990 if test -s conftest.err; then
106991 ac_cpp_err=$ac_c_preproc_warn_flag
106992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106994 ac_cpp_err=
106997 ac_cpp_err=yes
106999 if test -z "$ac_cpp_err"; then
107000 ac_header_preproc=yes
107002 echo "$as_me: failed program was:" >&5
107003 sed 's/^/| /' conftest.$ac_ext >&5
107005 ac_header_preproc=no
107007 rm -f conftest.err conftest.$ac_ext
107008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107009 echo "${ECHO_T}$ac_header_preproc" >&6
107011 # So? What about this header?
107012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107013 yes:no: )
107014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107018 ac_header_preproc=yes
107020 no:yes:* )
107021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107034 cat <<\_ASBOX
107035 ## ----------------------------------------- ##
107036 ## Report this to the package-unused lists. ##
107037 ## ----------------------------------------- ##
107038 _ASBOX
107040 sed "s/^/$as_me: WARNING: /" >&2
107043 echo "$as_me:$LINENO: checking for $ac_header" >&5
107044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107046 echo $ECHO_N "(cached) $ECHO_C" >&6
107048 eval "$as_ac_Header=\$ac_header_preproc"
107050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107055 cat >>confdefs.h <<_ACEOF
107056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107057 _ACEOF
107063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
107066 # If we're not using GNU ld, then there's no point in even trying these
107067 # tests. Check for that first. We should have already tested for gld
107068 # by now (in libtool), but require it now just to be safe...
107069 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107070 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107074 # The name set by libtool depends on the version of libtool. Shame on us
107075 # for depending on an impl detail, but c'est la vie. Older versions used
107076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
107079 # set (hence we're using an older libtool), then set it.
107080 if test x${with_gnu_ld+set} != xset; then
107081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
107082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
107083 with_gnu_ld=no
107085 with_gnu_ld=$ac_cv_prog_gnu_ld
107089 # Start by getting the version number. I think the libtool test already
107090 # does some of this, but throws away the result.
107091 echo "$as_me:$LINENO: checking for ld version" >&5
107092 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107094 ldver=`$LD --version 2>/dev/null | head -1 | \
107095 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
107097 glibcxx_gnu_ld_version=`echo $ldver | \
107098 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107099 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107100 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107102 # Set --gc-sections.
107103 glibcxx_gcsections_min_ld=21602
107104 if test x"$with_gnu_ld" = x"yes" &&
107105 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107107 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
107108 # NB: This flag only works reliably after 2.16.1. Configure tests
107109 # for this are difficult, so hard wire a value that should work.
107111 # All these tests are for C++, but run with the "C" compiler driver.
107112 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
107113 ac_test_CFLAGS="${CFLAGS+set}"
107114 ac_save_CFLAGS="$CFLAGS"
107115 CFLAGS='-x c++ -Wl,--gc-sections'
107117 # Check for -Wl,--gc-sections
107118 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107119 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107120 if test x$gcc_no_link = xyes; then
107121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107123 { (exit 1); exit 1; }; }
107125 cat >conftest.$ac_ext <<_ACEOF
107126 /* confdefs.h. */
107127 _ACEOF
107128 cat confdefs.h >>conftest.$ac_ext
107129 cat >>conftest.$ac_ext <<_ACEOF
107130 /* end confdefs.h. */
107131 int one(void) { return 1; }
107132 int two(void) { return 2; }
107135 main ()
107137 two();
107139 return 0;
107141 _ACEOF
107142 rm -f conftest.$ac_objext conftest$ac_exeext
107143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107144 (eval $ac_link) 2>conftest.er1
107145 ac_status=$?
107146 grep -v '^ *+' conftest.er1 >conftest.err
107147 rm -f conftest.er1
107148 cat conftest.err >&5
107149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107150 (exit $ac_status); } &&
107151 { ac_try='test -z "$ac_c_werror_flag"
107152 || test ! -s conftest.err'
107153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107154 (eval $ac_try) 2>&5
107155 ac_status=$?
107156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107157 (exit $ac_status); }; } &&
107158 { ac_try='test -s conftest$ac_exeext'
107159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107160 (eval $ac_try) 2>&5
107161 ac_status=$?
107162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107163 (exit $ac_status); }; }; then
107164 ac_gcsections=yes
107166 echo "$as_me: failed program was:" >&5
107167 sed 's/^/| /' conftest.$ac_ext >&5
107169 ac_gcsections=no
107171 rm -f conftest.err conftest.$ac_objext \
107172 conftest$ac_exeext conftest.$ac_ext
107173 if test "$ac_gcsections" = "yes"; then
107174 rm -f conftest.c
107175 touch conftest.c
107176 if $CC -c conftest.c; then
107177 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107178 grep "Warning: gc-sections option ignored" > /dev/null; then
107179 ac_gcsections=no
107182 rm -f conftest.c conftest.o conftest
107184 if test "$ac_gcsections" = "yes"; then
107185 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107187 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107188 echo "${ECHO_T}$ac_gcsections" >&6
107190 if test "$ac_test_CFLAGS" = set; then
107191 CFLAGS="$ac_save_CFLAGS"
107193 # this is the suspicious part
107194 CFLAGS=''
107198 # Set -z,relro.
107199 # Note this is only for shared objects.
107200 ac_ld_relro=no
107201 if test x"$with_gnu_ld" = x"yes"; then
107202 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107203 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107204 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107205 if test -n "$cxx_z_relo"; then
107206 OPT_LDFLAGS="-Wl,-z,relro"
107207 ac_ld_relro=yes
107209 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107210 echo "${ECHO_T}$ac_ld_relro" >&6
107213 # Set linker optimization flags.
107214 if test x"$with_gnu_ld" = x"yes"; then
107215 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107223 echo "$as_me:$LINENO: checking for main in -lm" >&5
107224 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107225 if test "${ac_cv_lib_m_main+set}" = set; then
107226 echo $ECHO_N "(cached) $ECHO_C" >&6
107228 ac_check_lib_save_LIBS=$LIBS
107229 LIBS="-lm $LIBS"
107230 if test x$gcc_no_link = xyes; then
107231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107233 { (exit 1); exit 1; }; }
107235 cat >conftest.$ac_ext <<_ACEOF
107236 /* confdefs.h. */
107237 _ACEOF
107238 cat confdefs.h >>conftest.$ac_ext
107239 cat >>conftest.$ac_ext <<_ACEOF
107240 /* end confdefs.h. */
107244 main ()
107246 main ();
107248 return 0;
107250 _ACEOF
107251 rm -f conftest.$ac_objext conftest$ac_exeext
107252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107253 (eval $ac_link) 2>conftest.er1
107254 ac_status=$?
107255 grep -v '^ *+' conftest.er1 >conftest.err
107256 rm -f conftest.er1
107257 cat conftest.err >&5
107258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107259 (exit $ac_status); } &&
107260 { ac_try='test -z "$ac_c_werror_flag"
107261 || test ! -s conftest.err'
107262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107263 (eval $ac_try) 2>&5
107264 ac_status=$?
107265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107266 (exit $ac_status); }; } &&
107267 { ac_try='test -s conftest$ac_exeext'
107268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107269 (eval $ac_try) 2>&5
107270 ac_status=$?
107271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107272 (exit $ac_status); }; }; then
107273 ac_cv_lib_m_main=yes
107275 echo "$as_me: failed program was:" >&5
107276 sed 's/^/| /' conftest.$ac_ext >&5
107278 ac_cv_lib_m_main=no
107280 rm -f conftest.err conftest.$ac_objext \
107281 conftest$ac_exeext conftest.$ac_ext
107282 LIBS=$ac_check_lib_save_LIBS
107284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107285 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107286 if test $ac_cv_lib_m_main = yes; then
107287 cat >>confdefs.h <<_ACEOF
107288 #define HAVE_LIBM 1
107289 _ACEOF
107291 LIBS="-lm $LIBS"
107296 for ac_func in copysignf
107298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107299 echo "$as_me:$LINENO: checking for $ac_func" >&5
107300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107301 if eval "test \"\${$as_ac_var+set}\" = set"; then
107302 echo $ECHO_N "(cached) $ECHO_C" >&6
107304 if test x$gcc_no_link = xyes; then
107305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107307 { (exit 1); exit 1; }; }
107309 cat >conftest.$ac_ext <<_ACEOF
107310 /* confdefs.h. */
107311 _ACEOF
107312 cat confdefs.h >>conftest.$ac_ext
107313 cat >>conftest.$ac_ext <<_ACEOF
107314 /* end confdefs.h. */
107315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107317 #define $ac_func innocuous_$ac_func
107319 /* System header to define __stub macros and hopefully few prototypes,
107320 which can conflict with char $ac_func (); below.
107321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107322 <limits.h> exists even on freestanding compilers. */
107324 #ifdef __STDC__
107325 # include <limits.h>
107326 #else
107327 # include <assert.h>
107328 #endif
107330 #undef $ac_func
107332 /* Override any gcc2 internal prototype to avoid an error. */
107333 #ifdef __cplusplus
107334 extern "C"
107336 #endif
107337 /* We use char because int might match the return type of a gcc2
107338 builtin and then its argument prototype would still apply. */
107339 char $ac_func ();
107340 /* The GNU C library defines this for functions which it implements
107341 to always fail with ENOSYS. Some functions are actually named
107342 something starting with __ and the normal name is an alias. */
107343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107344 choke me
107345 #else
107346 char (*f) () = $ac_func;
107347 #endif
107348 #ifdef __cplusplus
107350 #endif
107353 main ()
107355 return f != $ac_func;
107357 return 0;
107359 _ACEOF
107360 rm -f conftest.$ac_objext conftest$ac_exeext
107361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107362 (eval $ac_link) 2>conftest.er1
107363 ac_status=$?
107364 grep -v '^ *+' conftest.er1 >conftest.err
107365 rm -f conftest.er1
107366 cat conftest.err >&5
107367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107368 (exit $ac_status); } &&
107369 { ac_try='test -z "$ac_c_werror_flag"
107370 || test ! -s conftest.err'
107371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107372 (eval $ac_try) 2>&5
107373 ac_status=$?
107374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107375 (exit $ac_status); }; } &&
107376 { ac_try='test -s conftest$ac_exeext'
107377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107378 (eval $ac_try) 2>&5
107379 ac_status=$?
107380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107381 (exit $ac_status); }; }; then
107382 eval "$as_ac_var=yes"
107384 echo "$as_me: failed program was:" >&5
107385 sed 's/^/| /' conftest.$ac_ext >&5
107387 eval "$as_ac_var=no"
107389 rm -f conftest.err conftest.$ac_objext \
107390 conftest$ac_exeext conftest.$ac_ext
107392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107394 if test `eval echo '${'$as_ac_var'}'` = yes; then
107395 cat >>confdefs.h <<_ACEOF
107396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107397 _ACEOF
107400 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107406 for ac_func in __signbit
107408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107409 echo "$as_me:$LINENO: checking for $ac_func" >&5
107410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107411 if eval "test \"\${$as_ac_var+set}\" = set"; then
107412 echo $ECHO_N "(cached) $ECHO_C" >&6
107414 if test x$gcc_no_link = xyes; then
107415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107417 { (exit 1); exit 1; }; }
107419 cat >conftest.$ac_ext <<_ACEOF
107420 /* confdefs.h. */
107421 _ACEOF
107422 cat confdefs.h >>conftest.$ac_ext
107423 cat >>conftest.$ac_ext <<_ACEOF
107424 /* end confdefs.h. */
107425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107427 #define $ac_func innocuous_$ac_func
107429 /* System header to define __stub macros and hopefully few prototypes,
107430 which can conflict with char $ac_func (); below.
107431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107432 <limits.h> exists even on freestanding compilers. */
107434 #ifdef __STDC__
107435 # include <limits.h>
107436 #else
107437 # include <assert.h>
107438 #endif
107440 #undef $ac_func
107442 /* Override any gcc2 internal prototype to avoid an error. */
107443 #ifdef __cplusplus
107444 extern "C"
107446 #endif
107447 /* We use char because int might match the return type of a gcc2
107448 builtin and then its argument prototype would still apply. */
107449 char $ac_func ();
107450 /* The GNU C library defines this for functions which it implements
107451 to always fail with ENOSYS. Some functions are actually named
107452 something starting with __ and the normal name is an alias. */
107453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107454 choke me
107455 #else
107456 char (*f) () = $ac_func;
107457 #endif
107458 #ifdef __cplusplus
107460 #endif
107463 main ()
107465 return f != $ac_func;
107467 return 0;
107469 _ACEOF
107470 rm -f conftest.$ac_objext conftest$ac_exeext
107471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107472 (eval $ac_link) 2>conftest.er1
107473 ac_status=$?
107474 grep -v '^ *+' conftest.er1 >conftest.err
107475 rm -f conftest.er1
107476 cat conftest.err >&5
107477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107478 (exit $ac_status); } &&
107479 { ac_try='test -z "$ac_c_werror_flag"
107480 || test ! -s conftest.err'
107481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107482 (eval $ac_try) 2>&5
107483 ac_status=$?
107484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107485 (exit $ac_status); }; } &&
107486 { ac_try='test -s conftest$ac_exeext'
107487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107488 (eval $ac_try) 2>&5
107489 ac_status=$?
107490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107491 (exit $ac_status); }; }; then
107492 eval "$as_ac_var=yes"
107494 echo "$as_me: failed program was:" >&5
107495 sed 's/^/| /' conftest.$ac_ext >&5
107497 eval "$as_ac_var=no"
107499 rm -f conftest.err conftest.$ac_objext \
107500 conftest$ac_exeext conftest.$ac_ext
107502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107504 if test `eval echo '${'$as_ac_var'}'` = yes; then
107505 cat >>confdefs.h <<_ACEOF
107506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107507 _ACEOF
107510 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107516 for ac_func in __signbitf
107518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107519 echo "$as_me:$LINENO: checking for $ac_func" >&5
107520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107521 if eval "test \"\${$as_ac_var+set}\" = set"; then
107522 echo $ECHO_N "(cached) $ECHO_C" >&6
107524 if test x$gcc_no_link = xyes; then
107525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107527 { (exit 1); exit 1; }; }
107529 cat >conftest.$ac_ext <<_ACEOF
107530 /* confdefs.h. */
107531 _ACEOF
107532 cat confdefs.h >>conftest.$ac_ext
107533 cat >>conftest.$ac_ext <<_ACEOF
107534 /* end confdefs.h. */
107535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107537 #define $ac_func innocuous_$ac_func
107539 /* System header to define __stub macros and hopefully few prototypes,
107540 which can conflict with char $ac_func (); below.
107541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107542 <limits.h> exists even on freestanding compilers. */
107544 #ifdef __STDC__
107545 # include <limits.h>
107546 #else
107547 # include <assert.h>
107548 #endif
107550 #undef $ac_func
107552 /* Override any gcc2 internal prototype to avoid an error. */
107553 #ifdef __cplusplus
107554 extern "C"
107556 #endif
107557 /* We use char because int might match the return type of a gcc2
107558 builtin and then its argument prototype would still apply. */
107559 char $ac_func ();
107560 /* The GNU C library defines this for functions which it implements
107561 to always fail with ENOSYS. Some functions are actually named
107562 something starting with __ and the normal name is an alias. */
107563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107564 choke me
107565 #else
107566 char (*f) () = $ac_func;
107567 #endif
107568 #ifdef __cplusplus
107570 #endif
107573 main ()
107575 return f != $ac_func;
107577 return 0;
107579 _ACEOF
107580 rm -f conftest.$ac_objext conftest$ac_exeext
107581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107582 (eval $ac_link) 2>conftest.er1
107583 ac_status=$?
107584 grep -v '^ *+' conftest.er1 >conftest.err
107585 rm -f conftest.er1
107586 cat conftest.err >&5
107587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107588 (exit $ac_status); } &&
107589 { ac_try='test -z "$ac_c_werror_flag"
107590 || test ! -s conftest.err'
107591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107592 (eval $ac_try) 2>&5
107593 ac_status=$?
107594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107595 (exit $ac_status); }; } &&
107596 { ac_try='test -s conftest$ac_exeext'
107597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107598 (eval $ac_try) 2>&5
107599 ac_status=$?
107600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107601 (exit $ac_status); }; }; then
107602 eval "$as_ac_var=yes"
107604 echo "$as_me: failed program was:" >&5
107605 sed 's/^/| /' conftest.$ac_ext >&5
107607 eval "$as_ac_var=no"
107609 rm -f conftest.err conftest.$ac_objext \
107610 conftest$ac_exeext conftest.$ac_ext
107612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107614 if test `eval echo '${'$as_ac_var'}'` = yes; then
107615 cat >>confdefs.h <<_ACEOF
107616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107617 _ACEOF
107620 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107625 if test x$ac_cv_func_copysignl = x"yes"; then
107627 for ac_func in __signbitl
107629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107630 echo "$as_me:$LINENO: checking for $ac_func" >&5
107631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107632 if eval "test \"\${$as_ac_var+set}\" = set"; then
107633 echo $ECHO_N "(cached) $ECHO_C" >&6
107635 if test x$gcc_no_link = xyes; then
107636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107638 { (exit 1); exit 1; }; }
107640 cat >conftest.$ac_ext <<_ACEOF
107641 /* confdefs.h. */
107642 _ACEOF
107643 cat confdefs.h >>conftest.$ac_ext
107644 cat >>conftest.$ac_ext <<_ACEOF
107645 /* end confdefs.h. */
107646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107648 #define $ac_func innocuous_$ac_func
107650 /* System header to define __stub macros and hopefully few prototypes,
107651 which can conflict with char $ac_func (); below.
107652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107653 <limits.h> exists even on freestanding compilers. */
107655 #ifdef __STDC__
107656 # include <limits.h>
107657 #else
107658 # include <assert.h>
107659 #endif
107661 #undef $ac_func
107663 /* Override any gcc2 internal prototype to avoid an error. */
107664 #ifdef __cplusplus
107665 extern "C"
107667 #endif
107668 /* We use char because int might match the return type of a gcc2
107669 builtin and then its argument prototype would still apply. */
107670 char $ac_func ();
107671 /* The GNU C library defines this for functions which it implements
107672 to always fail with ENOSYS. Some functions are actually named
107673 something starting with __ and the normal name is an alias. */
107674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107675 choke me
107676 #else
107677 char (*f) () = $ac_func;
107678 #endif
107679 #ifdef __cplusplus
107681 #endif
107684 main ()
107686 return f != $ac_func;
107688 return 0;
107690 _ACEOF
107691 rm -f conftest.$ac_objext conftest$ac_exeext
107692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107693 (eval $ac_link) 2>conftest.er1
107694 ac_status=$?
107695 grep -v '^ *+' conftest.er1 >conftest.err
107696 rm -f conftest.er1
107697 cat conftest.err >&5
107698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107699 (exit $ac_status); } &&
107700 { ac_try='test -z "$ac_c_werror_flag"
107701 || test ! -s conftest.err'
107702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107703 (eval $ac_try) 2>&5
107704 ac_status=$?
107705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107706 (exit $ac_status); }; } &&
107707 { ac_try='test -s conftest$ac_exeext'
107708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107709 (eval $ac_try) 2>&5
107710 ac_status=$?
107711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107712 (exit $ac_status); }; }; then
107713 eval "$as_ac_var=yes"
107715 echo "$as_me: failed program was:" >&5
107716 sed 's/^/| /' conftest.$ac_ext >&5
107718 eval "$as_ac_var=no"
107720 rm -f conftest.err conftest.$ac_objext \
107721 conftest$ac_exeext conftest.$ac_ext
107723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107725 if test `eval echo '${'$as_ac_var'}'` = yes; then
107726 cat >>confdefs.h <<_ACEOF
107727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107728 _ACEOF
107731 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107737 # Used in libmath/Makefile.am.
107738 if test -n "$LIBMATHOBJS"; then
107739 need_libmath=yes
107745 enable_iconv=no
107746 # Only continue checking if the ISO C99 headers exist and support is on.
107747 if test x"$enable_wchar_t" = xyes; then
107749 # Use iconv for wchar_t to char conversions. As such, check for
107750 # X/Open Portability Guide, version 2 features (XPG2).
107751 if test "${ac_cv_header_iconv_h+set}" = set; then
107752 echo "$as_me:$LINENO: checking for iconv.h" >&5
107753 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107754 if test "${ac_cv_header_iconv_h+set}" = set; then
107755 echo $ECHO_N "(cached) $ECHO_C" >&6
107757 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107758 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107760 # Is the header compilable?
107761 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107762 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107763 cat >conftest.$ac_ext <<_ACEOF
107764 /* confdefs.h. */
107765 _ACEOF
107766 cat confdefs.h >>conftest.$ac_ext
107767 cat >>conftest.$ac_ext <<_ACEOF
107768 /* end confdefs.h. */
107769 $ac_includes_default
107770 #include <iconv.h>
107771 _ACEOF
107772 rm -f conftest.$ac_objext
107773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107774 (eval $ac_compile) 2>conftest.er1
107775 ac_status=$?
107776 grep -v '^ *+' conftest.er1 >conftest.err
107777 rm -f conftest.er1
107778 cat conftest.err >&5
107779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107780 (exit $ac_status); } &&
107781 { ac_try='test -z "$ac_c_werror_flag"
107782 || test ! -s conftest.err'
107783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107784 (eval $ac_try) 2>&5
107785 ac_status=$?
107786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107787 (exit $ac_status); }; } &&
107788 { ac_try='test -s conftest.$ac_objext'
107789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107790 (eval $ac_try) 2>&5
107791 ac_status=$?
107792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107793 (exit $ac_status); }; }; then
107794 ac_header_compiler=yes
107796 echo "$as_me: failed program was:" >&5
107797 sed 's/^/| /' conftest.$ac_ext >&5
107799 ac_header_compiler=no
107801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107803 echo "${ECHO_T}$ac_header_compiler" >&6
107805 # Is the header present?
107806 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107807 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107808 cat >conftest.$ac_ext <<_ACEOF
107809 /* confdefs.h. */
107810 _ACEOF
107811 cat confdefs.h >>conftest.$ac_ext
107812 cat >>conftest.$ac_ext <<_ACEOF
107813 /* end confdefs.h. */
107814 #include <iconv.h>
107815 _ACEOF
107816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107818 ac_status=$?
107819 grep -v '^ *+' conftest.er1 >conftest.err
107820 rm -f conftest.er1
107821 cat conftest.err >&5
107822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107823 (exit $ac_status); } >/dev/null; then
107824 if test -s conftest.err; then
107825 ac_cpp_err=$ac_c_preproc_warn_flag
107826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107828 ac_cpp_err=
107831 ac_cpp_err=yes
107833 if test -z "$ac_cpp_err"; then
107834 ac_header_preproc=yes
107836 echo "$as_me: failed program was:" >&5
107837 sed 's/^/| /' conftest.$ac_ext >&5
107839 ac_header_preproc=no
107841 rm -f conftest.err conftest.$ac_ext
107842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107843 echo "${ECHO_T}$ac_header_preproc" >&6
107845 # So? What about this header?
107846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107847 yes:no: )
107848 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107849 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107850 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107851 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107852 ac_header_preproc=yes
107854 no:yes:* )
107855 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107856 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107857 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
107858 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
107859 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107860 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107861 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
107862 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
107863 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107864 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107865 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107866 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107868 cat <<\_ASBOX
107869 ## ----------------------------------------- ##
107870 ## Report this to the package-unused lists. ##
107871 ## ----------------------------------------- ##
107872 _ASBOX
107874 sed "s/^/$as_me: WARNING: /" >&2
107877 echo "$as_me:$LINENO: checking for iconv.h" >&5
107878 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107879 if test "${ac_cv_header_iconv_h+set}" = set; then
107880 echo $ECHO_N "(cached) $ECHO_C" >&6
107882 ac_cv_header_iconv_h=$ac_header_preproc
107884 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107885 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107888 if test $ac_cv_header_iconv_h = yes; then
107889 ac_has_iconv_h=yes
107891 ac_has_iconv_h=no
107895 if test "${ac_cv_header_langinfo_h+set}" = set; then
107896 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107897 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107898 if test "${ac_cv_header_langinfo_h+set}" = set; then
107899 echo $ECHO_N "(cached) $ECHO_C" >&6
107901 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107902 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107904 # Is the header compilable?
107905 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107906 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107907 cat >conftest.$ac_ext <<_ACEOF
107908 /* confdefs.h. */
107909 _ACEOF
107910 cat confdefs.h >>conftest.$ac_ext
107911 cat >>conftest.$ac_ext <<_ACEOF
107912 /* end confdefs.h. */
107913 $ac_includes_default
107914 #include <langinfo.h>
107915 _ACEOF
107916 rm -f conftest.$ac_objext
107917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107918 (eval $ac_compile) 2>conftest.er1
107919 ac_status=$?
107920 grep -v '^ *+' conftest.er1 >conftest.err
107921 rm -f conftest.er1
107922 cat conftest.err >&5
107923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107924 (exit $ac_status); } &&
107925 { ac_try='test -z "$ac_c_werror_flag"
107926 || test ! -s conftest.err'
107927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107928 (eval $ac_try) 2>&5
107929 ac_status=$?
107930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107931 (exit $ac_status); }; } &&
107932 { ac_try='test -s conftest.$ac_objext'
107933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107934 (eval $ac_try) 2>&5
107935 ac_status=$?
107936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107937 (exit $ac_status); }; }; then
107938 ac_header_compiler=yes
107940 echo "$as_me: failed program was:" >&5
107941 sed 's/^/| /' conftest.$ac_ext >&5
107943 ac_header_compiler=no
107945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107947 echo "${ECHO_T}$ac_header_compiler" >&6
107949 # Is the header present?
107950 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107951 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107952 cat >conftest.$ac_ext <<_ACEOF
107953 /* confdefs.h. */
107954 _ACEOF
107955 cat confdefs.h >>conftest.$ac_ext
107956 cat >>conftest.$ac_ext <<_ACEOF
107957 /* end confdefs.h. */
107958 #include <langinfo.h>
107959 _ACEOF
107960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107962 ac_status=$?
107963 grep -v '^ *+' conftest.er1 >conftest.err
107964 rm -f conftest.er1
107965 cat conftest.err >&5
107966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107967 (exit $ac_status); } >/dev/null; then
107968 if test -s conftest.err; then
107969 ac_cpp_err=$ac_c_preproc_warn_flag
107970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107972 ac_cpp_err=
107975 ac_cpp_err=yes
107977 if test -z "$ac_cpp_err"; then
107978 ac_header_preproc=yes
107980 echo "$as_me: failed program was:" >&5
107981 sed 's/^/| /' conftest.$ac_ext >&5
107983 ac_header_preproc=no
107985 rm -f conftest.err conftest.$ac_ext
107986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107987 echo "${ECHO_T}$ac_header_preproc" >&6
107989 # So? What about this header?
107990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107991 yes:no: )
107992 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107993 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107994 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107995 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107996 ac_header_preproc=yes
107998 no:yes:* )
107999 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
108000 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
108001 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
108002 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
108003 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
108004 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
108005 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
108006 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
108007 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
108008 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
108009 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
108010 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
108012 cat <<\_ASBOX
108013 ## ----------------------------------------- ##
108014 ## Report this to the package-unused lists. ##
108015 ## ----------------------------------------- ##
108016 _ASBOX
108018 sed "s/^/$as_me: WARNING: /" >&2
108021 echo "$as_me:$LINENO: checking for langinfo.h" >&5
108022 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
108023 if test "${ac_cv_header_langinfo_h+set}" = set; then
108024 echo $ECHO_N "(cached) $ECHO_C" >&6
108026 ac_cv_header_langinfo_h=$ac_header_preproc
108028 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
108029 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
108032 if test $ac_cv_header_langinfo_h = yes; then
108033 ac_has_langinfo_h=yes
108035 ac_has_langinfo_h=no
108040 # Check for existence of libiconv.a providing XPG2 wchar_t support.
108041 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
108042 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
108043 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
108044 echo $ECHO_N "(cached) $ECHO_C" >&6
108046 ac_check_lib_save_LIBS=$LIBS
108047 LIBS="-liconv $LIBS"
108048 if test x$gcc_no_link = xyes; then
108049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108051 { (exit 1); exit 1; }; }
108053 cat >conftest.$ac_ext <<_ACEOF
108054 /* confdefs.h. */
108055 _ACEOF
108056 cat confdefs.h >>conftest.$ac_ext
108057 cat >>conftest.$ac_ext <<_ACEOF
108058 /* end confdefs.h. */
108060 /* Override any gcc2 internal prototype to avoid an error. */
108061 #ifdef __cplusplus
108062 extern "C"
108063 #endif
108064 /* We use char because int might match the return type of a gcc2
108065 builtin and then its argument prototype would still apply. */
108066 char iconv ();
108068 main ()
108070 iconv ();
108072 return 0;
108074 _ACEOF
108075 rm -f conftest.$ac_objext conftest$ac_exeext
108076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108077 (eval $ac_link) 2>conftest.er1
108078 ac_status=$?
108079 grep -v '^ *+' conftest.er1 >conftest.err
108080 rm -f conftest.er1
108081 cat conftest.err >&5
108082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108083 (exit $ac_status); } &&
108084 { ac_try='test -z "$ac_c_werror_flag"
108085 || test ! -s conftest.err'
108086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108087 (eval $ac_try) 2>&5
108088 ac_status=$?
108089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108090 (exit $ac_status); }; } &&
108091 { ac_try='test -s conftest$ac_exeext'
108092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108093 (eval $ac_try) 2>&5
108094 ac_status=$?
108095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108096 (exit $ac_status); }; }; then
108097 ac_cv_lib_iconv_iconv=yes
108099 echo "$as_me: failed program was:" >&5
108100 sed 's/^/| /' conftest.$ac_ext >&5
108102 ac_cv_lib_iconv_iconv=no
108104 rm -f conftest.err conftest.$ac_objext \
108105 conftest$ac_exeext conftest.$ac_ext
108106 LIBS=$ac_check_lib_save_LIBS
108108 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108109 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108110 if test $ac_cv_lib_iconv_iconv = yes; then
108111 LIBICONV="-liconv"
108114 ac_save_LIBS="$LIBS"
108115 LIBS="$LIBS $LIBICONV"
108122 for ac_func in iconv_open iconv_close iconv nl_langinfo
108124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108125 echo "$as_me:$LINENO: checking for $ac_func" >&5
108126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108127 if eval "test \"\${$as_ac_var+set}\" = set"; then
108128 echo $ECHO_N "(cached) $ECHO_C" >&6
108130 if test x$gcc_no_link = xyes; then
108131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108133 { (exit 1); exit 1; }; }
108135 cat >conftest.$ac_ext <<_ACEOF
108136 /* confdefs.h. */
108137 _ACEOF
108138 cat confdefs.h >>conftest.$ac_ext
108139 cat >>conftest.$ac_ext <<_ACEOF
108140 /* end confdefs.h. */
108141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108143 #define $ac_func innocuous_$ac_func
108145 /* System header to define __stub macros and hopefully few prototypes,
108146 which can conflict with char $ac_func (); below.
108147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108148 <limits.h> exists even on freestanding compilers. */
108150 #ifdef __STDC__
108151 # include <limits.h>
108152 #else
108153 # include <assert.h>
108154 #endif
108156 #undef $ac_func
108158 /* Override any gcc2 internal prototype to avoid an error. */
108159 #ifdef __cplusplus
108160 extern "C"
108162 #endif
108163 /* We use char because int might match the return type of a gcc2
108164 builtin and then its argument prototype would still apply. */
108165 char $ac_func ();
108166 /* The GNU C library defines this for functions which it implements
108167 to always fail with ENOSYS. Some functions are actually named
108168 something starting with __ and the normal name is an alias. */
108169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108170 choke me
108171 #else
108172 char (*f) () = $ac_func;
108173 #endif
108174 #ifdef __cplusplus
108176 #endif
108179 main ()
108181 return f != $ac_func;
108183 return 0;
108185 _ACEOF
108186 rm -f conftest.$ac_objext conftest$ac_exeext
108187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108188 (eval $ac_link) 2>conftest.er1
108189 ac_status=$?
108190 grep -v '^ *+' conftest.er1 >conftest.err
108191 rm -f conftest.er1
108192 cat conftest.err >&5
108193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108194 (exit $ac_status); } &&
108195 { ac_try='test -z "$ac_c_werror_flag"
108196 || test ! -s conftest.err'
108197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108198 (eval $ac_try) 2>&5
108199 ac_status=$?
108200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108201 (exit $ac_status); }; } &&
108202 { ac_try='test -s conftest$ac_exeext'
108203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108204 (eval $ac_try) 2>&5
108205 ac_status=$?
108206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108207 (exit $ac_status); }; }; then
108208 eval "$as_ac_var=yes"
108210 echo "$as_me: failed program was:" >&5
108211 sed 's/^/| /' conftest.$ac_ext >&5
108213 eval "$as_ac_var=no"
108215 rm -f conftest.err conftest.$ac_objext \
108216 conftest$ac_exeext conftest.$ac_ext
108218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108220 if test `eval echo '${'$as_ac_var'}'` = yes; then
108221 cat >>confdefs.h <<_ACEOF
108222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108223 _ACEOF
108224 ac_XPG2funcs=yes
108226 ac_XPG2funcs=no
108231 LIBS="$ac_save_LIBS"
108233 if test x"$ac_has_iconv_h" = xyes &&
108234 test x"$ac_has_langinfo_h" = xyes &&
108235 test x"$ac_XPG2funcs" = xyes;
108238 cat >>confdefs.h <<\_ACEOF
108239 #define _GLIBCXX_USE_ICONV 1
108240 _ACEOF
108242 enable_iconv=yes
108245 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108246 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108247 echo "$as_me:$LINENO: result: $enable_iconv" >&5
108248 echo "${ECHO_T}$enable_iconv" >&6
108250 cat >>confdefs.h <<\_ACEOF
108251 #define HAVE_COPYSIGN 1
108252 _ACEOF
108254 cat >>confdefs.h <<\_ACEOF
108255 #define HAVE_COPYSIGNF 1
108256 _ACEOF
108258 cat >>confdefs.h <<\_ACEOF
108259 #define HAVE_FINITE 1
108260 _ACEOF
108262 cat >>confdefs.h <<\_ACEOF
108263 #define HAVE_FINITEF 1
108264 _ACEOF
108266 cat >>confdefs.h <<\_ACEOF
108267 #define HAVE_FREXPF 1
108268 _ACEOF
108270 cat >>confdefs.h <<\_ACEOF
108271 #define HAVE_HYPOTF 1
108272 _ACEOF
108274 cat >>confdefs.h <<\_ACEOF
108275 #define HAVE_ISINF 1
108276 _ACEOF
108278 cat >>confdefs.h <<\_ACEOF
108279 #define HAVE_ISINFF 1
108280 _ACEOF
108282 cat >>confdefs.h <<\_ACEOF
108283 #define HAVE_ISNAN 1
108284 _ACEOF
108286 cat >>confdefs.h <<\_ACEOF
108287 #define HAVE_ISNANF 1
108288 _ACEOF
108290 cat >>confdefs.h <<\_ACEOF
108291 #define HAVE_SINCOS 1
108292 _ACEOF
108294 cat >>confdefs.h <<\_ACEOF
108295 #define HAVE_SINCOSF 1
108296 _ACEOF
108298 if test x"long_double_math_on_this_cpu" = x"yes"; then
108299 cat >>confdefs.h <<\_ACEOF
108300 #define HAVE_FINITEL 1
108301 _ACEOF
108303 cat >>confdefs.h <<\_ACEOF
108304 #define HAVE_HYPOTL 1
108305 _ACEOF
108307 cat >>confdefs.h <<\_ACEOF
108308 #define HAVE_ISINFL 1
108309 _ACEOF
108311 cat >>confdefs.h <<\_ACEOF
108312 #define HAVE_ISNANL 1
108313 _ACEOF
108317 *-vxworks)
108318 cat >>confdefs.h <<\_ACEOF
108319 #define HAVE_MMAP 1
108320 _ACEOF
108322 cat >>confdefs.h <<\_ACEOF
108323 #define HAVE_ACOSF 1
108324 _ACEOF
108326 cat >>confdefs.h <<\_ACEOF
108327 #define HAVE_ASINF 1
108328 _ACEOF
108330 cat >>confdefs.h <<\_ACEOF
108331 #define HAVE_ATAN2F 1
108332 _ACEOF
108334 cat >>confdefs.h <<\_ACEOF
108335 #define HAVE_ATANF 1
108336 _ACEOF
108338 cat >>confdefs.h <<\_ACEOF
108339 #define HAVE_CEILF 1
108340 _ACEOF
108342 cat >>confdefs.h <<\_ACEOF
108343 #define HAVE_COSF 1
108344 _ACEOF
108346 cat >>confdefs.h <<\_ACEOF
108347 #define HAVE_COSHF 1
108348 _ACEOF
108350 cat >>confdefs.h <<\_ACEOF
108351 #define HAVE_EXPF 1
108352 _ACEOF
108354 cat >>confdefs.h <<\_ACEOF
108355 #define HAVE_FABSF 1
108356 _ACEOF
108358 cat >>confdefs.h <<\_ACEOF
108359 #define HAVE_FLOORF 1
108360 _ACEOF
108362 cat >>confdefs.h <<\_ACEOF
108363 #define HAVE_FMODF 1
108364 _ACEOF
108366 cat >>confdefs.h <<\_ACEOF
108367 #define HAVE_HYPOT 1
108368 _ACEOF
108370 cat >>confdefs.h <<\_ACEOF
108371 #define HAVE_LOG10F 1
108372 _ACEOF
108374 cat >>confdefs.h <<\_ACEOF
108375 #define HAVE_LOGF 1
108376 _ACEOF
108378 cat >>confdefs.h <<\_ACEOF
108379 #define HAVE_POWF 1
108380 _ACEOF
108382 cat >>confdefs.h <<\_ACEOF
108383 #define HAVE_SINF 1
108384 _ACEOF
108386 cat >>confdefs.h <<\_ACEOF
108387 #define HAVE_SINHF 1
108388 _ACEOF
108390 cat >>confdefs.h <<\_ACEOF
108391 #define HAVE_SQRTF 1
108392 _ACEOF
108394 cat >>confdefs.h <<\_ACEOF
108395 #define HAVE_TANF 1
108396 _ACEOF
108398 cat >>confdefs.h <<\_ACEOF
108399 #define HAVE_TANHF 1
108400 _ACEOF
108403 *-windiss*)
108404 cat >>confdefs.h <<\_ACEOF
108405 #define HAVE_ACOSF 1
108406 _ACEOF
108408 cat >>confdefs.h <<\_ACEOF
108409 #define HAVE_ACOSL 1
108410 _ACEOF
108412 cat >>confdefs.h <<\_ACEOF
108413 #define HAVE_ASINF 1
108414 _ACEOF
108416 cat >>confdefs.h <<\_ACEOF
108417 #define HAVE_ASINL 1
108418 _ACEOF
108420 cat >>confdefs.h <<\_ACEOF
108421 #define HAVE_ATAN2F 1
108422 _ACEOF
108424 cat >>confdefs.h <<\_ACEOF
108425 #define HAVE_ATAN2L 1
108426 _ACEOF
108428 cat >>confdefs.h <<\_ACEOF
108429 #define HAVE_ATANF 1
108430 _ACEOF
108432 cat >>confdefs.h <<\_ACEOF
108433 #define HAVE_ATANL 1
108434 _ACEOF
108436 cat >>confdefs.h <<\_ACEOF
108437 #define HAVE_CEILF 1
108438 _ACEOF
108440 cat >>confdefs.h <<\_ACEOF
108441 #define HAVE_CEILL 1
108442 _ACEOF
108444 cat >>confdefs.h <<\_ACEOF
108445 #define HAVE_COPYSIGN 1
108446 _ACEOF
108448 cat >>confdefs.h <<\_ACEOF
108449 #define HAVE_COPYSIGNF 1
108450 _ACEOF
108452 cat >>confdefs.h <<\_ACEOF
108453 #define HAVE_COSF 1
108454 _ACEOF
108456 cat >>confdefs.h <<\_ACEOF
108457 #define HAVE_COSL 1
108458 _ACEOF
108460 cat >>confdefs.h <<\_ACEOF
108461 #define HAVE_COSHF 1
108462 _ACEOF
108464 cat >>confdefs.h <<\_ACEOF
108465 #define HAVE_COSHL 1
108466 _ACEOF
108468 cat >>confdefs.h <<\_ACEOF
108469 #define HAVE_EXPF 1
108470 _ACEOF
108472 cat >>confdefs.h <<\_ACEOF
108473 #define HAVE_EXPL 1
108474 _ACEOF
108476 cat >>confdefs.h <<\_ACEOF
108477 #define HAVE_FABSF 1
108478 _ACEOF
108480 cat >>confdefs.h <<\_ACEOF
108481 #define HAVE_FABSL 1
108482 _ACEOF
108484 cat >>confdefs.h <<\_ACEOF
108485 #define HAVE_FLOORF 1
108486 _ACEOF
108488 cat >>confdefs.h <<\_ACEOF
108489 #define HAVE_FLOORL 1
108490 _ACEOF
108492 cat >>confdefs.h <<\_ACEOF
108493 #define HAVE_FMODF 1
108494 _ACEOF
108496 cat >>confdefs.h <<\_ACEOF
108497 #define HAVE_FMODL 1
108498 _ACEOF
108500 cat >>confdefs.h <<\_ACEOF
108501 #define HAVE_FREXPF 1
108502 _ACEOF
108504 cat >>confdefs.h <<\_ACEOF
108505 #define HAVE_FREXPL 1
108506 _ACEOF
108508 cat >>confdefs.h <<\_ACEOF
108509 #define HAVE_LDEXPF 1
108510 _ACEOF
108512 cat >>confdefs.h <<\_ACEOF
108513 #define HAVE_LDEXPL 1
108514 _ACEOF
108516 cat >>confdefs.h <<\_ACEOF
108517 #define HAVE_LOG10F 1
108518 _ACEOF
108520 cat >>confdefs.h <<\_ACEOF
108521 #define HAVE_LOG10L 1
108522 _ACEOF
108524 cat >>confdefs.h <<\_ACEOF
108525 #define HAVE_LOGF 1
108526 _ACEOF
108528 cat >>confdefs.h <<\_ACEOF
108529 #define HAVE_MODFF 1
108530 _ACEOF
108532 cat >>confdefs.h <<\_ACEOF
108533 #define HAVE_MODFL 1
108534 _ACEOF
108536 cat >>confdefs.h <<\_ACEOF
108537 #define HAVE_POWF 1
108538 _ACEOF
108540 cat >>confdefs.h <<\_ACEOF
108541 #define HAVE_POWL 1
108542 _ACEOF
108544 cat >>confdefs.h <<\_ACEOF
108545 #define HAVE_SINF 1
108546 _ACEOF
108548 cat >>confdefs.h <<\_ACEOF
108549 #define HAVE_SINL 1
108550 _ACEOF
108552 cat >>confdefs.h <<\_ACEOF
108553 #define HAVE_SINHF 1
108554 _ACEOF
108556 cat >>confdefs.h <<\_ACEOF
108557 #define HAVE_SINHL 1
108558 _ACEOF
108560 cat >>confdefs.h <<\_ACEOF
108561 #define HAVE_SQRTF 1
108562 _ACEOF
108564 cat >>confdefs.h <<\_ACEOF
108565 #define HAVE_SQRTL 1
108566 _ACEOF
108568 cat >>confdefs.h <<\_ACEOF
108569 #define HAVE_TANF 1
108570 _ACEOF
108572 cat >>confdefs.h <<\_ACEOF
108573 #define HAVE_TANL 1
108574 _ACEOF
108576 cat >>confdefs.h <<\_ACEOF
108577 #define HAVE_TANHF 1
108578 _ACEOF
108580 cat >>confdefs.h <<\_ACEOF
108581 #define HAVE_TANHL 1
108582 _ACEOF
108586 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108587 echo "$as_me: error: No support for this host/target combination." >&2;}
108588 { (exit 1); exit 1; }; }
108594 # At some point, we should differentiate between architectures
108595 # like x86, which have long double versions, and alpha/powerpc/etc.,
108596 # which don't. For the time being, punt.
108597 if test x"long_double_math_on_this_cpu" = x"yes"; then
108598 cat >>confdefs.h <<\_ACEOF
108599 #define HAVE_ACOSL 1
108600 _ACEOF
108602 cat >>confdefs.h <<\_ACEOF
108603 #define HAVE_ASINL 1
108604 _ACEOF
108606 cat >>confdefs.h <<\_ACEOF
108607 #define HAVE_ATAN2L 1
108608 _ACEOF
108610 cat >>confdefs.h <<\_ACEOF
108611 #define HAVE_ATANL 1
108612 _ACEOF
108614 cat >>confdefs.h <<\_ACEOF
108615 #define HAVE_CEILL 1
108616 _ACEOF
108618 cat >>confdefs.h <<\_ACEOF
108619 #define HAVE_COPYSIGNL 1
108620 _ACEOF
108622 cat >>confdefs.h <<\_ACEOF
108623 #define HAVE_COSL 1
108624 _ACEOF
108626 cat >>confdefs.h <<\_ACEOF
108627 #define HAVE_COSHL 1
108628 _ACEOF
108630 cat >>confdefs.h <<\_ACEOF
108631 #define HAVE_EXPL 1
108632 _ACEOF
108634 cat >>confdefs.h <<\_ACEOF
108635 #define HAVE_FABSL 1
108636 _ACEOF
108638 cat >>confdefs.h <<\_ACEOF
108639 #define HAVE_FLOORL 1
108640 _ACEOF
108642 cat >>confdefs.h <<\_ACEOF
108643 #define HAVE_FMODL 1
108644 _ACEOF
108646 cat >>confdefs.h <<\_ACEOF
108647 #define HAVE_FREXPL 1
108648 _ACEOF
108650 cat >>confdefs.h <<\_ACEOF
108651 #define HAVE_LDEXPL 1
108652 _ACEOF
108654 cat >>confdefs.h <<\_ACEOF
108655 #define HAVE_LOG10L 1
108656 _ACEOF
108658 cat >>confdefs.h <<\_ACEOF
108659 #define HAVE_LOGL 1
108660 _ACEOF
108662 cat >>confdefs.h <<\_ACEOF
108663 #define HAVE_MODFL 1
108664 _ACEOF
108666 cat >>confdefs.h <<\_ACEOF
108667 #define HAVE_POWL 1
108668 _ACEOF
108670 cat >>confdefs.h <<\_ACEOF
108671 #define HAVE_SINCOSL 1
108672 _ACEOF
108674 cat >>confdefs.h <<\_ACEOF
108675 #define HAVE_SINL 1
108676 _ACEOF
108678 cat >>confdefs.h <<\_ACEOF
108679 #define HAVE_SINHL 1
108680 _ACEOF
108682 cat >>confdefs.h <<\_ACEOF
108683 #define HAVE_SQRTL 1
108684 _ACEOF
108686 cat >>confdefs.h <<\_ACEOF
108687 #define HAVE_TANL 1
108688 _ACEOF
108690 cat >>confdefs.h <<\_ACEOF
108691 #define HAVE_TANHL 1
108692 _ACEOF
108696 # Assume we have _Unwind_GetIPInfo for cross-compiles.
108697 cat >>confdefs.h <<\_ACEOF
108698 #define HAVE_GETIPINFO 1
108699 _ACEOF
108704 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108707 # Check whether --enable-symvers or --disable-symvers was given.
108708 if test "${enable_symvers+set}" = set; then
108709 enableval="$enable_symvers"
108711 case "$enableval" in
108712 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108713 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108714 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108715 { (exit 1); exit 1; }; } ;;
108719 enable_symvers=yes
108723 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108724 # don't know enough about $LD to do tricks...
108727 # Turn a 'yes' into a suitable default.
108728 if test x$enable_symvers = xyes ; then
108729 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108730 enable_symvers=no
108732 if test $with_gnu_ld = yes ; then
108733 enable_symvers=gnu
108735 case ${target_os} in
108736 darwin*)
108737 enable_symvers=darwin ;;
108739 enable_symvers=no ;;
108745 # Check to see if 'darwin' or 'darwin-export' can win.
108746 if test x$enable_symvers = xdarwin-export ; then
108747 enable_symvers=darwin
108750 # Check to see if 'gnu' can win.
108751 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108752 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108753 echo "$as_me:$LINENO: checking for shared libgcc" >&5
108754 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108755 ac_save_CFLAGS="$CFLAGS"
108756 CFLAGS=' -lgcc_s'
108757 if test x$gcc_no_link = xyes; then
108758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108760 { (exit 1); exit 1; }; }
108762 cat >conftest.$ac_ext <<_ACEOF
108763 /* confdefs.h. */
108764 _ACEOF
108765 cat confdefs.h >>conftest.$ac_ext
108766 cat >>conftest.$ac_ext <<_ACEOF
108767 /* end confdefs.h. */
108770 main ()
108772 return 0;
108774 return 0;
108776 _ACEOF
108777 rm -f conftest.$ac_objext conftest$ac_exeext
108778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108779 (eval $ac_link) 2>conftest.er1
108780 ac_status=$?
108781 grep -v '^ *+' conftest.er1 >conftest.err
108782 rm -f conftest.er1
108783 cat conftest.err >&5
108784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108785 (exit $ac_status); } &&
108786 { ac_try='test -z "$ac_c_werror_flag"
108787 || test ! -s conftest.err'
108788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108789 (eval $ac_try) 2>&5
108790 ac_status=$?
108791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108792 (exit $ac_status); }; } &&
108793 { ac_try='test -s conftest$ac_exeext'
108794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108795 (eval $ac_try) 2>&5
108796 ac_status=$?
108797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108798 (exit $ac_status); }; }; then
108799 glibcxx_shared_libgcc=yes
108801 echo "$as_me: failed program was:" >&5
108802 sed 's/^/| /' conftest.$ac_ext >&5
108804 glibcxx_shared_libgcc=no
108806 rm -f conftest.err conftest.$ac_objext \
108807 conftest$ac_exeext conftest.$ac_ext
108808 CFLAGS="$ac_save_CFLAGS"
108809 if test $glibcxx_shared_libgcc = no; then
108810 cat > conftest.c <<EOF
108811 int main (void) { return 0; }
108813 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108814 -shared -shared-libgcc -o conftest.so \
108815 conftest.c -v 2>&1 >/dev/null \
108816 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108817 rm -f conftest.c conftest.so
108818 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108819 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108820 if test x$gcc_no_link = xyes; then
108821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108823 { (exit 1); exit 1; }; }
108825 cat >conftest.$ac_ext <<_ACEOF
108826 /* confdefs.h. */
108827 _ACEOF
108828 cat confdefs.h >>conftest.$ac_ext
108829 cat >>conftest.$ac_ext <<_ACEOF
108830 /* end confdefs.h. */
108833 main ()
108835 return 0;
108837 return 0;
108839 _ACEOF
108840 rm -f conftest.$ac_objext conftest$ac_exeext
108841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108842 (eval $ac_link) 2>conftest.er1
108843 ac_status=$?
108844 grep -v '^ *+' conftest.er1 >conftest.err
108845 rm -f conftest.er1
108846 cat conftest.err >&5
108847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108848 (exit $ac_status); } &&
108849 { ac_try='test -z "$ac_c_werror_flag"
108850 || test ! -s conftest.err'
108851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108852 (eval $ac_try) 2>&5
108853 ac_status=$?
108854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108855 (exit $ac_status); }; } &&
108856 { ac_try='test -s conftest$ac_exeext'
108857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108858 (eval $ac_try) 2>&5
108859 ac_status=$?
108860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108861 (exit $ac_status); }; }; then
108862 glibcxx_shared_libgcc=yes
108864 echo "$as_me: failed program was:" >&5
108865 sed 's/^/| /' conftest.$ac_ext >&5
108868 rm -f conftest.err conftest.$ac_objext \
108869 conftest$ac_exeext conftest.$ac_ext
108870 CFLAGS="$ac_save_CFLAGS"
108873 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108874 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108876 # For GNU ld, we need at least this version. The format is described in
108877 # GLIBCXX_CHECK_LINKER_FEATURES above.
108878 glibcxx_min_gnu_ld_version=21400
108880 # If no shared libgcc, can't win.
108881 if test $glibcxx_shared_libgcc != yes; then
108882 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108883 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108884 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108885 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108886 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108887 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108888 enable_symvers=no
108889 elif test $with_gnu_ld != yes ; then
108890 # just fail for now
108891 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108892 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108893 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108894 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108895 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108896 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108897 enable_symvers=no
108898 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108899 # The right tools, the right setup, but too old. Fallbacks?
108900 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108901 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108902 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108903 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108904 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108905 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108906 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108907 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108908 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108909 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108910 enable_symvers=no
108914 # Everything parsed; figure out what file to use.
108915 case $enable_symvers in
108917 SYMVER_FILE=config/abi/pre/none.ver
108920 SYMVER_FILE=config/abi/pre/gnu.ver
108922 cat >>confdefs.h <<\_ACEOF
108923 #define _GLIBCXX_SYMVER_GNU 1
108924 _ACEOF
108927 gnu-versioned-namespace)
108928 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108930 cat >>confdefs.h <<\_ACEOF
108931 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108932 _ACEOF
108935 darwin)
108936 SYMVER_FILE=config/abi/pre/gnu.ver
108938 cat >>confdefs.h <<\_ACEOF
108939 #define _GLIBCXX_SYMVER_DARWIN 1
108940 _ACEOF
108945 if test x$enable_symvers != xno ; then
108947 cat >>confdefs.h <<\_ACEOF
108948 #define _GLIBCXX_SYMVER 1
108949 _ACEOF
108959 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108960 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108962 # Now, set up compatibility support, if any.
108963 # In addition, need this to deal with std::size_t mangling in
108964 # src/compatibility.cc. In a perfect world, could use
108965 # typeid(std::size_t).name()[0] to do direct substitution.
108966 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108967 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108968 ac_save_CFLAGS="$CFLAGS"
108969 CFLAGS="-Werror"
108970 cat >conftest.$ac_ext <<_ACEOF
108971 /* confdefs.h. */
108972 _ACEOF
108973 cat confdefs.h >>conftest.$ac_ext
108974 cat >>conftest.$ac_ext <<_ACEOF
108975 /* end confdefs.h. */
108978 main ()
108980 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108982 return 0;
108984 _ACEOF
108985 rm -f conftest.$ac_objext
108986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108987 (eval $ac_compile) 2>conftest.er1
108988 ac_status=$?
108989 grep -v '^ *+' conftest.er1 >conftest.err
108990 rm -f conftest.er1
108991 cat conftest.err >&5
108992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108993 (exit $ac_status); } &&
108994 { ac_try='test -z "$ac_c_werror_flag"
108995 || test ! -s conftest.err'
108996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108997 (eval $ac_try) 2>&5
108998 ac_status=$?
108999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109000 (exit $ac_status); }; } &&
109001 { ac_try='test -s conftest.$ac_objext'
109002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109003 (eval $ac_try) 2>&5
109004 ac_status=$?
109005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109006 (exit $ac_status); }; }; then
109007 glibcxx_size_t_is_i=yes
109009 echo "$as_me: failed program was:" >&5
109010 sed 's/^/| /' conftest.$ac_ext >&5
109012 glibcxx_size_t_is_i=no
109014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109015 CFLAGS=$ac_save_CFLAGS
109016 if test "$glibcxx_size_t_is_i" = yes; then
109018 cat >>confdefs.h <<\_ACEOF
109019 #define _GLIBCXX_SIZE_T_IS_UINT 1
109020 _ACEOF
109023 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
109024 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
109026 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
109027 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
109028 ac_save_CFLAGS="$CFLAGS"
109029 CFLAGS="-Werror"
109030 cat >conftest.$ac_ext <<_ACEOF
109031 /* confdefs.h. */
109032 _ACEOF
109033 cat confdefs.h >>conftest.$ac_ext
109034 cat >>conftest.$ac_ext <<_ACEOF
109035 /* end confdefs.h. */
109038 main ()
109040 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
109042 return 0;
109044 _ACEOF
109045 rm -f conftest.$ac_objext
109046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109047 (eval $ac_compile) 2>conftest.er1
109048 ac_status=$?
109049 grep -v '^ *+' conftest.er1 >conftest.err
109050 rm -f conftest.er1
109051 cat conftest.err >&5
109052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109053 (exit $ac_status); } &&
109054 { ac_try='test -z "$ac_c_werror_flag"
109055 || test ! -s conftest.err'
109056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109057 (eval $ac_try) 2>&5
109058 ac_status=$?
109059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109060 (exit $ac_status); }; } &&
109061 { ac_try='test -s conftest.$ac_objext'
109062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109063 (eval $ac_try) 2>&5
109064 ac_status=$?
109065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109066 (exit $ac_status); }; }; then
109067 glibcxx_ptrdiff_t_is_i=yes
109069 echo "$as_me: failed program was:" >&5
109070 sed 's/^/| /' conftest.$ac_ext >&5
109072 glibcxx_ptrdiff_t_is_i=no
109074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109075 CFLAGS=$ac_save_CFLAGS
109076 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109078 cat >>confdefs.h <<\_ACEOF
109079 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109080 _ACEOF
109083 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109084 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109087 # Check whether --enable-visibility or --disable-visibility was given.
109088 if test "${enable_visibility+set}" = set; then
109089 enableval="$enable_visibility"
109091 case "$enableval" in
109092 yes|no) ;;
109093 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
109094 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
109095 { (exit 1); exit 1; }; } ;;
109099 enable_visibility=yes
109103 if test x$enable_visibility = xyes ; then
109104 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
109105 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
109106 if test "${have_attribute_visibility+set}" = set; then
109107 echo $ECHO_N "(cached) $ECHO_C" >&6
109110 save_CFLAGS="$CFLAGS"
109111 CFLAGS="$CFLAGS -Werror"
109112 cat >conftest.$ac_ext <<_ACEOF
109113 /* confdefs.h. */
109114 _ACEOF
109115 cat confdefs.h >>conftest.$ac_ext
109116 cat >>conftest.$ac_ext <<_ACEOF
109117 /* end confdefs.h. */
109118 void __attribute__((visibility("hidden"))) foo(void) { }
109120 main ()
109124 return 0;
109126 _ACEOF
109127 rm -f conftest.$ac_objext
109128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109129 (eval $ac_compile) 2>conftest.er1
109130 ac_status=$?
109131 grep -v '^ *+' conftest.er1 >conftest.err
109132 rm -f conftest.er1
109133 cat conftest.err >&5
109134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109135 (exit $ac_status); } &&
109136 { ac_try='test -z "$ac_c_werror_flag"
109137 || test ! -s conftest.err'
109138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109139 (eval $ac_try) 2>&5
109140 ac_status=$?
109141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109142 (exit $ac_status); }; } &&
109143 { ac_try='test -s conftest.$ac_objext'
109144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109145 (eval $ac_try) 2>&5
109146 ac_status=$?
109147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109148 (exit $ac_status); }; }; then
109149 have_attribute_visibility=yes
109151 echo "$as_me: failed program was:" >&5
109152 sed 's/^/| /' conftest.$ac_ext >&5
109154 have_attribute_visibility=no
109156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109157 CFLAGS="$save_CFLAGS"
109159 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
109160 echo "${ECHO_T}$have_attribute_visibility" >&6
109161 if test $have_attribute_visibility = no; then
109162 enable_visibility=no
109167 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
109168 echo "$as_me: visibility supported: $enable_visibility" >&6;}
109171 ac_ldbl_compat=no
109172 case "$target" in
109173 powerpc*-*-*gnu* | \
109174 sparc*-*-linux* | \
109175 s390*-*-linux* | \
109176 alpha*-*-linux*)
109177 cat >conftest.$ac_ext <<_ACEOF
109178 /* confdefs.h. */
109179 _ACEOF
109180 cat confdefs.h >>conftest.$ac_ext
109181 cat >>conftest.$ac_ext <<_ACEOF
109182 /* end confdefs.h. */
109185 main ()
109188 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109189 #error no need for long double compatibility
109190 #endif
109193 return 0;
109195 _ACEOF
109196 rm -f conftest.$ac_objext
109197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109198 (eval $ac_compile) 2>conftest.er1
109199 ac_status=$?
109200 grep -v '^ *+' conftest.er1 >conftest.err
109201 rm -f conftest.er1
109202 cat conftest.err >&5
109203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109204 (exit $ac_status); } &&
109205 { ac_try='test -z "$ac_c_werror_flag"
109206 || test ! -s conftest.err'
109207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109208 (eval $ac_try) 2>&5
109209 ac_status=$?
109210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109211 (exit $ac_status); }; } &&
109212 { ac_try='test -s conftest.$ac_objext'
109213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214 (eval $ac_try) 2>&5
109215 ac_status=$?
109216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217 (exit $ac_status); }; }; then
109218 ac_ldbl_compat=yes
109220 echo "$as_me: failed program was:" >&5
109221 sed 's/^/| /' conftest.$ac_ext >&5
109223 ac_ldbl_compat=no
109225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109226 if test "$ac_ldbl_compat" = yes; then
109228 cat >>confdefs.h <<\_ACEOF
109229 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109230 _ACEOF
109232 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109237 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109239 if $GLIBCXX_IS_NATIVE ; then
109240 # Do checks for resource limit functions.
109242 setrlimit_have_headers=yes
109246 for ac_header in unistd.h sys/time.h sys/resource.h
109248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109250 echo "$as_me:$LINENO: checking for $ac_header" >&5
109251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109253 echo $ECHO_N "(cached) $ECHO_C" >&6
109255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109258 # Is the header compilable?
109259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109261 cat >conftest.$ac_ext <<_ACEOF
109262 /* confdefs.h. */
109263 _ACEOF
109264 cat confdefs.h >>conftest.$ac_ext
109265 cat >>conftest.$ac_ext <<_ACEOF
109266 /* end confdefs.h. */
109267 $ac_includes_default
109268 #include <$ac_header>
109269 _ACEOF
109270 rm -f conftest.$ac_objext
109271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109272 (eval $ac_compile) 2>conftest.er1
109273 ac_status=$?
109274 grep -v '^ *+' conftest.er1 >conftest.err
109275 rm -f conftest.er1
109276 cat conftest.err >&5
109277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109278 (exit $ac_status); } &&
109279 { ac_try='test -z "$ac_c_werror_flag"
109280 || test ! -s conftest.err'
109281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109282 (eval $ac_try) 2>&5
109283 ac_status=$?
109284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109285 (exit $ac_status); }; } &&
109286 { ac_try='test -s conftest.$ac_objext'
109287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109288 (eval $ac_try) 2>&5
109289 ac_status=$?
109290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109291 (exit $ac_status); }; }; then
109292 ac_header_compiler=yes
109294 echo "$as_me: failed program was:" >&5
109295 sed 's/^/| /' conftest.$ac_ext >&5
109297 ac_header_compiler=no
109299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109301 echo "${ECHO_T}$ac_header_compiler" >&6
109303 # Is the header present?
109304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109306 cat >conftest.$ac_ext <<_ACEOF
109307 /* confdefs.h. */
109308 _ACEOF
109309 cat confdefs.h >>conftest.$ac_ext
109310 cat >>conftest.$ac_ext <<_ACEOF
109311 /* end confdefs.h. */
109312 #include <$ac_header>
109313 _ACEOF
109314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109316 ac_status=$?
109317 grep -v '^ *+' conftest.er1 >conftest.err
109318 rm -f conftest.er1
109319 cat conftest.err >&5
109320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109321 (exit $ac_status); } >/dev/null; then
109322 if test -s conftest.err; then
109323 ac_cpp_err=$ac_c_preproc_warn_flag
109324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109326 ac_cpp_err=
109329 ac_cpp_err=yes
109331 if test -z "$ac_cpp_err"; then
109332 ac_header_preproc=yes
109334 echo "$as_me: failed program was:" >&5
109335 sed 's/^/| /' conftest.$ac_ext >&5
109337 ac_header_preproc=no
109339 rm -f conftest.err conftest.$ac_ext
109340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109341 echo "${ECHO_T}$ac_header_preproc" >&6
109343 # So? What about this header?
109344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109345 yes:no: )
109346 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109350 ac_header_preproc=yes
109352 no:yes:* )
109353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109357 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109359 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109360 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109363 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109366 cat <<\_ASBOX
109367 ## ----------------------------------------- ##
109368 ## Report this to the package-unused lists. ##
109369 ## ----------------------------------------- ##
109370 _ASBOX
109372 sed "s/^/$as_me: WARNING: /" >&2
109375 echo "$as_me:$LINENO: checking for $ac_header" >&5
109376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109378 echo $ECHO_N "(cached) $ECHO_C" >&6
109380 eval "$as_ac_Header=\$ac_header_preproc"
109382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109387 cat >>confdefs.h <<_ACEOF
109388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109389 _ACEOF
109392 setrlimit_have_headers=no
109397 # If don't have the headers, then we can't run the tests now, and we
109398 # won't be seeing any of these during testsuite compilation.
109399 if test $setrlimit_have_headers = yes; then
109400 # Can't do these in a loop, else the resulting syntax is wrong.
109402 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109403 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109404 cat >conftest.$ac_ext <<_ACEOF
109405 /* confdefs.h. */
109406 _ACEOF
109407 cat confdefs.h >>conftest.$ac_ext
109408 cat >>conftest.$ac_ext <<_ACEOF
109409 /* end confdefs.h. */
109410 #include <unistd.h>
109411 #include <sys/time.h>
109412 #include <sys/resource.h>
109415 main ()
109417 int f = RLIMIT_DATA ;
109419 return 0;
109421 _ACEOF
109422 rm -f conftest.$ac_objext
109423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109424 (eval $ac_compile) 2>conftest.er1
109425 ac_status=$?
109426 grep -v '^ *+' conftest.er1 >conftest.err
109427 rm -f conftest.er1
109428 cat conftest.err >&5
109429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109430 (exit $ac_status); } &&
109431 { ac_try='test -z "$ac_c_werror_flag"
109432 || test ! -s conftest.err'
109433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109434 (eval $ac_try) 2>&5
109435 ac_status=$?
109436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109437 (exit $ac_status); }; } &&
109438 { ac_try='test -s conftest.$ac_objext'
109439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109440 (eval $ac_try) 2>&5
109441 ac_status=$?
109442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109443 (exit $ac_status); }; }; then
109444 glibcxx_mresult=1
109446 echo "$as_me: failed program was:" >&5
109447 sed 's/^/| /' conftest.$ac_ext >&5
109449 glibcxx_mresult=0
109451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109453 cat >>confdefs.h <<_ACEOF
109454 #define HAVE_LIMIT_DATA $glibcxx_mresult
109455 _ACEOF
109457 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109458 echo "$as_me:$LINENO: result: $res" >&5
109459 echo "${ECHO_T}$res" >&6
109462 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109463 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109464 cat >conftest.$ac_ext <<_ACEOF
109465 /* confdefs.h. */
109466 _ACEOF
109467 cat confdefs.h >>conftest.$ac_ext
109468 cat >>conftest.$ac_ext <<_ACEOF
109469 /* end confdefs.h. */
109470 #include <unistd.h>
109471 #include <sys/time.h>
109472 #include <sys/resource.h>
109475 main ()
109477 int f = RLIMIT_RSS ;
109479 return 0;
109481 _ACEOF
109482 rm -f conftest.$ac_objext
109483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109484 (eval $ac_compile) 2>conftest.er1
109485 ac_status=$?
109486 grep -v '^ *+' conftest.er1 >conftest.err
109487 rm -f conftest.er1
109488 cat conftest.err >&5
109489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109490 (exit $ac_status); } &&
109491 { ac_try='test -z "$ac_c_werror_flag"
109492 || test ! -s conftest.err'
109493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109494 (eval $ac_try) 2>&5
109495 ac_status=$?
109496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109497 (exit $ac_status); }; } &&
109498 { ac_try='test -s conftest.$ac_objext'
109499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109500 (eval $ac_try) 2>&5
109501 ac_status=$?
109502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109503 (exit $ac_status); }; }; then
109504 glibcxx_mresult=1
109506 echo "$as_me: failed program was:" >&5
109507 sed 's/^/| /' conftest.$ac_ext >&5
109509 glibcxx_mresult=0
109511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109513 cat >>confdefs.h <<_ACEOF
109514 #define HAVE_LIMIT_RSS $glibcxx_mresult
109515 _ACEOF
109517 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109518 echo "$as_me:$LINENO: result: $res" >&5
109519 echo "${ECHO_T}$res" >&6
109522 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109523 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109524 cat >conftest.$ac_ext <<_ACEOF
109525 /* confdefs.h. */
109526 _ACEOF
109527 cat confdefs.h >>conftest.$ac_ext
109528 cat >>conftest.$ac_ext <<_ACEOF
109529 /* end confdefs.h. */
109530 #include <unistd.h>
109531 #include <sys/time.h>
109532 #include <sys/resource.h>
109535 main ()
109537 int f = RLIMIT_VMEM ;
109539 return 0;
109541 _ACEOF
109542 rm -f conftest.$ac_objext
109543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109544 (eval $ac_compile) 2>conftest.er1
109545 ac_status=$?
109546 grep -v '^ *+' conftest.er1 >conftest.err
109547 rm -f conftest.er1
109548 cat conftest.err >&5
109549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109550 (exit $ac_status); } &&
109551 { ac_try='test -z "$ac_c_werror_flag"
109552 || test ! -s conftest.err'
109553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109554 (eval $ac_try) 2>&5
109555 ac_status=$?
109556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109557 (exit $ac_status); }; } &&
109558 { ac_try='test -s conftest.$ac_objext'
109559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109560 (eval $ac_try) 2>&5
109561 ac_status=$?
109562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109563 (exit $ac_status); }; }; then
109564 glibcxx_mresult=1
109566 echo "$as_me: failed program was:" >&5
109567 sed 's/^/| /' conftest.$ac_ext >&5
109569 glibcxx_mresult=0
109571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109573 cat >>confdefs.h <<_ACEOF
109574 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109575 _ACEOF
109577 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109578 echo "$as_me:$LINENO: result: $res" >&5
109579 echo "${ECHO_T}$res" >&6
109582 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109583 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109584 cat >conftest.$ac_ext <<_ACEOF
109585 /* confdefs.h. */
109586 _ACEOF
109587 cat confdefs.h >>conftest.$ac_ext
109588 cat >>conftest.$ac_ext <<_ACEOF
109589 /* end confdefs.h. */
109590 #include <unistd.h>
109591 #include <sys/time.h>
109592 #include <sys/resource.h>
109595 main ()
109597 int f = RLIMIT_AS ;
109599 return 0;
109601 _ACEOF
109602 rm -f conftest.$ac_objext
109603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109604 (eval $ac_compile) 2>conftest.er1
109605 ac_status=$?
109606 grep -v '^ *+' conftest.er1 >conftest.err
109607 rm -f conftest.er1
109608 cat conftest.err >&5
109609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109610 (exit $ac_status); } &&
109611 { ac_try='test -z "$ac_c_werror_flag"
109612 || test ! -s conftest.err'
109613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109614 (eval $ac_try) 2>&5
109615 ac_status=$?
109616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109617 (exit $ac_status); }; } &&
109618 { ac_try='test -s conftest.$ac_objext'
109619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109620 (eval $ac_try) 2>&5
109621 ac_status=$?
109622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109623 (exit $ac_status); }; }; then
109624 glibcxx_mresult=1
109626 echo "$as_me: failed program was:" >&5
109627 sed 's/^/| /' conftest.$ac_ext >&5
109629 glibcxx_mresult=0
109631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109633 cat >>confdefs.h <<_ACEOF
109634 #define HAVE_LIMIT_AS $glibcxx_mresult
109635 _ACEOF
109637 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109638 echo "$as_me:$LINENO: result: $res" >&5
109639 echo "${ECHO_T}$res" >&6
109642 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109643 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109644 cat >conftest.$ac_ext <<_ACEOF
109645 /* confdefs.h. */
109646 _ACEOF
109647 cat confdefs.h >>conftest.$ac_ext
109648 cat >>conftest.$ac_ext <<_ACEOF
109649 /* end confdefs.h. */
109650 #include <unistd.h>
109651 #include <sys/time.h>
109652 #include <sys/resource.h>
109655 main ()
109657 int f = RLIMIT_FSIZE ;
109659 return 0;
109661 _ACEOF
109662 rm -f conftest.$ac_objext
109663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109664 (eval $ac_compile) 2>conftest.er1
109665 ac_status=$?
109666 grep -v '^ *+' conftest.er1 >conftest.err
109667 rm -f conftest.er1
109668 cat conftest.err >&5
109669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109670 (exit $ac_status); } &&
109671 { ac_try='test -z "$ac_c_werror_flag"
109672 || test ! -s conftest.err'
109673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109674 (eval $ac_try) 2>&5
109675 ac_status=$?
109676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109677 (exit $ac_status); }; } &&
109678 { ac_try='test -s conftest.$ac_objext'
109679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109680 (eval $ac_try) 2>&5
109681 ac_status=$?
109682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109683 (exit $ac_status); }; }; then
109684 glibcxx_mresult=1
109686 echo "$as_me: failed program was:" >&5
109687 sed 's/^/| /' conftest.$ac_ext >&5
109689 glibcxx_mresult=0
109691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109693 cat >>confdefs.h <<_ACEOF
109694 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109695 _ACEOF
109697 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109698 echo "$as_me:$LINENO: result: $res" >&5
109699 echo "${ECHO_T}$res" >&6
109702 # Check for rlimit, setrlimit.
109703 if test "${ac_setrlimit+set}" = set; then
109704 echo $ECHO_N "(cached) $ECHO_C" >&6
109707 cat >conftest.$ac_ext <<_ACEOF
109708 /* confdefs.h. */
109709 _ACEOF
109710 cat confdefs.h >>conftest.$ac_ext
109711 cat >>conftest.$ac_ext <<_ACEOF
109712 /* end confdefs.h. */
109713 #include <unistd.h>
109714 #include <sys/time.h>
109715 #include <sys/resource.h>
109718 main ()
109720 struct rlimit r;
109721 setrlimit(0, &r);
109723 return 0;
109725 _ACEOF
109726 rm -f conftest.$ac_objext
109727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109728 (eval $ac_compile) 2>conftest.er1
109729 ac_status=$?
109730 grep -v '^ *+' conftest.er1 >conftest.err
109731 rm -f conftest.er1
109732 cat conftest.err >&5
109733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109734 (exit $ac_status); } &&
109735 { ac_try='test -z "$ac_c_werror_flag"
109736 || test ! -s conftest.err'
109737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109738 (eval $ac_try) 2>&5
109739 ac_status=$?
109740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109741 (exit $ac_status); }; } &&
109742 { ac_try='test -s conftest.$ac_objext'
109743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109744 (eval $ac_try) 2>&5
109745 ac_status=$?
109746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109747 (exit $ac_status); }; }; then
109748 ac_setrlimit=yes
109750 echo "$as_me: failed program was:" >&5
109751 sed 's/^/| /' conftest.$ac_ext >&5
109753 ac_setrlimit=no
109755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109761 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109762 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109763 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109764 ac_res_limits=yes
109766 cat >>confdefs.h <<\_ACEOF
109767 #define _GLIBCXX_RES_LIMITS 1
109768 _ACEOF
109771 ac_res_limits=no
109773 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109774 echo "${ECHO_T}$ac_res_limits" >&6
109777 # Look for setenv, so that extended locale tests can be performed.
109779 echo "$as_me:$LINENO: checking for setenv declaration" >&5
109780 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109781 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109782 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109783 echo $ECHO_N "(cached) $ECHO_C" >&6
109788 ac_ext=cc
109789 ac_cpp='$CXXCPP $CPPFLAGS'
109790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <stdlib.h>
109802 main ()
109804 setenv(0, 0, 0);
109806 return 0;
109808 _ACEOF
109809 rm -f conftest.$ac_objext
109810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109811 (eval $ac_compile) 2>conftest.er1
109812 ac_status=$?
109813 grep -v '^ *+' conftest.er1 >conftest.err
109814 rm -f conftest.er1
109815 cat conftest.err >&5
109816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109817 (exit $ac_status); } &&
109818 { ac_try='test -z "$ac_cxx_werror_flag"
109819 || test ! -s conftest.err'
109820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109821 (eval $ac_try) 2>&5
109822 ac_status=$?
109823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109824 (exit $ac_status); }; } &&
109825 { ac_try='test -s conftest.$ac_objext'
109826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109827 (eval $ac_try) 2>&5
109828 ac_status=$?
109829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109830 (exit $ac_status); }; }; then
109831 glibcxx_cv_func_setenv_use=yes
109833 echo "$as_me: failed program was:" >&5
109834 sed 's/^/| /' conftest.$ac_ext >&5
109836 glibcxx_cv_func_setenv_use=no
109838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109839 ac_ext=c
109840 ac_cpp='$CPP $CPPFLAGS'
109841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109850 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109851 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109853 for ac_func in setenv
109855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109856 echo "$as_me:$LINENO: checking for $ac_func" >&5
109857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109858 if eval "test \"\${$as_ac_var+set}\" = set"; then
109859 echo $ECHO_N "(cached) $ECHO_C" >&6
109861 if test x$gcc_no_link = xyes; then
109862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109864 { (exit 1); exit 1; }; }
109866 cat >conftest.$ac_ext <<_ACEOF
109867 /* confdefs.h. */
109868 _ACEOF
109869 cat confdefs.h >>conftest.$ac_ext
109870 cat >>conftest.$ac_ext <<_ACEOF
109871 /* end confdefs.h. */
109872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109874 #define $ac_func innocuous_$ac_func
109876 /* System header to define __stub macros and hopefully few prototypes,
109877 which can conflict with char $ac_func (); below.
109878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109879 <limits.h> exists even on freestanding compilers. */
109881 #ifdef __STDC__
109882 # include <limits.h>
109883 #else
109884 # include <assert.h>
109885 #endif
109887 #undef $ac_func
109889 /* Override any gcc2 internal prototype to avoid an error. */
109890 #ifdef __cplusplus
109891 extern "C"
109893 #endif
109894 /* We use char because int might match the return type of a gcc2
109895 builtin and then its argument prototype would still apply. */
109896 char $ac_func ();
109897 /* The GNU C library defines this for functions which it implements
109898 to always fail with ENOSYS. Some functions are actually named
109899 something starting with __ and the normal name is an alias. */
109900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109901 choke me
109902 #else
109903 char (*f) () = $ac_func;
109904 #endif
109905 #ifdef __cplusplus
109907 #endif
109910 main ()
109912 return f != $ac_func;
109914 return 0;
109916 _ACEOF
109917 rm -f conftest.$ac_objext conftest$ac_exeext
109918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109919 (eval $ac_link) 2>conftest.er1
109920 ac_status=$?
109921 grep -v '^ *+' conftest.er1 >conftest.err
109922 rm -f conftest.er1
109923 cat conftest.err >&5
109924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109925 (exit $ac_status); } &&
109926 { ac_try='test -z "$ac_c_werror_flag"
109927 || test ! -s conftest.err'
109928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109929 (eval $ac_try) 2>&5
109930 ac_status=$?
109931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109932 (exit $ac_status); }; } &&
109933 { ac_try='test -s conftest$ac_exeext'
109934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109935 (eval $ac_try) 2>&5
109936 ac_status=$?
109937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109938 (exit $ac_status); }; }; then
109939 eval "$as_ac_var=yes"
109941 echo "$as_me: failed program was:" >&5
109942 sed 's/^/| /' conftest.$ac_ext >&5
109944 eval "$as_ac_var=no"
109946 rm -f conftest.err conftest.$ac_objext \
109947 conftest$ac_exeext conftest.$ac_ext
109949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109951 if test `eval echo '${'$as_ac_var'}'` = yes; then
109952 cat >>confdefs.h <<_ACEOF
109953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109954 _ACEOF
109963 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109964 test $enable_symvers != no; then
109965 case "$host" in
109966 *-*-cygwin*)
109967 enable_abi_check=no ;;
109969 enable_abi_check=yes ;;
109972 # Only build this as native, since automake does not understand
109973 # CXX_FOR_BUILD.
109974 enable_abi_check=no
109977 # Export file names for ABI checking.
109978 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109982 # Propagate the target-specific source directories through the build chain.
109983 ATOMICITY_SRCDIR=config/${atomicity_dir}
109984 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109985 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109986 OS_INC_SRCDIR=config/${os_include_dir}
109987 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109995 # Determine cross-compile flags and AM_CONDITIONALs.
109996 #AC_SUBST(GLIBCXX_IS_NATIVE)
109997 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109998 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109999 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
110002 if test $is_hosted = yes; then
110003 GLIBCXX_HOSTED_TRUE=
110004 GLIBCXX_HOSTED_FALSE='#'
110006 GLIBCXX_HOSTED_TRUE='#'
110007 GLIBCXX_HOSTED_FALSE=
110013 if test $enable_libstdcxx_pch = yes; then
110014 GLIBCXX_BUILD_PCH_TRUE=
110015 GLIBCXX_BUILD_PCH_FALSE='#'
110017 GLIBCXX_BUILD_PCH_TRUE='#'
110018 GLIBCXX_BUILD_PCH_FALSE=
110024 if test $enable_cheaders = c; then
110025 GLIBCXX_C_HEADERS_C_TRUE=
110026 GLIBCXX_C_HEADERS_C_FALSE='#'
110028 GLIBCXX_C_HEADERS_C_TRUE='#'
110029 GLIBCXX_C_HEADERS_C_FALSE=
110035 if test $enable_cheaders = c_std; then
110036 GLIBCXX_C_HEADERS_C_STD_TRUE=
110037 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
110039 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
110040 GLIBCXX_C_HEADERS_C_STD_FALSE=
110046 if test $c_compatibility = yes; then
110047 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
110048 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
110050 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
110051 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
110057 if test $enable_libstdcxx_debug = yes; then
110058 GLIBCXX_BUILD_DEBUG_TRUE=
110059 GLIBCXX_BUILD_DEBUG_FALSE='#'
110061 GLIBCXX_BUILD_DEBUG_TRUE='#'
110062 GLIBCXX_BUILD_DEBUG_FALSE=
110068 if test $enable_symvers != no; then
110069 ENABLE_SYMVERS_TRUE=
110070 ENABLE_SYMVERS_FALSE='#'
110072 ENABLE_SYMVERS_TRUE='#'
110073 ENABLE_SYMVERS_FALSE=
110079 if test $enable_symvers = gnu; then
110080 ENABLE_SYMVERS_GNU_TRUE=
110081 ENABLE_SYMVERS_GNU_FALSE='#'
110083 ENABLE_SYMVERS_GNU_TRUE='#'
110084 ENABLE_SYMVERS_GNU_FALSE=
110090 if test $enable_symvers = gnu-versioned-namespace; then
110091 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110092 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110094 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110095 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110101 if test $enable_symvers = darwin; then
110102 ENABLE_SYMVERS_DARWIN_TRUE=
110103 ENABLE_SYMVERS_DARWIN_FALSE='#'
110105 ENABLE_SYMVERS_DARWIN_TRUE='#'
110106 ENABLE_SYMVERS_DARWIN_FALSE=
110112 if test $enable_visibility = yes; then
110113 ENABLE_VISIBILITY_TRUE=
110114 ENABLE_VISIBILITY_FALSE='#'
110116 ENABLE_VISIBILITY_TRUE='#'
110117 ENABLE_VISIBILITY_FALSE=
110123 if test $ac_ldbl_compat = yes; then
110124 GLIBCXX_LDBL_COMPAT_TRUE=
110125 GLIBCXX_LDBL_COMPAT_FALSE='#'
110127 GLIBCXX_LDBL_COMPAT_TRUE='#'
110128 GLIBCXX_LDBL_COMPAT_FALSE=
110134 cat >confcache <<\_ACEOF
110135 # This file is a shell script that caches the results of configure
110136 # tests run on this system so they can be shared between configure
110137 # scripts and configure runs, see configure's option --config-cache.
110138 # It is not useful on other systems. If it contains results you don't
110139 # want to keep, you may remove or edit it.
110141 # config.status only pays attention to the cache file if you give it
110142 # the --recheck option to rerun configure.
110144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110146 # following values.
110148 _ACEOF
110150 # The following way of writing the cache mishandles newlines in values,
110151 # but we know of no workaround that is simple, portable, and efficient.
110152 # So, don't put newlines in cache variables' values.
110153 # Ultrix sh set writes to stderr and can't be redirected directly,
110154 # and sets the high bit in the cache file unless we assign to the vars.
110156 (set) 2>&1 |
110157 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110158 *ac_space=\ *)
110159 # `set' does not quote correctly, so add quotes (double-quote
110160 # substitution turns \\\\ into \\, and sed turns \\ into \).
110161 sed -n \
110162 "s/'/'\\\\''/g;
110163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110166 # `set' quotes correctly as required by POSIX, so do not add quotes.
110167 sed -n \
110168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110170 esac;
110172 sed '
110173 t clear
110174 : clear
110175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110176 t end
110177 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110178 : end' >>confcache
110179 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110180 if test -w $cache_file; then
110181 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110182 cat confcache >$cache_file
110184 echo "not updating unwritable cache $cache_file"
110187 rm -f confcache
110189 if test ${multilib} = yes; then
110190 multilib_arg="--enable-multilib"
110192 multilib_arg=
110195 # Export all the install information.
110197 glibcxx_toolexecdir=no
110198 glibcxx_toolexeclibdir=no
110199 glibcxx_prefixdir=$prefix
110201 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110202 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110204 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110205 if test "${with_gxx_include_dir+set}" = set; then
110206 withval="$with_gxx_include_dir"
110207 case "$withval" in
110208 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110209 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110210 { (exit 1); exit 1; }; } ;;
110211 no) gxx_include_dir=no ;;
110212 *) gxx_include_dir=$withval ;;
110215 gxx_include_dir=no
110217 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110218 echo "${ECHO_T}$gxx_include_dir" >&6
110220 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110221 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110222 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110223 if test "${enable_version_specific_runtime_libs+set}" = set; then
110224 enableval="$enable_version_specific_runtime_libs"
110225 case "$enableval" in
110226 yes) version_specific_libs=yes ;;
110227 no) version_specific_libs=no ;;
110228 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110229 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110230 { (exit 1); exit 1; }; };;
110233 version_specific_libs=no
110235 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110236 echo "${ECHO_T}$version_specific_libs" >&6
110238 # Default case for install directory for include files.
110239 if test $version_specific_libs = no && test $gxx_include_dir = no; then
110240 gxx_include_dir='include/c++/${gcc_version}'
110241 if test -n "$with_cross_host" &&
110242 test x"$with_cross_host" != x"no"; then
110243 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110245 gxx_include_dir='${prefix}/'"$gxx_include_dir"
110249 # Version-specific runtime libs processing.
110250 if test $version_specific_libs = yes; then
110251 # Need the gcc compiler version to know where to install libraries
110252 # and header files if --enable-version-specific-runtime-libs option
110253 # is selected. FIXME: these variables are misnamed, there are
110254 # no executables installed in _toolexecdir or _toolexeclibdir.
110255 if test x"$gxx_include_dir" = x"no"; then
110256 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110258 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110259 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110262 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110263 # Install a library built with a cross compiler in tooldir, not libdir.
110264 if test x"$glibcxx_toolexecdir" = x"no"; then
110265 if test -n "$with_cross_host" &&
110266 test x"$with_cross_host" != x"no"; then
110267 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110268 glibcxx_toolexeclibdir='${toolexecdir}/lib'
110270 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110271 glibcxx_toolexeclibdir='${libdir}'
110273 multi_os_directory=`$CXX -print-multi-os-directory`
110274 case $multi_os_directory in
110275 .) ;; # Avoid trailing /.
110276 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110280 echo "$as_me:$LINENO: checking for install location" >&5
110281 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110282 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110283 echo "${ECHO_T}$gxx_include_dir" >&6
110291 # Export all the include and flag information to Makefiles.
110293 # Used for every C++ compile we perform.
110294 GLIBCXX_INCLUDES="\
110295 -I$glibcxx_builddir/include/$host_alias \
110296 -I$glibcxx_builddir/include \
110297 -I$glibcxx_srcdir/libsupc++"
110299 # For Canadian crosses, pick this up too.
110300 if test $CANADIAN = yes; then
110301 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110304 # Stuff in the actual top level. Currently only used by libsupc++ to
110305 # get unwind* headers from the gcc dir.
110306 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110307 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110309 # Now, export this to all the little Makefiles....
110314 # Optimization flags that are probably a good idea for thrill-seekers. Just
110315 # uncomment the lines below and make, everything else is ready to go...
110316 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110317 OPTIMIZE_CXXFLAGS=
110320 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110324 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110325 grep "enable shared" > /dev/null;
110327 LIBSUPCXX_PICFLAGS=-prefer-pic
110329 LIBSUPCXX_PICFLAGS=
110333 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110335 ac_config_files="$ac_config_files scripts/testsuite_flags"
110338 ac_config_commands="$ac_config_commands default"
110341 cat >confcache <<\_ACEOF
110342 # This file is a shell script that caches the results of configure
110343 # tests run on this system so they can be shared between configure
110344 # scripts and configure runs, see configure's option --config-cache.
110345 # It is not useful on other systems. If it contains results you don't
110346 # want to keep, you may remove or edit it.
110348 # config.status only pays attention to the cache file if you give it
110349 # the --recheck option to rerun configure.
110351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110353 # following values.
110355 _ACEOF
110357 # The following way of writing the cache mishandles newlines in values,
110358 # but we know of no workaround that is simple, portable, and efficient.
110359 # So, don't put newlines in cache variables' values.
110360 # Ultrix sh set writes to stderr and can't be redirected directly,
110361 # and sets the high bit in the cache file unless we assign to the vars.
110363 (set) 2>&1 |
110364 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110365 *ac_space=\ *)
110366 # `set' does not quote correctly, so add quotes (double-quote
110367 # substitution turns \\\\ into \\, and sed turns \\ into \).
110368 sed -n \
110369 "s/'/'\\\\''/g;
110370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110373 # `set' quotes correctly as required by POSIX, so do not add quotes.
110374 sed -n \
110375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110377 esac;
110379 sed '
110380 t clear
110381 : clear
110382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110383 t end
110384 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110385 : end' >>confcache
110386 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110387 if test -w $cache_file; then
110388 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110389 cat confcache >$cache_file
110391 echo "not updating unwritable cache $cache_file"
110394 rm -f confcache
110396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110397 # Let make expand exec_prefix.
110398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110400 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110401 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110402 # trailing colons and then remove the whole line if VPATH becomes empty
110403 # (actually we leave an empty line to preserve line numbers).
110404 if test "x$srcdir" = x.; then
110405 ac_vpsub='/^[ ]*VPATH[ ]*=/{
110406 s/:*\$(srcdir):*/:/;
110407 s/:*\${srcdir}:*/:/;
110408 s/:*@srcdir@:*/:/;
110409 s/^\([^=]*=[ ]*\):*/\1/;
110410 s/:*$//;
110411 s/^[^=]*=[ ]*$//;
110415 DEFS=-DHAVE_CONFIG_H
110417 ac_libobjs=
110418 ac_ltlibobjs=
110419 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110420 # 1. Remove the extension, and $U if already installed.
110421 ac_i=`echo "$ac_i" |
110422 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110423 # 2. Add them.
110424 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110425 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110427 LIBOBJS=$ac_libobjs
110429 LTLIBOBJS=$ac_ltlibobjs
110432 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110433 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110434 Usually this means the macro was only invoked conditionally." >&5
110435 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110436 Usually this means the macro was only invoked conditionally." >&2;}
110437 { (exit 1); exit 1; }; }
110439 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110440 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110441 Usually this means the macro was only invoked conditionally." >&5
110442 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110443 Usually this means the macro was only invoked conditionally." >&2;}
110444 { (exit 1); exit 1; }; }
110446 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110447 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110448 Usually this means the macro was only invoked conditionally." >&5
110449 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110450 Usually this means the macro was only invoked conditionally." >&2;}
110451 { (exit 1); exit 1; }; }
110453 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110454 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110455 Usually this means the macro was only invoked conditionally." >&5
110456 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110457 Usually this means the macro was only invoked conditionally." >&2;}
110458 { (exit 1); exit 1; }; }
110460 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110461 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110462 Usually this means the macro was only invoked conditionally." >&5
110463 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110464 Usually this means the macro was only invoked conditionally." >&2;}
110465 { (exit 1); exit 1; }; }
110467 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110468 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110469 Usually this means the macro was only invoked conditionally." >&5
110470 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110471 Usually this means the macro was only invoked conditionally." >&2;}
110472 { (exit 1); exit 1; }; }
110474 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110475 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110476 Usually this means the macro was only invoked conditionally." >&5
110477 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110478 Usually this means the macro was only invoked conditionally." >&2;}
110479 { (exit 1); exit 1; }; }
110481 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110482 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110483 Usually this means the macro was only invoked conditionally." >&5
110484 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110485 Usually this means the macro was only invoked conditionally." >&2;}
110486 { (exit 1); exit 1; }; }
110488 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110489 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110490 Usually this means the macro was only invoked conditionally." >&5
110491 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110492 Usually this means the macro was only invoked conditionally." >&2;}
110493 { (exit 1); exit 1; }; }
110495 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110496 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110497 Usually this means the macro was only invoked conditionally." >&5
110498 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110499 Usually this means the macro was only invoked conditionally." >&2;}
110500 { (exit 1); exit 1; }; }
110502 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110503 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110504 Usually this means the macro was only invoked conditionally." >&5
110505 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110506 Usually this means the macro was only invoked conditionally." >&2;}
110507 { (exit 1); exit 1; }; }
110509 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110510 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110511 Usually this means the macro was only invoked conditionally." >&5
110512 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110513 Usually this means the macro was only invoked conditionally." >&2;}
110514 { (exit 1); exit 1; }; }
110516 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110517 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110518 Usually this means the macro was only invoked conditionally." >&5
110519 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110520 Usually this means the macro was only invoked conditionally." >&2;}
110521 { (exit 1); exit 1; }; }
110524 : ${CONFIG_STATUS=./config.status}
110525 ac_clean_files_save=$ac_clean_files
110526 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110527 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110528 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110529 cat >$CONFIG_STATUS <<_ACEOF
110530 #! $SHELL
110531 # Generated by $as_me.
110532 # Run this file to recreate the current configuration.
110533 # Compiler output produced by configure, useful for debugging
110534 # configure, is in config.log if it exists.
110536 debug=false
110537 ac_cs_recheck=false
110538 ac_cs_silent=false
110539 SHELL=\${CONFIG_SHELL-$SHELL}
110540 _ACEOF
110542 cat >>$CONFIG_STATUS <<\_ACEOF
110543 ## --------------------- ##
110544 ## M4sh Initialization. ##
110545 ## --------------------- ##
110547 # Be Bourne compatible
110548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110549 emulate sh
110550 NULLCMD=:
110551 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110552 # is contrary to our usage. Disable this feature.
110553 alias -g '${1+"$@"}'='"$@"'
110554 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110555 set -o posix
110557 DUALCASE=1; export DUALCASE # for MKS sh
110559 # Support unset when possible.
110560 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110561 as_unset=unset
110563 as_unset=false
110567 # Work around bugs in pre-3.0 UWIN ksh.
110568 $as_unset ENV MAIL MAILPATH
110569 PS1='$ '
110570 PS2='> '
110571 PS4='+ '
110573 # NLS nuisances.
110574 for as_var in \
110575 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110576 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110577 LC_TELEPHONE LC_TIME
110579 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110580 eval $as_var=C; export $as_var
110582 $as_unset $as_var
110586 # Required to use basename.
110587 if expr a : '\(a\)' >/dev/null 2>&1; then
110588 as_expr=expr
110590 as_expr=false
110593 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110594 as_basename=basename
110596 as_basename=false
110600 # Name of the executable.
110601 as_me=`$as_basename "$0" ||
110602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110603 X"$0" : 'X\(//\)$' \| \
110604 X"$0" : 'X\(/\)$' \| \
110605 . : '\(.\)' 2>/dev/null ||
110606 echo X/"$0" |
110607 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110608 /^X\/\(\/\/\)$/{ s//\1/; q; }
110609 /^X\/\(\/\).*/{ s//\1/; q; }
110610 s/.*/./; q'`
110613 # PATH needs CR, and LINENO needs CR and PATH.
110614 # Avoid depending upon Character Ranges.
110615 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110616 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110617 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110618 as_cr_digits='0123456789'
110619 as_cr_alnum=$as_cr_Letters$as_cr_digits
110621 # The user is always right.
110622 if test "${PATH_SEPARATOR+set}" != set; then
110623 echo "#! /bin/sh" >conf$$.sh
110624 echo "exit 0" >>conf$$.sh
110625 chmod +x conf$$.sh
110626 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110627 PATH_SEPARATOR=';'
110629 PATH_SEPARATOR=:
110631 rm -f conf$$.sh
110635 as_lineno_1=$LINENO
110636 as_lineno_2=$LINENO
110637 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110638 test "x$as_lineno_1" != "x$as_lineno_2" &&
110639 test "x$as_lineno_3" = "x$as_lineno_2" || {
110640 # Find who we are. Look in the path if we contain no path at all
110641 # relative or not.
110642 case $0 in
110643 *[\\/]* ) as_myself=$0 ;;
110644 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110645 for as_dir in $PATH
110647 IFS=$as_save_IFS
110648 test -z "$as_dir" && as_dir=.
110649 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110654 # We did not find ourselves, most probably we were run as `sh COMMAND'
110655 # in which case we are not to be found in the path.
110656 if test "x$as_myself" = x; then
110657 as_myself=$0
110659 if test ! -f "$as_myself"; then
110660 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110661 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110662 { (exit 1); exit 1; }; }
110664 case $CONFIG_SHELL in
110666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110667 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110669 IFS=$as_save_IFS
110670 test -z "$as_dir" && as_dir=.
110671 for as_base in sh bash ksh sh5; do
110672 case $as_dir in
110674 if ("$as_dir/$as_base" -c '
110675 as_lineno_1=$LINENO
110676 as_lineno_2=$LINENO
110677 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110678 test "x$as_lineno_1" != "x$as_lineno_2" &&
110679 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
110680 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110681 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110682 CONFIG_SHELL=$as_dir/$as_base
110683 export CONFIG_SHELL
110684 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110692 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110693 # uniformly replaced by the line number. The first 'sed' inserts a
110694 # line-number line before each line; the second 'sed' does the real
110695 # work. The second script uses 'N' to pair each line-number line
110696 # with the numbered line, and appends trailing '-' during
110697 # substitution so that $LINENO is not a special case at line end.
110698 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110699 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
110700 sed '=' <$as_myself |
110701 sed '
110703 s,$,-,
110704 : loop
110705 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110706 t loop
110707 s,-$,,
110708 s,^['$as_cr_digits']*\n,,
110709 ' >$as_me.lineno &&
110710 chmod +x $as_me.lineno ||
110711 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110712 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110713 { (exit 1); exit 1; }; }
110715 # Don't try to exec as it changes $[0], causing all sort of problems
110716 # (the dirname of $[0] is not the place where we might find the
110717 # original and so on. Autoconf is especially sensible to this).
110718 . ./$as_me.lineno
110719 # Exit status is that of the last command.
110724 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110725 *c*,-n*) ECHO_N= ECHO_C='
110726 ' ECHO_T=' ' ;;
110727 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110728 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
110731 if expr a : '\(a\)' >/dev/null 2>&1; then
110732 as_expr=expr
110734 as_expr=false
110737 rm -f conf$$ conf$$.exe conf$$.file
110738 echo >conf$$.file
110739 if ln -s conf$$.file conf$$ 2>/dev/null; then
110740 # We could just check for DJGPP; but this test a) works b) is more generic
110741 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110742 if test -f conf$$.exe; then
110743 # Don't use ln at all; we don't have any links
110744 as_ln_s='cp -p'
110746 as_ln_s='ln -s'
110748 elif ln conf$$.file conf$$ 2>/dev/null; then
110749 as_ln_s=ln
110751 as_ln_s='cp -p'
110753 rm -f conf$$ conf$$.exe conf$$.file
110755 if mkdir -p . 2>/dev/null; then
110756 as_mkdir_p=:
110758 test -d ./-p && rmdir ./-p
110759 as_mkdir_p=false
110762 as_executable_p="test -f"
110764 # Sed expression to map a string onto a valid CPP name.
110765 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110767 # Sed expression to map a string onto a valid variable name.
110768 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110771 # IFS
110772 # We need space, tab and new line, in precisely that order.
110773 as_nl='
110775 IFS=" $as_nl"
110777 # CDPATH.
110778 $as_unset CDPATH
110780 exec 6>&1
110782 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110783 # report actual input values of CONFIG_FILES etc. instead of their
110784 # values after options handling. Logging --version etc. is OK.
110785 exec 5>>config.log
110788 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110789 ## Running $as_me. ##
110790 _ASBOX
110791 } >&5
110792 cat >&5 <<_CSEOF
110794 This file was extended by package-unused $as_me version-unused, which was
110795 generated by GNU Autoconf 2.59. Invocation command line was
110797 CONFIG_FILES = $CONFIG_FILES
110798 CONFIG_HEADERS = $CONFIG_HEADERS
110799 CONFIG_LINKS = $CONFIG_LINKS
110800 CONFIG_COMMANDS = $CONFIG_COMMANDS
110801 $ $0 $@
110803 _CSEOF
110804 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110805 echo >&5
110806 _ACEOF
110808 # Files that config.status was made for.
110809 if test -n "$ac_config_files"; then
110810 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110813 if test -n "$ac_config_headers"; then
110814 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110817 if test -n "$ac_config_links"; then
110818 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110821 if test -n "$ac_config_commands"; then
110822 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110825 cat >>$CONFIG_STATUS <<\_ACEOF
110827 ac_cs_usage="\
110828 \`$as_me' instantiates files from templates according to the
110829 current configuration.
110831 Usage: $0 [OPTIONS] [FILE]...
110833 -h, --help print this help, then exit
110834 -V, --version print version number, then exit
110835 -q, --quiet do not print progress messages
110836 -d, --debug don't remove temporary files
110837 --recheck update $as_me by reconfiguring in the same conditions
110838 --file=FILE[:TEMPLATE]
110839 instantiate the configuration file FILE
110840 --header=FILE[:TEMPLATE]
110841 instantiate the configuration header FILE
110843 Configuration files:
110844 $config_files
110846 Configuration headers:
110847 $config_headers
110849 Configuration commands:
110850 $config_commands
110852 Report bugs to <bug-autoconf@gnu.org>."
110853 _ACEOF
110855 cat >>$CONFIG_STATUS <<_ACEOF
110856 ac_cs_version="\\
110857 package-unused config.status version-unused
110858 configured by $0, generated by GNU Autoconf 2.59,
110859 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110861 Copyright (C) 2003 Free Software Foundation, Inc.
110862 This config.status script is free software; the Free Software Foundation
110863 gives unlimited permission to copy, distribute and modify it."
110864 srcdir=$srcdir
110865 INSTALL="$INSTALL"
110866 _ACEOF
110868 cat >>$CONFIG_STATUS <<\_ACEOF
110869 # If no file are specified by the user, then we need to provide default
110870 # value. By we need to know if files were specified by the user.
110871 ac_need_defaults=:
110872 while test $# != 0
110874 case $1 in
110875 --*=*)
110876 ac_option=`expr "x$1" : 'x\([^=]*\)='`
110877 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110878 ac_shift=:
110881 ac_option=$1
110882 ac_optarg=$2
110883 ac_shift=shift
110885 *) # This is not an option, so the user has probably given explicit
110886 # arguments.
110887 ac_option=$1
110888 ac_need_defaults=false;;
110891 case $ac_option in
110892 # Handling of the options.
110893 _ACEOF
110894 cat >>$CONFIG_STATUS <<\_ACEOF
110895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110896 ac_cs_recheck=: ;;
110897 --version | --vers* | -V )
110898 echo "$ac_cs_version"; exit 0 ;;
110899 --he | --h)
110900 # Conflict between --help and --header
110901 { { echo "$as_me:$LINENO: error: ambiguous option: $1
110902 Try \`$0 --help' for more information." >&5
110903 echo "$as_me: error: ambiguous option: $1
110904 Try \`$0 --help' for more information." >&2;}
110905 { (exit 1); exit 1; }; };;
110906 --help | --hel | -h )
110907 echo "$ac_cs_usage"; exit 0 ;;
110908 --debug | --d* | -d )
110909 debug=: ;;
110910 --file | --fil | --fi | --f )
110911 $ac_shift
110912 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110913 ac_need_defaults=false;;
110914 --header | --heade | --head | --hea )
110915 $ac_shift
110916 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110917 ac_need_defaults=false;;
110918 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110919 | -silent | --silent | --silen | --sile | --sil | --si | --s)
110920 ac_cs_silent=: ;;
110922 # This is an error.
110923 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110924 Try \`$0 --help' for more information." >&5
110925 echo "$as_me: error: unrecognized option: $1
110926 Try \`$0 --help' for more information." >&2;}
110927 { (exit 1); exit 1; }; } ;;
110929 *) ac_config_targets="$ac_config_targets $1" ;;
110932 shift
110935 ac_configure_extra_args=
110937 if $ac_cs_silent; then
110938 exec 6>/dev/null
110939 ac_configure_extra_args="$ac_configure_extra_args --silent"
110942 _ACEOF
110943 cat >>$CONFIG_STATUS <<_ACEOF
110944 if \$ac_cs_recheck; then
110945 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110946 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110949 _ACEOF
110951 cat >>$CONFIG_STATUS <<_ACEOF
110953 # INIT-COMMANDS section.
110957 srcdir="$srcdir"
110958 host="$host"
110959 target="$target"
110960 with_multisubdir="$with_multisubdir"
110961 with_multisrctop="$with_multisrctop"
110962 with_target_subdir="$with_target_subdir"
110963 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110964 multi_basedir="$multi_basedir"
110965 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110966 CC="$CC"
110968 # Variables needed in config.status (file generation) which aren't already
110969 # passed by autoconf.
110970 SUBDIRS="$SUBDIRS"
110973 _ACEOF
110977 cat >>$CONFIG_STATUS <<\_ACEOF
110978 for ac_config_target in $ac_config_targets
110980 case "$ac_config_target" in
110981 # Handling of arguments.
110982 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110983 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110984 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110985 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110986 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110987 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110988 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110989 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110990 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110991 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110992 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110993 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110994 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110995 { (exit 1); exit 1; }; };;
110999 # If the user did not use the arguments to specify the items to instantiate,
111000 # then the envvar interface is used. Set only those that are not.
111001 # We use the long form for the default assignment because of an extremely
111002 # bizarre bug on SunOS 4.1.3.
111003 if $ac_need_defaults; then
111004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
111005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
111006 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
111009 # Have a temporary directory for convenience. Make it in the build tree
111010 # simply because there is no reason to put it here, and in addition,
111011 # creating and moving files from /tmp can sometimes cause problems.
111012 # Create a temporary directory, and hook for its removal unless debugging.
111013 $debug ||
111015 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
111016 trap '{ (exit 1); exit 1; }' 1 2 13 15
111019 # Create a (secure) tmp directory for tmp files.
111022 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
111023 test -n "$tmp" && test -d "$tmp"
111026 tmp=./confstat$$-$RANDOM
111027 (umask 077 && mkdir $tmp)
111030 echo "$me: cannot create a temporary directory in ." >&2
111031 { (exit 1); exit 1; }
111034 _ACEOF
111036 cat >>$CONFIG_STATUS <<_ACEOF
111039 # CONFIG_FILES section.
111042 # No need to generate the scripts if there are no CONFIG_FILES.
111043 # This happens for instance when ./config.status config.h
111044 if test -n "\$CONFIG_FILES"; then
111045 # Protect against being on the right side of a sed subst in config.status.
111046 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
111047 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
111048 s,@SHELL@,$SHELL,;t t
111049 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
111050 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
111051 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
111052 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
111053 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
111054 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
111055 s,@exec_prefix@,$exec_prefix,;t t
111056 s,@prefix@,$prefix,;t t
111057 s,@program_transform_name@,$program_transform_name,;t t
111058 s,@bindir@,$bindir,;t t
111059 s,@sbindir@,$sbindir,;t t
111060 s,@libexecdir@,$libexecdir,;t t
111061 s,@datadir@,$datadir,;t t
111062 s,@sysconfdir@,$sysconfdir,;t t
111063 s,@sharedstatedir@,$sharedstatedir,;t t
111064 s,@localstatedir@,$localstatedir,;t t
111065 s,@libdir@,$libdir,;t t
111066 s,@includedir@,$includedir,;t t
111067 s,@oldincludedir@,$oldincludedir,;t t
111068 s,@infodir@,$infodir,;t t
111069 s,@mandir@,$mandir,;t t
111070 s,@build_alias@,$build_alias,;t t
111071 s,@host_alias@,$host_alias,;t t
111072 s,@target_alias@,$target_alias,;t t
111073 s,@DEFS@,$DEFS,;t t
111074 s,@ECHO_C@,$ECHO_C,;t t
111075 s,@ECHO_N@,$ECHO_N,;t t
111076 s,@ECHO_T@,$ECHO_T,;t t
111077 s,@LIBS@,$LIBS,;t t
111078 s,@libtool_VERSION@,$libtool_VERSION,;t t
111079 s,@multi_basedir@,$multi_basedir,;t t
111080 s,@build@,$build,;t t
111081 s,@build_cpu@,$build_cpu,;t t
111082 s,@build_vendor@,$build_vendor,;t t
111083 s,@build_os@,$build_os,;t t
111084 s,@host@,$host,;t t
111085 s,@host_cpu@,$host_cpu,;t t
111086 s,@host_vendor@,$host_vendor,;t t
111087 s,@host_os@,$host_os,;t t
111088 s,@target@,$target,;t t
111089 s,@target_cpu@,$target_cpu,;t t
111090 s,@target_vendor@,$target_vendor,;t t
111091 s,@target_os@,$target_os,;t t
111092 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111093 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111094 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111095 s,@CYGPATH_W@,$CYGPATH_W,;t t
111096 s,@PACKAGE@,$PACKAGE,;t t
111097 s,@VERSION@,$VERSION,;t t
111098 s,@ACLOCAL@,$ACLOCAL,;t t
111099 s,@AUTOCONF@,$AUTOCONF,;t t
111100 s,@AUTOMAKE@,$AUTOMAKE,;t t
111101 s,@AUTOHEADER@,$AUTOHEADER,;t t
111102 s,@MAKEINFO@,$MAKEINFO,;t t
111103 s,@install_sh@,$install_sh,;t t
111104 s,@STRIP@,$STRIP,;t t
111105 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111106 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111107 s,@mkdir_p@,$mkdir_p,;t t
111108 s,@AWK@,$AWK,;t t
111109 s,@SET_MAKE@,$SET_MAKE,;t t
111110 s,@am__leading_dot@,$am__leading_dot,;t t
111111 s,@AMTAR@,$AMTAR,;t t
111112 s,@am__tar@,$am__tar,;t t
111113 s,@am__untar@,$am__untar,;t t
111114 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111115 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111116 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111117 s,@CC@,$CC,;t t
111118 s,@ac_ct_CC@,$ac_ct_CC,;t t
111119 s,@EXEEXT@,$EXEEXT,;t t
111120 s,@OBJEXT@,$OBJEXT,;t t
111121 s,@CXX@,$CXX,;t t
111122 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111123 s,@CFLAGS@,$CFLAGS,;t t
111124 s,@CXXFLAGS@,$CXXFLAGS,;t t
111125 s,@LN_S@,$LN_S,;t t
111126 s,@AS@,$AS,;t t
111127 s,@ac_ct_AS@,$ac_ct_AS,;t t
111128 s,@AR@,$AR,;t t
111129 s,@ac_ct_AR@,$ac_ct_AR,;t t
111130 s,@RANLIB@,$RANLIB,;t t
111131 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111132 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111133 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111134 s,@MAINT@,$MAINT,;t t
111135 s,@CPP@,$CPP,;t t
111136 s,@CPPFLAGS@,$CPPFLAGS,;t t
111137 s,@EGREP@,$EGREP,;t t
111138 s,@LIBTOOL@,$LIBTOOL,;t t
111139 s,@CXXCPP@,$CXXCPP,;t t
111140 s,@enable_shared@,$enable_shared,;t t
111141 s,@enable_static@,$enable_static,;t t
111142 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111143 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111144 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111145 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111146 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111147 s,@CSTDIO_H@,$CSTDIO_H,;t t
111148 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111149 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111150 s,@check_msgfmt@,$check_msgfmt,;t t
111151 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111152 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111153 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111154 s,@USE_NLS@,$USE_NLS,;t t
111155 s,@CLOCALE_H@,$CLOCALE_H,;t t
111156 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111157 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111158 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111159 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111160 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111161 s,@CMONEY_CC@,$CMONEY_CC,;t t
111162 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111163 s,@CTIME_H@,$CTIME_H,;t t
111164 s,@CTIME_CC@,$CTIME_CC,;t t
111165 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111166 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111167 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111168 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111169 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111170 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111171 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111172 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111173 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111174 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111175 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111176 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111177 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111178 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111179 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111180 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111181 s,@WERROR@,$WERROR,;t t
111182 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111183 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111184 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111185 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111186 s,@LIBICONV@,$LIBICONV,;t t
111187 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111188 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111189 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111190 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111191 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111192 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111193 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111194 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111195 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111196 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111197 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111198 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111199 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111200 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111201 s,@baseline_dir@,$baseline_dir,;t t
111202 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111203 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111204 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111205 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111206 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111207 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111208 s,@gxx_include_dir@,$gxx_include_dir,;t t
111209 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111210 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111211 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111212 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111213 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111214 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111215 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111216 s,@LIBOBJS@,$LIBOBJS,;t t
111217 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111220 _ACEOF
111222 cat >>$CONFIG_STATUS <<\_ACEOF
111223 # Split the substitutions into bite-sized pieces for seds with
111224 # small command number limits, like on Digital OSF/1 and HP-UX.
111225 ac_max_sed_lines=48
111226 ac_sed_frag=1 # Number of current file.
111227 ac_beg=1 # First line for current file.
111228 ac_end=$ac_max_sed_lines # Line after last line for current file.
111229 ac_more_lines=:
111230 ac_sed_cmds=
111231 while $ac_more_lines; do
111232 if test $ac_beg -gt 1; then
111233 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111235 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111237 if test ! -s $tmp/subs.frag; then
111238 ac_more_lines=false
111240 # The purpose of the label and of the branching condition is to
111241 # speed up the sed processing (if there are no `@' at all, there
111242 # is no need to browse any of the substitutions).
111243 # These are the two extra sed commands mentioned above.
111244 (echo ':t
111245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111246 if test -z "$ac_sed_cmds"; then
111247 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111249 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111251 ac_sed_frag=`expr $ac_sed_frag + 1`
111252 ac_beg=$ac_end
111253 ac_end=`expr $ac_end + $ac_max_sed_lines`
111256 if test -z "$ac_sed_cmds"; then
111257 ac_sed_cmds=cat
111259 fi # test -n "$CONFIG_FILES"
111261 _ACEOF
111262 cat >>$CONFIG_STATUS <<\_ACEOF
111263 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111264 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111265 case $ac_file in
111266 - | *:- | *:-:* ) # input from stdin
111267 cat >$tmp/stdin
111268 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111269 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111270 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111271 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111272 * ) ac_file_in=$ac_file.in ;;
111275 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111276 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111278 X"$ac_file" : 'X\(//\)[^/]' \| \
111279 X"$ac_file" : 'X\(//\)$' \| \
111280 X"$ac_file" : 'X\(/\)' \| \
111281 . : '\(.\)' 2>/dev/null ||
111282 echo X"$ac_file" |
111283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111285 /^X\(\/\/\)$/{ s//\1/; q; }
111286 /^X\(\/\).*/{ s//\1/; q; }
111287 s/.*/./; q'`
111288 { if $as_mkdir_p; then
111289 mkdir -p "$ac_dir"
111291 as_dir="$ac_dir"
111292 as_dirs=
111293 while test ! -d "$as_dir"; do
111294 as_dirs="$as_dir $as_dirs"
111295 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111297 X"$as_dir" : 'X\(//\)[^/]' \| \
111298 X"$as_dir" : 'X\(//\)$' \| \
111299 X"$as_dir" : 'X\(/\)' \| \
111300 . : '\(.\)' 2>/dev/null ||
111301 echo X"$as_dir" |
111302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111304 /^X\(\/\/\)$/{ s//\1/; q; }
111305 /^X\(\/\).*/{ s//\1/; q; }
111306 s/.*/./; q'`
111308 test ! -n "$as_dirs" || mkdir $as_dirs
111309 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111310 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111311 { (exit 1); exit 1; }; }; }
111313 ac_builddir=.
111315 if test "$ac_dir" != .; then
111316 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111317 # A "../" for each directory in $ac_dir_suffix.
111318 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111320 ac_dir_suffix= ac_top_builddir=
111323 case $srcdir in
111324 .) # No --srcdir option. We are building in place.
111325 ac_srcdir=.
111326 if test -z "$ac_top_builddir"; then
111327 ac_top_srcdir=.
111329 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111330 fi ;;
111331 [\\/]* | ?:[\\/]* ) # Absolute path.
111332 ac_srcdir=$srcdir$ac_dir_suffix;
111333 ac_top_srcdir=$srcdir ;;
111334 *) # Relative path.
111335 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111336 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111339 # Do not use `cd foo && pwd` to compute absolute paths, because
111340 # the directories may not exist.
111341 case `pwd` in
111342 .) ac_abs_builddir="$ac_dir";;
111344 case "$ac_dir" in
111345 .) ac_abs_builddir=`pwd`;;
111346 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111347 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111348 esac;;
111350 case $ac_abs_builddir in
111351 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111353 case ${ac_top_builddir}. in
111354 .) ac_abs_top_builddir=$ac_abs_builddir;;
111355 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111356 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111357 esac;;
111359 case $ac_abs_builddir in
111360 .) ac_abs_srcdir=$ac_srcdir;;
111362 case $ac_srcdir in
111363 .) ac_abs_srcdir=$ac_abs_builddir;;
111364 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111365 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111366 esac;;
111368 case $ac_abs_builddir in
111369 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111371 case $ac_top_srcdir in
111372 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111373 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111374 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111375 esac;;
111379 case $INSTALL in
111380 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111381 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111384 if test x"$ac_file" != x-; then
111385 { echo "$as_me:$LINENO: creating $ac_file" >&5
111386 echo "$as_me: creating $ac_file" >&6;}
111387 rm -f "$ac_file"
111389 # Let's still pretend it is `configure' which instantiates (i.e., don't
111390 # use $as_me), people would be surprised to read:
111391 # /* config.h. Generated by config.status. */
111392 if test x"$ac_file" = x-; then
111393 configure_input=
111395 configure_input="$ac_file. "
111397 configure_input=$configure_input"Generated from `echo $ac_file_in |
111398 sed 's,.*/,,'` by configure."
111400 # First look for the input files in the build tree, otherwise in the
111401 # src tree.
111402 ac_file_inputs=`IFS=:
111403 for f in $ac_file_in; do
111404 case $f in
111405 -) echo $tmp/stdin ;;
111406 [\\/$]*)
111407 # Absolute (can't be DOS-style, as IFS=:)
111408 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111409 echo "$as_me: error: cannot find input file: $f" >&2;}
111410 { (exit 1); exit 1; }; }
111411 echo "$f";;
111412 *) # Relative
111413 if test -f "$f"; then
111414 # Build tree
111415 echo "$f"
111416 elif test -f "$srcdir/$f"; then
111417 # Source tree
111418 echo "$srcdir/$f"
111420 # /dev/null tree
111421 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111422 echo "$as_me: error: cannot find input file: $f" >&2;}
111423 { (exit 1); exit 1; }; }
111426 done` || { (exit 1); exit 1; }
111427 _ACEOF
111428 cat >>$CONFIG_STATUS <<_ACEOF
111429 sed "$ac_vpsub
111430 $extrasub
111431 _ACEOF
111432 cat >>$CONFIG_STATUS <<\_ACEOF
111434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111435 s,@configure_input@,$configure_input,;t t
111436 s,@srcdir@,$ac_srcdir,;t t
111437 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111438 s,@top_srcdir@,$ac_top_srcdir,;t t
111439 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111440 s,@builddir@,$ac_builddir,;t t
111441 s,@abs_builddir@,$ac_abs_builddir,;t t
111442 s,@top_builddir@,$ac_top_builddir,;t t
111443 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111444 s,@INSTALL@,$ac_INSTALL,;t t
111445 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111446 rm -f $tmp/stdin
111447 if test x"$ac_file" != x-; then
111448 mv $tmp/out $ac_file
111450 cat $tmp/out
111451 rm -f $tmp/out
111454 # Run the commands associated with the file.
111455 case $ac_file in
111456 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111459 _ACEOF
111460 cat >>$CONFIG_STATUS <<\_ACEOF
111463 # CONFIG_HEADER section.
111466 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111467 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111469 # ac_d sets the value in "#define NAME VALUE" lines.
111470 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
111471 ac_dB='[ ].*$,\1#\2'
111472 ac_dC=' '
111473 ac_dD=',;t'
111474 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111475 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
111476 ac_uB='$,\1#\2define\3'
111477 ac_uC=' '
111478 ac_uD=',;t'
111480 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111481 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111482 case $ac_file in
111483 - | *:- | *:-:* ) # input from stdin
111484 cat >$tmp/stdin
111485 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111486 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111487 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111488 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111489 * ) ac_file_in=$ac_file.in ;;
111492 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111493 echo "$as_me: creating $ac_file" >&6;}
111495 # First look for the input files in the build tree, otherwise in the
111496 # src tree.
111497 ac_file_inputs=`IFS=:
111498 for f in $ac_file_in; do
111499 case $f in
111500 -) echo $tmp/stdin ;;
111501 [\\/$]*)
111502 # Absolute (can't be DOS-style, as IFS=:)
111503 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111504 echo "$as_me: error: cannot find input file: $f" >&2;}
111505 { (exit 1); exit 1; }; }
111506 # Do quote $f, to prevent DOS paths from being IFS'd.
111507 echo "$f";;
111508 *) # Relative
111509 if test -f "$f"; then
111510 # Build tree
111511 echo "$f"
111512 elif test -f "$srcdir/$f"; then
111513 # Source tree
111514 echo "$srcdir/$f"
111516 # /dev/null tree
111517 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111518 echo "$as_me: error: cannot find input file: $f" >&2;}
111519 { (exit 1); exit 1; }; }
111522 done` || { (exit 1); exit 1; }
111523 # Remove the trailing spaces.
111524 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
111526 _ACEOF
111528 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111529 # `conftest.undefs', that substitutes the proper values into
111530 # config.h.in to produce config.h. The first handles `#define'
111531 # templates, and the second `#undef' templates.
111532 # And first: Protect against being on the right side of a sed subst in
111533 # config.status. Protect against being in an unquoted here document
111534 # in config.status.
111535 rm -f conftest.defines conftest.undefs
111536 # Using a here document instead of a string reduces the quoting nightmare.
111537 # Putting comments in sed scripts is not portable.
111539 # `end' is used to avoid that the second main sed command (meant for
111540 # 0-ary CPP macros) applies to n-ary macro definitions.
111541 # See the Autoconf documentation for `clear'.
111542 cat >confdef2sed.sed <<\_ACEOF
111543 s/[\\&,]/\\&/g
111544 s,[\\$`],\\&,g
111545 t clear
111546 : clear
111547 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111548 t end
111549 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111550 : end
111551 _ACEOF
111552 # If some macros were called several times there might be several times
111553 # the same #defines, which is useless. Nevertheless, we may not want to
111554 # sort them, since we want the *last* AC-DEFINE to be honored.
111555 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111556 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111557 rm -f confdef2sed.sed
111559 # This sed command replaces #undef with comments. This is necessary, for
111560 # example, in the case of _POSIX_SOURCE, which is predefined and required
111561 # on some systems where configure will not decide to define it.
111562 cat >>conftest.undefs <<\_ACEOF
111563 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111564 _ACEOF
111566 # Break up conftest.defines because some shells have a limit on the size
111567 # of here documents, and old seds have small limits too (100 cmds).
111568 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111569 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111570 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111571 echo ' :' >>$CONFIG_STATUS
111572 rm -f conftest.tail
111573 while grep . conftest.defines >/dev/null
111575 # Write a limited-size here document to $tmp/defines.sed.
111576 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111577 # Speed up: don't consider the non `#define' lines.
111578 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
111579 # Work around the forget-to-reset-the-flag bug.
111580 echo 't clr' >>$CONFIG_STATUS
111581 echo ': clr' >>$CONFIG_STATUS
111582 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111583 echo 'CEOF
111584 sed -f $tmp/defines.sed $tmp/in >$tmp/out
111585 rm -f $tmp/in
111586 mv $tmp/out $tmp/in
111587 ' >>$CONFIG_STATUS
111588 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111589 rm -f conftest.defines
111590 mv conftest.tail conftest.defines
111592 rm -f conftest.defines
111593 echo ' fi # grep' >>$CONFIG_STATUS
111594 echo >>$CONFIG_STATUS
111596 # Break up conftest.undefs because some shells have a limit on the size
111597 # of here documents, and old seds have small limits too (100 cmds).
111598 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
111599 rm -f conftest.tail
111600 while grep . conftest.undefs >/dev/null
111602 # Write a limited-size here document to $tmp/undefs.sed.
111603 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111604 # Speed up: don't consider the non `#undef'
111605 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
111606 # Work around the forget-to-reset-the-flag bug.
111607 echo 't clr' >>$CONFIG_STATUS
111608 echo ': clr' >>$CONFIG_STATUS
111609 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111610 echo 'CEOF
111611 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111612 rm -f $tmp/in
111613 mv $tmp/out $tmp/in
111614 ' >>$CONFIG_STATUS
111615 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111616 rm -f conftest.undefs
111617 mv conftest.tail conftest.undefs
111619 rm -f conftest.undefs
111621 cat >>$CONFIG_STATUS <<\_ACEOF
111622 # Let's still pretend it is `configure' which instantiates (i.e., don't
111623 # use $as_me), people would be surprised to read:
111624 # /* config.h. Generated by config.status. */
111625 if test x"$ac_file" = x-; then
111626 echo "/* Generated by configure. */" >$tmp/config.h
111628 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
111630 cat $tmp/in >>$tmp/config.h
111631 rm -f $tmp/in
111632 if test x"$ac_file" != x-; then
111633 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111634 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111635 echo "$as_me: $ac_file is unchanged" >&6;}
111637 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111639 X"$ac_file" : 'X\(//\)[^/]' \| \
111640 X"$ac_file" : 'X\(//\)$' \| \
111641 X"$ac_file" : 'X\(/\)' \| \
111642 . : '\(.\)' 2>/dev/null ||
111643 echo X"$ac_file" |
111644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111646 /^X\(\/\/\)$/{ s//\1/; q; }
111647 /^X\(\/\).*/{ s//\1/; q; }
111648 s/.*/./; q'`
111649 { if $as_mkdir_p; then
111650 mkdir -p "$ac_dir"
111652 as_dir="$ac_dir"
111653 as_dirs=
111654 while test ! -d "$as_dir"; do
111655 as_dirs="$as_dir $as_dirs"
111656 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111658 X"$as_dir" : 'X\(//\)[^/]' \| \
111659 X"$as_dir" : 'X\(//\)$' \| \
111660 X"$as_dir" : 'X\(/\)' \| \
111661 . : '\(.\)' 2>/dev/null ||
111662 echo X"$as_dir" |
111663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111665 /^X\(\/\/\)$/{ s//\1/; q; }
111666 /^X\(\/\).*/{ s//\1/; q; }
111667 s/.*/./; q'`
111669 test ! -n "$as_dirs" || mkdir $as_dirs
111670 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111672 { (exit 1); exit 1; }; }; }
111674 rm -f $ac_file
111675 mv $tmp/config.h $ac_file
111678 cat $tmp/config.h
111679 rm -f $tmp/config.h
111681 # Compute $ac_file's index in $config_headers.
111682 _am_stamp_count=1
111683 for _am_header in $config_headers :; do
111684 case $_am_header in
111685 $ac_file | $ac_file:* )
111686 break ;;
111688 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111691 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111692 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111693 X$ac_file : 'X\(//\)[^/]' \| \
111694 X$ac_file : 'X\(//\)$' \| \
111695 X$ac_file : 'X\(/\)' \| \
111696 . : '\(.\)' 2>/dev/null ||
111697 echo X$ac_file |
111698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111700 /^X\(\/\/\)$/{ s//\1/; q; }
111701 /^X\(\/\).*/{ s//\1/; q; }
111702 s/.*/./; q'`/stamp-h$_am_stamp_count
111704 _ACEOF
111705 cat >>$CONFIG_STATUS <<\_ACEOF
111708 # CONFIG_COMMANDS section.
111710 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111711 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111712 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111713 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111714 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111715 X"$ac_dest" : 'X\(//\)[^/]' \| \
111716 X"$ac_dest" : 'X\(//\)$' \| \
111717 X"$ac_dest" : 'X\(/\)' \| \
111718 . : '\(.\)' 2>/dev/null ||
111719 echo X"$ac_dest" |
111720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111722 /^X\(\/\/\)$/{ s//\1/; q; }
111723 /^X\(\/\).*/{ s//\1/; q; }
111724 s/.*/./; q'`
111725 { if $as_mkdir_p; then
111726 mkdir -p "$ac_dir"
111728 as_dir="$ac_dir"
111729 as_dirs=
111730 while test ! -d "$as_dir"; do
111731 as_dirs="$as_dir $as_dirs"
111732 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111734 X"$as_dir" : 'X\(//\)[^/]' \| \
111735 X"$as_dir" : 'X\(//\)$' \| \
111736 X"$as_dir" : 'X\(/\)' \| \
111737 . : '\(.\)' 2>/dev/null ||
111738 echo X"$as_dir" |
111739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111741 /^X\(\/\/\)$/{ s//\1/; q; }
111742 /^X\(\/\).*/{ s//\1/; q; }
111743 s/.*/./; q'`
111745 test ! -n "$as_dirs" || mkdir $as_dirs
111746 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111748 { (exit 1); exit 1; }; }; }
111750 ac_builddir=.
111752 if test "$ac_dir" != .; then
111753 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111754 # A "../" for each directory in $ac_dir_suffix.
111755 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111757 ac_dir_suffix= ac_top_builddir=
111760 case $srcdir in
111761 .) # No --srcdir option. We are building in place.
111762 ac_srcdir=.
111763 if test -z "$ac_top_builddir"; then
111764 ac_top_srcdir=.
111766 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111767 fi ;;
111768 [\\/]* | ?:[\\/]* ) # Absolute path.
111769 ac_srcdir=$srcdir$ac_dir_suffix;
111770 ac_top_srcdir=$srcdir ;;
111771 *) # Relative path.
111772 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111773 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111776 # Do not use `cd foo && pwd` to compute absolute paths, because
111777 # the directories may not exist.
111778 case `pwd` in
111779 .) ac_abs_builddir="$ac_dir";;
111781 case "$ac_dir" in
111782 .) ac_abs_builddir=`pwd`;;
111783 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111784 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111785 esac;;
111787 case $ac_abs_builddir in
111788 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111790 case ${ac_top_builddir}. in
111791 .) ac_abs_top_builddir=$ac_abs_builddir;;
111792 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111793 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111794 esac;;
111796 case $ac_abs_builddir in
111797 .) ac_abs_srcdir=$ac_srcdir;;
111799 case $ac_srcdir in
111800 .) ac_abs_srcdir=$ac_abs_builddir;;
111801 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111802 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111803 esac;;
111805 case $ac_abs_builddir in
111806 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111808 case $ac_top_srcdir in
111809 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111810 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111811 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111812 esac;;
111816 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111817 echo "$as_me: executing $ac_dest commands" >&6;}
111818 case $ac_dest in
111819 default-1 )
111820 # Only add multilib support code if we just rebuilt the top-level
111821 # Makefile.
111822 case " $CONFIG_FILES " in
111823 *" Makefile "*)
111824 ac_file=Makefile . ${multi_basedir}/config-ml.in
111826 esac ;;
111827 default ) if test -n "$CONFIG_FILES"; then
111828 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111829 # that multilib installs will end up installed in the correct place.
111830 # The testsuite needs it for multilib-aware ABI baseline files.
111831 # To work around this not being passed down from config-ml.in ->
111832 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111833 # append it here. Only modify Makefiles that have just been created.
111835 # Also, get rid of this simulated-VPATH thing that automake does.
111836 cat > vpsed << \_EOF
111837 s!`test -f '$<' || echo '$(srcdir)/'`!!
111839 for i in $SUBDIRS; do
111840 case $CONFIG_FILES in
111841 *${i}/Makefile*)
111842 #echo "Adding MULTISUBDIR to $i/Makefile"
111843 sed -f vpsed $i/Makefile > tmp
111844 grep '^MULTISUBDIR =' Makefile >> tmp
111845 mv tmp $i/Makefile
111849 rm vpsed
111851 (cd include && ${MAKE-make})
111855 _ACEOF
111857 cat >>$CONFIG_STATUS <<\_ACEOF
111859 { (exit 0); exit 0; }
111860 _ACEOF
111861 chmod +x $CONFIG_STATUS
111862 ac_clean_files=$ac_clean_files_save
111865 # configure is writing to config.log, and then calls config.status.
111866 # config.status does its own redirection, appending to config.log.
111867 # Unfortunately, on DOS this fails, as config.log is still kept open
111868 # by configure, so config.status won't be able to write to it; its
111869 # output is simply discarded. So we exec the FD to /dev/null,
111870 # effectively closing config.log, so it can be properly (re)opened and
111871 # appended to by config.status. When coming back to configure, we
111872 # need to make the FD available again.
111873 if test "$no_create" != yes; then
111874 ac_cs_success=:
111875 ac_config_status_args=
111876 test "$silent" = yes &&
111877 ac_config_status_args="$ac_config_status_args --quiet"
111878 exec 5>/dev/null
111879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111880 exec 5>>config.log
111881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111882 # would make configure fail if this is the last instruction.
111883 $ac_cs_success || { (exit 1); exit 1; }