2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob908fada25a84087a9f63e105e2931cbb76a3aace
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 LIBTOOL CXXCPP CPPFLAGS 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 CPP EGREP 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_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_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_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
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_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
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-c99 turns on ISO/IEC 9899:1999 support
873 [default=yes]
874 --enable-long-long enable template specializations for 'long long'
875 [default=yes]
876 --enable-wchar_t enable template specializations for 'wchar_t'
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-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3357 # available). Uncomment the next line to force a particular method.
3358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3360 LN_S=$as_ln_s
3361 if test "$LN_S" = "ln -s"; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 else
3365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3366 echo "${ECHO_T}no, using $LN_S" >&6
3369 #LN_S='cp -p'
3371 if test -n "$ac_tool_prefix"; then
3372 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3373 set dummy ${ac_tool_prefix}as; ac_word=$2
3374 echo "$as_me:$LINENO: checking for $ac_word" >&5
3375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3376 if test "${ac_cv_prog_AS+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 else
3379 if test -n "$AS"; then
3380 ac_cv_prog_AS="$AS" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3385 IFS=$as_save_IFS
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_AS="${ac_tool_prefix}as"
3390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 break 2
3393 done
3394 done
3398 AS=$ac_cv_prog_AS
3399 if test -n "$AS"; then
3400 echo "$as_me:$LINENO: result: $AS" >&5
3401 echo "${ECHO_T}$AS" >&6
3402 else
3403 echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3408 if test -z "$ac_cv_prog_AS"; then
3409 ac_ct_AS=$AS
3410 # Extract the first word of "as", so it can be a program name with args.
3411 set dummy as; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417 if test -n "$ac_ct_AS"; then
3418 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_ac_ct_AS="as"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3436 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3437 if test -n "$ac_ct_AS"; then
3438 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3439 echo "${ECHO_T}$ac_ct_AS" >&6
3440 else
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3445 AS=$ac_ct_AS
3446 else
3447 AS="$ac_cv_prog_AS"
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ar; ac_word=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_AR+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458 if test -n "$AR"; then
3459 ac_cv_prog_AR="$AR" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3464 IFS=$as_save_IFS
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_AR="${ac_tool_prefix}ar"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 break 2
3472 done
3473 done
3477 AR=$ac_cv_prog_AR
3478 if test -n "$AR"; then
3479 echo "$as_me:$LINENO: result: $AR" >&5
3480 echo "${ECHO_T}$AR" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3487 if test -z "$ac_cv_prog_AR"; then
3488 ac_ct_AR=$AR
3489 # Extract the first word of "ar", so it can be a program name with args.
3490 set dummy ar; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496 if test -n "$ac_ct_AR"; then
3497 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_ac_ct_AR="ar"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 break 2
3510 done
3511 done
3515 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3516 if test -n "$ac_ct_AR"; then
3517 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3518 echo "${ECHO_T}$ac_ct_AR" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3524 AR=$ac_ct_AR
3525 else
3526 AR="$ac_cv_prog_AR"
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_RANLIB+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537 if test -n "$RANLIB"; then
3538 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3539 else
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 for as_dir in $PATH
3543 IFS=$as_save_IFS
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 break 2
3551 done
3552 done
3556 RANLIB=$ac_cv_prog_RANLIB
3557 if test -n "$RANLIB"; then
3558 echo "$as_me:$LINENO: result: $RANLIB" >&5
3559 echo "${ECHO_T}$RANLIB" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3566 if test -z "$ac_cv_prog_RANLIB"; then
3567 ac_ct_RANLIB=$RANLIB
3568 # Extract the first word of "ranlib", so it can be a program name with args.
3569 set dummy ranlib; ac_word=$2
3570 echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3572 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$ac_ct_RANLIB"; then
3576 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_ac_ct_RANLIB="ranlib"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3592 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3596 if test -n "$ac_ct_RANLIB"; then
3597 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3598 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3599 else
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3604 RANLIB=$ac_ct_RANLIB
3605 else
3606 RANLIB="$ac_cv_prog_RANLIB"
3610 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3611 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3612 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3613 if test "${enable_maintainer_mode+set}" = set; then
3614 enableval="$enable_maintainer_mode"
3615 USE_MAINTAINER_MODE=$enableval
3616 else
3617 USE_MAINTAINER_MODE=no
3619 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3620 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3623 if test $USE_MAINTAINER_MODE = yes; then
3624 MAINTAINER_MODE_TRUE=
3625 MAINTAINER_MODE_FALSE='#'
3626 else
3627 MAINTAINER_MODE_TRUE='#'
3628 MAINTAINER_MODE_FALSE=
3631 MAINT=$MAINTAINER_MODE_TRUE
3635 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3636 # which are themselves conditionally expanded.
3637 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3638 ## other macros from doing the same. This should be automated.) -pme
3639 need_libmath=no
3641 # Find platform-specific directories containing configuration info.
3642 # Also possibly modify flags used elsewhere, as needed by the platform.
3644 . $glibcxx_srcdir/configure.host
3645 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3653 # Check whether --enable-shared or --disable-shared was given.
3654 if test "${enable_shared+set}" = set; then
3655 enableval="$enable_shared"
3656 p=${PACKAGE-default}
3657 case $enableval in
3658 yes) enable_shared=yes ;;
3659 no) enable_shared=no ;;
3661 enable_shared=no
3662 # Look at the argument we got. We use all the common list separators.
3663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3664 for pkg in $enableval; do
3665 if test "X$pkg" = "X$p"; then
3666 enable_shared=yes
3668 done
3669 IFS="$ac_save_ifs"
3671 esac
3672 else
3673 enable_shared=yes
3675 # Check whether --enable-static or --disable-static was given.
3676 if test "${enable_static+set}" = set; then
3677 enableval="$enable_static"
3678 p=${PACKAGE-default}
3679 case $enableval in
3680 yes) enable_static=yes ;;
3681 no) enable_static=no ;;
3683 enable_static=no
3684 # Look at the argument we got. We use all the common list separators.
3685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3686 for pkg in $enableval; do
3687 if test "X$pkg" = "X$p"; then
3688 enable_static=yes
3690 done
3691 IFS="$ac_save_ifs"
3693 esac
3694 else
3695 enable_static=yes
3697 # Check whether --enable-fast-install or --disable-fast-install was given.
3698 if test "${enable_fast_install+set}" = set; then
3699 enableval="$enable_fast_install"
3700 p=${PACKAGE-default}
3701 case $enableval in
3702 yes) enable_fast_install=yes ;;
3703 no) enable_fast_install=no ;;
3705 enable_fast_install=no
3706 # Look at the argument we got. We use all the common list separators.
3707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3708 for pkg in $enableval; do
3709 if test "X$pkg" = "X$p"; then
3710 enable_fast_install=yes
3712 done
3713 IFS="$ac_save_ifs"
3715 esac
3716 else
3717 enable_fast_install=yes
3720 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3721 if test "${with_gnu_ld+set}" = set; then
3722 withval="$with_gnu_ld"
3723 test "$withval" = no || with_gnu_ld=yes
3724 else
3725 with_gnu_ld=no
3727 ac_prog=ld
3728 if test "$GCC" = yes; then
3729 # Check if gcc -print-prog-name=ld gives a path.
3730 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3731 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3732 case $host in
3733 *-*-mingw*)
3734 # gcc leaves a trailing carriage return which upsets mingw
3735 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3737 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3738 esac
3739 case $ac_prog in
3740 # Accept absolute paths.
3741 [\\/]* | [A-Za-z]:[\\/]*)
3742 re_direlt='/[^/][^/]*/\.\./'
3743 # Canonicalize the path of ld
3744 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3745 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3746 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3747 done
3748 test -z "$LD" && LD="$ac_prog"
3751 # If it fails, then pretend we aren't using GCC.
3752 ac_prog=ld
3755 # If it is relative, then search for the first ld in PATH.
3756 with_gnu_ld=unknown
3758 esac
3759 elif test "$with_gnu_ld" = yes; then
3760 echo "$as_me:$LINENO: checking for GNU ld" >&5
3761 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3762 else
3763 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3764 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3766 if test "${lt_cv_path_LD+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 else
3769 if test -z "$LD"; then
3770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3771 for ac_dir in $PATH; do
3772 test -z "$ac_dir" && ac_dir=.
3773 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3774 lt_cv_path_LD="$ac_dir/$ac_prog"
3775 # Check to see if the program is GNU ld. I'd rather use --version,
3776 # but apparently some GNU ld's only accept -v.
3777 # Break only if it was the GNU/non-GNU ld that we prefer.
3778 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3779 test "$with_gnu_ld" != no && break
3780 else
3781 test "$with_gnu_ld" != yes && break
3784 done
3785 IFS="$ac_save_ifs"
3786 else
3787 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3791 LD="$lt_cv_path_LD"
3792 if test -n "$LD"; then
3793 echo "$as_me:$LINENO: result: $LD" >&5
3794 echo "${ECHO_T}$LD" >&6
3795 else
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3799 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3800 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3801 { (exit 1); exit 1; }; }
3802 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3803 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3804 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 else
3807 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3808 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3809 lt_cv_prog_gnu_ld=yes
3810 else
3811 lt_cv_prog_gnu_ld=no
3814 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3815 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3816 with_gnu_ld=$lt_cv_prog_gnu_ld
3819 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3820 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3821 if test "${lt_cv_ld_reload_flag+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 lt_cv_ld_reload_flag='-r'
3826 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3827 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3828 reload_flag=$lt_cv_ld_reload_flag
3829 test -n "$reload_flag" && reload_flag=" $reload_flag"
3831 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3832 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3833 if test "${lt_cv_path_NM+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 else
3836 if test -n "$NM"; then
3837 # Let the user override the test.
3838 lt_cv_path_NM="$NM"
3839 else
3840 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3841 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3842 test -z "$ac_dir" && ac_dir=.
3843 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3844 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3845 # Check to see if the nm accepts a BSD-compat flag.
3846 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3847 # nm: unknown option "B" ignored
3848 # Tru64's nm complains that /dev/null is an invalid object file
3849 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3850 lt_cv_path_NM="$tmp_nm -B"
3851 break
3852 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3853 lt_cv_path_NM="$tmp_nm -p"
3854 break
3855 else
3856 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3857 continue # so that we can try to find one that supports BSD flags
3860 done
3861 IFS="$ac_save_ifs"
3862 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3866 NM="$lt_cv_path_NM"
3867 echo "$as_me:$LINENO: result: $NM" >&5
3868 echo "${ECHO_T}$NM" >&6
3870 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3871 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3872 if test "${lt_cv_deplibs_check_method+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 else
3875 lt_cv_file_magic_cmd='$MAGIC_CMD'
3876 lt_cv_file_magic_test_file=
3877 lt_cv_deplibs_check_method='unknown'
3878 # Need to set the preceding variable on all platforms that support
3879 # interlibrary dependencies.
3880 # 'none' -- dependencies not supported.
3881 # `unknown' -- same as none, but documents that we really don't know.
3882 # 'pass_all' -- all dependencies passed with no checks.
3883 # 'test_compile' -- check by making test program.
3884 # 'file_magic [regex]' -- check by looking for files in library path
3885 # which responds to the $file_magic_cmd with a given egrep regex.
3886 # If you have `file' or equivalent on your system and you're not sure
3887 # whether `pass_all' will *always* work, you probably want this one.
3889 case $host_os in
3890 aix*)
3891 lt_cv_deplibs_check_method=pass_all
3894 beos*)
3895 lt_cv_deplibs_check_method=pass_all
3898 bsdi4*)
3899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3900 lt_cv_file_magic_cmd='/usr/bin/file -L'
3901 lt_cv_file_magic_test_file=/shlib/libc.so
3904 cygwin* | mingw* |pw32*)
3905 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3906 lt_cv_file_magic_cmd='$OBJDUMP -f'
3909 darwin* | rhapsody*)
3910 # this will be overwritten by pass_all, but leave it in just in case
3911 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3912 lt_cv_file_magic_cmd='/usr/bin/file -L'
3913 case "$host_os" in
3914 rhapsody* | darwin1.012)
3915 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3917 *) # Darwin 1.3 on
3918 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3920 esac
3921 lt_cv_deplibs_check_method=pass_all
3924 freebsd* | kfreebsd*-gnu)
3925 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3926 case $host_cpu in
3927 i*86 )
3928 # Not sure whether the presence of OpenBSD here was a mistake.
3929 # Let's accept both of them until this is cleared up.
3930 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3931 lt_cv_file_magic_cmd=/usr/bin/file
3932 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3934 esac
3935 else
3936 lt_cv_deplibs_check_method=pass_all
3940 gnu*)
3941 lt_cv_deplibs_check_method=pass_all
3944 hpux10.20*|hpux11*)
3945 case $host_cpu in
3946 hppa*)
3947 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3948 lt_cv_file_magic_cmd=/usr/bin/file
3949 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3951 ia64*)
3952 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3953 lt_cv_file_magic_cmd=/usr/bin/file
3954 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3956 esac
3959 irix5* | irix6*)
3960 case $host_os in
3961 irix5*)
3962 # this will be overridden with pass_all, but let us keep it just in case
3963 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3966 case $LD in
3967 *-32|*"-32 ") libmagic=32-bit;;
3968 *-n32|*"-n32 ") libmagic=N32;;
3969 *-64|*"-64 ") libmagic=64-bit;;
3970 *) libmagic=never-match;;
3971 esac
3972 # this will be overridden with pass_all, but let us keep it just in case
3973 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3975 esac
3976 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3977 lt_cv_deplibs_check_method=pass_all
3980 # This must be Linux ELF.
3981 linux-gnu*)
3982 lt_cv_deplibs_check_method=pass_all
3985 netbsd* | knetbsd*-gnu)
3986 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3987 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3988 else
3989 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3993 newsos6)
3994 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3995 lt_cv_file_magic_cmd=/usr/bin/file
3996 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3999 osf3* | osf4* | osf5*)
4000 # this will be overridden with pass_all, but let us keep it just in case
4001 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4002 lt_cv_file_magic_test_file=/shlib/libc.so
4003 lt_cv_deplibs_check_method=pass_all
4006 sco3.2v5*)
4007 lt_cv_deplibs_check_method=pass_all
4010 solaris*)
4011 lt_cv_deplibs_check_method=pass_all
4012 lt_cv_file_magic_test_file=/lib/libc.so
4015 sysv5uw[78]* | sysv4*uw2*)
4016 lt_cv_deplibs_check_method=pass_all
4019 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4020 case $host_vendor in
4021 ncr)
4022 lt_cv_deplibs_check_method=pass_all
4024 motorola)
4025 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]'
4026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4028 esac
4030 esac
4033 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4034 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4035 file_magic_cmd=$lt_cv_file_magic_cmd
4036 deplibs_check_method=$lt_cv_deplibs_check_method
4042 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4044 # Only perform the check for file, if the check method requires it
4045 case $deplibs_check_method in
4046 file_magic*)
4047 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4048 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4049 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 else
4053 case $MAGIC_CMD in
4055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4057 ?:/*)
4058 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4061 ac_save_MAGIC_CMD="$MAGIC_CMD"
4062 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4063 ac_dummy="/usr/bin:$PATH"
4064 for ac_dir in $ac_dummy; do
4065 test -z "$ac_dir" && ac_dir=.
4066 if test -f $ac_dir/${ac_tool_prefix}file; then
4067 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4068 if test -n "$file_magic_test_file"; then
4069 case $deplibs_check_method in
4070 "file_magic "*)
4071 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4073 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4074 egrep "$file_magic_regex" > /dev/null; then
4076 else
4077 cat <<EOF 1>&2
4079 *** Warning: the command libtool uses to detect shared libraries,
4080 *** $file_magic_cmd, produces output that libtool cannot recognize.
4081 *** The result is that libtool may fail to recognize shared libraries
4082 *** as such. This will affect the creation of libtool libraries that
4083 *** depend on shared libraries, but programs linked with such libtool
4084 *** libraries will work regardless of this problem. Nevertheless, you
4085 *** may want to report the problem to your system manager and/or to
4086 *** bug-libtool@gnu.org
4089 fi ;;
4090 esac
4092 break
4094 done
4095 IFS="$ac_save_ifs"
4096 MAGIC_CMD="$ac_save_MAGIC_CMD"
4098 esac
4101 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4102 if test -n "$MAGIC_CMD"; then
4103 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4104 echo "${ECHO_T}$MAGIC_CMD" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4110 if test -z "$lt_cv_path_MAGIC_CMD"; then
4111 if test -n "$ac_tool_prefix"; then
4112 echo "$as_me:$LINENO: checking for file" >&5
4113 echo $ECHO_N "checking for file... $ECHO_C" >&6
4114 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 else
4117 case $MAGIC_CMD in
4119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4121 ?:/*)
4122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4125 ac_save_MAGIC_CMD="$MAGIC_CMD"
4126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4127 ac_dummy="/usr/bin:$PATH"
4128 for ac_dir in $ac_dummy; do
4129 test -z "$ac_dir" && ac_dir=.
4130 if test -f $ac_dir/file; then
4131 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4132 if test -n "$file_magic_test_file"; then
4133 case $deplibs_check_method in
4134 "file_magic "*)
4135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4138 egrep "$file_magic_regex" > /dev/null; then
4140 else
4141 cat <<EOF 1>&2
4143 *** Warning: the command libtool uses to detect shared libraries,
4144 *** $file_magic_cmd, produces output that libtool cannot recognize.
4145 *** The result is that libtool may fail to recognize shared libraries
4146 *** as such. This will affect the creation of libtool libraries that
4147 *** depend on shared libraries, but programs linked with such libtool
4148 *** libraries will work regardless of this problem. Nevertheless, you
4149 *** may want to report the problem to your system manager and/or to
4150 *** bug-libtool@gnu.org
4153 fi ;;
4154 esac
4156 break
4158 done
4159 IFS="$ac_save_ifs"
4160 MAGIC_CMD="$ac_save_MAGIC_CMD"
4162 esac
4165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4166 if test -n "$MAGIC_CMD"; then
4167 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4168 echo "${ECHO_T}$MAGIC_CMD" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4174 else
4175 MAGIC_CMD=:
4181 esac
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_prog_RANLIB+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191 if test -n "$RANLIB"; then
4192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4197 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2
4205 done
4206 done
4210 RANLIB=$ac_cv_prog_RANLIB
4211 if test -n "$RANLIB"; then
4212 echo "$as_me:$LINENO: result: $RANLIB" >&5
4213 echo "${ECHO_T}$RANLIB" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4220 if test -z "$ac_cv_prog_RANLIB"; then
4221 ac_ct_RANLIB=$RANLIB
4222 # Extract the first word of "ranlib", so it can be a program name with args.
4223 set dummy ranlib; ac_word=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 else
4229 if test -n "$ac_ct_RANLIB"; then
4230 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4231 else
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_ac_ct_RANLIB="ranlib"
4240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4243 done
4244 done
4246 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4249 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4250 if test -n "$ac_ct_RANLIB"; then
4251 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4252 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4258 RANLIB=$ac_ct_RANLIB
4259 else
4260 RANLIB="$ac_cv_prog_RANLIB"
4263 if test -n "$ac_tool_prefix"; then
4264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4265 set dummy ${ac_tool_prefix}strip; ac_word=$2
4266 echo "$as_me:$LINENO: checking for $ac_word" >&5
4267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4268 if test "${ac_cv_prog_STRIP+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 else
4271 if test -n "$STRIP"; then
4272 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4273 else
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 for as_dir in $PATH
4277 IFS=$as_save_IFS
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 break 2
4285 done
4286 done
4290 STRIP=$ac_cv_prog_STRIP
4291 if test -n "$STRIP"; then
4292 echo "$as_me:$LINENO: result: $STRIP" >&5
4293 echo "${ECHO_T}$STRIP" >&6
4294 else
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4300 if test -z "$ac_cv_prog_STRIP"; then
4301 ac_ct_STRIP=$STRIP
4302 # Extract the first word of "strip", so it can be a program name with args.
4303 set dummy strip; ac_word=$2
4304 echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
4309 if test -n "$ac_ct_STRIP"; then
4310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4311 else
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH
4315 IFS=$as_save_IFS
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_ac_ct_STRIP="strip"
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 break 2
4323 done
4324 done
4326 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4330 if test -n "$ac_ct_STRIP"; then
4331 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4332 echo "${ECHO_T}$ac_ct_STRIP" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4338 STRIP=$ac_ct_STRIP
4339 else
4340 STRIP="$ac_cv_prog_STRIP"
4344 # Check for any special flags to pass to ltconfig.
4345 libtool_flags="--cache-file=$cache_file"
4346 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4347 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4348 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4349 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4350 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4353 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4354 if test "${enable_libtool_lock+set}" = set; then
4355 enableval="$enable_libtool_lock"
4358 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4359 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4362 # Check whether --with-pic or --without-pic was given.
4363 if test "${with_pic+set}" = set; then
4364 withval="$with_pic"
4365 pic_mode="$withval"
4366 else
4367 pic_mode=default
4369 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4370 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4372 # Some flags need to be propagated to the compiler or linker for good
4373 # libtool support.
4374 case $host in
4375 *-*-irix6*)
4376 # Find out which ABI we are using.
4377 echo '#line 4377 "configure"' > conftest.$ac_ext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>&5
4380 ac_status=$?
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; then
4383 if test "$lt_cv_prog_gnu_ld" = yes; then
4384 case `/usr/bin/file conftest.$ac_objext` in
4385 *32-bit*)
4386 LD="${LD-ld} -melf32bsmip"
4388 *N32*)
4389 LD="${LD-ld} -melf32bmipn32"
4391 *64-bit*)
4392 LD="${LD-ld} -melf64bmip"
4394 esac
4395 else
4396 case `/usr/bin/file conftest.$ac_objext` in
4397 *32-bit*)
4398 LD="${LD-ld} -32"
4400 *N32*)
4401 LD="${LD-ld} -n32"
4403 *64-bit*)
4404 LD="${LD-ld} -64"
4406 esac
4409 rm -rf conftest*
4412 ia64-*-hpux*)
4413 # Find out which ABI we are using.
4414 echo 'int i;' > conftest.$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4417 ac_status=$?
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 case "`/usr/bin/file conftest.o`" in
4421 *ELF-32*)
4422 HPUX_IA64_MODE="32"
4424 *ELF-64*)
4425 HPUX_IA64_MODE="64"
4427 esac
4429 rm -rf conftest*
4432 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4433 # Find out which ABI we are using.
4434 echo 'int i;' > conftest.$ac_ext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>&5
4437 ac_status=$?
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; then
4440 case "`/usr/bin/file conftest.o`" in
4441 *32-bit*)
4442 case $host in
4443 x86_64-*linux*)
4444 LD="${LD-ld} -m elf_i386"
4446 ppc64-*linux*|powerpc64-*linux*)
4447 LD="${LD-ld} -m elf32ppclinux"
4449 s390x-*linux*)
4450 LD="${LD-ld} -m elf_s390"
4452 sparc64-*linux*)
4453 LD="${LD-ld} -m elf32_sparc"
4455 esac
4457 *64-bit*)
4458 case $host in
4459 x86_64-*linux*)
4460 LD="${LD-ld} -m elf_x86_64"
4462 ppc*-*linux*|powerpc*-*linux*)
4463 LD="${LD-ld} -m elf64ppc"
4465 s390*-*linux*)
4466 LD="${LD-ld} -m elf64_s390"
4468 sparc*-*linux*)
4469 LD="${LD-ld} -m elf64_sparc"
4471 esac
4473 esac
4475 rm -rf conftest*
4478 *-*-sco3.2v5*)
4479 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4480 SAVE_CFLAGS="$CFLAGS"
4481 CFLAGS="$CFLAGS -belf"
4482 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4483 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4484 if test "${lt_cv_cc_needs_belf+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4489 ac_ext=c
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495 if test x$gcc_no_link = xyes; then
4496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4498 { (exit 1); exit 1; }; }
4500 cat >conftest.$ac_ext <<_ACEOF
4501 /* confdefs.h. */
4502 _ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4517 (eval $ac_link) 2>conftest.er1
4518 ac_status=$?
4519 grep -v '^ *+' conftest.er1 >conftest.err
4520 rm -f conftest.er1
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_c_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 (eval $ac_try) 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest$ac_exeext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 (eval $ac_try) 2>&5
4534 ac_status=$?
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 lt_cv_cc_needs_belf=yes
4538 else
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 lt_cv_cc_needs_belf=no
4544 rm -f conftest.err conftest.$ac_objext \
4545 conftest$ac_exeext conftest.$ac_ext
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4553 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4554 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4555 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4556 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4557 CFLAGS="$SAVE_CFLAGS"
4562 esac
4565 # Save cache, so that ltconfig can load it
4566 cat >confcache <<\_ACEOF
4567 # This file is a shell script that caches the results of configure
4568 # tests run on this system so they can be shared between configure
4569 # scripts and configure runs, see configure's option --config-cache.
4570 # It is not useful on other systems. If it contains results you don't
4571 # want to keep, you may remove or edit it.
4573 # config.status only pays attention to the cache file if you give it
4574 # the --recheck option to rerun configure.
4576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4578 # following values.
4580 _ACEOF
4582 # The following way of writing the cache mishandles newlines in values,
4583 # but we know of no workaround that is simple, portable, and efficient.
4584 # So, don't put newlines in cache variables' values.
4585 # Ultrix sh set writes to stderr and can't be redirected directly,
4586 # and sets the high bit in the cache file unless we assign to the vars.
4588 (set) 2>&1 |
4589 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4590 *ac_space=\ *)
4591 # `set' does not quote correctly, so add quotes (double-quote
4592 # substitution turns \\\\ into \\, and sed turns \\ into \).
4593 sed -n \
4594 "s/'/'\\\\''/g;
4595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4598 # `set' quotes correctly as required by POSIX, so do not add quotes.
4599 sed -n \
4600 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4602 esac;
4604 sed '
4605 t clear
4606 : clear
4607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4608 t end
4609 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4610 : end' >>confcache
4611 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4612 if test -w $cache_file; then
4613 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4614 cat confcache >$cache_file
4615 else
4616 echo "not updating unwritable cache $cache_file"
4619 rm -f confcache
4621 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4622 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4623 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4624 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4625 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4626 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4627 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4628 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4629 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4630 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4631 echo "$as_me: error: libtool configure failed" >&2;}
4632 { (exit 1); exit 1; }; }
4634 # Reload cache, that may have been modified by ltconfig
4635 if test -r "$cache_file"; then
4636 # Some versions of bash will fail to source /dev/null (special
4637 # files actually), so we avoid doing that.
4638 if test -f "$cache_file"; then
4639 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4640 echo "$as_me: loading cache $cache_file" >&6;}
4641 case $cache_file in
4642 [\\/]* | ?:[\\/]* ) . $cache_file;;
4643 *) . ./$cache_file;;
4644 esac
4646 else
4647 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4648 echo "$as_me: creating cache $cache_file" >&6;}
4649 >$cache_file
4653 # This can be used to rebuild libtool when needed
4654 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4656 # Always use our own libtool.
4657 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4659 # Redirect the config.log output again, so that the ltconfig log is not
4660 # clobbered by the next message.
4661 exec 5>>./config.log
4663 ac_ext=cc
4664 ac_cpp='$CXXCPP $CPPFLAGS'
4665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4668 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4669 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4670 if test -z "$CXXCPP"; then
4671 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 # Double quotes because CXXCPP needs to be expanded
4675 for CXXCPP in "$CXX -E" "/lib/cpp"
4677 ac_preproc_ok=false
4678 for ac_cxx_preproc_warn_flag in '' yes
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat >conftest.$ac_ext <<_ACEOF
4687 /* confdefs.h. */
4688 _ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #ifdef __STDC__
4693 # include <limits.h>
4694 #else
4695 # include <assert.h>
4696 #endif
4697 Syntax error
4698 _ACEOF
4699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4701 ac_status=$?
4702 grep -v '^ *+' conftest.er1 >conftest.err
4703 rm -f conftest.er1
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev/null; then
4707 if test -s conftest.err; then
4708 ac_cpp_err=$ac_cxx_preproc_warn_flag
4709 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4710 else
4711 ac_cpp_err=
4713 else
4714 ac_cpp_err=yes
4716 if test -z "$ac_cpp_err"; then
4718 else
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4722 # Broken: fails on valid input.
4723 continue
4725 rm -f conftest.err conftest.$ac_ext
4727 # OK, works on sane cases. Now check whether non-existent headers
4728 # can be detected and how.
4729 cat >conftest.$ac_ext <<_ACEOF
4730 /* confdefs.h. */
4731 _ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <ac_nonexistent.h>
4736 _ACEOF
4737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4739 ac_status=$?
4740 grep -v '^ *+' conftest.er1 >conftest.err
4741 rm -f conftest.er1
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } >/dev/null; then
4745 if test -s conftest.err; then
4746 ac_cpp_err=$ac_cxx_preproc_warn_flag
4747 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4748 else
4749 ac_cpp_err=
4751 else
4752 ac_cpp_err=yes
4754 if test -z "$ac_cpp_err"; then
4755 # Broken: success on invalid input.
4756 continue
4757 else
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4761 # Passes both tests.
4762 ac_preproc_ok=:
4763 break
4765 rm -f conftest.err conftest.$ac_ext
4767 done
4768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4769 rm -f conftest.err conftest.$ac_ext
4770 if $ac_preproc_ok; then
4771 break
4774 done
4775 ac_cv_prog_CXXCPP=$CXXCPP
4778 CXXCPP=$ac_cv_prog_CXXCPP
4779 else
4780 ac_cv_prog_CXXCPP=$CXXCPP
4782 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4783 echo "${ECHO_T}$CXXCPP" >&6
4784 ac_preproc_ok=false
4785 for ac_cxx_preproc_warn_flag in '' yes
4787 # Use a header file that comes with gcc, so configuring glibc
4788 # with a fresh cross-compiler works.
4789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4790 # <limits.h> exists even on freestanding compilers.
4791 # On the NeXT, cc -E runs the code through the compiler's parser,
4792 # not just through cpp. "Syntax error" is here to catch this case.
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 #ifdef __STDC__
4800 # include <limits.h>
4801 #else
4802 # include <assert.h>
4803 #endif
4804 Syntax error
4805 _ACEOF
4806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4808 ac_status=$?
4809 grep -v '^ *+' conftest.er1 >conftest.err
4810 rm -f conftest.er1
4811 cat conftest.err >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } >/dev/null; then
4814 if test -s conftest.err; then
4815 ac_cpp_err=$ac_cxx_preproc_warn_flag
4816 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4817 else
4818 ac_cpp_err=
4820 else
4821 ac_cpp_err=yes
4823 if test -z "$ac_cpp_err"; then
4825 else
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 # Broken: fails on valid input.
4830 continue
4832 rm -f conftest.err conftest.$ac_ext
4834 # OK, works on sane cases. Now check whether non-existent headers
4835 # can be detected and how.
4836 cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h. */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <ac_nonexistent.h>
4843 _ACEOF
4844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4846 ac_status=$?
4847 grep -v '^ *+' conftest.er1 >conftest.err
4848 rm -f conftest.er1
4849 cat conftest.err >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } >/dev/null; then
4852 if test -s conftest.err; then
4853 ac_cpp_err=$ac_cxx_preproc_warn_flag
4854 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4855 else
4856 ac_cpp_err=
4858 else
4859 ac_cpp_err=yes
4861 if test -z "$ac_cpp_err"; then
4862 # Broken: success on invalid input.
4863 continue
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 # Passes both tests.
4869 ac_preproc_ok=:
4870 break
4872 rm -f conftest.err conftest.$ac_ext
4874 done
4875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4876 rm -f conftest.err conftest.$ac_ext
4877 if $ac_preproc_ok; then
4879 else
4880 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4881 See \`config.log' for more details." >&5
4882 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4883 See \`config.log' for more details." >&2;}
4884 { (exit 1); exit 1; }; }
4887 ac_ext=c
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4896 lt_save_CC="$CC"
4897 lt_save_CFLAGS="$CFLAGS"
4898 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4899 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4900 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4901 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4902 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4903 deplibs_check_method="$deplibs_check_method" \
4904 file_magic_cmd="$file_magic_cmd" \
4905 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4906 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4907 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4908 echo "$as_me: error: libtool tag configuration failed" >&2;}
4909 { (exit 1); exit 1; }; }
4910 CC="$lt_save_CC"
4911 CFLAGS="$lt_save_CFLAGS"
4913 # Redirect the config.log output again, so that the ltconfig log is not
4914 # clobbered by the next message.
4915 exec 5>>./config.log
4925 # Possibly disable most of the library.
4926 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4927 ## than just ignoring the results. Faster /and/ more correct, win win.
4929 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4930 if test "${enable_hosted_libstdcxx+set}" = set; then
4931 enableval="$enable_hosted_libstdcxx"
4933 else
4934 case "$host" in
4935 arm*-*-symbianelf*)
4936 enable_hosted_libstdcxx=no
4939 enable_hosted_libstdcxx=yes
4941 esac
4943 if test "$enable_hosted_libstdcxx" = no; then
4944 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4945 echo "$as_me: Only freestanding libraries will be built" >&6;}
4946 is_hosted=no
4947 hosted_define=0
4948 enable_abi_check=no
4949 enable_libstdcxx_pch=no
4950 else
4951 is_hosted=yes
4952 hosted_define=1
4956 cat >>confdefs.h <<_ACEOF
4957 #define _GLIBCXX_HOSTED $hosted_define
4958 _ACEOF
4962 # Check for compiler support that doesn't require linking.
4964 echo "$as_me:$LINENO: checking for exception model to use" >&5
4965 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4968 ac_ext=cc
4969 ac_cpp='$CXXCPP $CPPFLAGS'
4970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4974 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4975 if test "${enable_sjlj_exceptions+set}" = set; then
4976 enableval="$enable_sjlj_exceptions"
4978 case "$enableval" in
4979 yes|no|auto) ;;
4980 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4981 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4982 { (exit 1); exit 1; }; } ;;
4983 esac
4985 else
4986 enable_sjlj_exceptions=auto
4990 if test $enable_sjlj_exceptions = auto; then
4991 # Botheration. Now we've got to detect the exception model. Link tests
4992 # against libgcc.a are problematic since we've not been given proper -L
4993 # bits for single-tree newlib and libgloss.
4995 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4996 cat > conftest.$ac_ext << EOF
4997 #line 4997 "configure"
4998 struct S { ~S(); };
4999 void bar();
5000 void foo()
5002 S s;
5003 bar();
5006 old_CXXFLAGS="$CXXFLAGS"
5007 CXXFLAGS=-S
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>&5
5010 ac_status=$?
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; then
5013 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5014 enable_sjlj_exceptions=yes
5015 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5016 enable_sjlj_exceptions=no
5019 CXXFLAGS="$old_CXXFLAGS"
5020 rm -f conftest*
5023 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5024 # to two different models.
5025 case $enable_sjlj_exceptions in
5026 yes)
5028 cat >>confdefs.h <<\_ACEOF
5029 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5030 _ACEOF
5032 ac_exception_model_name=sjlj
5035 ac_exception_model_name="call frame"
5038 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5039 echo "$as_me: error: unable to detect exception model" >&2;}
5040 { (exit 1); exit 1; }; }
5042 esac
5043 ac_ext=c
5044 ac_cpp='$CPP $CPPFLAGS'
5045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5049 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5050 echo "${ECHO_T}$ac_exception_model_name" >&6
5053 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5054 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5055 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5056 if test "${enable_libstdcxx_pch+set}" = set; then
5057 enableval="$enable_libstdcxx_pch"
5059 case "$enableval" in
5060 yes|no) ;;
5061 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5062 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5063 { (exit 1); exit 1; }; } ;;
5064 esac
5066 else
5067 enable_libstdcxx_pch=$is_hosted
5070 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5071 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5073 if test $enable_libstdcxx_pch = yes; then
5074 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5075 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5076 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 ac_save_CXXFLAGS="$CXXFLAGS"
5080 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5083 ac_ext=cc
5084 ac_cpp='$CXXCPP $CPPFLAGS'
5085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5089 echo '#include <math.h>' > conftest.h
5090 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5091 -o conftest.h.gch 1>&5 2>&1 &&
5092 echo '#error "pch failed"' > conftest.h &&
5093 echo '#include "conftest.h"' > conftest.cc &&
5094 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5095 then
5096 glibcxx_cv_prog_CXX_pch=yes
5097 else
5098 glibcxx_cv_prog_CXX_pch=no
5100 rm -f conftest*
5101 CXXFLAGS=$ac_save_CXXFLAGS
5102 ac_ext=c
5103 ac_cpp='$CPP $CPPFLAGS'
5104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5110 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5111 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5112 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5116 if test $enable_libstdcxx_pch = yes; then
5117 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5118 else
5119 glibcxx_PCHFLAGS=""
5124 # Enable all the variable C++ runtime options.
5126 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5127 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5128 # Check whether --enable-cstdio or --disable-cstdio was given.
5129 if test "${enable_cstdio+set}" = set; then
5130 enableval="$enable_cstdio"
5132 case "$enableval" in
5133 stdio) ;;
5134 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5135 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5136 { (exit 1); exit 1; }; } ;;
5137 esac
5139 else
5140 enable_cstdio=stdio
5144 # Now that libio has been removed, you can have any color you want as long
5145 # as it's black. This is one big no-op until other packages are added, but
5146 # showing the framework never hurts.
5147 case ${enable_cstdio} in
5148 stdio)
5149 CSTDIO_H=config/io/c_io_stdio.h
5150 BASIC_FILE_H=config/io/basic_file_stdio.h
5151 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5152 echo "$as_me:$LINENO: result: stdio" >&5
5153 echo "${ECHO_T}stdio" >&6
5155 esac
5161 ac_ext=c
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5167 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5168 # On Suns, sometimes $CPP names a directory.
5169 if test -n "$CPP" && test -d "$CPP"; then
5170 CPP=
5172 if test -z "$CPP"; then
5173 if test "${ac_cv_prog_CPP+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 else
5176 # Double quotes because CPP needs to be expanded
5177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5179 ac_preproc_ok=false
5180 for ac_c_preproc_warn_flag in '' yes
5182 # Use a header file that comes with gcc, so configuring glibc
5183 # with a fresh cross-compiler works.
5184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5185 # <limits.h> exists even on freestanding compilers.
5186 # On the NeXT, cc -E runs the code through the compiler's parser,
5187 # not just through cpp. "Syntax error" is here to catch this case.
5188 cat >conftest.$ac_ext <<_ACEOF
5189 /* confdefs.h. */
5190 _ACEOF
5191 cat confdefs.h >>conftest.$ac_ext
5192 cat >>conftest.$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 #ifdef __STDC__
5195 # include <limits.h>
5196 #else
5197 # include <assert.h>
5198 #endif
5199 Syntax error
5200 _ACEOF
5201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev/null; then
5209 if test -s conftest.err; then
5210 ac_cpp_err=$ac_c_preproc_warn_flag
5211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5212 else
5213 ac_cpp_err=
5215 else
5216 ac_cpp_err=yes
5218 if test -z "$ac_cpp_err"; then
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 # Broken: fails on valid input.
5225 continue
5227 rm -f conftest.err conftest.$ac_ext
5229 # OK, works on sane cases. Now check whether non-existent headers
5230 # can be detected and how.
5231 cat >conftest.$ac_ext <<_ACEOF
5232 /* confdefs.h. */
5233 _ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <ac_nonexistent.h>
5238 _ACEOF
5239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5241 ac_status=$?
5242 grep -v '^ *+' conftest.er1 >conftest.err
5243 rm -f conftest.er1
5244 cat conftest.err >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } >/dev/null; then
5247 if test -s conftest.err; then
5248 ac_cpp_err=$ac_c_preproc_warn_flag
5249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5250 else
5251 ac_cpp_err=
5253 else
5254 ac_cpp_err=yes
5256 if test -z "$ac_cpp_err"; then
5257 # Broken: success on invalid input.
5258 continue
5259 else
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.$ac_ext >&5
5263 # Passes both tests.
5264 ac_preproc_ok=:
5265 break
5267 rm -f conftest.err conftest.$ac_ext
5269 done
5270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5271 rm -f conftest.err conftest.$ac_ext
5272 if $ac_preproc_ok; then
5273 break
5276 done
5277 ac_cv_prog_CPP=$CPP
5280 CPP=$ac_cv_prog_CPP
5281 else
5282 ac_cv_prog_CPP=$CPP
5284 echo "$as_me:$LINENO: result: $CPP" >&5
5285 echo "${ECHO_T}$CPP" >&6
5286 ac_preproc_ok=false
5287 for ac_c_preproc_warn_flag in '' yes
5289 # Use a header file that comes with gcc, so configuring glibc
5290 # with a fresh cross-compiler works.
5291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292 # <limits.h> exists even on freestanding compilers.
5293 # On the NeXT, cc -E runs the code through the compiler's parser,
5294 # not just through cpp. "Syntax error" is here to catch this case.
5295 cat >conftest.$ac_ext <<_ACEOF
5296 /* confdefs.h. */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #ifdef __STDC__
5302 # include <limits.h>
5303 #else
5304 # include <assert.h>
5305 #endif
5306 Syntax error
5307 _ACEOF
5308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5310 ac_status=$?
5311 grep -v '^ *+' conftest.er1 >conftest.err
5312 rm -f conftest.er1
5313 cat conftest.err >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } >/dev/null; then
5316 if test -s conftest.err; then
5317 ac_cpp_err=$ac_c_preproc_warn_flag
5318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5319 else
5320 ac_cpp_err=
5322 else
5323 ac_cpp_err=yes
5325 if test -z "$ac_cpp_err"; then
5327 else
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5331 # Broken: fails on valid input.
5332 continue
5334 rm -f conftest.err conftest.$ac_ext
5336 # OK, works on sane cases. Now check whether non-existent headers
5337 # can be detected and how.
5338 cat >conftest.$ac_ext <<_ACEOF
5339 /* confdefs.h. */
5340 _ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5344 #include <ac_nonexistent.h>
5345 _ACEOF
5346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5348 ac_status=$?
5349 grep -v '^ *+' conftest.er1 >conftest.err
5350 rm -f conftest.er1
5351 cat conftest.err >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } >/dev/null; then
5354 if test -s conftest.err; then
5355 ac_cpp_err=$ac_c_preproc_warn_flag
5356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5357 else
5358 ac_cpp_err=
5360 else
5361 ac_cpp_err=yes
5363 if test -z "$ac_cpp_err"; then
5364 # Broken: success on invalid input.
5365 continue
5366 else
5367 echo "$as_me: failed program was:" >&5
5368 sed 's/^/| /' conftest.$ac_ext >&5
5370 # Passes both tests.
5371 ac_preproc_ok=:
5372 break
5374 rm -f conftest.err conftest.$ac_ext
5376 done
5377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5378 rm -f conftest.err conftest.$ac_ext
5379 if $ac_preproc_ok; then
5381 else
5382 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5383 See \`config.log' for more details." >&5
5384 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5385 See \`config.log' for more details." >&2;}
5386 { (exit 1); exit 1; }; }
5389 ac_ext=c
5390 ac_cpp='$CPP $CPPFLAGS'
5391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396 echo "$as_me:$LINENO: checking for egrep" >&5
5397 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5398 if test "${ac_cv_prog_egrep+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 else
5401 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5402 then ac_cv_prog_egrep='grep -E'
5403 else ac_cv_prog_egrep='egrep'
5406 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5407 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5408 EGREP=$ac_cv_prog_egrep
5411 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5412 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5413 if test "${ac_cv_header_stdc+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 else
5416 cat >conftest.$ac_ext <<_ACEOF
5417 /* confdefs.h. */
5418 _ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 #include <stdlib.h>
5423 #include <stdarg.h>
5424 #include <string.h>
5425 #include <float.h>
5428 main ()
5432 return 0;
5434 _ACEOF
5435 rm -f conftest.$ac_objext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437 (eval $ac_compile) 2>conftest.er1
5438 ac_status=$?
5439 grep -v '^ *+' conftest.er1 >conftest.err
5440 rm -f conftest.er1
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try='test -z "$ac_c_werror_flag"
5445 || test ! -s conftest.err'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 (eval $ac_try) 2>&5
5448 ac_status=$?
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; } &&
5451 { ac_try='test -s conftest.$ac_objext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 (eval $ac_try) 2>&5
5454 ac_status=$?
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5457 ac_cv_header_stdc=yes
5458 else
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cv_header_stdc=no
5464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat >conftest.$ac_ext <<_ACEOF
5469 /* confdefs.h. */
5470 _ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 #include <string.h>
5476 _ACEOF
5477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5478 $EGREP "memchr" >/dev/null 2>&1; then
5480 else
5481 ac_cv_header_stdc=no
5483 rm -f conftest*
5487 if test $ac_cv_header_stdc = yes; then
5488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5489 cat >conftest.$ac_ext <<_ACEOF
5490 /* confdefs.h. */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 #include <stdlib.h>
5497 _ACEOF
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "free" >/dev/null 2>&1; then
5501 else
5502 ac_cv_header_stdc=no
5504 rm -f conftest*
5508 if test $ac_cv_header_stdc = yes; then
5509 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5510 if test "$cross_compiling" = yes; then
5512 else
5513 cat >conftest.$ac_ext <<_ACEOF
5514 /* confdefs.h. */
5515 _ACEOF
5516 cat confdefs.h >>conftest.$ac_ext
5517 cat >>conftest.$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5519 #include <ctype.h>
5520 #if ((' ' & 0x0FF) == 0x020)
5521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5523 #else
5524 # define ISLOWER(c) \
5525 (('a' <= (c) && (c) <= 'i') \
5526 || ('j' <= (c) && (c) <= 'r') \
5527 || ('s' <= (c) && (c) <= 'z'))
5528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5529 #endif
5531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5533 main ()
5535 int i;
5536 for (i = 0; i < 256; i++)
5537 if (XOR (islower (i), ISLOWER (i))
5538 || toupper (i) != TOUPPER (i))
5539 exit(2);
5540 exit (0);
5542 _ACEOF
5543 rm -f conftest$ac_exeext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5545 (eval $ac_link) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 (eval $ac_try) 2>&5
5551 ac_status=$?
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5555 else
5556 echo "$as_me: program exited with status $ac_status" >&5
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5560 ( exit $ac_status )
5561 ac_cv_header_stdc=no
5563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5568 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5569 if test $ac_cv_header_stdc = yes; then
5571 cat >>confdefs.h <<\_ACEOF
5572 #define STDC_HEADERS 1
5573 _ACEOF
5577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5587 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5588 inttypes.h stdint.h unistd.h
5590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5591 echo "$as_me:$LINENO: checking for $ac_header" >&5
5592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 else
5596 cat >conftest.$ac_ext <<_ACEOF
5597 /* confdefs.h. */
5598 _ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5604 #include <$ac_header>
5605 _ACEOF
5606 rm -f conftest.$ac_objext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>conftest.er1
5609 ac_status=$?
5610 grep -v '^ *+' conftest.er1 >conftest.err
5611 rm -f conftest.er1
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag"
5616 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5
5619 ac_status=$?
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try='test -s conftest.$ac_objext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5
5625 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_Header=yes"
5629 else
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5633 eval "$as_ac_Header=no"
5635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5640 cat >>confdefs.h <<_ACEOF
5641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5642 _ACEOF
5646 done
5650 echo "$as_me:$LINENO: checking for C locale to use" >&5
5651 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5652 # Check whether --enable-clocale or --disable-clocale was given.
5653 if test "${enable_clocale+set}" = set; then
5654 enableval="$enable_clocale"
5656 case "$enableval" in
5657 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5658 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5659 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5660 { (exit 1); exit 1; }; } ;;
5661 esac
5663 else
5664 enable_clocale=auto
5668 # If they didn't use this option switch, or if they specified --enable
5669 # with no specific model, we'll have to look for one. If they
5670 # specified --disable (???), do likewise.
5671 if test $enable_clocale = no || test $enable_clocale = yes; then
5672 enable_clocale=auto
5675 # Either a known package, or "auto"
5676 enable_clocale_flag=$enable_clocale
5678 # Probe for locale support if no specific model is specified.
5679 # Default to "generic".
5680 if test $enable_clocale_flag = auto; then
5681 case ${target_os} in
5682 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5683 cat >conftest.$ac_ext <<_ACEOF
5684 /* confdefs.h. */
5685 _ACEOF
5686 cat confdefs.h >>conftest.$ac_ext
5687 cat >>conftest.$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5690 #include <features.h>
5691 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5692 _GLIBCXX_ok
5693 #endif
5695 _ACEOF
5696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5697 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5698 enable_clocale_flag=gnu
5699 else
5700 enable_clocale_flag=generic
5702 rm -f conftest*
5705 # Test for bugs early in glibc-2.2.x series
5706 if test $enable_clocale_flag = gnu; then
5707 if test "$cross_compiling" = yes; then
5708 enable_clocale_flag=generic
5709 else
5710 cat >conftest.$ac_ext <<_ACEOF
5711 /* confdefs.h. */
5712 _ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5717 #define _GNU_SOURCE 1
5718 #include <locale.h>
5719 #include <string.h>
5720 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5721 extern __typeof(newlocale) __newlocale;
5722 extern __typeof(duplocale) __duplocale;
5723 extern __typeof(strcoll_l) __strcoll_l;
5724 #endif
5725 int main()
5727 const char __one[] = "Äuglein Augmen";
5728 const char __two[] = "Äuglein";
5729 int i;
5730 int j;
5731 __locale_t loc;
5732 __locale_t loc_dup;
5733 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5734 loc_dup = __duplocale(loc);
5735 i = __strcoll_l(__one, __two, loc);
5736 j = __strcoll_l(__one, __two, loc_dup);
5737 return 0;
5740 _ACEOF
5741 rm -f conftest$ac_exeext
5742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5743 (eval $ac_link) 2>&5
5744 ac_status=$?
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 (eval $ac_try) 2>&5
5749 ac_status=$?
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 enable_clocale_flag=gnu
5753 else
5754 echo "$as_me: program exited with status $ac_status" >&5
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5758 ( exit $ac_status )
5759 enable_clocale_flag=generic
5761 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5765 # ... at some point put __strxfrm_l tests in as well.
5767 darwin* | freebsd*)
5768 enable_clocale_flag=darwin
5771 enable_clocale_flag=generic
5773 esac
5776 # Deal with gettext issues. Default to not using it (=no) until we detect
5777 # support for it later. Let the user turn it off via --e/d, but let that
5778 # default to on for easier handling.
5779 USE_NLS=no
5780 # Check whether --enable-nls or --disable-nls was given.
5781 if test "${enable_nls+set}" = set; then
5782 enableval="$enable_nls"
5784 else
5785 enable_nls=yes
5788 # Set configure bits for specified locale package
5789 case ${enable_clocale_flag} in
5790 generic)
5791 echo "$as_me:$LINENO: result: generic" >&5
5792 echo "${ECHO_T}generic" >&6
5794 CLOCALE_H=config/locale/generic/c_locale.h
5795 CLOCALE_CC=config/locale/generic/c_locale.cc
5796 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5797 CCOLLATE_CC=config/locale/generic/collate_members.cc
5798 CCTYPE_CC=config/locale/generic/ctype_members.cc
5799 CMESSAGES_H=config/locale/generic/messages_members.h
5800 CMESSAGES_CC=config/locale/generic/messages_members.cc
5801 CMONEY_CC=config/locale/generic/monetary_members.cc
5802 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5803 CTIME_H=config/locale/generic/time_members.h
5804 CTIME_CC=config/locale/generic/time_members.cc
5805 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5807 darwin)
5808 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5809 echo "${ECHO_T}darwin or freebsd" >&6
5811 CLOCALE_H=config/locale/generic/c_locale.h
5812 CLOCALE_CC=config/locale/generic/c_locale.cc
5813 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5814 CCOLLATE_CC=config/locale/generic/collate_members.cc
5815 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5816 CMESSAGES_H=config/locale/generic/messages_members.h
5817 CMESSAGES_CC=config/locale/generic/messages_members.cc
5818 CMONEY_CC=config/locale/generic/monetary_members.cc
5819 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5820 CTIME_H=config/locale/generic/time_members.h
5821 CTIME_CC=config/locale/generic/time_members.cc
5822 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5825 gnu)
5826 echo "$as_me:$LINENO: result: gnu" >&5
5827 echo "${ECHO_T}gnu" >&6
5829 # Declare intention to use gettext, and add support for specific
5830 # languages.
5831 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5832 ALL_LINGUAS="de fr"
5834 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5835 # Extract the first word of "msgfmt", so it can be a program name with args.
5836 set dummy msgfmt; ac_word=$2
5837 echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5839 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 else
5842 if test -n "$check_msgfmt"; then
5843 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_check_msgfmt="yes"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5859 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5862 check_msgfmt=$ac_cv_prog_check_msgfmt
5863 if test -n "$check_msgfmt"; then
5864 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5865 echo "${ECHO_T}$check_msgfmt" >&6
5866 else
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5871 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5872 USE_NLS=yes
5874 # Export the build objects.
5875 for ling in $ALL_LINGUAS; do \
5876 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5877 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5878 done
5882 CLOCALE_H=config/locale/gnu/c_locale.h
5883 CLOCALE_CC=config/locale/gnu/c_locale.cc
5884 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5885 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5886 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5887 CMESSAGES_H=config/locale/gnu/messages_members.h
5888 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5889 CMONEY_CC=config/locale/gnu/monetary_members.cc
5890 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5891 CTIME_H=config/locale/gnu/time_members.h
5892 CTIME_CC=config/locale/gnu/time_members.cc
5893 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5895 ieee_1003.1-2001)
5896 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5897 echo "${ECHO_T}IEEE 1003.1" >&6
5899 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5900 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5901 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5902 CCOLLATE_CC=config/locale/generic/collate_members.cc
5903 CCTYPE_CC=config/locale/generic/ctype_members.cc
5904 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5905 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5906 CMONEY_CC=config/locale/generic/monetary_members.cc
5907 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5908 CTIME_H=config/locale/generic/time_members.h
5909 CTIME_CC=config/locale/generic/time_members.cc
5910 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5912 esac
5914 # This is where the testsuite looks for locale catalogs, using the
5915 # -DLOCALEDIR define during testsuite compilation.
5916 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5919 # A standalone libintl (e.g., GNU libintl) may be in use.
5920 if test $USE_NLS = yes; then
5922 for ac_header in libintl.h
5924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5926 echo "$as_me:$LINENO: checking for $ac_header" >&5
5927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5933 else
5934 # Is the header compilable?
5935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5937 cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h. */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 $ac_includes_default
5944 #include <$ac_header>
5945 _ACEOF
5946 rm -f conftest.$ac_objext
5947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5948 (eval $ac_compile) 2>conftest.er1
5949 ac_status=$?
5950 grep -v '^ *+' conftest.er1 >conftest.err
5951 rm -f conftest.er1
5952 cat conftest.err >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } &&
5955 { ac_try='test -z "$ac_c_werror_flag"
5956 || test ! -s conftest.err'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5
5959 ac_status=$?
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; } &&
5962 { ac_try='test -s conftest.$ac_objext'
5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 (eval $ac_try) 2>&5
5965 ac_status=$?
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; }; then
5968 ac_header_compiler=yes
5969 else
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.$ac_ext >&5
5973 ac_header_compiler=no
5975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5977 echo "${ECHO_T}$ac_header_compiler" >&6
5979 # Is the header present?
5980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <$ac_header>
5989 _ACEOF
5990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5992 ac_status=$?
5993 grep -v '^ *+' conftest.er1 >conftest.err
5994 rm -f conftest.er1
5995 cat conftest.err >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } >/dev/null; then
5998 if test -s conftest.err; then
5999 ac_cpp_err=$ac_c_preproc_warn_flag
6000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6001 else
6002 ac_cpp_err=
6004 else
6005 ac_cpp_err=yes
6007 if test -z "$ac_cpp_err"; then
6008 ac_header_preproc=yes
6009 else
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 ac_header_preproc=no
6015 rm -f conftest.err conftest.$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6017 echo "${ECHO_T}$ac_header_preproc" >&6
6019 # So? What about this header?
6020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6021 yes:no: )
6022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6026 ac_header_preproc=yes
6028 no:yes:* )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6042 cat <<\_ASBOX
6043 ## ----------------------------------------- ##
6044 ## Report this to the package-unused lists. ##
6045 ## ----------------------------------------- ##
6046 _ASBOX
6048 sed "s/^/$as_me: WARNING: /" >&2
6050 esac
6051 echo "$as_me:$LINENO: checking for $ac_header" >&5
6052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 else
6056 eval "$as_ac_Header=\$ac_header_preproc"
6058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6063 cat >>confdefs.h <<_ACEOF
6064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 _ACEOF
6067 else
6068 USE_NLS=no
6071 done
6073 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6074 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6075 if test "${ac_cv_search_gettext+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 else
6078 ac_func_search_save_LIBS=$LIBS
6079 ac_cv_search_gettext=no
6080 if test x$gcc_no_link = xyes; then
6081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6083 { (exit 1); exit 1; }; }
6085 cat >conftest.$ac_ext <<_ACEOF
6086 /* confdefs.h. */
6087 _ACEOF
6088 cat confdefs.h >>conftest.$ac_ext
6089 cat >>conftest.$ac_ext <<_ACEOF
6090 /* end confdefs.h. */
6092 /* Override any gcc2 internal prototype to avoid an error. */
6093 #ifdef __cplusplus
6094 extern "C"
6095 #endif
6096 /* We use char because int might match the return type of a gcc2
6097 builtin and then its argument prototype would still apply. */
6098 char gettext ();
6100 main ()
6102 gettext ();
6104 return 0;
6106 _ACEOF
6107 rm -f conftest.$ac_objext conftest$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>conftest.er1
6110 ac_status=$?
6111 grep -v '^ *+' conftest.er1 >conftest.err
6112 rm -f conftest.er1
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try='test -s conftest$ac_exeext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5
6126 ac_status=$?
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_search_gettext="none required"
6130 else
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6135 rm -f conftest.err conftest.$ac_objext \
6136 conftest$ac_exeext conftest.$ac_ext
6137 if test "$ac_cv_search_gettext" = no; then
6138 for ac_lib in intl; do
6139 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6140 if test x$gcc_no_link = xyes; then
6141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6143 { (exit 1); exit 1; }; }
6145 cat >conftest.$ac_ext <<_ACEOF
6146 /* confdefs.h. */
6147 _ACEOF
6148 cat confdefs.h >>conftest.$ac_ext
6149 cat >>conftest.$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6152 /* Override any gcc2 internal prototype to avoid an error. */
6153 #ifdef __cplusplus
6154 extern "C"
6155 #endif
6156 /* We use char because int might match the return type of a gcc2
6157 builtin and then its argument prototype would still apply. */
6158 char gettext ();
6160 main ()
6162 gettext ();
6164 return 0;
6166 _ACEOF
6167 rm -f conftest.$ac_objext conftest$ac_exeext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6169 (eval $ac_link) 2>conftest.er1
6170 ac_status=$?
6171 grep -v '^ *+' conftest.er1 >conftest.err
6172 rm -f conftest.er1
6173 cat conftest.err >&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -z "$ac_c_werror_flag"
6177 || test ! -s conftest.err'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 (eval $ac_try) 2>&5
6180 ac_status=$?
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; } &&
6183 { ac_try='test -s conftest$ac_exeext'
6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 (eval $ac_try) 2>&5
6186 ac_status=$?
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; }; then
6189 ac_cv_search_gettext="-l$ac_lib"
6190 break
6191 else
6192 echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.$ac_ext >&5
6196 rm -f conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 done
6200 LIBS=$ac_func_search_save_LIBS
6202 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6203 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6204 if test "$ac_cv_search_gettext" != no; then
6205 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6207 else
6208 USE_NLS=no
6212 if test $USE_NLS = yes; then
6213 cat >>confdefs.h <<\_ACEOF
6214 #define _GLIBCXX_USE_NLS 1
6215 _ACEOF
6234 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6235 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6236 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6237 if test "${enable_libstdcxx_allocator+set}" = set; then
6238 enableval="$enable_libstdcxx_allocator"
6240 case "$enableval" in
6241 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6242 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6243 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6244 { (exit 1); exit 1; }; } ;;
6245 esac
6247 else
6248 enable_libstdcxx_allocator=auto
6252 # If they didn't use this option switch, or if they specified --enable
6253 # with no specific model, we'll have to look for one. If they
6254 # specified --disable (???), do likewise.
6255 if test $enable_libstdcxx_allocator = no ||
6256 test $enable_libstdcxx_allocator = yes;
6257 then
6258 enable_libstdcxx_allocator=auto
6261 # Either a known package, or "auto". Auto implies the default choice
6262 # for a particular platform.
6263 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6265 # Probe for host-specific support if no specific model is specified.
6266 # Default to "new".
6267 if test $enable_libstdcxx_allocator_flag = auto; then
6268 case ${target_os} in
6269 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6270 enable_libstdcxx_allocator_flag=mt
6273 enable_libstdcxx_allocator_flag=new
6275 esac
6277 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6278 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6281 # Set configure bits for specified locale package
6282 case ${enable_libstdcxx_allocator_flag} in
6283 bitmap)
6284 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6285 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6287 malloc)
6288 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6289 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6292 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6295 new)
6296 ALLOCATOR_H=config/allocator/new_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6299 pool)
6300 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6303 esac
6309 # Check whether --enable-cheaders or --disable-cheaders was given.
6310 if test "${enable_cheaders+set}" = set; then
6311 enableval="$enable_cheaders"
6313 case "$enableval" in
6314 c|c_std) ;;
6315 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6316 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6317 { (exit 1); exit 1; }; } ;;
6318 esac
6320 else
6321 enable_cheaders=$c_model
6324 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6325 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6327 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6336 # Check whether --enable-c99 or --disable-c99 was given.
6337 if test "${enable_c99+set}" = set; then
6338 enableval="$enable_c99"
6340 case "$enableval" in
6341 yes|no) ;;
6342 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6343 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6344 { (exit 1); exit 1; }; } ;;
6345 esac
6347 else
6348 enable_c99=yes
6352 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6353 # even if C99 support is turned off.
6355 for ac_header in wchar.h
6357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6359 echo "$as_me:$LINENO: checking for $ac_header" >&5
6360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366 else
6367 # Is the header compilable?
6368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6370 cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h. */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 $ac_includes_default
6377 #include <$ac_header>
6378 _ACEOF
6379 rm -f conftest.$ac_objext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>conftest.er1
6382 ac_status=$?
6383 grep -v '^ *+' conftest.er1 >conftest.err
6384 rm -f conftest.er1
6385 cat conftest.err >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
6388 { ac_try='test -z "$ac_c_werror_flag"
6389 || test ! -s conftest.err'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 (eval $ac_try) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_header_compiler=yes
6402 else
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6406 ac_header_compiler=no
6408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6410 echo "${ECHO_T}$ac_header_compiler" >&6
6412 # Is the header present?
6413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6416 /* confdefs.h. */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 #include <$ac_header>
6422 _ACEOF
6423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6425 ac_status=$?
6426 grep -v '^ *+' conftest.er1 >conftest.err
6427 rm -f conftest.er1
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } >/dev/null; then
6431 if test -s conftest.err; then
6432 ac_cpp_err=$ac_c_preproc_warn_flag
6433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6434 else
6435 ac_cpp_err=
6437 else
6438 ac_cpp_err=yes
6440 if test -z "$ac_cpp_err"; then
6441 ac_header_preproc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_header_preproc=no
6448 rm -f conftest.err conftest.$ac_ext
6449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6450 echo "${ECHO_T}$ac_header_preproc" >&6
6452 # So? What about this header?
6453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6454 yes:no: )
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6459 ac_header_preproc=yes
6461 no:yes:* )
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6475 cat <<\_ASBOX
6476 ## ----------------------------------------- ##
6477 ## Report this to the package-unused lists. ##
6478 ## ----------------------------------------- ##
6479 _ASBOX
6481 sed "s/^/$as_me: WARNING: /" >&2
6483 esac
6484 echo "$as_me:$LINENO: checking for $ac_header" >&5
6485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 else
6489 eval "$as_ac_Header=\$ac_header_preproc"
6491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6496 cat >>confdefs.h <<_ACEOF
6497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6498 _ACEOF
6499 ac_has_wchar_h=yes
6500 else
6501 ac_has_wchar_h=no
6504 done
6506 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6507 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6508 cat >conftest.$ac_ext <<_ACEOF
6509 /* confdefs.h. */
6510 _ACEOF
6511 cat confdefs.h >>conftest.$ac_ext
6512 cat >>conftest.$ac_ext <<_ACEOF
6513 /* end confdefs.h. */
6514 #include <wchar.h>
6516 main ()
6518 mbstate_t teststate;
6520 return 0;
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 have_mbstate_t=yes
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 have_mbstate_t=no
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6554 echo "${ECHO_T}$have_mbstate_t" >&6
6555 if test x"$have_mbstate_t" = xyes; then
6556 cat >>confdefs.h <<\_ACEOF
6557 #define HAVE_MBSTATE_T 1
6558 _ACEOF
6562 if test x"$enable_c99" = x"yes"; then
6566 ac_ext=cc
6567 ac_cpp='$CXXCPP $CPPFLAGS'
6568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6573 # Check for the existence of <math.h> functions used if C99 is enabled.
6574 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6575 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6576 if test "${ac_c99_math+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 else
6580 cat >conftest.$ac_ext <<_ACEOF
6581 /* confdefs.h. */
6582 _ACEOF
6583 cat confdefs.h >>conftest.$ac_ext
6584 cat >>conftest.$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6586 #include <math.h>
6588 main ()
6590 fpclassify(0.0);
6591 isfinite(0.0);
6592 isinf(0.0);
6593 isnan(0.0);
6594 isnormal(0.0);
6595 signbit(0.0);
6596 isgreater(0.0,0.0);
6597 isgreaterequal(0.0,0.0);
6598 isless(0.0,0.0);
6599 islessequal(0.0,0.0);
6600 islessgreater(0.0,0.0);
6601 islessgreater(0.0,0.0);
6602 isunordered(0.0,0.0);
6605 return 0;
6607 _ACEOF
6608 rm -f conftest.$ac_objext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try='test -z "$ac_cxx_werror_flag"
6618 || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 (eval $ac_try) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try='test -s conftest.$ac_objext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 (eval $ac_try) 2>&5
6627 ac_status=$?
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6630 ac_c99_math=yes
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ac_c99_math=no
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6641 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6642 echo "${ECHO_T}$ac_c99_math" >&6
6643 if test x"$ac_c99_math" = x"yes"; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define _GLIBCXX_USE_C99_MATH 1
6646 _ACEOF
6650 # Check for the existence of <complex.h> complex functions.
6651 # This is necessary even though libstdc++ uses the builtin versions
6652 # of these functions, because if the builtin cannot be used, a reference
6653 # to the library function is emitted.
6654 # In addition, need to explicitly specify "C" compilation for this
6655 # one, or else the backwards C++ <complex.h> include will be selected.
6656 save_CXXFLAGS="$CXXFLAGS"
6657 CXXFLAGS="$CXXFLAGS -x c"
6659 for ac_header in complex.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6663 echo "$as_me:$LINENO: checking for $ac_header" >&5
6664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6666 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6670 else
6671 # Is the header compilable?
6672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6674 cat >conftest.$ac_ext <<_ACEOF
6675 /* confdefs.h. */
6676 _ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 $ac_includes_default
6681 #include <$ac_header>
6682 _ACEOF
6683 rm -f conftest.$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>conftest.er1
6686 ac_status=$?
6687 grep -v '^ *+' conftest.er1 >conftest.err
6688 rm -f conftest.er1
6689 cat conftest.err >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } &&
6692 { ac_try='test -z "$ac_cxx_werror_flag"
6693 || test ! -s conftest.err'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 (eval $ac_try) 2>&5
6696 ac_status=$?
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; } &&
6699 { ac_try='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5
6702 ac_status=$?
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 ac_header_compiler=yes
6706 else
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6710 ac_header_compiler=no
6712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6714 echo "${ECHO_T}$ac_header_compiler" >&6
6716 # Is the header present?
6717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <$ac_header>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 ac_header_preproc=yes
6746 else
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 ac_header_preproc=no
6752 rm -f conftest.err conftest.$ac_ext
6753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6754 echo "${ECHO_T}$ac_header_preproc" >&6
6756 # So? What about this header?
6757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6758 yes:no: )
6759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6763 ac_header_preproc=yes
6765 no:yes:* )
6766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6779 cat <<\_ASBOX
6780 ## ----------------------------------------- ##
6781 ## Report this to the package-unused lists. ##
6782 ## ----------------------------------------- ##
6783 _ASBOX
6785 sed "s/^/$as_me: WARNING: /" >&2
6787 esac
6788 echo "$as_me:$LINENO: checking for $ac_header" >&5
6789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 else
6793 eval "$as_ac_Header=\$ac_header_preproc"
6795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6800 cat >>confdefs.h <<_ACEOF
6801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6802 _ACEOF
6803 ac_has_complex_h=yes
6804 else
6805 ac_has_complex_h=no
6808 done
6810 ac_c99_complex=no;
6811 if test x"$ac_has_complex_h" = x"yes"; then
6812 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6813 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6815 /* confdefs.h. */
6816 _ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #include <complex.h>
6822 main ()
6824 typedef __complex__ float float_type; float_type tmpf;
6825 cabsf(tmpf);
6826 cargf(tmpf);
6827 ccosf(tmpf);
6828 ccoshf(tmpf);
6829 cexpf(tmpf);
6830 csinf(tmpf);
6831 csinhf(tmpf);
6832 csqrtf(tmpf);
6833 ctanf(tmpf);
6834 ctanhf(tmpf);
6835 cpowf(tmpf, tmpf);
6836 typedef __complex__ double double_type; double_type tmpd;
6837 cabs(tmpd);
6838 carg(tmpd);
6839 ccos(tmpd);
6840 ccosh(tmpd);
6841 cexp(tmpd);
6842 csin(tmpd);
6843 csinh(tmpd);
6844 csqrt(tmpd);
6845 ctan(tmpd);
6846 ctanh(tmpd);
6847 cpow(tmpd, tmpd);
6848 typedef __complex__ long double ld_type; ld_type tmpld;
6849 cabsl(tmpld);
6850 cargl(tmpld);
6851 ccosl(tmpld);
6852 ccoshl(tmpld);
6853 cexpl(tmpld);
6854 csinl(tmpld);
6855 csinhl(tmpld);
6856 csqrtl(tmpld);
6857 ctanl(tmpld);
6858 ctanhl(tmpld);
6859 cpowl(tmpld, tmpld);
6862 return 0;
6864 _ACEOF
6865 rm -f conftest.$ac_objext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6867 (eval $ac_compile) 2>conftest.er1
6868 ac_status=$?
6869 grep -v '^ *+' conftest.er1 >conftest.err
6870 rm -f conftest.er1
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try='test -z "$ac_cxx_werror_flag"
6875 || test ! -s conftest.err'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 (eval $ac_try) 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; } &&
6881 { ac_try='test -s conftest.$ac_objext'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 (eval $ac_try) 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; }; then
6887 ac_c99_complex=yes
6888 else
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.$ac_ext >&5
6892 ac_c99_complex=no
6894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6896 CXXFLAGS="$save_CXXFLAGS"
6897 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6898 echo "${ECHO_T}$ac_c99_complex" >&6
6899 if test x"$ac_c99_complex" = x"yes"; then
6900 cat >>confdefs.h <<\_ACEOF
6901 #define _GLIBCXX_USE_C99_COMPLEX 1
6902 _ACEOF
6906 # Check for the existence in <stdio.h> of vscanf, et. al.
6907 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6908 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6909 if test "${ac_c99_stdio+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 else
6913 cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h. */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 #include <stdio.h>
6920 #include <stdarg.h>
6921 void foo(char* fmt, ...)
6923 va_list args; va_start(args, fmt);
6924 vfscanf(stderr, "%i", args);
6925 vscanf("%i", args);
6926 vsnprintf(fmt, 0, "%i", args);
6927 vsscanf(fmt, "%i", args);
6930 main ()
6932 snprintf("12", 0, "%i");
6934 return 0;
6936 _ACEOF
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6940 ac_status=$?
6941 grep -v '^ *+' conftest.er1 >conftest.err
6942 rm -f conftest.er1
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_cxx_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6959 ac_c99_stdio=yes
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6964 ac_c99_stdio=no
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6970 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6971 echo "${ECHO_T}$ac_c99_stdio" >&6
6973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6974 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6975 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6976 if test "${ac_c99_stdlib+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 else
6980 cat >conftest.$ac_ext <<_ACEOF
6981 /* confdefs.h. */
6982 _ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 #include <stdlib.h>
6988 main ()
6990 char* tmp;
6991 strtof("gnu", &tmp);
6992 strtold("gnu", &tmp);
6993 llabs(10);
6994 lldiv(10,1);
6995 atoll("10");
6996 _Exit(0);
6997 lldiv_t mydivt;
6999 return 0;
7001 _ACEOF
7002 rm -f conftest.$ac_objext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7004 (eval $ac_compile) 2>conftest.er1
7005 ac_status=$?
7006 grep -v '^ *+' conftest.er1 >conftest.err
7007 rm -f conftest.er1
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -z "$ac_cxx_werror_flag"
7012 || test ! -s conftest.err'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 (eval $ac_try) 2>&5
7015 ac_status=$?
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; } &&
7018 { ac_try='test -s conftest.$ac_objext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7024 ac_c99_stdlib=yes
7025 else
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.$ac_ext >&5
7029 ac_c99_stdlib=no
7031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7036 echo "${ECHO_T}$ac_c99_stdlib" >&6
7038 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7040 for ac_header in wctype.h
7042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7044 echo "$as_me:$LINENO: checking for $ac_header" >&5
7045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7051 else
7052 # Is the header compilable?
7053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7056 /* confdefs.h. */
7057 _ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 $ac_includes_default
7062 #include <$ac_header>
7063 _ACEOF
7064 rm -f conftest.$ac_objext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try='test -z "$ac_cxx_werror_flag"
7074 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5
7077 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7086 ac_header_compiler=yes
7087 else
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.$ac_ext >&5
7091 ac_header_compiler=no
7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7095 echo "${ECHO_T}$ac_header_compiler" >&6
7097 # Is the header present?
7098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7100 cat >conftest.$ac_ext <<_ACEOF
7101 /* confdefs.h. */
7102 _ACEOF
7103 cat confdefs.h >>conftest.$ac_ext
7104 cat >>conftest.$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7106 #include <$ac_header>
7107 _ACEOF
7108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7110 ac_status=$?
7111 grep -v '^ *+' conftest.er1 >conftest.err
7112 rm -f conftest.er1
7113 cat conftest.err >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } >/dev/null; then
7116 if test -s conftest.err; then
7117 ac_cpp_err=$ac_cxx_preproc_warn_flag
7118 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7119 else
7120 ac_cpp_err=
7122 else
7123 ac_cpp_err=yes
7125 if test -z "$ac_cpp_err"; then
7126 ac_header_preproc=yes
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_header_preproc=no
7133 rm -f conftest.err conftest.$ac_ext
7134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7135 echo "${ECHO_T}$ac_header_preproc" >&6
7137 # So? What about this header?
7138 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7139 yes:no: )
7140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7144 ac_header_preproc=yes
7146 no:yes:* )
7147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7160 cat <<\_ASBOX
7161 ## ----------------------------------------- ##
7162 ## Report this to the package-unused lists. ##
7163 ## ----------------------------------------- ##
7164 _ASBOX
7166 sed "s/^/$as_me: WARNING: /" >&2
7168 esac
7169 echo "$as_me:$LINENO: checking for $ac_header" >&5
7170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 else
7174 eval "$as_ac_Header=\$ac_header_preproc"
7176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7181 cat >>confdefs.h <<_ACEOF
7182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7184 ac_has_wctype_h=yes
7185 else
7186 ac_has_wctype_h=no
7189 done
7191 ac_c99_wchar=no;
7192 if test x"$ac_has_wchar_h" = xyes &&
7193 test x"$ac_has_wctype_h" = xyes; then
7194 cat >conftest.$ac_ext <<_ACEOF
7195 /* confdefs.h. */
7196 _ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7200 #include <wchar.h>
7201 #include <stddef.h>
7202 wint_t i;
7203 long l = WEOF;
7204 long j = WCHAR_MIN;
7205 long k = WCHAR_MAX;
7206 namespace test
7208 using ::btowc;
7209 using ::fgetwc;
7210 using ::fgetws;
7211 using ::fputwc;
7212 using ::fputws;
7213 using ::fwide;
7214 using ::fwprintf;
7215 using ::fwscanf;
7216 using ::getwc;
7217 using ::getwchar;
7218 using ::mbrlen;
7219 using ::mbrtowc;
7220 using ::mbsinit;
7221 using ::mbsrtowcs;
7222 using ::putwc;
7223 using ::putwchar;
7224 using ::swprintf;
7225 using ::swscanf;
7226 using ::ungetwc;
7227 using ::vfwprintf;
7228 using ::vswprintf;
7229 using ::vwprintf;
7230 using ::wcrtomb;
7231 using ::wcscat;
7232 using ::wcschr;
7233 using ::wcscmp;
7234 using ::wcscoll;
7235 using ::wcscpy;
7236 using ::wcscspn;
7237 using ::wcsftime;
7238 using ::wcslen;
7239 using ::wcsncat;
7240 using ::wcsncmp;
7241 using ::wcsncpy;
7242 using ::wcspbrk;
7243 using ::wcsrchr;
7244 using ::wcsrtombs;
7245 using ::wcsspn;
7246 using ::wcsstr;
7247 using ::wcstod;
7248 using ::wcstok;
7249 using ::wcstol;
7250 using ::wcstold;
7251 using ::wcstoll;
7252 using ::wcstoul;
7253 using ::wcstoull;
7254 using ::wcsxfrm;
7255 using ::wctob;
7256 using ::wmemchr;
7257 using ::wmemcmp;
7258 using ::wmemcpy;
7259 using ::wmemmove;
7260 using ::wmemset;
7261 using ::wprintf;
7262 using ::wscanf;
7266 main ()
7270 return 0;
7272 _ACEOF
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7276 ac_status=$?
7277 grep -v '^ *+' conftest.er1 >conftest.err
7278 rm -f conftest.er1
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -z "$ac_cxx_werror_flag"
7283 || test ! -s conftest.err'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 (eval $ac_try) 2>&5
7286 ac_status=$?
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; } &&
7289 { ac_try='test -s conftest.$ac_objext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7295 ac_c99_wchar=yes
7296 else
7297 echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.$ac_ext >&5
7300 ac_c99_wchar=no
7302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7304 # Checks for wide character functions that may not be present.
7305 # Injection of these is wrapped with guard macros.
7306 # NB: only put functions here, instead of immediately above, if
7307 # absolutely necessary.
7308 cat >conftest.$ac_ext <<_ACEOF
7309 /* confdefs.h. */
7310 _ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <wchar.h>
7315 namespace test { using ::vfwscanf; }
7317 main ()
7321 return 0;
7323 _ACEOF
7324 rm -f conftest.$ac_objext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7326 (eval $ac_compile) 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_cxx_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest.$ac_objext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7347 cat >>confdefs.h <<\_ACEOF
7348 #define HAVE_VFWSCANF 1
7349 _ACEOF
7351 else
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7358 cat >conftest.$ac_ext <<_ACEOF
7359 /* confdefs.h. */
7360 _ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7364 #include <wchar.h>
7365 namespace test { using ::vswscanf; }
7367 main ()
7371 return 0;
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376 (eval $ac_compile) 2>conftest.er1
7377 ac_status=$?
7378 grep -v '^ *+' conftest.er1 >conftest.err
7379 rm -f conftest.er1
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try='test -z "$ac_cxx_werror_flag"
7384 || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try='test -s conftest.$ac_objext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 (eval $ac_try) 2>&5
7393 ac_status=$?
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7397 cat >>confdefs.h <<\_ACEOF
7398 #define HAVE_VSWSCANF 1
7399 _ACEOF
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7408 cat >conftest.$ac_ext <<_ACEOF
7409 /* confdefs.h. */
7410 _ACEOF
7411 cat confdefs.h >>conftest.$ac_ext
7412 cat >>conftest.$ac_ext <<_ACEOF
7413 /* end confdefs.h. */
7414 #include <wchar.h>
7415 namespace test { using ::vwscanf; }
7417 main ()
7421 return 0;
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426 (eval $ac_compile) 2>conftest.er1
7427 ac_status=$?
7428 grep -v '^ *+' conftest.er1 >conftest.err
7429 rm -f conftest.er1
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } &&
7433 { ac_try='test -z "$ac_cxx_werror_flag"
7434 || test ! -s conftest.err'
7435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 (eval $ac_try) 2>&5
7437 ac_status=$?
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; } &&
7440 { ac_try='test -s conftest.$ac_objext'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 (eval $ac_try) 2>&5
7443 ac_status=$?
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; }; then
7447 cat >>confdefs.h <<\_ACEOF
7448 #define HAVE_VWSCANF 1
7449 _ACEOF
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7458 cat >conftest.$ac_ext <<_ACEOF
7459 /* confdefs.h. */
7460 _ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 #include <wchar.h>
7465 namespace test { using ::wcstof; }
7467 main ()
7471 return 0;
7473 _ACEOF
7474 rm -f conftest.$ac_objext
7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7476 (eval $ac_compile) 2>conftest.er1
7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } &&
7483 { ac_try='test -z "$ac_cxx_werror_flag"
7484 || test ! -s conftest.err'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; } &&
7490 { ac_try='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 (eval $ac_try) 2>&5
7493 ac_status=$?
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7497 cat >>confdefs.h <<\_ACEOF
7498 #define HAVE_WCSTOF 1
7499 _ACEOF
7501 else
7502 echo "$as_me: failed program was:" >&5
7503 sed 's/^/| /' conftest.$ac_ext >&5
7506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 <wctype.h>
7516 main ()
7518 wint_t t; int i = iswblank(t);
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7546 cat >>confdefs.h <<\_ACEOF
7547 #define HAVE_ISWBLANK 1
7548 _ACEOF
7550 else
7551 echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7557 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7558 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7559 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7560 echo "${ECHO_T}$ac_c99_wchar" >&6
7563 # Option parsed, now set things appropriately.
7564 if test x"$ac_c99_math" = x"no" ||
7565 test x"$ac_c99_complex" = x"no" ||
7566 test x"$ac_c99_stdio" = x"no" ||
7567 test x"$ac_c99_stdlib" = x"no" ||
7568 test x"$ac_c99_wchar" = x"no"; then
7569 enable_c99=no;
7570 else
7571 cat >>confdefs.h <<\_ACEOF
7572 #define _GLIBCXX_USE_C99 1
7573 _ACEOF
7577 ac_ext=c
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7585 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7586 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7587 echo "$as_me:$LINENO: result: $enable_c99" >&5
7588 echo "${ECHO_T}$enable_c99" >&6
7591 # Check whether --enable-long-long or --disable-long-long was given.
7592 if test "${enable_long_long+set}" = set; then
7593 enableval="$enable_long_long"
7595 case "$enableval" in
7596 yes|no) ;;
7597 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7598 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7599 { (exit 1); exit 1; }; } ;;
7600 esac
7602 else
7603 enable_long_long=yes
7606 if test $enable_long_long = yes; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define _GLIBCXX_USE_LONG_LONG 1
7609 _ACEOF
7612 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7613 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7614 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7615 echo "${ECHO_T}$enable_long_long" >&6
7618 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7619 if test "${enable_wchar_t+set}" = set; then
7620 enableval="$enable_wchar_t"
7622 case "$enableval" in
7623 yes|no) ;;
7624 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7625 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7626 { (exit 1); exit 1; }; } ;;
7627 esac
7629 else
7630 enable_wchar_t=yes
7633 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7634 cat >>confdefs.h <<\_ACEOF
7635 #define _GLIBCXX_USE_WCHAR_T 1
7636 _ACEOF
7639 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7640 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7641 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7642 echo "${ECHO_T}$enable_wchar_t" >&6
7645 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7646 if test "${enable_concept_checks+set}" = set; then
7647 enableval="$enable_concept_checks"
7649 case "$enableval" in
7650 yes|no) ;;
7651 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7652 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7653 { (exit 1); exit 1; }; } ;;
7654 esac
7656 else
7657 enable_concept_checks=no
7660 if test $enable_concept_checks = yes; then
7661 cat >>confdefs.h <<\_ACEOF
7662 #define _GLIBCXX_CONCEPT_CHECKS 1
7663 _ACEOF
7668 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7669 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7670 enableval="$enable_libstdcxx_debug_flags"
7671 case "x$enable_libstdcxx_debug_flags" in
7672 xno | x) enable_libstdcxx_debug_flags= ;;
7673 x-*) ;;
7674 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7675 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7676 { (exit 1); exit 1; }; } ;;
7677 esac
7678 else
7679 enable_libstdcxx_debug_flags="-g3 -O0"
7683 # Option parsed, now set things appropriately
7684 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7687 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7688 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7691 echo "$as_me:$LINENO: checking for additional debug build" >&5
7692 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7693 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7694 if test "${enable_libstdcxx_debug+set}" = set; then
7695 enableval="$enable_libstdcxx_debug"
7697 case "$enableval" in
7698 yes|no) ;;
7699 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7700 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7701 { (exit 1); exit 1; }; } ;;
7702 esac
7704 else
7705 enable_libstdcxx_debug=no
7708 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7709 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7712 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7713 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7714 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7715 if test "${enable_cxx_flags+set}" = set; then
7716 enableval="$enable_cxx_flags"
7717 case "x$enable_cxx_flags" in
7718 xno | x) enable_cxx_flags= ;;
7719 x-*) ;;
7720 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7721 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7722 { (exit 1); exit 1; }; } ;;
7723 esac
7724 else
7725 enable_cxx_flags=
7729 # Run through flags (either default or command-line) and set anything
7730 # extra (e.g., #defines) that must accompany particular g++ options.
7731 if test -n "$enable_cxx_flags"; then
7732 for f in $enable_cxx_flags; do
7733 case "$f" in
7734 -fhonor-std) ;;
7735 -*) ;;
7736 *) # and we're trying to pass /what/ exactly?
7737 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7738 echo "$as_me: error: compiler flags start with a -" >&2;}
7739 { (exit 1); exit 1; }; } ;;
7740 esac
7741 done
7744 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7745 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7746 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7750 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7751 if test "${enable_fully_dynamic_string+set}" = set; then
7752 enableval="$enable_fully_dynamic_string"
7754 case "$enableval" in
7755 yes|no) ;;
7756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7757 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7758 { (exit 1); exit 1; }; } ;;
7759 esac
7761 else
7762 enable_fully_dynamic_string=no
7765 if test $enable_fully_dynamic_string = yes; then
7766 cat >>confdefs.h <<\_ACEOF
7767 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7768 _ACEOF
7773 # No surprises, no surprises...
7775 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7776 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7777 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7778 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7779 echo "${ECHO_T}$target_thread_file" >&6
7781 if test $target_thread_file != single; then
7782 cat >>confdefs.h <<\_ACEOF
7783 #define HAVE_GTHR_DEFAULT 1
7784 _ACEOF
7788 glibcxx_thread_h=gthr-$target_thread_file.h
7790 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7791 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7792 enable_thread=yes
7793 else
7794 enable_thread=no
7799 if test $atomicity_dir = cpu/generic ; then
7800 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7801 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7802 if test $target_thread_file = single; then
7803 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7804 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7805 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7806 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7807 else
7808 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7809 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7810 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7811 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7816 if $GLIBCXX_IS_NATIVE; then
7818 # We can do more elaborate tests that assume a working linker.
7819 CANADIAN=no
7821 # Check for available headers.
7837 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7838 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7839 sys/types.h sys/ipc.h sys/sem.h
7841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7843 echo "$as_me:$LINENO: checking for $ac_header" >&5
7844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7850 else
7851 # Is the header compilable?
7852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7854 cat >conftest.$ac_ext <<_ACEOF
7855 /* confdefs.h. */
7856 _ACEOF
7857 cat confdefs.h >>conftest.$ac_ext
7858 cat >>conftest.$ac_ext <<_ACEOF
7859 /* end confdefs.h. */
7860 $ac_includes_default
7861 #include <$ac_header>
7862 _ACEOF
7863 rm -f conftest.$ac_objext
7864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7865 (eval $ac_compile) 2>conftest.er1
7866 ac_status=$?
7867 grep -v '^ *+' conftest.er1 >conftest.err
7868 rm -f conftest.er1
7869 cat conftest.err >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); } &&
7872 { ac_try='test -z "$ac_c_werror_flag"
7873 || test ! -s conftest.err'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875 (eval $ac_try) 2>&5
7876 ac_status=$?
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; } &&
7879 { ac_try='test -s conftest.$ac_objext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 (eval $ac_try) 2>&5
7882 ac_status=$?
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_header_compiler=yes
7886 else
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.$ac_ext >&5
7890 ac_header_compiler=no
7892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7894 echo "${ECHO_T}$ac_header_compiler" >&6
7896 # Is the header present?
7897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7899 cat >conftest.$ac_ext <<_ACEOF
7900 /* confdefs.h. */
7901 _ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7904 /* end confdefs.h. */
7905 #include <$ac_header>
7906 _ACEOF
7907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7909 ac_status=$?
7910 grep -v '^ *+' conftest.er1 >conftest.err
7911 rm -f conftest.er1
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } >/dev/null; then
7915 if test -s conftest.err; then
7916 ac_cpp_err=$ac_c_preproc_warn_flag
7917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7918 else
7919 ac_cpp_err=
7921 else
7922 ac_cpp_err=yes
7924 if test -z "$ac_cpp_err"; then
7925 ac_header_preproc=yes
7926 else
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7930 ac_header_preproc=no
7932 rm -f conftest.err conftest.$ac_ext
7933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7934 echo "${ECHO_T}$ac_header_preproc" >&6
7936 # So? What about this header?
7937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7938 yes:no: )
7939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7943 ac_header_preproc=yes
7945 no:yes:* )
7946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7959 cat <<\_ASBOX
7960 ## ----------------------------------------- ##
7961 ## Report this to the package-unused lists. ##
7962 ## ----------------------------------------- ##
7963 _ASBOX
7965 sed "s/^/$as_me: WARNING: /" >&2
7967 esac
7968 echo "$as_me:$LINENO: checking for $ac_header" >&5
7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 eval "$as_ac_Header=\$ac_header_preproc"
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7982 _ACEOF
7986 done
7990 # All these tests are for C++; save the language and the compiler flags.
7991 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7992 # found in GLIBCXX_CONFIGURE.
7995 ac_ext=cc
7996 ac_cpp='$CXXCPP $CPPFLAGS'
7997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8002 ac_save_CXXFLAGS="$CXXFLAGS"
8004 # Check for maintainer-mode bits.
8005 if test x"$USE_MAINTAINER_MODE" = xno; then
8006 WERROR=''
8007 else
8008 WERROR='-Werror'
8011 # Check for -ffunction-sections -fdata-sections
8012 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8013 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8014 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8015 cat >conftest.$ac_ext <<_ACEOF
8016 /* confdefs.h. */
8017 _ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8023 main ()
8025 int foo;
8027 return 0;
8029 _ACEOF
8030 rm -f conftest.$ac_objext
8031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8032 (eval $ac_compile) 2>conftest.er1
8033 ac_status=$?
8034 grep -v '^ *+' conftest.er1 >conftest.err
8035 rm -f conftest.er1
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -z "$ac_cxx_werror_flag"
8040 || test ! -s conftest.err'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 (eval $ac_try) 2>&5
8043 ac_status=$?
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; } &&
8046 { ac_try='test -s conftest.$ac_objext'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8048 (eval $ac_try) 2>&5
8049 ac_status=$?
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; }; then
8052 ac_fdsections=yes
8053 else
8054 echo "$as_me: failed program was:" >&5
8055 sed 's/^/| /' conftest.$ac_ext >&5
8057 ac_fdsections=no
8059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8060 if test "$ac_test_CXXFLAGS" = set; then
8061 CXXFLAGS="$ac_save_CXXFLAGS"
8062 else
8063 # this is the suspicious part
8064 CXXFLAGS=''
8066 if test x"$ac_fdsections" = x"yes"; then
8067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8069 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8070 echo "${ECHO_T}$ac_fdsections" >&6
8072 ac_ext=c
8073 ac_cpp='$CPP $CPPFLAGS'
8074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082 # If we're not using GNU ld, then there's no point in even trying these
8083 # tests. Check for that first. We should have already tested for gld
8084 # by now (in libtool), but require it now just to be safe...
8085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8090 # The name set by libtool depends on the version of libtool. Shame on us
8091 # for depending on an impl detail, but c'est la vie. Older versions used
8092 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8093 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8094 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8095 # set (hence we're using an older libtool), then set it.
8096 if test x${with_gnu_ld+set} != xset; then
8097 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8098 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8099 with_gnu_ld=no
8100 else
8101 with_gnu_ld=$ac_cv_prog_gnu_ld
8105 # Start by getting the version number. I think the libtool test already
8106 # does some of this, but throws away the result.
8108 ldver=`$LD --version 2>/dev/null | head -1 | \
8109 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8111 glibcxx_gnu_ld_version=`echo $ldver | \
8112 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8114 # Set --gc-sections.
8115 if test "$with_gnu_ld" = "notbroken"; then
8116 # GNU ld it is! Joy and bunny rabbits!
8118 # All these tests are for C++; save the language and the compiler flags.
8119 # Need to do this so that g++ won't try to link in libstdc++
8120 ac_test_CFLAGS="${CFLAGS+set}"
8121 ac_save_CFLAGS="$CFLAGS"
8122 CFLAGS='-x c++ -Wl,--gc-sections'
8124 # Check for -Wl,--gc-sections
8125 # XXX This test is broken at the moment, as symbols required for linking
8126 # are now in libsupc++ (not built yet). In addition, this test has
8127 # cored on solaris in the past. In addition, --gc-sections doesn't
8128 # really work at the moment (keeps on discarding used sections, first
8129 # .eh_frame and now some of the glibc sections for iconv).
8130 # Bzzzzt. Thanks for playing, maybe next time.
8131 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8132 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8133 if test "$cross_compiling" = yes; then
8134 ac_sectionLDflags=yes
8135 else
8136 cat >conftest.$ac_ext <<_ACEOF
8137 /* confdefs.h. */
8138 _ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8143 int main(void)
8145 try { throw 1; }
8146 catch (...) { };
8147 return 0;
8150 _ACEOF
8151 rm -f conftest$ac_exeext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8153 (eval $ac_link) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_sectionLDflags=yes
8163 else
8164 echo "$as_me: program exited with status $ac_status" >&5
8165 echo "$as_me: failed program was:" >&5
8166 sed 's/^/| /' conftest.$ac_ext >&5
8168 ( exit $ac_status )
8169 ac_sectionLDflags=no
8171 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8173 if test "$ac_test_CFLAGS" = set; then
8174 CFLAGS="$ac_save_CFLAGS"
8175 else
8176 # this is the suspicious part
8177 CFLAGS=''
8179 if test "$ac_sectionLDflags" = "yes"; then
8180 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8182 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8183 echo "${ECHO_T}$ac_sectionLDflags" >&6
8186 # Set linker optimization flags.
8187 if test x"$with_gnu_ld" = x"yes"; then
8188 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8196 ac_save_CXXFLAGS="$CXXFLAGS"
8197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8199 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8200 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8201 if test "${ac_cv_lib_m_sin+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 else
8204 ac_check_lib_save_LIBS=$LIBS
8205 LIBS="-lm $LIBS"
8206 if test x$gcc_no_link = xyes; then
8207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8209 { (exit 1); exit 1; }; }
8211 cat >conftest.$ac_ext <<_ACEOF
8212 /* confdefs.h. */
8213 _ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8218 /* Override any gcc2 internal prototype to avoid an error. */
8219 #ifdef __cplusplus
8220 extern "C"
8221 #endif
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8224 char sin ();
8226 main ()
8228 sin ();
8230 return 0;
8232 _ACEOF
8233 rm -f conftest.$ac_objext conftest$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>conftest.er1
8236 ac_status=$?
8237 grep -v '^ *+' conftest.er1 >conftest.err
8238 rm -f conftest.er1
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try='test -s conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_cv_lib_m_sin=yes
8256 else
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8260 ac_cv_lib_m_sin=no
8262 rm -f conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 LIBS=$ac_check_lib_save_LIBS
8266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8267 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8268 if test $ac_cv_lib_m_sin = yes; then
8269 libm="-lm"
8272 ac_save_LIBS="$LIBS"
8273 LIBS="$LIBS $libm"
8277 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8278 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8279 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8280 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8286 ac_ext=cc
8287 ac_cpp='$CXXCPP $CPPFLAGS'
8288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8292 cat >conftest.$ac_ext <<_ACEOF
8293 /* confdefs.h. */
8294 _ACEOF
8295 cat confdefs.h >>conftest.$ac_ext
8296 cat >>conftest.$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8298 #include <math.h>
8299 #ifdef HAVE_IEEEFP_H
8300 #include <ieeefp.h>
8301 #endif
8304 main ()
8306 isinf(0);
8308 return 0;
8310 _ACEOF
8311 rm -f conftest.$ac_objext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8313 (eval $ac_compile) 2>conftest.er1
8314 ac_status=$?
8315 grep -v '^ *+' conftest.er1 >conftest.err
8316 rm -f conftest.er1
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_cxx_werror_flag"
8321 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5
8324 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } &&
8327 { ac_try='test -s conftest.$ac_objext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 glibcxx_cv_func_isinf_use=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 glibcxx_cv_func_isinf_use=no
8340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8341 ac_ext=c
8342 ac_cpp='$CPP $CPPFLAGS'
8343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8352 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8354 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8356 for ac_func in isinf
8358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8359 echo "$as_me:$LINENO: checking for $ac_func" >&5
8360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8361 if eval "test \"\${$as_ac_var+set}\" = set"; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 else
8364 if test x$gcc_no_link = xyes; then
8365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8367 { (exit 1); exit 1; }; }
8369 cat >conftest.$ac_ext <<_ACEOF
8370 /* confdefs.h. */
8371 _ACEOF
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8377 #define $ac_func innocuous_$ac_func
8379 /* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char $ac_func (); below.
8381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8382 <limits.h> exists even on freestanding compilers. */
8384 #ifdef __STDC__
8385 # include <limits.h>
8386 #else
8387 # include <assert.h>
8388 #endif
8390 #undef $ac_func
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 #ifdef __cplusplus
8394 extern "C"
8396 #endif
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char $ac_func ();
8400 /* The GNU C library defines this for functions which it implements
8401 to always fail with ENOSYS. Some functions are actually named
8402 something starting with __ and the normal name is an alias. */
8403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8404 choke me
8405 #else
8406 char (*f) () = $ac_func;
8407 #endif
8408 #ifdef __cplusplus
8410 #endif
8413 main ()
8415 return f != $ac_func;
8417 return 0;
8419 _ACEOF
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>conftest.er1
8423 ac_status=$?
8424 grep -v '^ *+' conftest.er1 >conftest.err
8425 rm -f conftest.er1
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -z "$ac_c_werror_flag"
8430 || test ! -s conftest.err'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 (eval $ac_try) 2>&5
8433 ac_status=$?
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; } &&
8436 { ac_try='test -s conftest$ac_exeext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 (eval $ac_try) 2>&5
8439 ac_status=$?
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 eval "$as_ac_var=yes"
8443 else
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8447 eval "$as_ac_var=no"
8449 rm -f conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8454 if test `eval echo '${'$as_ac_var'}'` = yes; then
8455 cat >>confdefs.h <<_ACEOF
8456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8457 _ACEOF
8460 done
8462 else
8464 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8465 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 else
8473 ac_ext=cc
8474 ac_cpp='$CXXCPP $CPPFLAGS'
8475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8479 cat >conftest.$ac_ext <<_ACEOF
8480 /* confdefs.h. */
8481 _ACEOF
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8485 #include <math.h>
8486 #ifdef HAVE_IEEEFP_H
8487 #include <ieeefp.h>
8488 #endif
8491 main ()
8493 _isinf(0);
8495 return 0;
8497 _ACEOF
8498 rm -f conftest.$ac_objext
8499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8500 (eval $ac_compile) 2>conftest.er1
8501 ac_status=$?
8502 grep -v '^ *+' conftest.er1 >conftest.err
8503 rm -f conftest.er1
8504 cat conftest.err >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } &&
8507 { ac_try='test -z "$ac_cxx_werror_flag"
8508 || test ! -s conftest.err'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; } &&
8514 { ac_try='test -s conftest.$ac_objext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 (eval $ac_try) 2>&5
8517 ac_status=$?
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 glibcxx_cv_func__isinf_use=yes
8521 else
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.$ac_ext >&5
8525 glibcxx_cv_func__isinf_use=no
8527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8528 ac_ext=c
8529 ac_cpp='$CPP $CPPFLAGS'
8530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8539 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8543 for ac_func in _isinf
8545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8546 echo "$as_me:$LINENO: checking for $ac_func" >&5
8547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8548 if eval "test \"\${$as_ac_var+set}\" = set"; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551 if test x$gcc_no_link = xyes; then
8552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8554 { (exit 1); exit 1; }; }
8556 cat >conftest.$ac_ext <<_ACEOF
8557 /* confdefs.h. */
8558 _ACEOF
8559 cat confdefs.h >>conftest.$ac_ext
8560 cat >>conftest.$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8564 #define $ac_func innocuous_$ac_func
8566 /* System header to define __stub macros and hopefully few prototypes,
8567 which can conflict with char $ac_func (); below.
8568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8569 <limits.h> exists even on freestanding compilers. */
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8577 #undef $ac_func
8579 /* Override any gcc2 internal prototype to avoid an error. */
8580 #ifdef __cplusplus
8581 extern "C"
8583 #endif
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8586 char $ac_func ();
8587 /* The GNU C library defines this for functions which it implements
8588 to always fail with ENOSYS. Some functions are actually named
8589 something starting with __ and the normal name is an alias. */
8590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8591 choke me
8592 #else
8593 char (*f) () = $ac_func;
8594 #endif
8595 #ifdef __cplusplus
8597 #endif
8600 main ()
8602 return f != $ac_func;
8604 return 0;
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8610 ac_status=$?
8611 grep -v '^ *+' conftest.er1 >conftest.err
8612 rm -f conftest.er1
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try='test -z "$ac_c_werror_flag"
8617 || test ! -s conftest.err'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 (eval $ac_try) 2>&5
8620 ac_status=$?
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; } &&
8623 { ac_try='test -s conftest$ac_exeext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5
8626 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 eval "$as_ac_var=yes"
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 eval "$as_ac_var=no"
8636 rm -f conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8641 if test `eval echo '${'$as_ac_var'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8644 _ACEOF
8647 done
8654 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8655 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 else
8663 ac_ext=cc
8664 ac_cpp='$CXXCPP $CPPFLAGS'
8665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8669 cat >conftest.$ac_ext <<_ACEOF
8670 /* confdefs.h. */
8671 _ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 #include <math.h>
8676 #ifdef HAVE_IEEEFP_H
8677 #include <ieeefp.h>
8678 #endif
8681 main ()
8683 isnan(0);
8685 return 0;
8687 _ACEOF
8688 rm -f conftest.$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>conftest.er1
8691 ac_status=$?
8692 grep -v '^ *+' conftest.er1 >conftest.err
8693 rm -f conftest.er1
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try='test -z "$ac_cxx_werror_flag"
8698 || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 (eval $ac_try) 2>&5
8701 ac_status=$?
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try='test -s conftest.$ac_objext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 (eval $ac_try) 2>&5
8707 ac_status=$?
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 glibcxx_cv_func_isnan_use=yes
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 glibcxx_cv_func_isnan_use=no
8717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8718 ac_ext=c
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8729 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8731 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8733 for ac_func in isnan
8735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8736 echo "$as_me:$LINENO: checking for $ac_func" >&5
8737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8738 if eval "test \"\${$as_ac_var+set}\" = set"; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8740 else
8741 if test x$gcc_no_link = xyes; then
8742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8744 { (exit 1); exit 1; }; }
8746 cat >conftest.$ac_ext <<_ACEOF
8747 /* confdefs.h. */
8748 _ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8754 #define $ac_func innocuous_$ac_func
8756 /* System header to define __stub macros and hopefully few prototypes,
8757 which can conflict with char $ac_func (); below.
8758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8759 <limits.h> exists even on freestanding compilers. */
8761 #ifdef __STDC__
8762 # include <limits.h>
8763 #else
8764 # include <assert.h>
8765 #endif
8767 #undef $ac_func
8769 /* Override any gcc2 internal prototype to avoid an error. */
8770 #ifdef __cplusplus
8771 extern "C"
8773 #endif
8774 /* We use char because int might match the return type of a gcc2
8775 builtin and then its argument prototype would still apply. */
8776 char $ac_func ();
8777 /* The GNU C library defines this for functions which it implements
8778 to always fail with ENOSYS. Some functions are actually named
8779 something starting with __ and the normal name is an alias. */
8780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8781 choke me
8782 #else
8783 char (*f) () = $ac_func;
8784 #endif
8785 #ifdef __cplusplus
8787 #endif
8790 main ()
8792 return f != $ac_func;
8794 return 0;
8796 _ACEOF
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8799 (eval $ac_link) 2>conftest.er1
8800 ac_status=$?
8801 grep -v '^ *+' conftest.er1 >conftest.err
8802 rm -f conftest.er1
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try='test -z "$ac_c_werror_flag"
8807 || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 (eval $ac_try) 2>&5
8810 ac_status=$?
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 (eval $ac_try) 2>&5
8816 ac_status=$?
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 eval "$as_ac_var=yes"
8820 else
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.$ac_ext >&5
8824 eval "$as_ac_var=no"
8826 rm -f conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8831 if test `eval echo '${'$as_ac_var'}'` = yes; then
8832 cat >>confdefs.h <<_ACEOF
8833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8834 _ACEOF
8837 done
8839 else
8841 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8842 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8843 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8844 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 else
8850 ac_ext=cc
8851 ac_cpp='$CXXCPP $CPPFLAGS'
8852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8856 cat >conftest.$ac_ext <<_ACEOF
8857 /* confdefs.h. */
8858 _ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 #include <math.h>
8863 #ifdef HAVE_IEEEFP_H
8864 #include <ieeefp.h>
8865 #endif
8868 main ()
8870 _isnan(0);
8872 return 0;
8874 _ACEOF
8875 rm -f conftest.$ac_objext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877 (eval $ac_compile) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_cxx_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest.$ac_objext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 glibcxx_cv_func__isnan_use=yes
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 glibcxx_cv_func__isnan_use=no
8904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8905 ac_ext=c
8906 ac_cpp='$CPP $CPPFLAGS'
8907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8916 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8918 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8920 for ac_func in _isnan
8922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8923 echo "$as_me:$LINENO: checking for $ac_func" >&5
8924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8925 if eval "test \"\${$as_ac_var+set}\" = set"; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else
8928 if test x$gcc_no_link = xyes; then
8929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8931 { (exit 1); exit 1; }; }
8933 cat >conftest.$ac_ext <<_ACEOF
8934 /* confdefs.h. */
8935 _ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8941 #define $ac_func innocuous_$ac_func
8943 /* System header to define __stub macros and hopefully few prototypes,
8944 which can conflict with char $ac_func (); below.
8945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8946 <limits.h> exists even on freestanding compilers. */
8948 #ifdef __STDC__
8949 # include <limits.h>
8950 #else
8951 # include <assert.h>
8952 #endif
8954 #undef $ac_func
8956 /* Override any gcc2 internal prototype to avoid an error. */
8957 #ifdef __cplusplus
8958 extern "C"
8960 #endif
8961 /* We use char because int might match the return type of a gcc2
8962 builtin and then its argument prototype would still apply. */
8963 char $ac_func ();
8964 /* The GNU C library defines this for functions which it implements
8965 to always fail with ENOSYS. Some functions are actually named
8966 something starting with __ and the normal name is an alias. */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8968 choke me
8969 #else
8970 char (*f) () = $ac_func;
8971 #endif
8972 #ifdef __cplusplus
8974 #endif
8977 main ()
8979 return f != $ac_func;
8981 return 0;
8983 _ACEOF
8984 rm -f conftest.$ac_objext conftest$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>conftest.er1
8987 ac_status=$?
8988 grep -v '^ *+' conftest.er1 >conftest.err
8989 rm -f conftest.er1
8990 cat conftest.err >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try='test -z "$ac_c_werror_flag"
8994 || test ! -s conftest.err'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 (eval $ac_try) 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; } &&
9000 { ac_try='test -s conftest$ac_exeext'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 (eval $ac_try) 2>&5
9003 ac_status=$?
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 eval "$as_ac_var=yes"
9007 else
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.$ac_ext >&5
9011 eval "$as_ac_var=no"
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9018 if test `eval echo '${'$as_ac_var'}'` = yes; then
9019 cat >>confdefs.h <<_ACEOF
9020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9021 _ACEOF
9024 done
9031 echo "$as_me:$LINENO: checking for finite declaration" >&5
9032 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9033 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9034 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 else
9040 ac_ext=cc
9041 ac_cpp='$CXXCPP $CPPFLAGS'
9042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9046 cat >conftest.$ac_ext <<_ACEOF
9047 /* confdefs.h. */
9048 _ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <math.h>
9053 #ifdef HAVE_IEEEFP_H
9054 #include <ieeefp.h>
9055 #endif
9058 main ()
9060 finite(0);
9062 return 0;
9064 _ACEOF
9065 rm -f conftest.$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9068 ac_status=$?
9069 grep -v '^ *+' conftest.er1 >conftest.err
9070 rm -f conftest.er1
9071 cat conftest.err >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 glibcxx_cv_func_finite_use=yes
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 glibcxx_cv_func_finite_use=no
9094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9095 ac_ext=c
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9106 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9108 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9110 for ac_func in finite
9112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9113 echo "$as_me:$LINENO: checking for $ac_func" >&5
9114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9115 if eval "test \"\${$as_ac_var+set}\" = set"; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 if test x$gcc_no_link = xyes; then
9119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9121 { (exit 1); exit 1; }; }
9123 cat >conftest.$ac_ext <<_ACEOF
9124 /* confdefs.h. */
9125 _ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9131 #define $ac_func innocuous_$ac_func
9133 /* System header to define __stub macros and hopefully few prototypes,
9134 which can conflict with char $ac_func (); below.
9135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9136 <limits.h> exists even on freestanding compilers. */
9138 #ifdef __STDC__
9139 # include <limits.h>
9140 #else
9141 # include <assert.h>
9142 #endif
9144 #undef $ac_func
9146 /* Override any gcc2 internal prototype to avoid an error. */
9147 #ifdef __cplusplus
9148 extern "C"
9150 #endif
9151 /* We use char because int might match the return type of a gcc2
9152 builtin and then its argument prototype would still apply. */
9153 char $ac_func ();
9154 /* The GNU C library defines this for functions which it implements
9155 to always fail with ENOSYS. Some functions are actually named
9156 something starting with __ and the normal name is an alias. */
9157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9158 choke me
9159 #else
9160 char (*f) () = $ac_func;
9161 #endif
9162 #ifdef __cplusplus
9164 #endif
9167 main ()
9169 return f != $ac_func;
9171 return 0;
9173 _ACEOF
9174 rm -f conftest.$ac_objext conftest$ac_exeext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9176 (eval $ac_link) 2>conftest.er1
9177 ac_status=$?
9178 grep -v '^ *+' conftest.er1 >conftest.err
9179 rm -f conftest.er1
9180 cat conftest.err >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } &&
9183 { ac_try='test -z "$ac_c_werror_flag"
9184 || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest$ac_exeext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 (eval $ac_try) 2>&5
9193 ac_status=$?
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 eval "$as_ac_var=yes"
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 eval "$as_ac_var=no"
9203 rm -f conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9208 if test `eval echo '${'$as_ac_var'}'` = yes; then
9209 cat >>confdefs.h <<_ACEOF
9210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9211 _ACEOF
9214 done
9216 else
9218 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9219 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9220 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9221 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 else
9227 ac_ext=cc
9228 ac_cpp='$CXXCPP $CPPFLAGS'
9229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9233 cat >conftest.$ac_ext <<_ACEOF
9234 /* confdefs.h. */
9235 _ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #include <math.h>
9240 #ifdef HAVE_IEEEFP_H
9241 #include <ieeefp.h>
9242 #endif
9245 main ()
9247 _finite(0);
9249 return 0;
9251 _ACEOF
9252 rm -f conftest.$ac_objext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9254 (eval $ac_compile) 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } &&
9261 { ac_try='test -z "$ac_cxx_werror_flag"
9262 || test ! -s conftest.err'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; } &&
9268 { ac_try='test -s conftest.$ac_objext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9274 glibcxx_cv_func__finite_use=yes
9275 else
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9279 glibcxx_cv_func__finite_use=no
9281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9282 ac_ext=c
9283 ac_cpp='$CPP $CPPFLAGS'
9284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9293 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9295 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9297 for ac_func in _finite
9299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9300 echo "$as_me:$LINENO: checking for $ac_func" >&5
9301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9302 if eval "test \"\${$as_ac_var+set}\" = set"; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9305 if test x$gcc_no_link = xyes; then
9306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9308 { (exit 1); exit 1; }; }
9310 cat >conftest.$ac_ext <<_ACEOF
9311 /* confdefs.h. */
9312 _ACEOF
9313 cat confdefs.h >>conftest.$ac_ext
9314 cat >>conftest.$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9318 #define $ac_func innocuous_$ac_func
9320 /* System header to define __stub macros and hopefully few prototypes,
9321 which can conflict with char $ac_func (); below.
9322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9323 <limits.h> exists even on freestanding compilers. */
9325 #ifdef __STDC__
9326 # include <limits.h>
9327 #else
9328 # include <assert.h>
9329 #endif
9331 #undef $ac_func
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 #ifdef __cplusplus
9335 extern "C"
9337 #endif
9338 /* We use char because int might match the return type of a gcc2
9339 builtin and then its argument prototype would still apply. */
9340 char $ac_func ();
9341 /* The GNU C library defines this for functions which it implements
9342 to always fail with ENOSYS. Some functions are actually named
9343 something starting with __ and the normal name is an alias. */
9344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9345 choke me
9346 #else
9347 char (*f) () = $ac_func;
9348 #endif
9349 #ifdef __cplusplus
9351 #endif
9354 main ()
9356 return f != $ac_func;
9358 return 0;
9360 _ACEOF
9361 rm -f conftest.$ac_objext conftest$ac_exeext
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
9370 { ac_try='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 (eval $ac_try) 2>&5
9374 ac_status=$?
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 (eval $ac_try) 2>&5
9380 ac_status=$?
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 eval "$as_ac_var=yes"
9384 else
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.$ac_ext >&5
9388 eval "$as_ac_var=no"
9390 rm -f conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9395 if test `eval echo '${'$as_ac_var'}'` = yes; then
9396 cat >>confdefs.h <<_ACEOF
9397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9398 _ACEOF
9401 done
9408 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9409 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9410 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9411 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 else
9417 ac_ext=cc
9418 ac_cpp='$CXXCPP $CPPFLAGS'
9419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9423 cat >conftest.$ac_ext <<_ACEOF
9424 /* confdefs.h. */
9425 _ACEOF
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9429 #include <math.h>
9431 main ()
9433 copysign(0, 0);
9435 return 0;
9437 _ACEOF
9438 rm -f conftest.$ac_objext
9439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9440 (eval $ac_compile) 2>conftest.er1
9441 ac_status=$?
9442 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
9447 { ac_try='test -z "$ac_cxx_werror_flag"
9448 || test ! -s conftest.err'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 (eval $ac_try) 2>&5
9451 ac_status=$?
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; } &&
9454 { ac_try='test -s conftest.$ac_objext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 (eval $ac_try) 2>&5
9457 ac_status=$?
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 glibcxx_cv_func_copysign_use=yes
9461 else
9462 echo "$as_me: failed program was:" >&5
9463 sed 's/^/| /' conftest.$ac_ext >&5
9465 glibcxx_cv_func_copysign_use=no
9467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9468 ac_ext=c
9469 ac_cpp='$CPP $CPPFLAGS'
9470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9479 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9481 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9483 for ac_func in copysign
9485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9486 echo "$as_me:$LINENO: checking for $ac_func" >&5
9487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_var+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 else
9491 if test x$gcc_no_link = xyes; then
9492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9494 { (exit 1); exit 1; }; }
9496 cat >conftest.$ac_ext <<_ACEOF
9497 /* confdefs.h. */
9498 _ACEOF
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9504 #define $ac_func innocuous_$ac_func
9506 /* System header to define __stub macros and hopefully few prototypes,
9507 which can conflict with char $ac_func (); below.
9508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9509 <limits.h> exists even on freestanding compilers. */
9511 #ifdef __STDC__
9512 # include <limits.h>
9513 #else
9514 # include <assert.h>
9515 #endif
9517 #undef $ac_func
9519 /* Override any gcc2 internal prototype to avoid an error. */
9520 #ifdef __cplusplus
9521 extern "C"
9523 #endif
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9526 char $ac_func ();
9527 /* The GNU C library defines this for functions which it implements
9528 to always fail with ENOSYS. Some functions are actually named
9529 something starting with __ and the normal name is an alias. */
9530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9531 choke me
9532 #else
9533 char (*f) () = $ac_func;
9534 #endif
9535 #ifdef __cplusplus
9537 #endif
9540 main ()
9542 return f != $ac_func;
9544 return 0;
9546 _ACEOF
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9549 (eval $ac_link) 2>conftest.er1
9550 ac_status=$?
9551 grep -v '^ *+' conftest.er1 >conftest.err
9552 rm -f conftest.er1
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try='test -z "$ac_c_werror_flag"
9557 || test ! -s conftest.err'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5
9560 ac_status=$?
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; } &&
9563 { ac_try='test -s conftest$ac_exeext'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565 (eval $ac_try) 2>&5
9566 ac_status=$?
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 eval "$as_ac_var=yes"
9570 else
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.$ac_ext >&5
9574 eval "$as_ac_var=no"
9576 rm -f conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9581 if test `eval echo '${'$as_ac_var'}'` = yes; then
9582 cat >>confdefs.h <<_ACEOF
9583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9584 _ACEOF
9587 done
9589 else
9591 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9592 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9593 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9594 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else
9600 ac_ext=cc
9601 ac_cpp='$CXXCPP $CPPFLAGS'
9602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9606 cat >conftest.$ac_ext <<_ACEOF
9607 /* confdefs.h. */
9608 _ACEOF
9609 cat confdefs.h >>conftest.$ac_ext
9610 cat >>conftest.$ac_ext <<_ACEOF
9611 /* end confdefs.h. */
9612 #include <math.h>
9614 main ()
9616 _copysign(0, 0);
9618 return 0;
9620 _ACEOF
9621 rm -f conftest.$ac_objext
9622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9623 (eval $ac_compile) 2>conftest.er1
9624 ac_status=$?
9625 grep -v '^ *+' conftest.er1 >conftest.err
9626 rm -f conftest.er1
9627 cat conftest.err >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } &&
9630 { ac_try='test -z "$ac_cxx_werror_flag"
9631 || test ! -s conftest.err'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 (eval $ac_try) 2>&5
9634 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } &&
9637 { ac_try='test -s conftest.$ac_objext'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 (eval $ac_try) 2>&5
9640 ac_status=$?
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; }; then
9643 glibcxx_cv_func__copysign_use=yes
9644 else
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9648 glibcxx_cv_func__copysign_use=no
9650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9651 ac_ext=c
9652 ac_cpp='$CPP $CPPFLAGS'
9653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9662 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9664 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9666 for ac_func in _copysign
9668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9669 echo "$as_me:$LINENO: checking for $ac_func" >&5
9670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9671 if eval "test \"\${$as_ac_var+set}\" = set"; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 else
9674 if test x$gcc_no_link = xyes; then
9675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9677 { (exit 1); exit 1; }; }
9679 cat >conftest.$ac_ext <<_ACEOF
9680 /* confdefs.h. */
9681 _ACEOF
9682 cat confdefs.h >>conftest.$ac_ext
9683 cat >>conftest.$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9687 #define $ac_func innocuous_$ac_func
9689 /* System header to define __stub macros and hopefully few prototypes,
9690 which can conflict with char $ac_func (); below.
9691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9692 <limits.h> exists even on freestanding compilers. */
9694 #ifdef __STDC__
9695 # include <limits.h>
9696 #else
9697 # include <assert.h>
9698 #endif
9700 #undef $ac_func
9702 /* Override any gcc2 internal prototype to avoid an error. */
9703 #ifdef __cplusplus
9704 extern "C"
9706 #endif
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9709 char $ac_func ();
9710 /* The GNU C library defines this for functions which it implements
9711 to always fail with ENOSYS. Some functions are actually named
9712 something starting with __ and the normal name is an alias. */
9713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9714 choke me
9715 #else
9716 char (*f) () = $ac_func;
9717 #endif
9718 #ifdef __cplusplus
9720 #endif
9723 main ()
9725 return f != $ac_func;
9727 return 0;
9729 _ACEOF
9730 rm -f conftest.$ac_objext conftest$ac_exeext
9731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 (eval $ac_link) 2>conftest.er1
9733 ac_status=$?
9734 grep -v '^ *+' conftest.er1 >conftest.err
9735 rm -f conftest.er1
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -z "$ac_c_werror_flag"
9740 || test ! -s conftest.err'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 (eval $ac_try) 2>&5
9743 ac_status=$?
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; } &&
9746 { ac_try='test -s conftest$ac_exeext'
9747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 (eval $ac_try) 2>&5
9749 ac_status=$?
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; }; then
9752 eval "$as_ac_var=yes"
9753 else
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9757 eval "$as_ac_var=no"
9759 rm -f conftest.err conftest.$ac_objext \
9760 conftest$ac_exeext conftest.$ac_ext
9762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9764 if test `eval echo '${'$as_ac_var'}'` = yes; then
9765 cat >>confdefs.h <<_ACEOF
9766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9767 _ACEOF
9770 done
9777 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9778 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9779 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9780 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9786 ac_ext=cc
9787 ac_cpp='$CXXCPP $CPPFLAGS'
9788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9792 cat >conftest.$ac_ext <<_ACEOF
9793 /* confdefs.h. */
9794 _ACEOF
9795 cat confdefs.h >>conftest.$ac_ext
9796 cat >>conftest.$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 #include <math.h>
9800 main ()
9802 sincos(0, 0, 0);
9804 return 0;
9806 _ACEOF
9807 rm -f conftest.$ac_objext
9808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9809 (eval $ac_compile) 2>conftest.er1
9810 ac_status=$?
9811 grep -v '^ *+' conftest.er1 >conftest.err
9812 rm -f conftest.er1
9813 cat conftest.err >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try='test -z "$ac_cxx_werror_flag"
9817 || test ! -s conftest.err'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 (eval $ac_try) 2>&5
9820 ac_status=$?
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try='test -s conftest.$ac_objext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9825 (eval $ac_try) 2>&5
9826 ac_status=$?
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 glibcxx_cv_func_sincos_use=yes
9830 else
9831 echo "$as_me: failed program was:" >&5
9832 sed 's/^/| /' conftest.$ac_ext >&5
9834 glibcxx_cv_func_sincos_use=no
9836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9837 ac_ext=c
9838 ac_cpp='$CPP $CPPFLAGS'
9839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9848 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9850 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9852 for ac_func in sincos
9854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9855 echo "$as_me:$LINENO: checking for $ac_func" >&5
9856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9857 if eval "test \"\${$as_ac_var+set}\" = set"; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9859 else
9860 if test x$gcc_no_link = xyes; then
9861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9863 { (exit 1); exit 1; }; }
9865 cat >conftest.$ac_ext <<_ACEOF
9866 /* confdefs.h. */
9867 _ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9873 #define $ac_func innocuous_$ac_func
9875 /* System header to define __stub macros and hopefully few prototypes,
9876 which can conflict with char $ac_func (); below.
9877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9878 <limits.h> exists even on freestanding compilers. */
9880 #ifdef __STDC__
9881 # include <limits.h>
9882 #else
9883 # include <assert.h>
9884 #endif
9886 #undef $ac_func
9888 /* Override any gcc2 internal prototype to avoid an error. */
9889 #ifdef __cplusplus
9890 extern "C"
9892 #endif
9893 /* We use char because int might match the return type of a gcc2
9894 builtin and then its argument prototype would still apply. */
9895 char $ac_func ();
9896 /* The GNU C library defines this for functions which it implements
9897 to always fail with ENOSYS. Some functions are actually named
9898 something starting with __ and the normal name is an alias. */
9899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9900 choke me
9901 #else
9902 char (*f) () = $ac_func;
9903 #endif
9904 #ifdef __cplusplus
9906 #endif
9909 main ()
9911 return f != $ac_func;
9913 return 0;
9915 _ACEOF
9916 rm -f conftest.$ac_objext conftest$ac_exeext
9917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9918 (eval $ac_link) 2>conftest.er1
9919 ac_status=$?
9920 grep -v '^ *+' conftest.er1 >conftest.err
9921 rm -f conftest.er1
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } &&
9925 { ac_try='test -z "$ac_c_werror_flag"
9926 || test ! -s conftest.err'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9928 (eval $ac_try) 2>&5
9929 ac_status=$?
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; } &&
9932 { ac_try='test -s conftest$ac_exeext'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 (eval $ac_try) 2>&5
9935 ac_status=$?
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9938 eval "$as_ac_var=yes"
9939 else
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9943 eval "$as_ac_var=no"
9945 rm -f conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9950 if test `eval echo '${'$as_ac_var'}'` = yes; then
9951 cat >>confdefs.h <<_ACEOF
9952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9953 _ACEOF
9956 done
9958 else
9960 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9961 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9962 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9963 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9969 ac_ext=cc
9970 ac_cpp='$CXXCPP $CPPFLAGS'
9971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9975 cat >conftest.$ac_ext <<_ACEOF
9976 /* confdefs.h. */
9977 _ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9981 #include <math.h>
9983 main ()
9985 _sincos(0, 0, 0);
9987 return 0;
9989 _ACEOF
9990 rm -f conftest.$ac_objext
9991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9992 (eval $ac_compile) 2>conftest.er1
9993 ac_status=$?
9994 grep -v '^ *+' conftest.er1 >conftest.err
9995 rm -f conftest.er1
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } &&
9999 { ac_try='test -z "$ac_cxx_werror_flag"
10000 || test ! -s conftest.err'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10003 ac_status=$?
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; } &&
10006 { ac_try='test -s conftest.$ac_objext'
10007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10008 (eval $ac_try) 2>&5
10009 ac_status=$?
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); }; }; then
10012 glibcxx_cv_func__sincos_use=yes
10013 else
10014 echo "$as_me: failed program was:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10017 glibcxx_cv_func__sincos_use=no
10019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10020 ac_ext=c
10021 ac_cpp='$CPP $CPPFLAGS'
10022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10031 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10033 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10035 for ac_func in _sincos
10037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10038 echo "$as_me:$LINENO: checking for $ac_func" >&5
10039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10040 if eval "test \"\${$as_ac_var+set}\" = set"; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 else
10043 if test x$gcc_no_link = xyes; then
10044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10046 { (exit 1); exit 1; }; }
10048 cat >conftest.$ac_ext <<_ACEOF
10049 /* confdefs.h. */
10050 _ACEOF
10051 cat confdefs.h >>conftest.$ac_ext
10052 cat >>conftest.$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10056 #define $ac_func innocuous_$ac_func
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func (); below.
10060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10061 <limits.h> exists even on freestanding compilers. */
10063 #ifdef __STDC__
10064 # include <limits.h>
10065 #else
10066 # include <assert.h>
10067 #endif
10069 #undef $ac_func
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 #ifdef __cplusplus
10073 extern "C"
10075 #endif
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10078 char $ac_func ();
10079 /* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10083 choke me
10084 #else
10085 char (*f) () = $ac_func;
10086 #endif
10087 #ifdef __cplusplus
10089 #endif
10092 main ()
10094 return f != $ac_func;
10096 return 0;
10098 _ACEOF
10099 rm -f conftest.$ac_objext conftest$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10102 ac_status=$?
10103 grep -v '^ *+' conftest.er1 >conftest.err
10104 rm -f conftest.er1
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try='test -z "$ac_c_werror_flag"
10109 || test ! -s conftest.err'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; } &&
10115 { ac_try='test -s conftest$ac_exeext'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10118 ac_status=$?
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; }; then
10121 eval "$as_ac_var=yes"
10122 else
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 eval "$as_ac_var=no"
10128 rm -f conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10133 if test `eval echo '${'$as_ac_var'}'` = yes; then
10134 cat >>confdefs.h <<_ACEOF
10135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10136 _ACEOF
10139 done
10146 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10147 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10148 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10149 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 else
10155 ac_ext=cc
10156 ac_cpp='$CXXCPP $CPPFLAGS'
10157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10161 cat >conftest.$ac_ext <<_ACEOF
10162 /* confdefs.h. */
10163 _ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 #include <math.h>
10168 #ifdef HAVE_IEEEFP_H
10169 #include <ieeefp.h>
10170 #endif
10173 main ()
10175 fpclass(0);
10177 return 0;
10179 _ACEOF
10180 rm -f conftest.$ac_objext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10182 (eval $ac_compile) 2>conftest.er1
10183 ac_status=$?
10184 grep -v '^ *+' conftest.er1 >conftest.err
10185 rm -f conftest.er1
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_cxx_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10193 ac_status=$?
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest.$ac_objext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 glibcxx_cv_func_fpclass_use=yes
10203 else
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 glibcxx_cv_func_fpclass_use=no
10209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10210 ac_ext=c
10211 ac_cpp='$CPP $CPPFLAGS'
10212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10221 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10223 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10225 for ac_func in fpclass
10227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10228 echo "$as_me:$LINENO: checking for $ac_func" >&5
10229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10230 if eval "test \"\${$as_ac_var+set}\" = set"; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 else
10233 if test x$gcc_no_link = xyes; then
10234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10236 { (exit 1); exit 1; }; }
10238 cat >conftest.$ac_ext <<_ACEOF
10239 /* confdefs.h. */
10240 _ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10246 #define $ac_func innocuous_$ac_func
10248 /* System header to define __stub macros and hopefully few prototypes,
10249 which can conflict with char $ac_func (); below.
10250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10251 <limits.h> exists even on freestanding compilers. */
10253 #ifdef __STDC__
10254 # include <limits.h>
10255 #else
10256 # include <assert.h>
10257 #endif
10259 #undef $ac_func
10261 /* Override any gcc2 internal prototype to avoid an error. */
10262 #ifdef __cplusplus
10263 extern "C"
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267 builtin and then its argument prototype would still apply. */
10268 char $ac_func ();
10269 /* The GNU C library defines this for functions which it implements
10270 to always fail with ENOSYS. Some functions are actually named
10271 something starting with __ and the normal name is an alias. */
10272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10273 choke me
10274 #else
10275 char (*f) () = $ac_func;
10276 #endif
10277 #ifdef __cplusplus
10279 #endif
10282 main ()
10284 return f != $ac_func;
10286 return 0;
10288 _ACEOF
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291 (eval $ac_link) 2>conftest.er1
10292 ac_status=$?
10293 grep -v '^ *+' conftest.er1 >conftest.err
10294 rm -f conftest.er1
10295 cat conftest.err >&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try='test -z "$ac_c_werror_flag"
10299 || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10302 ac_status=$?
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try='test -s conftest$ac_exeext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 eval "$as_ac_var=yes"
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10316 eval "$as_ac_var=no"
10318 rm -f conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10323 if test `eval echo '${'$as_ac_var'}'` = yes; then
10324 cat >>confdefs.h <<_ACEOF
10325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10326 _ACEOF
10329 done
10331 else
10333 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10334 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10335 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10336 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else
10342 ac_ext=cc
10343 ac_cpp='$CXXCPP $CPPFLAGS'
10344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <math.h>
10355 #ifdef HAVE_IEEEFP_H
10356 #include <ieeefp.h>
10357 #endif
10360 main ()
10362 _fpclass(0);
10364 return 0;
10366 _ACEOF
10367 rm -f conftest.$ac_objext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10369 (eval $ac_compile) 2>conftest.er1
10370 ac_status=$?
10371 grep -v '^ *+' conftest.er1 >conftest.err
10372 rm -f conftest.er1
10373 cat conftest.err >&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try='test -z "$ac_cxx_werror_flag"
10377 || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try='test -s conftest.$ac_objext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 glibcxx_cv_func__fpclass_use=yes
10390 else
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.$ac_ext >&5
10394 glibcxx_cv_func__fpclass_use=no
10396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10397 ac_ext=c
10398 ac_cpp='$CPP $CPPFLAGS'
10399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10408 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10412 for ac_func in _fpclass
10414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10415 echo "$as_me:$LINENO: checking for $ac_func" >&5
10416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10417 if eval "test \"\${$as_ac_var+set}\" = set"; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 else
10420 if test x$gcc_no_link = xyes; then
10421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10423 { (exit 1); exit 1; }; }
10425 cat >conftest.$ac_ext <<_ACEOF
10426 /* confdefs.h. */
10427 _ACEOF
10428 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10433 #define $ac_func innocuous_$ac_func
10435 /* System header to define __stub macros and hopefully few prototypes,
10436 which can conflict with char $ac_func (); below.
10437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10438 <limits.h> exists even on freestanding compilers. */
10440 #ifdef __STDC__
10441 # include <limits.h>
10442 #else
10443 # include <assert.h>
10444 #endif
10446 #undef $ac_func
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 #ifdef __cplusplus
10450 extern "C"
10452 #endif
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char $ac_func ();
10456 /* The GNU C library defines this for functions which it implements
10457 to always fail with ENOSYS. Some functions are actually named
10458 something starting with __ and the normal name is an alias. */
10459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10460 choke me
10461 #else
10462 char (*f) () = $ac_func;
10463 #endif
10464 #ifdef __cplusplus
10466 #endif
10469 main ()
10471 return f != $ac_func;
10473 return 0;
10475 _ACEOF
10476 rm -f conftest.$ac_objext conftest$ac_exeext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10478 (eval $ac_link) 2>conftest.er1
10479 ac_status=$?
10480 grep -v '^ *+' conftest.er1 >conftest.err
10481 rm -f conftest.er1
10482 cat conftest.err >&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); } &&
10485 { ac_try='test -z "$ac_c_werror_flag"
10486 || test ! -s conftest.err'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10489 ac_status=$?
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; } &&
10492 { ac_try='test -s conftest$ac_exeext'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10495 ac_status=$?
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 eval "$as_ac_var=yes"
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 eval "$as_ac_var=no"
10505 rm -f conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10510 if test `eval echo '${'$as_ac_var'}'` = yes; then
10511 cat >>confdefs.h <<_ACEOF
10512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10513 _ACEOF
10516 done
10523 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10524 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10525 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10526 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 else
10532 ac_ext=cc
10533 ac_cpp='$CXXCPP $CPPFLAGS'
10534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10538 cat >conftest.$ac_ext <<_ACEOF
10539 /* confdefs.h. */
10540 _ACEOF
10541 cat confdefs.h >>conftest.$ac_ext
10542 cat >>conftest.$ac_ext <<_ACEOF
10543 /* end confdefs.h. */
10544 #include <math.h>
10545 #ifdef HAVE_IEEEFP_H
10546 #include <ieeefp.h>
10547 #endif
10550 main ()
10552 qfpclass(0);
10554 return 0;
10556 _ACEOF
10557 rm -f conftest.$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try='test -z "$ac_cxx_werror_flag"
10567 || test ! -s conftest.err'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10570 ac_status=$?
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; } &&
10573 { ac_try='test -s conftest.$ac_objext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10579 glibcxx_cv_func_qfpclass_use=yes
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10584 glibcxx_cv_func_qfpclass_use=no
10586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10587 ac_ext=c
10588 ac_cpp='$CPP $CPPFLAGS'
10589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10598 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10600 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10602 for ac_func in qfpclass
10604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10605 echo "$as_me:$LINENO: checking for $ac_func" >&5
10606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10607 if eval "test \"\${$as_ac_var+set}\" = set"; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else
10610 if test x$gcc_no_link = xyes; then
10611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10613 { (exit 1); exit 1; }; }
10615 cat >conftest.$ac_ext <<_ACEOF
10616 /* confdefs.h. */
10617 _ACEOF
10618 cat confdefs.h >>conftest.$ac_ext
10619 cat >>conftest.$ac_ext <<_ACEOF
10620 /* end confdefs.h. */
10621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10623 #define $ac_func innocuous_$ac_func
10625 /* System header to define __stub macros and hopefully few prototypes,
10626 which can conflict with char $ac_func (); below.
10627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10628 <limits.h> exists even on freestanding compilers. */
10630 #ifdef __STDC__
10631 # include <limits.h>
10632 #else
10633 # include <assert.h>
10634 #endif
10636 #undef $ac_func
10638 /* Override any gcc2 internal prototype to avoid an error. */
10639 #ifdef __cplusplus
10640 extern "C"
10642 #endif
10643 /* We use char because int might match the return type of a gcc2
10644 builtin and then its argument prototype would still apply. */
10645 char $ac_func ();
10646 /* The GNU C library defines this for functions which it implements
10647 to always fail with ENOSYS. Some functions are actually named
10648 something starting with __ and the normal name is an alias. */
10649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10650 choke me
10651 #else
10652 char (*f) () = $ac_func;
10653 #endif
10654 #ifdef __cplusplus
10656 #endif
10659 main ()
10661 return f != $ac_func;
10663 return 0;
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 eval "$as_ac_var=yes"
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 eval "$as_ac_var=no"
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10700 if test `eval echo '${'$as_ac_var'}'` = yes; then
10701 cat >>confdefs.h <<_ACEOF
10702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10703 _ACEOF
10706 done
10708 else
10710 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10711 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10713 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10719 ac_ext=cc
10720 ac_cpp='$CXXCPP $CPPFLAGS'
10721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #include <math.h>
10732 #ifdef HAVE_IEEEFP_H
10733 #include <ieeefp.h>
10734 #endif
10737 main ()
10739 _qfpclass(0);
10741 return 0;
10743 _ACEOF
10744 rm -f conftest.$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746 (eval $ac_compile) 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -z "$ac_cxx_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 glibcxx_cv_func__qfpclass_use=yes
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 glibcxx_cv_func__qfpclass_use=no
10773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10774 ac_ext=c
10775 ac_cpp='$CPP $CPPFLAGS'
10776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10785 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10787 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10789 for ac_func in _qfpclass
10791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10792 echo "$as_me:$LINENO: checking for $ac_func" >&5
10793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10794 if eval "test \"\${$as_ac_var+set}\" = set"; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 else
10797 if test x$gcc_no_link = xyes; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10802 cat >conftest.$ac_ext <<_ACEOF
10803 /* confdefs.h. */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10810 #define $ac_func innocuous_$ac_func
10812 /* System header to define __stub macros and hopefully few prototypes,
10813 which can conflict with char $ac_func (); below.
10814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10815 <limits.h> exists even on freestanding compilers. */
10817 #ifdef __STDC__
10818 # include <limits.h>
10819 #else
10820 # include <assert.h>
10821 #endif
10823 #undef $ac_func
10825 /* Override any gcc2 internal prototype to avoid an error. */
10826 #ifdef __cplusplus
10827 extern "C"
10829 #endif
10830 /* We use char because int might match the return type of a gcc2
10831 builtin and then its argument prototype would still apply. */
10832 char $ac_func ();
10833 /* The GNU C library defines this for functions which it implements
10834 to always fail with ENOSYS. Some functions are actually named
10835 something starting with __ and the normal name is an alias. */
10836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10837 choke me
10838 #else
10839 char (*f) () = $ac_func;
10840 #endif
10841 #ifdef __cplusplus
10843 #endif
10846 main ()
10848 return f != $ac_func;
10850 return 0;
10852 _ACEOF
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10856 ac_status=$?
10857 grep -v '^ *+' conftest.er1 >conftest.err
10858 rm -f conftest.er1
10859 cat conftest.err >&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -z "$ac_c_werror_flag"
10863 || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10866 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try='test -s conftest$ac_exeext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10872 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 eval "$as_ac_var=yes"
10876 else
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.$ac_ext >&5
10880 eval "$as_ac_var=no"
10882 rm -f conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10887 if test `eval echo '${'$as_ac_var'}'` = yes; then
10888 cat >>confdefs.h <<_ACEOF
10889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10890 _ACEOF
10893 done
10900 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10901 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 else
10909 ac_ext=cc
10910 ac_cpp='$CXXCPP $CPPFLAGS'
10911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10915 cat >conftest.$ac_ext <<_ACEOF
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <math.h>
10923 main ()
10925 hypot(0, 0);
10927 return 0;
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_cxx_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 glibcxx_cv_func_hypot_use=yes
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10957 glibcxx_cv_func_hypot_use=no
10959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10960 ac_ext=c
10961 ac_cpp='$CPP $CPPFLAGS'
10962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10971 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10973 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10975 for ac_func in hypot
10977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10978 echo "$as_me:$LINENO: checking for $ac_func" >&5
10979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10980 if eval "test \"\${$as_ac_var+set}\" = set"; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 if test x$gcc_no_link = xyes; then
10984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10986 { (exit 1); exit 1; }; }
10988 cat >conftest.$ac_ext <<_ACEOF
10989 /* confdefs.h. */
10990 _ACEOF
10991 cat confdefs.h >>conftest.$ac_ext
10992 cat >>conftest.$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10996 #define $ac_func innocuous_$ac_func
10998 /* System header to define __stub macros and hopefully few prototypes,
10999 which can conflict with char $ac_func (); below.
11000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11001 <limits.h> exists even on freestanding compilers. */
11003 #ifdef __STDC__
11004 # include <limits.h>
11005 #else
11006 # include <assert.h>
11007 #endif
11009 #undef $ac_func
11011 /* Override any gcc2 internal prototype to avoid an error. */
11012 #ifdef __cplusplus
11013 extern "C"
11015 #endif
11016 /* We use char because int might match the return type of a gcc2
11017 builtin and then its argument prototype would still apply. */
11018 char $ac_func ();
11019 /* The GNU C library defines this for functions which it implements
11020 to always fail with ENOSYS. Some functions are actually named
11021 something starting with __ and the normal name is an alias. */
11022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11023 choke me
11024 #else
11025 char (*f) () = $ac_func;
11026 #endif
11027 #ifdef __cplusplus
11029 #endif
11032 main ()
11034 return f != $ac_func;
11036 return 0;
11038 _ACEOF
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 (eval $ac_link) 2>conftest.er1
11042 ac_status=$?
11043 grep -v '^ *+' conftest.er1 >conftest.err
11044 rm -f conftest.er1
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -z "$ac_c_werror_flag"
11049 || test ! -s conftest.err'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11052 ac_status=$?
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; } &&
11055 { ac_try='test -s conftest$ac_exeext'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11058 ac_status=$?
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; }; then
11061 eval "$as_ac_var=yes"
11062 else
11063 echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.$ac_ext >&5
11066 eval "$as_ac_var=no"
11068 rm -f conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11073 if test `eval echo '${'$as_ac_var'}'` = yes; then
11074 cat >>confdefs.h <<_ACEOF
11075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11076 _ACEOF
11079 done
11081 else
11083 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11084 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 else
11092 ac_ext=cc
11093 ac_cpp='$CXXCPP $CPPFLAGS'
11094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11098 cat >conftest.$ac_ext <<_ACEOF
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 #include <math.h>
11106 main ()
11108 _hypot(0, 0);
11110 return 0;
11112 _ACEOF
11113 rm -f conftest.$ac_objext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115 (eval $ac_compile) 2>conftest.er1
11116 ac_status=$?
11117 grep -v '^ *+' conftest.er1 >conftest.err
11118 rm -f conftest.er1
11119 cat conftest.err >&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } &&
11122 { ac_try='test -z "$ac_cxx_werror_flag"
11123 || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try='test -s conftest.$ac_objext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 glibcxx_cv_func__hypot_use=yes
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11140 glibcxx_cv_func__hypot_use=no
11142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11143 ac_ext=c
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11154 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11158 for ac_func in _hypot
11160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11161 echo "$as_me:$LINENO: checking for $ac_func" >&5
11162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11163 if eval "test \"\${$as_ac_var+set}\" = set"; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 else
11166 if test x$gcc_no_link = xyes; then
11167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11169 { (exit 1); exit 1; }; }
11171 cat >conftest.$ac_ext <<_ACEOF
11172 /* confdefs.h. */
11173 _ACEOF
11174 cat confdefs.h >>conftest.$ac_ext
11175 cat >>conftest.$ac_ext <<_ACEOF
11176 /* end confdefs.h. */
11177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11179 #define $ac_func innocuous_$ac_func
11181 /* System header to define __stub macros and hopefully few prototypes,
11182 which can conflict with char $ac_func (); below.
11183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11184 <limits.h> exists even on freestanding compilers. */
11186 #ifdef __STDC__
11187 # include <limits.h>
11188 #else
11189 # include <assert.h>
11190 #endif
11192 #undef $ac_func
11194 /* Override any gcc2 internal prototype to avoid an error. */
11195 #ifdef __cplusplus
11196 extern "C"
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11201 char $ac_func ();
11202 /* The GNU C library defines this for functions which it implements
11203 to always fail with ENOSYS. Some functions are actually named
11204 something starting with __ and the normal name is an alias. */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 choke me
11207 #else
11208 char (*f) () = $ac_func;
11209 #endif
11210 #ifdef __cplusplus
11212 #endif
11215 main ()
11217 return f != $ac_func;
11219 return 0;
11221 _ACEOF
11222 rm -f conftest.$ac_objext conftest$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>conftest.er1
11225 ac_status=$?
11226 grep -v '^ *+' conftest.er1 >conftest.err
11227 rm -f conftest.er1
11228 cat conftest.err >&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11235 ac_status=$?
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try='test -s conftest$ac_exeext'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11241 ac_status=$?
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; }; then
11244 eval "$as_ac_var=yes"
11245 else
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.$ac_ext >&5
11249 eval "$as_ac_var=no"
11251 rm -f conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11256 if test `eval echo '${'$as_ac_var'}'` = yes; then
11257 cat >>confdefs.h <<_ACEOF
11258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11259 _ACEOF
11262 done
11269 echo "$as_me:$LINENO: checking for float trig functions" >&5
11270 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11271 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11277 ac_ext=cc
11278 ac_cpp='$CXXCPP $CPPFLAGS'
11279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11283 cat >conftest.$ac_ext <<_ACEOF
11284 /* confdefs.h. */
11285 _ACEOF
11286 cat confdefs.h >>conftest.$ac_ext
11287 cat >>conftest.$ac_ext <<_ACEOF
11288 /* end confdefs.h. */
11289 #include <math.h>
11291 main ()
11293 `for x in acosf asinf atanf \
11294 cosf sinf tanf \
11295 coshf sinhf tanhf; do echo "$x (0);"; done`
11297 return 0;
11299 _ACEOF
11300 rm -f conftest.$ac_objext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302 (eval $ac_compile) 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try='test -z "$ac_cxx_werror_flag"
11310 || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try='test -s conftest.$ac_objext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 glibcxx_cv_func_float_trig_use=yes
11323 else
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11327 glibcxx_cv_func_float_trig_use=no
11329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11330 ac_ext=c
11331 ac_cpp='$CPP $CPPFLAGS'
11332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11339 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11350 for ac_func in acosf asinf atanf \
11351 cosf sinf tanf \
11352 coshf sinhf tanhf
11354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11355 echo "$as_me:$LINENO: checking for $ac_func" >&5
11356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11357 if eval "test \"\${$as_ac_var+set}\" = set"; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 else
11360 if test x$gcc_no_link = xyes; then
11361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11363 { (exit 1); exit 1; }; }
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11373 #define $ac_func innocuous_$ac_func
11375 /* System header to define __stub macros and hopefully few prototypes,
11376 which can conflict with char $ac_func (); below.
11377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11378 <limits.h> exists even on freestanding compilers. */
11380 #ifdef __STDC__
11381 # include <limits.h>
11382 #else
11383 # include <assert.h>
11384 #endif
11386 #undef $ac_func
11388 /* Override any gcc2 internal prototype to avoid an error. */
11389 #ifdef __cplusplus
11390 extern "C"
11392 #endif
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11395 char $ac_func ();
11396 /* The GNU C library defines this for functions which it implements
11397 to always fail with ENOSYS. Some functions are actually named
11398 something starting with __ and the normal name is an alias. */
11399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11400 choke me
11401 #else
11402 char (*f) () = $ac_func;
11403 #endif
11404 #ifdef __cplusplus
11406 #endif
11409 main ()
11411 return f != $ac_func;
11413 return 0;
11415 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418 (eval $ac_link) 2>conftest.er1
11419 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 { ac_try='test -z "$ac_c_werror_flag"
11426 || test ! -s conftest.err'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11429 ac_status=$?
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; } &&
11432 { ac_try='test -s conftest$ac_exeext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 eval "$as_ac_var=yes"
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11443 eval "$as_ac_var=no"
11445 rm -f conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11450 if test `eval echo '${'$as_ac_var'}'` = yes; then
11451 cat >>confdefs.h <<_ACEOF
11452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11453 _ACEOF
11456 done
11461 echo "$as_me:$LINENO: checking for float round functions" >&5
11462 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11463 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11465 else
11469 ac_ext=cc
11470 ac_cpp='$CXXCPP $CPPFLAGS'
11471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <math.h>
11483 main ()
11485 `for x in ceilf floorf; do echo "$x (0);"; done`
11487 return 0;
11489 _ACEOF
11490 rm -f conftest.$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11493 ac_status=$?
11494 grep -v '^ *+' conftest.er1 >conftest.err
11495 rm -f conftest.er1
11496 cat conftest.err >&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try='test -z "$ac_cxx_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11509 ac_status=$?
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 glibcxx_cv_func_float_round_use=yes
11513 else
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.$ac_ext >&5
11517 glibcxx_cv_func_float_round_use=no
11519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11520 ac_ext=c
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11529 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11533 for ac_func in ceilf floorf
11535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11536 echo "$as_me:$LINENO: checking for $ac_func" >&5
11537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11538 if eval "test \"\${$as_ac_var+set}\" = set"; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 if test x$gcc_no_link = xyes; then
11542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11544 { (exit 1); exit 1; }; }
11546 cat >conftest.$ac_ext <<_ACEOF
11547 /* confdefs.h. */
11548 _ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11554 #define $ac_func innocuous_$ac_func
11556 /* System header to define __stub macros and hopefully few prototypes,
11557 which can conflict with char $ac_func (); below.
11558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11559 <limits.h> exists even on freestanding compilers. */
11561 #ifdef __STDC__
11562 # include <limits.h>
11563 #else
11564 # include <assert.h>
11565 #endif
11567 #undef $ac_func
11569 /* Override any gcc2 internal prototype to avoid an error. */
11570 #ifdef __cplusplus
11571 extern "C"
11573 #endif
11574 /* We use char because int might match the return type of a gcc2
11575 builtin and then its argument prototype would still apply. */
11576 char $ac_func ();
11577 /* The GNU C library defines this for functions which it implements
11578 to always fail with ENOSYS. Some functions are actually named
11579 something starting with __ and the normal name is an alias. */
11580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11581 choke me
11582 #else
11583 char (*f) () = $ac_func;
11584 #endif
11585 #ifdef __cplusplus
11587 #endif
11590 main ()
11592 return f != $ac_func;
11594 return 0;
11596 _ACEOF
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11600 ac_status=$?
11601 grep -v '^ *+' conftest.er1 >conftest.err
11602 rm -f conftest.er1
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try='test -z "$ac_c_werror_flag"
11607 || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 eval "$as_ac_var=yes"
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11624 eval "$as_ac_var=no"
11626 rm -f conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11631 if test `eval echo '${'$as_ac_var'}'` = yes; then
11632 cat >>confdefs.h <<_ACEOF
11633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11634 _ACEOF
11637 done
11643 echo "$as_me:$LINENO: checking for expf declaration" >&5
11644 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11645 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11646 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 else
11652 ac_ext=cc
11653 ac_cpp='$CXXCPP $CPPFLAGS'
11654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11658 cat >conftest.$ac_ext <<_ACEOF
11659 /* confdefs.h. */
11660 _ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 #include <math.h>
11665 #ifdef HAVE_IEEEFP_H
11666 #include <ieeefp.h>
11667 #endif
11670 main ()
11672 expf(0);
11674 return 0;
11676 _ACEOF
11677 rm -f conftest.$ac_objext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679 (eval $ac_compile) 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_cxx_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try='test -s conftest.$ac_objext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 glibcxx_cv_func_expf_use=yes
11700 else
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11704 glibcxx_cv_func_expf_use=no
11706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11707 ac_ext=c
11708 ac_cpp='$CPP $CPPFLAGS'
11709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11718 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11720 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11722 for ac_func in expf
11724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11725 echo "$as_me:$LINENO: checking for $ac_func" >&5
11726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11727 if eval "test \"\${$as_ac_var+set}\" = set"; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 else
11730 if test x$gcc_no_link = xyes; then
11731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11733 { (exit 1); exit 1; }; }
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11743 #define $ac_func innocuous_$ac_func
11745 /* System header to define __stub macros and hopefully few prototypes,
11746 which can conflict with char $ac_func (); below.
11747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11748 <limits.h> exists even on freestanding compilers. */
11750 #ifdef __STDC__
11751 # include <limits.h>
11752 #else
11753 # include <assert.h>
11754 #endif
11756 #undef $ac_func
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 #ifdef __cplusplus
11760 extern "C"
11762 #endif
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11765 char $ac_func ();
11766 /* The GNU C library defines this for functions which it implements
11767 to always fail with ENOSYS. Some functions are actually named
11768 something starting with __ and the normal name is an alias. */
11769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11770 choke me
11771 #else
11772 char (*f) () = $ac_func;
11773 #endif
11774 #ifdef __cplusplus
11776 #endif
11779 main ()
11781 return f != $ac_func;
11783 return 0;
11785 _ACEOF
11786 rm -f conftest.$ac_objext conftest$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>conftest.er1
11789 ac_status=$?
11790 grep -v '^ *+' conftest.er1 >conftest.err
11791 rm -f conftest.er1
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try='test -z "$ac_c_werror_flag"
11796 || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 eval "$as_ac_var=yes"
11809 else
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 eval "$as_ac_var=no"
11815 rm -f conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11820 if test `eval echo '${'$as_ac_var'}'` = yes; then
11821 cat >>confdefs.h <<_ACEOF
11822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11823 _ACEOF
11826 done
11828 else
11830 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11831 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11832 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11833 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11839 ac_ext=cc
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11845 cat >conftest.$ac_ext <<_ACEOF
11846 /* confdefs.h. */
11847 _ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 #include <math.h>
11852 #ifdef HAVE_IEEEFP_H
11853 #include <ieeefp.h>
11854 #endif
11857 main ()
11859 _expf(0);
11861 return 0;
11863 _ACEOF
11864 rm -f conftest.$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11867 ac_status=$?
11868 grep -v '^ *+' conftest.er1 >conftest.err
11869 rm -f conftest.er1
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_cxx_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 glibcxx_cv_func__expf_use=yes
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 glibcxx_cv_func__expf_use=no
11893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11894 ac_ext=c
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11905 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11907 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11909 for ac_func in _expf
11911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11912 echo "$as_me:$LINENO: checking for $ac_func" >&5
11913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11914 if eval "test \"\${$as_ac_var+set}\" = set"; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 if test x$gcc_no_link = xyes; then
11918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11920 { (exit 1); exit 1; }; }
11922 cat >conftest.$ac_ext <<_ACEOF
11923 /* confdefs.h. */
11924 _ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11930 #define $ac_func innocuous_$ac_func
11932 /* System header to define __stub macros and hopefully few prototypes,
11933 which can conflict with char $ac_func (); below.
11934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11935 <limits.h> exists even on freestanding compilers. */
11937 #ifdef __STDC__
11938 # include <limits.h>
11939 #else
11940 # include <assert.h>
11941 #endif
11943 #undef $ac_func
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 #ifdef __cplusplus
11947 extern "C"
11949 #endif
11950 /* We use char because int might match the return type of a gcc2
11951 builtin and then its argument prototype would still apply. */
11952 char $ac_func ();
11953 /* The GNU C library defines this for functions which it implements
11954 to always fail with ENOSYS. Some functions are actually named
11955 something starting with __ and the normal name is an alias. */
11956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11957 choke me
11958 #else
11959 char (*f) () = $ac_func;
11960 #endif
11961 #ifdef __cplusplus
11963 #endif
11966 main ()
11968 return f != $ac_func;
11970 return 0;
11972 _ACEOF
11973 rm -f conftest.$ac_objext conftest$ac_exeext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11975 (eval $ac_link) 2>conftest.er1
11976 ac_status=$?
11977 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1
11979 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag"
11983 || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try='test -s conftest$ac_exeext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 eval "$as_ac_var=yes"
11996 else
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 eval "$as_ac_var=no"
12002 rm -f conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12007 if test `eval echo '${'$as_ac_var'}'` = yes; then
12008 cat >>confdefs.h <<_ACEOF
12009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12010 _ACEOF
12013 done
12020 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12021 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12029 ac_ext=cc
12030 ac_cpp='$CXXCPP $CPPFLAGS'
12031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <math.h>
12042 #ifdef HAVE_IEEEFP_H
12043 #include <ieeefp.h>
12044 #endif
12047 main ()
12049 isnanf(0);
12051 return 0;
12053 _ACEOF
12054 rm -f conftest.$ac_objext
12055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12056 (eval $ac_compile) 2>conftest.er1
12057 ac_status=$?
12058 grep -v '^ *+' conftest.er1 >conftest.err
12059 rm -f conftest.er1
12060 cat conftest.err >&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -z "$ac_cxx_werror_flag"
12064 || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try='test -s conftest.$ac_objext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 glibcxx_cv_func_isnanf_use=yes
12077 else
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12081 glibcxx_cv_func_isnanf_use=no
12083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12084 ac_ext=c
12085 ac_cpp='$CPP $CPPFLAGS'
12086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12095 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12097 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12099 for ac_func in isnanf
12101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12102 echo "$as_me:$LINENO: checking for $ac_func" >&5
12103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12104 if eval "test \"\${$as_ac_var+set}\" = set"; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 else
12107 if test x$gcc_no_link = xyes; then
12108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110 { (exit 1); exit 1; }; }
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h. */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12120 #define $ac_func innocuous_$ac_func
12122 /* System header to define __stub macros and hopefully few prototypes,
12123 which can conflict with char $ac_func (); below.
12124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12125 <limits.h> exists even on freestanding compilers. */
12127 #ifdef __STDC__
12128 # include <limits.h>
12129 #else
12130 # include <assert.h>
12131 #endif
12133 #undef $ac_func
12135 /* Override any gcc2 internal prototype to avoid an error. */
12136 #ifdef __cplusplus
12137 extern "C"
12139 #endif
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12142 char $ac_func ();
12143 /* The GNU C library defines this for functions which it implements
12144 to always fail with ENOSYS. Some functions are actually named
12145 something starting with __ and the normal name is an alias. */
12146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12147 choke me
12148 #else
12149 char (*f) () = $ac_func;
12150 #endif
12151 #ifdef __cplusplus
12153 #endif
12156 main ()
12158 return f != $ac_func;
12160 return 0;
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165 (eval $ac_link) 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag"
12173 || test ! -s conftest.err'
12174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175 (eval $ac_try) 2>&5
12176 ac_status=$?
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; } &&
12179 { ac_try='test -s conftest$ac_exeext'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12182 ac_status=$?
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; }; then
12185 eval "$as_ac_var=yes"
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12190 eval "$as_ac_var=no"
12192 rm -f conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12197 if test `eval echo '${'$as_ac_var'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12200 _ACEOF
12203 done
12205 else
12207 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12208 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12209 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12210 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12216 ac_ext=cc
12217 ac_cpp='$CXXCPP $CPPFLAGS'
12218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12222 cat >conftest.$ac_ext <<_ACEOF
12223 /* confdefs.h. */
12224 _ACEOF
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <math.h>
12229 #ifdef HAVE_IEEEFP_H
12230 #include <ieeefp.h>
12231 #endif
12234 main ()
12236 _isnanf(0);
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_cxx_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 glibcxx_cv_func__isnanf_use=yes
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12268 glibcxx_cv_func__isnanf_use=no
12270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12271 ac_ext=c
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12282 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12286 for ac_func in _isnanf
12288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294 if test x$gcc_no_link = xyes; then
12295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297 { (exit 1); exit 1; }; }
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12307 #define $ac_func innocuous_$ac_func
12309 /* System header to define __stub macros and hopefully few prototypes,
12310 which can conflict with char $ac_func (); below.
12311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12312 <limits.h> exists even on freestanding compilers. */
12314 #ifdef __STDC__
12315 # include <limits.h>
12316 #else
12317 # include <assert.h>
12318 #endif
12320 #undef $ac_func
12322 /* Override any gcc2 internal prototype to avoid an error. */
12323 #ifdef __cplusplus
12324 extern "C"
12326 #endif
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12329 char $ac_func ();
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 choke me
12335 #else
12336 char (*f) () = $ac_func;
12337 #endif
12338 #ifdef __cplusplus
12340 #endif
12343 main ()
12345 return f != $ac_func;
12347 return 0;
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag"
12360 || test ! -s conftest.err'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; } &&
12366 { ac_try='test -s conftest$ac_exeext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 eval "$as_ac_var=yes"
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12377 eval "$as_ac_var=no"
12379 rm -f conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12384 if test `eval echo '${'$as_ac_var'}'` = yes; then
12385 cat >>confdefs.h <<_ACEOF
12386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12387 _ACEOF
12390 done
12397 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12398 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12399 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12400 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 else
12406 ac_ext=cc
12407 ac_cpp='$CXXCPP $CPPFLAGS'
12408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12412 cat >conftest.$ac_ext <<_ACEOF
12413 /* confdefs.h. */
12414 _ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <math.h>
12419 #ifdef HAVE_IEEEFP_H
12420 #include <ieeefp.h>
12421 #endif
12424 main ()
12426 isinff(0);
12428 return 0;
12430 _ACEOF
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_cxx_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 glibcxx_cv_func_isinff_use=yes
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 glibcxx_cv_func_isinff_use=no
12460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12461 ac_ext=c
12462 ac_cpp='$CPP $CPPFLAGS'
12463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12472 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12474 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12476 for ac_func in isinff
12478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12479 echo "$as_me:$LINENO: checking for $ac_func" >&5
12480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12481 if eval "test \"\${$as_ac_var+set}\" = set"; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 else
12484 if test x$gcc_no_link = xyes; then
12485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12487 { (exit 1); exit 1; }; }
12489 cat >conftest.$ac_ext <<_ACEOF
12490 /* confdefs.h. */
12491 _ACEOF
12492 cat confdefs.h >>conftest.$ac_ext
12493 cat >>conftest.$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12497 #define $ac_func innocuous_$ac_func
12499 /* System header to define __stub macros and hopefully few prototypes,
12500 which can conflict with char $ac_func (); below.
12501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12502 <limits.h> exists even on freestanding compilers. */
12504 #ifdef __STDC__
12505 # include <limits.h>
12506 #else
12507 # include <assert.h>
12508 #endif
12510 #undef $ac_func
12512 /* Override any gcc2 internal prototype to avoid an error. */
12513 #ifdef __cplusplus
12514 extern "C"
12516 #endif
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12519 char $ac_func ();
12520 /* The GNU C library defines this for functions which it implements
12521 to always fail with ENOSYS. Some functions are actually named
12522 something starting with __ and the normal name is an alias. */
12523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 choke me
12525 #else
12526 char (*f) () = $ac_func;
12527 #endif
12528 #ifdef __cplusplus
12530 #endif
12533 main ()
12535 return f != $ac_func;
12537 return 0;
12539 _ACEOF
12540 rm -f conftest.$ac_objext conftest$ac_exeext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>conftest.er1
12543 ac_status=$?
12544 grep -v '^ *+' conftest.er1 >conftest.err
12545 rm -f conftest.er1
12546 cat conftest.err >&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } &&
12549 { ac_try='test -z "$ac_c_werror_flag"
12550 || test ! -s conftest.err'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12553 ac_status=$?
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try='test -s conftest$ac_exeext'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 eval "$as_ac_var=yes"
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 eval "$as_ac_var=no"
12569 rm -f conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12574 if test `eval echo '${'$as_ac_var'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12577 _ACEOF
12580 done
12582 else
12584 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12585 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12593 ac_ext=cc
12594 ac_cpp='$CXXCPP $CPPFLAGS'
12595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605 #include <math.h>
12606 #ifdef HAVE_IEEEFP_H
12607 #include <ieeefp.h>
12608 #endif
12611 main ()
12613 _isinff(0);
12615 return 0;
12617 _ACEOF
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_cxx_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest.$ac_objext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 glibcxx_cv_func__isinff_use=yes
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 glibcxx_cv_func__isinff_use=no
12647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12648 ac_ext=c
12649 ac_cpp='$CPP $CPPFLAGS'
12650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12659 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12661 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12663 for ac_func in _isinff
12665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12666 echo "$as_me:$LINENO: checking for $ac_func" >&5
12667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12668 if eval "test \"\${$as_ac_var+set}\" = set"; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12671 if test x$gcc_no_link = xyes; then
12672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12674 { (exit 1); exit 1; }; }
12676 cat >conftest.$ac_ext <<_ACEOF
12677 /* confdefs.h. */
12678 _ACEOF
12679 cat confdefs.h >>conftest.$ac_ext
12680 cat >>conftest.$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12684 #define $ac_func innocuous_$ac_func
12686 /* System header to define __stub macros and hopefully few prototypes,
12687 which can conflict with char $ac_func (); below.
12688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12689 <limits.h> exists even on freestanding compilers. */
12691 #ifdef __STDC__
12692 # include <limits.h>
12693 #else
12694 # include <assert.h>
12695 #endif
12697 #undef $ac_func
12699 /* Override any gcc2 internal prototype to avoid an error. */
12700 #ifdef __cplusplus
12701 extern "C"
12703 #endif
12704 /* We use char because int might match the return type of a gcc2
12705 builtin and then its argument prototype would still apply. */
12706 char $ac_func ();
12707 /* The GNU C library defines this for functions which it implements
12708 to always fail with ENOSYS. Some functions are actually named
12709 something starting with __ and the normal name is an alias. */
12710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12711 choke me
12712 #else
12713 char (*f) () = $ac_func;
12714 #endif
12715 #ifdef __cplusplus
12717 #endif
12720 main ()
12722 return f != $ac_func;
12724 return 0;
12726 _ACEOF
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try='test -z "$ac_c_werror_flag"
12737 || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try='test -s conftest$ac_exeext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 eval "$as_ac_var=yes"
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 eval "$as_ac_var=no"
12756 rm -f conftest.err conftest.$ac_objext \
12757 conftest$ac_exeext conftest.$ac_ext
12759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12761 if test `eval echo '${'$as_ac_var'}'` = yes; then
12762 cat >>confdefs.h <<_ACEOF
12763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12764 _ACEOF
12767 done
12774 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12775 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12776 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12777 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12783 ac_ext=cc
12784 ac_cpp='$CXXCPP $CPPFLAGS'
12785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795 #include <math.h>
12797 main ()
12799 atan2f(0, 0);
12801 return 0;
12803 _ACEOF
12804 rm -f conftest.$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -z "$ac_cxx_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 glibcxx_cv_func_atan2f_use=yes
12827 else
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12831 glibcxx_cv_func_atan2f_use=no
12833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 ac_ext=c
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12845 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12847 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12849 for ac_func in atan2f
12851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12852 echo "$as_me:$LINENO: checking for $ac_func" >&5
12853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12854 if eval "test \"\${$as_ac_var+set}\" = set"; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 if test x$gcc_no_link = xyes; then
12858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12860 { (exit 1); exit 1; }; }
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12870 #define $ac_func innocuous_$ac_func
12872 /* System header to define __stub macros and hopefully few prototypes,
12873 which can conflict with char $ac_func (); below.
12874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12875 <limits.h> exists even on freestanding compilers. */
12877 #ifdef __STDC__
12878 # include <limits.h>
12879 #else
12880 # include <assert.h>
12881 #endif
12883 #undef $ac_func
12885 /* Override any gcc2 internal prototype to avoid an error. */
12886 #ifdef __cplusplus
12887 extern "C"
12889 #endif
12890 /* We use char because int might match the return type of a gcc2
12891 builtin and then its argument prototype would still apply. */
12892 char $ac_func ();
12893 /* The GNU C library defines this for functions which it implements
12894 to always fail with ENOSYS. Some functions are actually named
12895 something starting with __ and the normal name is an alias. */
12896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12897 choke me
12898 #else
12899 char (*f) () = $ac_func;
12900 #endif
12901 #ifdef __cplusplus
12903 #endif
12906 main ()
12908 return f != $ac_func;
12910 return 0;
12912 _ACEOF
12913 rm -f conftest.$ac_objext conftest$ac_exeext
12914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915 (eval $ac_link) 2>conftest.er1
12916 ac_status=$?
12917 grep -v '^ *+' conftest.er1 >conftest.err
12918 rm -f conftest.er1
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } &&
12922 { ac_try='test -z "$ac_c_werror_flag"
12923 || test ! -s conftest.err'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest$ac_exeext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 eval "$as_ac_var=yes"
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12940 eval "$as_ac_var=no"
12942 rm -f conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12947 if test `eval echo '${'$as_ac_var'}'` = yes; then
12948 cat >>confdefs.h <<_ACEOF
12949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12950 _ACEOF
12953 done
12955 else
12957 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12958 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12959 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12960 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12966 ac_ext=cc
12967 ac_cpp='$CXXCPP $CPPFLAGS'
12968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <math.h>
12980 main ()
12982 _atan2f(0, 0);
12984 return 0;
12986 _ACEOF
12987 rm -f conftest.$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12990 ac_status=$?
12991 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_cxx_werror_flag"
12997 || test ! -s conftest.err'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; } &&
13003 { ac_try='test -s conftest.$ac_objext'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; }; then
13009 glibcxx_cv_func__atan2f_use=yes
13010 else
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13014 glibcxx_cv_func__atan2f_use=no
13016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13017 ac_ext=c
13018 ac_cpp='$CPP $CPPFLAGS'
13019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13028 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13030 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13032 for ac_func in _atan2f
13034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13035 echo "$as_me:$LINENO: checking for $ac_func" >&5
13036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13037 if eval "test \"\${$as_ac_var+set}\" = set"; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 else
13040 if test x$gcc_no_link = xyes; then
13041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13043 { (exit 1); exit 1; }; }
13045 cat >conftest.$ac_ext <<_ACEOF
13046 /* confdefs.h. */
13047 _ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13053 #define $ac_func innocuous_$ac_func
13055 /* System header to define __stub macros and hopefully few prototypes,
13056 which can conflict with char $ac_func (); below.
13057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13058 <limits.h> exists even on freestanding compilers. */
13060 #ifdef __STDC__
13061 # include <limits.h>
13062 #else
13063 # include <assert.h>
13064 #endif
13066 #undef $ac_func
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 #ifdef __cplusplus
13070 extern "C"
13072 #endif
13073 /* We use char because int might match the return type of a gcc2
13074 builtin and then its argument prototype would still apply. */
13075 char $ac_func ();
13076 /* The GNU C library defines this for functions which it implements
13077 to always fail with ENOSYS. Some functions are actually named
13078 something starting with __ and the normal name is an alias. */
13079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13080 choke me
13081 #else
13082 char (*f) () = $ac_func;
13083 #endif
13084 #ifdef __cplusplus
13086 #endif
13089 main ()
13091 return f != $ac_func;
13093 return 0;
13095 _ACEOF
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13098 (eval $ac_link) 2>conftest.er1
13099 ac_status=$?
13100 grep -v '^ *+' conftest.er1 >conftest.err
13101 rm -f conftest.er1
13102 cat conftest.err >&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try='test -z "$ac_c_werror_flag"
13106 || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13109 ac_status=$?
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try='test -s conftest$ac_exeext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 eval "$as_ac_var=yes"
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13123 eval "$as_ac_var=no"
13125 rm -f conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13130 if test `eval echo '${'$as_ac_var'}'` = yes; then
13131 cat >>confdefs.h <<_ACEOF
13132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13133 _ACEOF
13136 done
13143 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13144 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13145 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13146 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13152 ac_ext=cc
13153 ac_cpp='$CXXCPP $CPPFLAGS'
13154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 #include <math.h>
13165 #ifdef HAVE_IEEEFP_H
13166 #include <ieeefp.h>
13167 #endif
13170 main ()
13172 fabsf(0);
13174 return 0;
13176 _ACEOF
13177 rm -f conftest.$ac_objext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>conftest.er1
13180 ac_status=$?
13181 grep -v '^ *+' conftest.er1 >conftest.err
13182 rm -f conftest.er1
13183 cat conftest.err >&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try='test -z "$ac_cxx_werror_flag"
13187 || test ! -s conftest.err'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13190 ac_status=$?
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; } &&
13193 { ac_try='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13196 ac_status=$?
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 glibcxx_cv_func_fabsf_use=yes
13200 else
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.$ac_ext >&5
13204 glibcxx_cv_func_fabsf_use=no
13206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13207 ac_ext=c
13208 ac_cpp='$CPP $CPPFLAGS'
13209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13218 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13220 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13222 for ac_func in fabsf
13224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13225 echo "$as_me:$LINENO: checking for $ac_func" >&5
13226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13227 if eval "test \"\${$as_ac_var+set}\" = set"; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 else
13230 if test x$gcc_no_link = xyes; then
13231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13233 { (exit 1); exit 1; }; }
13235 cat >conftest.$ac_ext <<_ACEOF
13236 /* confdefs.h. */
13237 _ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13243 #define $ac_func innocuous_$ac_func
13245 /* System header to define __stub macros and hopefully few prototypes,
13246 which can conflict with char $ac_func (); below.
13247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13248 <limits.h> exists even on freestanding compilers. */
13250 #ifdef __STDC__
13251 # include <limits.h>
13252 #else
13253 # include <assert.h>
13254 #endif
13256 #undef $ac_func
13258 /* Override any gcc2 internal prototype to avoid an error. */
13259 #ifdef __cplusplus
13260 extern "C"
13262 #endif
13263 /* We use char because int might match the return type of a gcc2
13264 builtin and then its argument prototype would still apply. */
13265 char $ac_func ();
13266 /* The GNU C library defines this for functions which it implements
13267 to always fail with ENOSYS. Some functions are actually named
13268 something starting with __ and the normal name is an alias. */
13269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13270 choke me
13271 #else
13272 char (*f) () = $ac_func;
13273 #endif
13274 #ifdef __cplusplus
13276 #endif
13279 main ()
13281 return f != $ac_func;
13283 return 0;
13285 _ACEOF
13286 rm -f conftest.$ac_objext conftest$ac_exeext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13288 (eval $ac_link) 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -z "$ac_c_werror_flag"
13296 || test ! -s conftest.err'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13299 ac_status=$?
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; } &&
13302 { ac_try='test -s conftest$ac_exeext'
13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13304 (eval $ac_try) 2>&5
13305 ac_status=$?
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; }; then
13308 eval "$as_ac_var=yes"
13309 else
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13313 eval "$as_ac_var=no"
13315 rm -f conftest.err conftest.$ac_objext \
13316 conftest$ac_exeext conftest.$ac_ext
13318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13320 if test `eval echo '${'$as_ac_var'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13323 _ACEOF
13326 done
13328 else
13330 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13331 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13332 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13333 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 else
13339 ac_ext=cc
13340 ac_cpp='$CXXCPP $CPPFLAGS'
13341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #include <math.h>
13352 #ifdef HAVE_IEEEFP_H
13353 #include <ieeefp.h>
13354 #endif
13357 main ()
13359 _fabsf(0);
13361 return 0;
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_cxx_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 glibcxx_cv_func__fabsf_use=yes
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13391 glibcxx_cv_func__fabsf_use=no
13393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13394 ac_ext=c
13395 ac_cpp='$CPP $CPPFLAGS'
13396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13405 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13407 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13409 for ac_func in _fabsf
13411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13412 echo "$as_me:$LINENO: checking for $ac_func" >&5
13413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13414 if eval "test \"\${$as_ac_var+set}\" = set"; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417 if test x$gcc_no_link = xyes; then
13418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13420 { (exit 1); exit 1; }; }
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13430 #define $ac_func innocuous_$ac_func
13432 /* System header to define __stub macros and hopefully few prototypes,
13433 which can conflict with char $ac_func (); below.
13434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13435 <limits.h> exists even on freestanding compilers. */
13437 #ifdef __STDC__
13438 # include <limits.h>
13439 #else
13440 # include <assert.h>
13441 #endif
13443 #undef $ac_func
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 #ifdef __cplusplus
13447 extern "C"
13449 #endif
13450 /* We use char because int might match the return type of a gcc2
13451 builtin and then its argument prototype would still apply. */
13452 char $ac_func ();
13453 /* The GNU C library defines this for functions which it implements
13454 to always fail with ENOSYS. Some functions are actually named
13455 something starting with __ and the normal name is an alias. */
13456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13457 choke me
13458 #else
13459 char (*f) () = $ac_func;
13460 #endif
13461 #ifdef __cplusplus
13463 #endif
13466 main ()
13468 return f != $ac_func;
13470 return 0;
13472 _ACEOF
13473 rm -f conftest.$ac_objext conftest$ac_exeext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13475 (eval $ac_link) 2>conftest.er1
13476 ac_status=$?
13477 grep -v '^ *+' conftest.er1 >conftest.err
13478 rm -f conftest.er1
13479 cat conftest.err >&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -z "$ac_c_werror_flag"
13483 || test ! -s conftest.err'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; } &&
13489 { ac_try='test -s conftest$ac_exeext'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13492 ac_status=$?
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13495 eval "$as_ac_var=yes"
13496 else
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13500 eval "$as_ac_var=no"
13502 rm -f conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13507 if test `eval echo '${'$as_ac_var'}'` = yes; then
13508 cat >>confdefs.h <<_ACEOF
13509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13510 _ACEOF
13513 done
13520 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13521 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13522 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13523 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 else
13529 ac_ext=cc
13530 ac_cpp='$CXXCPP $CPPFLAGS'
13531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #include <math.h>
13543 main ()
13545 fmodf(0, 0);
13547 return 0;
13549 _ACEOF
13550 rm -f conftest.$ac_objext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13552 (eval $ac_compile) 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_cxx_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try='test -s conftest.$ac_objext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572 glibcxx_cv_func_fmodf_use=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13577 glibcxx_cv_func_fmodf_use=no
13579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13580 ac_ext=c
13581 ac_cpp='$CPP $CPPFLAGS'
13582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13591 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13595 for ac_func in fmodf
13597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13598 echo "$as_me:$LINENO: checking for $ac_func" >&5
13599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13600 if eval "test \"\${$as_ac_var+set}\" = set"; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 if test x$gcc_no_link = xyes; then
13604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13606 { (exit 1); exit 1; }; }
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13616 #define $ac_func innocuous_$ac_func
13618 /* System header to define __stub macros and hopefully few prototypes,
13619 which can conflict with char $ac_func (); below.
13620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13621 <limits.h> exists even on freestanding compilers. */
13623 #ifdef __STDC__
13624 # include <limits.h>
13625 #else
13626 # include <assert.h>
13627 #endif
13629 #undef $ac_func
13631 /* Override any gcc2 internal prototype to avoid an error. */
13632 #ifdef __cplusplus
13633 extern "C"
13635 #endif
13636 /* We use char because int might match the return type of a gcc2
13637 builtin and then its argument prototype would still apply. */
13638 char $ac_func ();
13639 /* The GNU C library defines this for functions which it implements
13640 to always fail with ENOSYS. Some functions are actually named
13641 something starting with __ and the normal name is an alias. */
13642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13643 choke me
13644 #else
13645 char (*f) () = $ac_func;
13646 #endif
13647 #ifdef __cplusplus
13649 #endif
13652 main ()
13654 return f != $ac_func;
13656 return 0;
13658 _ACEOF
13659 rm -f conftest.$ac_objext conftest$ac_exeext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13661 (eval $ac_link) 2>conftest.er1
13662 ac_status=$?
13663 grep -v '^ *+' conftest.er1 >conftest.err
13664 rm -f conftest.er1
13665 cat conftest.err >&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try='test -z "$ac_c_werror_flag"
13669 || test ! -s conftest.err'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; } &&
13675 { ac_try='test -s conftest$ac_exeext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 eval "$as_ac_var=yes"
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13686 eval "$as_ac_var=no"
13688 rm -f conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13693 if test `eval echo '${'$as_ac_var'}'` = yes; then
13694 cat >>confdefs.h <<_ACEOF
13695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13696 _ACEOF
13699 done
13701 else
13703 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13704 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 else
13712 ac_ext=cc
13713 ac_cpp='$CXXCPP $CPPFLAGS'
13714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <math.h>
13726 main ()
13728 _fmodf(0, 0);
13730 return 0;
13732 _ACEOF
13733 rm -f conftest.$ac_objext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13735 (eval $ac_compile) 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -z "$ac_cxx_werror_flag"
13743 || test ! -s conftest.err'
13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745 (eval $ac_try) 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try='test -s conftest.$ac_objext'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; }; then
13755 glibcxx_cv_func__fmodf_use=yes
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13760 glibcxx_cv_func__fmodf_use=no
13762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13763 ac_ext=c
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13773 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13774 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13776 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13778 for ac_func in _fmodf
13780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_func" >&5
13782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_var+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 if test x$gcc_no_link = xyes; then
13787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13789 { (exit 1); exit 1; }; }
13791 cat >conftest.$ac_ext <<_ACEOF
13792 /* confdefs.h. */
13793 _ACEOF
13794 cat confdefs.h >>conftest.$ac_ext
13795 cat >>conftest.$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13799 #define $ac_func innocuous_$ac_func
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char $ac_func (); below.
13803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13804 <limits.h> exists even on freestanding compilers. */
13806 #ifdef __STDC__
13807 # include <limits.h>
13808 #else
13809 # include <assert.h>
13810 #endif
13812 #undef $ac_func
13814 /* Override any gcc2 internal prototype to avoid an error. */
13815 #ifdef __cplusplus
13816 extern "C"
13818 #endif
13819 /* We use char because int might match the return type of a gcc2
13820 builtin and then its argument prototype would still apply. */
13821 char $ac_func ();
13822 /* The GNU C library defines this for functions which it implements
13823 to always fail with ENOSYS. Some functions are actually named
13824 something starting with __ and the normal name is an alias. */
13825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13826 choke me
13827 #else
13828 char (*f) () = $ac_func;
13829 #endif
13830 #ifdef __cplusplus
13832 #endif
13835 main ()
13837 return f != $ac_func;
13839 return 0;
13841 _ACEOF
13842 rm -f conftest.$ac_objext conftest$ac_exeext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13844 (eval $ac_link) 2>conftest.er1
13845 ac_status=$?
13846 grep -v '^ *+' conftest.er1 >conftest.err
13847 rm -f conftest.er1
13848 cat conftest.err >&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try='test -z "$ac_c_werror_flag"
13852 || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try='test -s conftest$ac_exeext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13861 ac_status=$?
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 eval "$as_ac_var=yes"
13865 else
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13869 eval "$as_ac_var=no"
13871 rm -f conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13876 if test `eval echo '${'$as_ac_var'}'` = yes; then
13877 cat >>confdefs.h <<_ACEOF
13878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13879 _ACEOF
13882 done
13889 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13890 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13891 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13892 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13898 ac_ext=cc
13899 ac_cpp='$CXXCPP $CPPFLAGS'
13900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13904 cat >conftest.$ac_ext <<_ACEOF
13905 /* confdefs.h. */
13906 _ACEOF
13907 cat confdefs.h >>conftest.$ac_ext
13908 cat >>conftest.$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13910 #include <math.h>
13912 main ()
13914 frexpf(0, 0);
13916 return 0;
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_cxx_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 glibcxx_cv_func_frexpf_use=yes
13942 else
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13946 glibcxx_cv_func_frexpf_use=no
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949 ac_ext=c
13950 ac_cpp='$CPP $CPPFLAGS'
13951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13960 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13962 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13964 for ac_func in frexpf
13966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 if test x$gcc_no_link = xyes; then
13973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975 { (exit 1); exit 1; }; }
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13985 #define $ac_func innocuous_$ac_func
13987 /* System header to define __stub macros and hopefully few prototypes,
13988 which can conflict with char $ac_func (); below.
13989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13990 <limits.h> exists even on freestanding compilers. */
13992 #ifdef __STDC__
13993 # include <limits.h>
13994 #else
13995 # include <assert.h>
13996 #endif
13998 #undef $ac_func
14000 /* Override any gcc2 internal prototype to avoid an error. */
14001 #ifdef __cplusplus
14002 extern "C"
14004 #endif
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char $ac_func ();
14008 /* The GNU C library defines this for functions which it implements
14009 to always fail with ENOSYS. Some functions are actually named
14010 something starting with __ and the normal name is an alias. */
14011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 choke me
14013 #else
14014 char (*f) () = $ac_func;
14015 #endif
14016 #ifdef __cplusplus
14018 #endif
14021 main ()
14023 return f != $ac_func;
14025 return 0;
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 eval "$as_ac_var=yes"
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14055 eval "$as_ac_var=no"
14057 rm -f conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14068 done
14070 else
14072 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14073 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14074 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14075 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 else
14081 ac_ext=cc
14082 ac_cpp='$CXXCPP $CPPFLAGS'
14083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14087 cat >conftest.$ac_ext <<_ACEOF
14088 /* confdefs.h. */
14089 _ACEOF
14090 cat confdefs.h >>conftest.$ac_ext
14091 cat >>conftest.$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 #include <math.h>
14095 main ()
14097 _frexpf(0, 0);
14099 return 0;
14101 _ACEOF
14102 rm -f conftest.$ac_objext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14104 (eval $ac_compile) 2>conftest.er1
14105 ac_status=$?
14106 grep -v '^ *+' conftest.er1 >conftest.err
14107 rm -f conftest.er1
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_cxx_werror_flag"
14112 || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 glibcxx_cv_func__frexpf_use=yes
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 glibcxx_cv_func__frexpf_use=no
14131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14132 ac_ext=c
14133 ac_cpp='$CPP $CPPFLAGS'
14134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14143 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14145 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14147 for ac_func in _frexpf
14149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14150 echo "$as_me:$LINENO: checking for $ac_func" >&5
14151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14152 if eval "test \"\${$as_ac_var+set}\" = set"; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 if test x$gcc_no_link = xyes; then
14156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14158 { (exit 1); exit 1; }; }
14160 cat >conftest.$ac_ext <<_ACEOF
14161 /* confdefs.h. */
14162 _ACEOF
14163 cat confdefs.h >>conftest.$ac_ext
14164 cat >>conftest.$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14168 #define $ac_func innocuous_$ac_func
14170 /* System header to define __stub macros and hopefully few prototypes,
14171 which can conflict with char $ac_func (); below.
14172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14173 <limits.h> exists even on freestanding compilers. */
14175 #ifdef __STDC__
14176 # include <limits.h>
14177 #else
14178 # include <assert.h>
14179 #endif
14181 #undef $ac_func
14183 /* Override any gcc2 internal prototype to avoid an error. */
14184 #ifdef __cplusplus
14185 extern "C"
14187 #endif
14188 /* We use char because int might match the return type of a gcc2
14189 builtin and then its argument prototype would still apply. */
14190 char $ac_func ();
14191 /* The GNU C library defines this for functions which it implements
14192 to always fail with ENOSYS. Some functions are actually named
14193 something starting with __ and the normal name is an alias. */
14194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14195 choke me
14196 #else
14197 char (*f) () = $ac_func;
14198 #endif
14199 #ifdef __cplusplus
14201 #endif
14204 main ()
14206 return f != $ac_func;
14208 return 0;
14210 _ACEOF
14211 rm -f conftest.$ac_objext conftest$ac_exeext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14213 (eval $ac_link) 2>conftest.er1
14214 ac_status=$?
14215 grep -v '^ *+' conftest.er1 >conftest.err
14216 rm -f conftest.er1
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try='test -z "$ac_c_werror_flag"
14221 || test ! -s conftest.err'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try='test -s conftest$ac_exeext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14233 eval "$as_ac_var=yes"
14234 else
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14238 eval "$as_ac_var=no"
14240 rm -f conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14245 if test `eval echo '${'$as_ac_var'}'` = yes; then
14246 cat >>confdefs.h <<_ACEOF
14247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14248 _ACEOF
14251 done
14258 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14259 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14267 ac_ext=cc
14268 ac_cpp='$CXXCPP $CPPFLAGS'
14269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 #include <math.h>
14281 main ()
14283 hypotf(0, 0);
14285 return 0;
14287 _ACEOF
14288 rm -f conftest.$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -z "$ac_cxx_werror_flag"
14298 || test ! -s conftest.err'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } &&
14304 { ac_try='test -s conftest.$ac_objext'
14305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306 (eval $ac_try) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 glibcxx_cv_func_hypotf_use=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 glibcxx_cv_func_hypotf_use=no
14317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14318 ac_ext=c
14319 ac_cpp='$CPP $CPPFLAGS'
14320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14329 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14331 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14333 for ac_func in hypotf
14335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14336 echo "$as_me:$LINENO: checking for $ac_func" >&5
14337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_var+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 if test x$gcc_no_link = xyes; then
14342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14344 { (exit 1); exit 1; }; }
14346 cat >conftest.$ac_ext <<_ACEOF
14347 /* confdefs.h. */
14348 _ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14354 #define $ac_func innocuous_$ac_func
14356 /* System header to define __stub macros and hopefully few prototypes,
14357 which can conflict with char $ac_func (); below.
14358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14359 <limits.h> exists even on freestanding compilers. */
14361 #ifdef __STDC__
14362 # include <limits.h>
14363 #else
14364 # include <assert.h>
14365 #endif
14367 #undef $ac_func
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 #ifdef __cplusplus
14371 extern "C"
14373 #endif
14374 /* We use char because int might match the return type of a gcc2
14375 builtin and then its argument prototype would still apply. */
14376 char $ac_func ();
14377 /* The GNU C library defines this for functions which it implements
14378 to always fail with ENOSYS. Some functions are actually named
14379 something starting with __ and the normal name is an alias. */
14380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14381 choke me
14382 #else
14383 char (*f) () = $ac_func;
14384 #endif
14385 #ifdef __cplusplus
14387 #endif
14390 main ()
14392 return f != $ac_func;
14394 return 0;
14396 _ACEOF
14397 rm -f conftest.$ac_objext conftest$ac_exeext
14398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14399 (eval $ac_link) 2>conftest.er1
14400 ac_status=$?
14401 grep -v '^ *+' conftest.er1 >conftest.err
14402 rm -f conftest.er1
14403 cat conftest.err >&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try='test -z "$ac_c_werror_flag"
14407 || test ! -s conftest.err'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; } &&
14413 { ac_try='test -s conftest$ac_exeext'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14416 ac_status=$?
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; }; then
14419 eval "$as_ac_var=yes"
14420 else
14421 echo "$as_me: failed program was:" >&5
14422 sed 's/^/| /' conftest.$ac_ext >&5
14424 eval "$as_ac_var=no"
14426 rm -f conftest.err conftest.$ac_objext \
14427 conftest$ac_exeext conftest.$ac_ext
14429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14431 if test `eval echo '${'$as_ac_var'}'` = yes; then
14432 cat >>confdefs.h <<_ACEOF
14433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 _ACEOF
14437 done
14439 else
14441 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14442 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14443 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14444 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 else
14450 ac_ext=cc
14451 ac_cpp='$CXXCPP $CPPFLAGS'
14452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 #include <math.h>
14464 main ()
14466 _hypotf(0, 0);
14468 return 0;
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_cxx_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 glibcxx_cv_func__hypotf_use=yes
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 glibcxx_cv_func__hypotf_use=no
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 ac_ext=c
14502 ac_cpp='$CPP $CPPFLAGS'
14503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14512 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14514 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14516 for ac_func in _hypotf
14518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14519 echo "$as_me:$LINENO: checking for $ac_func" >&5
14520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14521 if eval "test \"\${$as_ac_var+set}\" = set"; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 if test x$gcc_no_link = xyes; then
14525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14527 { (exit 1); exit 1; }; }
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14537 #define $ac_func innocuous_$ac_func
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func (); below.
14541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14542 <limits.h> exists even on freestanding compilers. */
14544 #ifdef __STDC__
14545 # include <limits.h>
14546 #else
14547 # include <assert.h>
14548 #endif
14550 #undef $ac_func
14552 /* Override any gcc2 internal prototype to avoid an error. */
14553 #ifdef __cplusplus
14554 extern "C"
14556 #endif
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14559 char $ac_func ();
14560 /* The GNU C library defines this for functions which it implements
14561 to always fail with ENOSYS. Some functions are actually named
14562 something starting with __ and the normal name is an alias. */
14563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14564 choke me
14565 #else
14566 char (*f) () = $ac_func;
14567 #endif
14568 #ifdef __cplusplus
14570 #endif
14573 main ()
14575 return f != $ac_func;
14577 return 0;
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag"
14590 || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try='test -s conftest$ac_exeext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14599 ac_status=$?
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 eval "$as_ac_var=yes"
14603 else
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14607 eval "$as_ac_var=no"
14609 rm -f conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14614 if test `eval echo '${'$as_ac_var'}'` = yes; then
14615 cat >>confdefs.h <<_ACEOF
14616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14617 _ACEOF
14620 done
14627 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14628 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14629 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14630 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14642 cat >conftest.$ac_ext <<_ACEOF
14643 /* confdefs.h. */
14644 _ACEOF
14645 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 #include <math.h>
14650 main ()
14652 ldexpf(0, 0);
14654 return 0;
14656 _ACEOF
14657 rm -f conftest.$ac_objext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14659 (eval $ac_compile) 2>conftest.er1
14660 ac_status=$?
14661 grep -v '^ *+' conftest.er1 >conftest.err
14662 rm -f conftest.er1
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try='test -z "$ac_cxx_werror_flag"
14667 || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 glibcxx_cv_func_ldexpf_use=yes
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 glibcxx_cv_func_ldexpf_use=no
14686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14687 ac_ext=c
14688 ac_cpp='$CPP $CPPFLAGS'
14689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14698 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14700 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14702 for ac_func in ldexpf
14704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14705 echo "$as_me:$LINENO: checking for $ac_func" >&5
14706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14707 if eval "test \"\${$as_ac_var+set}\" = set"; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 if test x$gcc_no_link = xyes; then
14711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14713 { (exit 1); exit 1; }; }
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14723 #define $ac_func innocuous_$ac_func
14725 /* System header to define __stub macros and hopefully few prototypes,
14726 which can conflict with char $ac_func (); below.
14727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14728 <limits.h> exists even on freestanding compilers. */
14730 #ifdef __STDC__
14731 # include <limits.h>
14732 #else
14733 # include <assert.h>
14734 #endif
14736 #undef $ac_func
14738 /* Override any gcc2 internal prototype to avoid an error. */
14739 #ifdef __cplusplus
14740 extern "C"
14742 #endif
14743 /* We use char because int might match the return type of a gcc2
14744 builtin and then its argument prototype would still apply. */
14745 char $ac_func ();
14746 /* The GNU C library defines this for functions which it implements
14747 to always fail with ENOSYS. Some functions are actually named
14748 something starting with __ and the normal name is an alias. */
14749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14750 choke me
14751 #else
14752 char (*f) () = $ac_func;
14753 #endif
14754 #ifdef __cplusplus
14756 #endif
14759 main ()
14761 return f != $ac_func;
14763 return 0;
14765 _ACEOF
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14768 (eval $ac_link) 2>conftest.er1
14769 ac_status=$?
14770 grep -v '^ *+' conftest.er1 >conftest.err
14771 rm -f conftest.er1
14772 cat conftest.err >&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14779 ac_status=$?
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try='test -s conftest$ac_exeext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 eval "$as_ac_var=yes"
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14793 eval "$as_ac_var=no"
14795 rm -f conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14800 if test `eval echo '${'$as_ac_var'}'` = yes; then
14801 cat >>confdefs.h <<_ACEOF
14802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14803 _ACEOF
14806 done
14808 else
14810 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14811 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14812 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14813 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14819 ac_ext=cc
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <math.h>
14833 main ()
14835 _ldexpf(0, 0);
14837 return 0;
14839 _ACEOF
14840 rm -f conftest.$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try='test -z "$ac_cxx_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 glibcxx_cv_func__ldexpf_use=yes
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14867 glibcxx_cv_func__ldexpf_use=no
14869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14870 ac_ext=c
14871 ac_cpp='$CPP $CPPFLAGS'
14872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14881 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14883 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14885 for ac_func in _ldexpf
14887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14888 echo "$as_me:$LINENO: checking for $ac_func" >&5
14889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_var+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 if test x$gcc_no_link = xyes; then
14894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14896 { (exit 1); exit 1; }; }
14898 cat >conftest.$ac_ext <<_ACEOF
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14906 #define $ac_func innocuous_$ac_func
14908 /* System header to define __stub macros and hopefully few prototypes,
14909 which can conflict with char $ac_func (); below.
14910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14911 <limits.h> exists even on freestanding compilers. */
14913 #ifdef __STDC__
14914 # include <limits.h>
14915 #else
14916 # include <assert.h>
14917 #endif
14919 #undef $ac_func
14921 /* Override any gcc2 internal prototype to avoid an error. */
14922 #ifdef __cplusplus
14923 extern "C"
14925 #endif
14926 /* We use char because int might match the return type of a gcc2
14927 builtin and then its argument prototype would still apply. */
14928 char $ac_func ();
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14933 choke me
14934 #else
14935 char (*f) () = $ac_func;
14936 #endif
14937 #ifdef __cplusplus
14939 #endif
14942 main ()
14944 return f != $ac_func;
14946 return 0;
14948 _ACEOF
14949 rm -f conftest.$ac_objext conftest$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 eval "$as_ac_var=yes"
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 eval "$as_ac_var=no"
14978 rm -f conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14983 if test `eval echo '${'$as_ac_var'}'` = yes; then
14984 cat >>confdefs.h <<_ACEOF
14985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14986 _ACEOF
14989 done
14996 echo "$as_me:$LINENO: checking for logf declaration" >&5
14997 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
14998 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14999 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15005 ac_ext=cc
15006 ac_cpp='$CXXCPP $CPPFLAGS'
15007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15011 cat >conftest.$ac_ext <<_ACEOF
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 #include <math.h>
15018 #ifdef HAVE_IEEEFP_H
15019 #include <ieeefp.h>
15020 #endif
15023 main ()
15025 logf(0);
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_cxx_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 glibcxx_cv_func_logf_use=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 glibcxx_cv_func_logf_use=no
15059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15071 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15073 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15075 for ac_func in logf
15077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 echo "$as_me:$LINENO: checking for $ac_func" >&5
15079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_var+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test x$gcc_no_link = xyes; then
15084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15086 { (exit 1); exit 1; }; }
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15096 #define $ac_func innocuous_$ac_func
15098 /* System header to define __stub macros and hopefully few prototypes,
15099 which can conflict with char $ac_func (); below.
15100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15101 <limits.h> exists even on freestanding compilers. */
15103 #ifdef __STDC__
15104 # include <limits.h>
15105 #else
15106 # include <assert.h>
15107 #endif
15109 #undef $ac_func
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 #ifdef __cplusplus
15113 extern "C"
15115 #endif
15116 /* We use char because int might match the return type of a gcc2
15117 builtin and then its argument prototype would still apply. */
15118 char $ac_func ();
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15123 choke me
15124 #else
15125 char (*f) () = $ac_func;
15126 #endif
15127 #ifdef __cplusplus
15129 #endif
15132 main ()
15134 return f != $ac_func;
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_c_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 eval "$as_ac_var=yes"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 eval "$as_ac_var=no"
15168 rm -f conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15173 if test `eval echo '${'$as_ac_var'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15179 done
15181 else
15183 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15184 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15185 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15186 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15192 ac_ext=cc
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <math.h>
15205 #ifdef HAVE_IEEEFP_H
15206 #include <ieeefp.h>
15207 #endif
15210 main ()
15212 _logf(0);
15214 return 0;
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219 (eval $ac_compile) 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try='test -z "$ac_cxx_werror_flag"
15227 || test ! -s conftest.err'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; } &&
15233 { ac_try='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 glibcxx_cv_func__logf_use=yes
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15244 glibcxx_cv_func__logf_use=no
15246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15247 ac_ext=c
15248 ac_cpp='$CPP $CPPFLAGS'
15249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15258 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15260 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15262 for ac_func in _logf
15264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15265 echo "$as_me:$LINENO: checking for $ac_func" >&5
15266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15267 if eval "test \"\${$as_ac_var+set}\" = set"; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 if test x$gcc_no_link = xyes; then
15271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15273 { (exit 1); exit 1; }; }
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15283 #define $ac_func innocuous_$ac_func
15285 /* System header to define __stub macros and hopefully few prototypes,
15286 which can conflict with char $ac_func (); below.
15287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15288 <limits.h> exists even on freestanding compilers. */
15290 #ifdef __STDC__
15291 # include <limits.h>
15292 #else
15293 # include <assert.h>
15294 #endif
15296 #undef $ac_func
15298 /* Override any gcc2 internal prototype to avoid an error. */
15299 #ifdef __cplusplus
15300 extern "C"
15302 #endif
15303 /* We use char because int might match the return type of a gcc2
15304 builtin and then its argument prototype would still apply. */
15305 char $ac_func ();
15306 /* The GNU C library defines this for functions which it implements
15307 to always fail with ENOSYS. Some functions are actually named
15308 something starting with __ and the normal name is an alias. */
15309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15310 choke me
15311 #else
15312 char (*f) () = $ac_func;
15313 #endif
15314 #ifdef __cplusplus
15316 #endif
15319 main ()
15321 return f != $ac_func;
15323 return 0;
15325 _ACEOF
15326 rm -f conftest.$ac_objext conftest$ac_exeext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15328 (eval $ac_link) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_c_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 eval "$as_ac_var=yes"
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 eval "$as_ac_var=no"
15355 rm -f conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15360 if test `eval echo '${'$as_ac_var'}'` = yes; then
15361 cat >>confdefs.h <<_ACEOF
15362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15363 _ACEOF
15366 done
15373 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15374 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15375 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15376 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15382 ac_ext=cc
15383 ac_cpp='$CXXCPP $CPPFLAGS'
15384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15388 cat >conftest.$ac_ext <<_ACEOF
15389 /* confdefs.h. */
15390 _ACEOF
15391 cat confdefs.h >>conftest.$ac_ext
15392 cat >>conftest.$ac_ext <<_ACEOF
15393 /* end confdefs.h. */
15394 #include <math.h>
15395 #ifdef HAVE_IEEEFP_H
15396 #include <ieeefp.h>
15397 #endif
15400 main ()
15402 log10f(0);
15404 return 0;
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15410 ac_status=$?
15411 grep -v '^ *+' conftest.er1 >conftest.err
15412 rm -f conftest.er1
15413 cat conftest.err >&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try='test -z "$ac_cxx_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 glibcxx_cv_func_log10f_use=yes
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 glibcxx_cv_func_log10f_use=no
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15448 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15450 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15452 for ac_func in log10f
15454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 echo "$as_me:$LINENO: checking for $ac_func" >&5
15456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15457 if eval "test \"\${$as_ac_var+set}\" = set"; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 if test x$gcc_no_link = xyes; then
15461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463 { (exit 1); exit 1; }; }
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15473 #define $ac_func innocuous_$ac_func
15475 /* System header to define __stub macros and hopefully few prototypes,
15476 which can conflict with char $ac_func (); below.
15477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15478 <limits.h> exists even on freestanding compilers. */
15480 #ifdef __STDC__
15481 # include <limits.h>
15482 #else
15483 # include <assert.h>
15484 #endif
15486 #undef $ac_func
15488 /* Override any gcc2 internal prototype to avoid an error. */
15489 #ifdef __cplusplus
15490 extern "C"
15492 #endif
15493 /* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15495 char $ac_func ();
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 char (*f) () = $ac_func;
15503 #endif
15504 #ifdef __cplusplus
15506 #endif
15509 main ()
15511 return f != $ac_func;
15513 return 0;
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try='test -z "$ac_c_werror_flag"
15526 || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 eval "$as_ac_var=yes"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 eval "$as_ac_var=no"
15545 rm -f conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15550 if test `eval echo '${'$as_ac_var'}'` = yes; then
15551 cat >>confdefs.h <<_ACEOF
15552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 _ACEOF
15556 done
15558 else
15560 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15561 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15562 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15563 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15569 ac_ext=cc
15570 ac_cpp='$CXXCPP $CPPFLAGS'
15571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 #include <math.h>
15582 #ifdef HAVE_IEEEFP_H
15583 #include <ieeefp.h>
15584 #endif
15587 main ()
15589 _log10f(0);
15591 return 0;
15593 _ACEOF
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try='test -z "$ac_cxx_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 glibcxx_cv_func__log10f_use=yes
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 glibcxx_cv_func__log10f_use=no
15623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15635 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15637 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15639 for ac_func in _log10f
15641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 echo "$as_me:$LINENO: checking for $ac_func" >&5
15643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15644 if eval "test \"\${$as_ac_var+set}\" = set"; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 if test x$gcc_no_link = xyes; then
15648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15650 { (exit 1); exit 1; }; }
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15660 #define $ac_func innocuous_$ac_func
15662 /* System header to define __stub macros and hopefully few prototypes,
15663 which can conflict with char $ac_func (); below.
15664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15665 <limits.h> exists even on freestanding compilers. */
15667 #ifdef __STDC__
15668 # include <limits.h>
15669 #else
15670 # include <assert.h>
15671 #endif
15673 #undef $ac_func
15675 /* Override any gcc2 internal prototype to avoid an error. */
15676 #ifdef __cplusplus
15677 extern "C"
15679 #endif
15680 /* We use char because int might match the return type of a gcc2
15681 builtin and then its argument prototype would still apply. */
15682 char $ac_func ();
15683 /* The GNU C library defines this for functions which it implements
15684 to always fail with ENOSYS. Some functions are actually named
15685 something starting with __ and the normal name is an alias. */
15686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15687 choke me
15688 #else
15689 char (*f) () = $ac_func;
15690 #endif
15691 #ifdef __cplusplus
15693 #endif
15696 main ()
15698 return f != $ac_func;
15700 return 0;
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15706 ac_status=$?
15707 grep -v '^ *+' conftest.er1 >conftest.err
15708 rm -f conftest.er1
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15716 ac_status=$?
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try='test -s conftest$ac_exeext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 eval "$as_ac_var=yes"
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 eval "$as_ac_var=no"
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15737 if test `eval echo '${'$as_ac_var'}'` = yes; then
15738 cat >>confdefs.h <<_ACEOF
15739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15740 _ACEOF
15743 done
15750 echo "$as_me:$LINENO: checking for modff declaration" >&5
15751 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15752 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15753 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15759 ac_ext=cc
15760 ac_cpp='$CXXCPP $CPPFLAGS'
15761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 #include <math.h>
15773 main ()
15775 modff(0, 0);
15777 return 0;
15779 _ACEOF
15780 rm -f conftest.$ac_objext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15782 (eval $ac_compile) 2>conftest.er1
15783 ac_status=$?
15784 grep -v '^ *+' conftest.er1 >conftest.err
15785 rm -f conftest.er1
15786 cat conftest.err >&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try='test -z "$ac_cxx_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest.$ac_objext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 glibcxx_cv_func_modff_use=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15807 glibcxx_cv_func_modff_use=no
15809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15810 ac_ext=c
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15821 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15823 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15825 for ac_func in modff
15827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15828 echo "$as_me:$LINENO: checking for $ac_func" >&5
15829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15830 if eval "test \"\${$as_ac_var+set}\" = set"; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 if test x$gcc_no_link = xyes; then
15834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836 { (exit 1); exit 1; }; }
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15846 #define $ac_func innocuous_$ac_func
15848 /* System header to define __stub macros and hopefully few prototypes,
15849 which can conflict with char $ac_func (); below.
15850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15851 <limits.h> exists even on freestanding compilers. */
15853 #ifdef __STDC__
15854 # include <limits.h>
15855 #else
15856 # include <assert.h>
15857 #endif
15859 #undef $ac_func
15861 /* Override any gcc2 internal prototype to avoid an error. */
15862 #ifdef __cplusplus
15863 extern "C"
15865 #endif
15866 /* We use char because int might match the return type of a gcc2
15867 builtin and then its argument prototype would still apply. */
15868 char $ac_func ();
15869 /* The GNU C library defines this for functions which it implements
15870 to always fail with ENOSYS. Some functions are actually named
15871 something starting with __ and the normal name is an alias. */
15872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15873 choke me
15874 #else
15875 char (*f) () = $ac_func;
15876 #endif
15877 #ifdef __cplusplus
15879 #endif
15882 main ()
15884 return f != $ac_func;
15886 return 0;
15888 _ACEOF
15889 rm -f conftest.$ac_objext conftest$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag"
15899 || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest$ac_exeext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 eval "$as_ac_var=yes"
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15916 eval "$as_ac_var=no"
15918 rm -f conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15923 if test `eval echo '${'$as_ac_var'}'` = yes; then
15924 cat >>confdefs.h <<_ACEOF
15925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15926 _ACEOF
15929 done
15931 else
15933 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15934 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15935 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15936 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 else
15942 ac_ext=cc
15943 ac_cpp='$CXXCPP $CPPFLAGS'
15944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <math.h>
15956 main ()
15958 _modff(0, 0);
15960 return 0;
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_cxx_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 glibcxx_cv_func__modff_use=yes
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15990 glibcxx_cv_func__modff_use=no
15992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16004 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16006 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16008 for ac_func in _modff
16010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16011 echo "$as_me:$LINENO: checking for $ac_func" >&5
16012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16013 if eval "test \"\${$as_ac_var+set}\" = set"; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 if test x$gcc_no_link = xyes; then
16017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16019 { (exit 1); exit 1; }; }
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16029 #define $ac_func innocuous_$ac_func
16031 /* System header to define __stub macros and hopefully few prototypes,
16032 which can conflict with char $ac_func (); below.
16033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16034 <limits.h> exists even on freestanding compilers. */
16036 #ifdef __STDC__
16037 # include <limits.h>
16038 #else
16039 # include <assert.h>
16040 #endif
16042 #undef $ac_func
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 #ifdef __cplusplus
16046 extern "C"
16048 #endif
16049 /* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16051 char $ac_func ();
16052 /* The GNU C library defines this for functions which it implements
16053 to always fail with ENOSYS. Some functions are actually named
16054 something starting with __ and the normal name is an alias. */
16055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 choke me
16057 #else
16058 char (*f) () = $ac_func;
16059 #endif
16060 #ifdef __cplusplus
16062 #endif
16065 main ()
16067 return f != $ac_func;
16069 return 0;
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16074 (eval $ac_link) 2>conftest.er1
16075 ac_status=$?
16076 grep -v '^ *+' conftest.er1 >conftest.err
16077 rm -f conftest.er1
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag"
16082 || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest$ac_exeext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 eval "$as_ac_var=yes"
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 eval "$as_ac_var=no"
16101 rm -f conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16106 if test `eval echo '${'$as_ac_var'}'` = yes; then
16107 cat >>confdefs.h <<_ACEOF
16108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16109 _ACEOF
16112 done
16119 echo "$as_me:$LINENO: checking for modf declaration" >&5
16120 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16121 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16122 if test "${glibcxx_cv_func_modf_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>
16142 main ()
16144 modf(0, 0);
16146 return 0;
16148 _ACEOF
16149 rm -f conftest.$ac_objext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16151 (eval $ac_compile) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_cxx_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 glibcxx_cv_func_modf_use=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 glibcxx_cv_func_modf_use=no
16178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16179 ac_ext=c
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16190 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16192 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16194 for ac_func in modf
16196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16197 echo "$as_me:$LINENO: checking for $ac_func" >&5
16198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16199 if eval "test \"\${$as_ac_var+set}\" = set"; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test x$gcc_no_link = xyes; then
16203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16205 { (exit 1); exit 1; }; }
16207 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */
16209 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16215 #define $ac_func innocuous_$ac_func
16217 /* System header to define __stub macros and hopefully few prototypes,
16218 which can conflict with char $ac_func (); below.
16219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 <limits.h> exists even on freestanding compilers. */
16222 #ifdef __STDC__
16223 # include <limits.h>
16224 #else
16225 # include <assert.h>
16226 #endif
16228 #undef $ac_func
16230 /* Override any gcc2 internal prototype to avoid an error. */
16231 #ifdef __cplusplus
16232 extern "C"
16234 #endif
16235 /* We use char because int might match the return type of a gcc2
16236 builtin and then its argument prototype would still apply. */
16237 char $ac_func ();
16238 /* The GNU C library defines this for functions which it implements
16239 to always fail with ENOSYS. Some functions are actually named
16240 something starting with __ and the normal name is an alias. */
16241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16242 choke me
16243 #else
16244 char (*f) () = $ac_func;
16245 #endif
16246 #ifdef __cplusplus
16248 #endif
16251 main ()
16253 return f != $ac_func;
16255 return 0;
16257 _ACEOF
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16260 (eval $ac_link) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest$ac_exeext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 eval "$as_ac_var=yes"
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 eval "$as_ac_var=no"
16287 rm -f conftest.err conftest.$ac_objext \
16288 conftest$ac_exeext conftest.$ac_ext
16290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16292 if test `eval echo '${'$as_ac_var'}'` = yes; then
16293 cat >>confdefs.h <<_ACEOF
16294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16295 _ACEOF
16298 done
16300 else
16302 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16303 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16304 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16305 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 else
16311 ac_ext=cc
16312 ac_cpp='$CXXCPP $CPPFLAGS'
16313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 #include <math.h>
16325 main ()
16327 _modf(0, 0);
16329 return 0;
16331 _ACEOF
16332 rm -f conftest.$ac_objext
16333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16334 (eval $ac_compile) 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -z "$ac_cxx_werror_flag"
16342 || test ! -s conftest.err'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } &&
16348 { ac_try='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 glibcxx_cv_func__modf_use=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 glibcxx_cv_func__modf_use=no
16361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16362 ac_ext=c
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16373 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16375 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16377 for ac_func in _modf
16379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16380 echo "$as_me:$LINENO: checking for $ac_func" >&5
16381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16382 if eval "test \"\${$as_ac_var+set}\" = set"; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 if test x$gcc_no_link = xyes; then
16386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16388 { (exit 1); exit 1; }; }
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16398 #define $ac_func innocuous_$ac_func
16400 /* System header to define __stub macros and hopefully few prototypes,
16401 which can conflict with char $ac_func (); below.
16402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16403 <limits.h> exists even on freestanding compilers. */
16405 #ifdef __STDC__
16406 # include <limits.h>
16407 #else
16408 # include <assert.h>
16409 #endif
16411 #undef $ac_func
16413 /* Override any gcc2 internal prototype to avoid an error. */
16414 #ifdef __cplusplus
16415 extern "C"
16417 #endif
16418 /* We use char because int might match the return type of a gcc2
16419 builtin and then its argument prototype would still apply. */
16420 char $ac_func ();
16421 /* The GNU C library defines this for functions which it implements
16422 to always fail with ENOSYS. Some functions are actually named
16423 something starting with __ and the normal name is an alias. */
16424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16425 choke me
16426 #else
16427 char (*f) () = $ac_func;
16428 #endif
16429 #ifdef __cplusplus
16431 #endif
16434 main ()
16436 return f != $ac_func;
16438 return 0;
16440 _ACEOF
16441 rm -f conftest.$ac_objext conftest$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>conftest.er1
16444 ac_status=$?
16445 grep -v '^ *+' conftest.er1 >conftest.err
16446 rm -f conftest.er1
16447 cat conftest.err >&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try='test -z "$ac_c_werror_flag"
16451 || test ! -s conftest.err'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; } &&
16457 { ac_try='test -s conftest$ac_exeext'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; }; then
16463 eval "$as_ac_var=yes"
16464 else
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16468 eval "$as_ac_var=no"
16470 rm -f conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16475 if test `eval echo '${'$as_ac_var'}'` = yes; then
16476 cat >>confdefs.h <<_ACEOF
16477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16478 _ACEOF
16481 done
16488 echo "$as_me:$LINENO: checking for powf declaration" >&5
16489 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16490 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16491 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16497 ac_ext=cc
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <math.h>
16511 main ()
16513 powf(0, 0);
16515 return 0;
16517 _ACEOF
16518 rm -f conftest.$ac_objext
16519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16520 (eval $ac_compile) 2>conftest.er1
16521 ac_status=$?
16522 grep -v '^ *+' conftest.er1 >conftest.err
16523 rm -f conftest.er1
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } &&
16527 { ac_try='test -z "$ac_cxx_werror_flag"
16528 || test ! -s conftest.err'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try='test -s conftest.$ac_objext'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 glibcxx_cv_func_powf_use=yes
16541 else
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16545 glibcxx_cv_func_powf_use=no
16547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16548 ac_ext=c
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16559 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16561 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16563 for ac_func in powf
16565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16566 echo "$as_me:$LINENO: checking for $ac_func" >&5
16567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16568 if eval "test \"\${$as_ac_var+set}\" = set"; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571 if test x$gcc_no_link = xyes; then
16572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16574 { (exit 1); exit 1; }; }
16576 cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16584 #define $ac_func innocuous_$ac_func
16586 /* System header to define __stub macros and hopefully few prototypes,
16587 which can conflict with char $ac_func (); below.
16588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16589 <limits.h> exists even on freestanding compilers. */
16591 #ifdef __STDC__
16592 # include <limits.h>
16593 #else
16594 # include <assert.h>
16595 #endif
16597 #undef $ac_func
16599 /* Override any gcc2 internal prototype to avoid an error. */
16600 #ifdef __cplusplus
16601 extern "C"
16603 #endif
16604 /* We use char because int might match the return type of a gcc2
16605 builtin and then its argument prototype would still apply. */
16606 char $ac_func ();
16607 /* The GNU C library defines this for functions which it implements
16608 to always fail with ENOSYS. Some functions are actually named
16609 something starting with __ and the normal name is an alias. */
16610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16611 choke me
16612 #else
16613 char (*f) () = $ac_func;
16614 #endif
16615 #ifdef __cplusplus
16617 #endif
16620 main ()
16622 return f != $ac_func;
16624 return 0;
16626 _ACEOF
16627 rm -f conftest.$ac_objext conftest$ac_exeext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16629 (eval $ac_link) 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_c_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 eval "$as_ac_var=yes"
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 eval "$as_ac_var=no"
16656 rm -f conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16661 if test `eval echo '${'$as_ac_var'}'` = yes; then
16662 cat >>confdefs.h <<_ACEOF
16663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16664 _ACEOF
16667 done
16669 else
16671 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16672 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16673 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16674 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 else
16680 ac_ext=cc
16681 ac_cpp='$CXXCPP $CPPFLAGS'
16682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16686 cat >conftest.$ac_ext <<_ACEOF
16687 /* confdefs.h. */
16688 _ACEOF
16689 cat confdefs.h >>conftest.$ac_ext
16690 cat >>conftest.$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 #include <math.h>
16694 main ()
16696 _powf(0, 0);
16698 return 0;
16700 _ACEOF
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_cxx_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest.$ac_objext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 glibcxx_cv_func__powf_use=yes
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 glibcxx_cv_func__powf_use=no
16730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16731 ac_ext=c
16732 ac_cpp='$CPP $CPPFLAGS'
16733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16742 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16744 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16746 for ac_func in _powf
16748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16749 echo "$as_me:$LINENO: checking for $ac_func" >&5
16750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16751 if eval "test \"\${$as_ac_var+set}\" = set"; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 else
16754 if test x$gcc_no_link = xyes; then
16755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16757 { (exit 1); exit 1; }; }
16759 cat >conftest.$ac_ext <<_ACEOF
16760 /* confdefs.h. */
16761 _ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16767 #define $ac_func innocuous_$ac_func
16769 /* System header to define __stub macros and hopefully few prototypes,
16770 which can conflict with char $ac_func (); below.
16771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16772 <limits.h> exists even on freestanding compilers. */
16774 #ifdef __STDC__
16775 # include <limits.h>
16776 #else
16777 # include <assert.h>
16778 #endif
16780 #undef $ac_func
16782 /* Override any gcc2 internal prototype to avoid an error. */
16783 #ifdef __cplusplus
16784 extern "C"
16786 #endif
16787 /* We use char because int might match the return type of a gcc2
16788 builtin and then its argument prototype would still apply. */
16789 char $ac_func ();
16790 /* The GNU C library defines this for functions which it implements
16791 to always fail with ENOSYS. Some functions are actually named
16792 something starting with __ and the normal name is an alias. */
16793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16794 choke me
16795 #else
16796 char (*f) () = $ac_func;
16797 #endif
16798 #ifdef __cplusplus
16800 #endif
16803 main ()
16805 return f != $ac_func;
16807 return 0;
16809 _ACEOF
16810 rm -f conftest.$ac_objext conftest$ac_exeext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16812 (eval $ac_link) 2>conftest.er1
16813 ac_status=$?
16814 grep -v '^ *+' conftest.er1 >conftest.err
16815 rm -f conftest.er1
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try='test -z "$ac_c_werror_flag"
16820 || test ! -s conftest.err'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; } &&
16826 { ac_try='test -s conftest$ac_exeext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 eval "$as_ac_var=yes"
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 eval "$as_ac_var=no"
16839 rm -f conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16844 if test `eval echo '${'$as_ac_var'}'` = yes; then
16845 cat >>confdefs.h <<_ACEOF
16846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16847 _ACEOF
16850 done
16857 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16858 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16859 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16860 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16866 ac_ext=cc
16867 ac_cpp='$CXXCPP $CPPFLAGS'
16868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 #include <math.h>
16879 #ifdef HAVE_IEEEFP_H
16880 #include <ieeefp.h>
16881 #endif
16884 main ()
16886 sqrtf(0);
16888 return 0;
16890 _ACEOF
16891 rm -f conftest.$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try='test -z "$ac_cxx_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16904 ac_status=$?
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try='test -s conftest.$ac_objext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16910 ac_status=$?
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 glibcxx_cv_func_sqrtf_use=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16918 glibcxx_cv_func_sqrtf_use=no
16920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16921 ac_ext=c
16922 ac_cpp='$CPP $CPPFLAGS'
16923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16932 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16934 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16936 for ac_func in sqrtf
16938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16939 echo "$as_me:$LINENO: checking for $ac_func" >&5
16940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16941 if eval "test \"\${$as_ac_var+set}\" = set"; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 else
16944 if test x$gcc_no_link = xyes; then
16945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16947 { (exit 1); exit 1; }; }
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16957 #define $ac_func innocuous_$ac_func
16959 /* System header to define __stub macros and hopefully few prototypes,
16960 which can conflict with char $ac_func (); below.
16961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16962 <limits.h> exists even on freestanding compilers. */
16964 #ifdef __STDC__
16965 # include <limits.h>
16966 #else
16967 # include <assert.h>
16968 #endif
16970 #undef $ac_func
16972 /* Override any gcc2 internal prototype to avoid an error. */
16973 #ifdef __cplusplus
16974 extern "C"
16976 #endif
16977 /* We use char because int might match the return type of a gcc2
16978 builtin and then its argument prototype would still apply. */
16979 char $ac_func ();
16980 /* The GNU C library defines this for functions which it implements
16981 to always fail with ENOSYS. Some functions are actually named
16982 something starting with __ and the normal name is an alias. */
16983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16984 choke me
16985 #else
16986 char (*f) () = $ac_func;
16987 #endif
16988 #ifdef __cplusplus
16990 #endif
16993 main ()
16995 return f != $ac_func;
16997 return 0;
16999 _ACEOF
17000 rm -f conftest.$ac_objext conftest$ac_exeext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17002 (eval $ac_link) 2>conftest.er1
17003 ac_status=$?
17004 grep -v '^ *+' conftest.er1 >conftest.err
17005 rm -f conftest.er1
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } &&
17009 { ac_try='test -z "$ac_c_werror_flag"
17010 || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try='test -s conftest$ac_exeext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17019 ac_status=$?
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 eval "$as_ac_var=yes"
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 eval "$as_ac_var=no"
17029 rm -f conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17034 if test `eval echo '${'$as_ac_var'}'` = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17037 _ACEOF
17040 done
17042 else
17044 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17045 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17046 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17047 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17048 echo $ECHO_N "(cached) $ECHO_C" >&6
17049 else
17053 ac_ext=cc
17054 ac_cpp='$CXXCPP $CPPFLAGS'
17055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17059 cat >conftest.$ac_ext <<_ACEOF
17060 /* confdefs.h. */
17061 _ACEOF
17062 cat confdefs.h >>conftest.$ac_ext
17063 cat >>conftest.$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17065 #include <math.h>
17066 #ifdef HAVE_IEEEFP_H
17067 #include <ieeefp.h>
17068 #endif
17071 main ()
17073 _sqrtf(0);
17075 return 0;
17077 _ACEOF
17078 rm -f conftest.$ac_objext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080 (eval $ac_compile) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try='test -z "$ac_cxx_werror_flag"
17088 || test ! -s conftest.err'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; } &&
17094 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17100 glibcxx_cv_func__sqrtf_use=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 glibcxx_cv_func__sqrtf_use=no
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 ac_ext=c
17109 ac_cpp='$CPP $CPPFLAGS'
17110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17119 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17121 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17123 for ac_func in _sqrtf
17125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17126 echo "$as_me:$LINENO: checking for $ac_func" >&5
17127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17128 if eval "test \"\${$as_ac_var+set}\" = set"; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 if test x$gcc_no_link = xyes; then
17132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17134 { (exit 1); exit 1; }; }
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17144 #define $ac_func innocuous_$ac_func
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func (); below.
17148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17149 <limits.h> exists even on freestanding compilers. */
17151 #ifdef __STDC__
17152 # include <limits.h>
17153 #else
17154 # include <assert.h>
17155 #endif
17157 #undef $ac_func
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 #ifdef __cplusplus
17161 extern "C"
17163 #endif
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17166 char $ac_func ();
17167 /* The GNU C library defines this for functions which it implements
17168 to always fail with ENOSYS. Some functions are actually named
17169 something starting with __ and the normal name is an alias. */
17170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 choke me
17172 #else
17173 char (*f) () = $ac_func;
17174 #endif
17175 #ifdef __cplusplus
17177 #endif
17180 main ()
17182 return f != $ac_func;
17184 return 0;
17186 _ACEOF
17187 rm -f conftest.$ac_objext conftest$ac_exeext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17189 (eval $ac_link) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17209 eval "$as_ac_var=yes"
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 eval "$as_ac_var=no"
17216 rm -f conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17221 if test `eval echo '${'$as_ac_var'}'` = yes; then
17222 cat >>confdefs.h <<_ACEOF
17223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 _ACEOF
17227 done
17234 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17235 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17236 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17237 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17243 ac_ext=cc
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 #include <math.h>
17257 main ()
17259 sincosf(0, 0, 0);
17261 return 0;
17263 _ACEOF
17264 rm -f conftest.$ac_objext
17265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17266 (eval $ac_compile) 2>conftest.er1
17267 ac_status=$?
17268 grep -v '^ *+' conftest.er1 >conftest.err
17269 rm -f conftest.er1
17270 cat conftest.err >&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } &&
17273 { ac_try='test -z "$ac_cxx_werror_flag"
17274 || test ! -s conftest.err'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17277 ac_status=$?
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; } &&
17280 { ac_try='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17283 ac_status=$?
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286 glibcxx_cv_func_sincosf_use=yes
17287 else
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17291 glibcxx_cv_func_sincosf_use=no
17293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17294 ac_ext=c
17295 ac_cpp='$CPP $CPPFLAGS'
17296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17305 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17307 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17309 for ac_func in sincosf
17311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17312 echo "$as_me:$LINENO: checking for $ac_func" >&5
17313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17314 if eval "test \"\${$as_ac_var+set}\" = set"; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 else
17317 if test x$gcc_no_link = xyes; then
17318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17320 { (exit 1); exit 1; }; }
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h. */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17330 #define $ac_func innocuous_$ac_func
17332 /* System header to define __stub macros and hopefully few prototypes,
17333 which can conflict with char $ac_func (); below.
17334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17335 <limits.h> exists even on freestanding compilers. */
17337 #ifdef __STDC__
17338 # include <limits.h>
17339 #else
17340 # include <assert.h>
17341 #endif
17343 #undef $ac_func
17345 /* Override any gcc2 internal prototype to avoid an error. */
17346 #ifdef __cplusplus
17347 extern "C"
17349 #endif
17350 /* We use char because int might match the return type of a gcc2
17351 builtin and then its argument prototype would still apply. */
17352 char $ac_func ();
17353 /* The GNU C library defines this for functions which it implements
17354 to always fail with ENOSYS. Some functions are actually named
17355 something starting with __ and the normal name is an alias. */
17356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17357 choke me
17358 #else
17359 char (*f) () = $ac_func;
17360 #endif
17361 #ifdef __cplusplus
17363 #endif
17366 main ()
17368 return f != $ac_func;
17370 return 0;
17372 _ACEOF
17373 rm -f conftest.$ac_objext conftest$ac_exeext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17375 (eval $ac_link) 2>conftest.er1
17376 ac_status=$?
17377 grep -v '^ *+' conftest.er1 >conftest.err
17378 rm -f conftest.er1
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest$ac_exeext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 eval "$as_ac_var=yes"
17396 else
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17400 eval "$as_ac_var=no"
17402 rm -f conftest.err conftest.$ac_objext \
17403 conftest$ac_exeext conftest.$ac_ext
17405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17407 if test `eval echo '${'$as_ac_var'}'` = yes; then
17408 cat >>confdefs.h <<_ACEOF
17409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17410 _ACEOF
17413 done
17415 else
17417 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17418 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17419 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17420 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17421 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 else
17426 ac_ext=cc
17427 ac_cpp='$CXXCPP $CPPFLAGS'
17428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 #include <math.h>
17440 main ()
17442 _sincosf(0, 0, 0);
17444 return 0;
17446 _ACEOF
17447 rm -f conftest.$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_cxx_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 glibcxx_cv_func__sincosf_use=yes
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 glibcxx_cv_func__sincosf_use=no
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 ac_ext=c
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17488 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17490 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17492 for ac_func in _sincosf
17494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17495 echo "$as_me:$LINENO: checking for $ac_func" >&5
17496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17497 if eval "test \"\${$as_ac_var+set}\" = set"; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500 if test x$gcc_no_link = xyes; then
17501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17503 { (exit 1); exit 1; }; }
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17513 #define $ac_func innocuous_$ac_func
17515 /* System header to define __stub macros and hopefully few prototypes,
17516 which can conflict with char $ac_func (); below.
17517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17518 <limits.h> exists even on freestanding compilers. */
17520 #ifdef __STDC__
17521 # include <limits.h>
17522 #else
17523 # include <assert.h>
17524 #endif
17526 #undef $ac_func
17528 /* Override any gcc2 internal prototype to avoid an error. */
17529 #ifdef __cplusplus
17530 extern "C"
17532 #endif
17533 /* We use char because int might match the return type of a gcc2
17534 builtin and then its argument prototype would still apply. */
17535 char $ac_func ();
17536 /* The GNU C library defines this for functions which it implements
17537 to always fail with ENOSYS. Some functions are actually named
17538 something starting with __ and the normal name is an alias. */
17539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17540 choke me
17541 #else
17542 char (*f) () = $ac_func;
17543 #endif
17544 #ifdef __cplusplus
17546 #endif
17549 main ()
17551 return f != $ac_func;
17553 return 0;
17555 _ACEOF
17556 rm -f conftest.$ac_objext conftest$ac_exeext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17558 (eval $ac_link) 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try='test -z "$ac_c_werror_flag"
17566 || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest$ac_exeext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 eval "$as_ac_var=yes"
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17583 eval "$as_ac_var=no"
17585 rm -f conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17590 if test `eval echo '${'$as_ac_var'}'` = yes; then
17591 cat >>confdefs.h <<_ACEOF
17592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17593 _ACEOF
17596 done
17603 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17604 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17605 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17606 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17612 ac_ext=cc
17613 ac_cpp='$CXXCPP $CPPFLAGS'
17614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 #include <math.h>
17625 #ifdef HAVE_IEEEFP_H
17626 #include <ieeefp.h>
17627 #endif
17630 main ()
17632 finitef(0);
17634 return 0;
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17640 ac_status=$?
17641 grep -v '^ *+' conftest.er1 >conftest.err
17642 rm -f conftest.er1
17643 cat conftest.err >&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try='test -z "$ac_cxx_werror_flag"
17647 || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 glibcxx_cv_func_finitef_use=yes
17660 else
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 glibcxx_cv_func_finitef_use=no
17666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17667 ac_ext=c
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17678 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17680 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17682 for ac_func in finitef
17684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17685 echo "$as_me:$LINENO: checking for $ac_func" >&5
17686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17687 if eval "test \"\${$as_ac_var+set}\" = set"; then
17688 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 else
17690 if test x$gcc_no_link = xyes; then
17691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17693 { (exit 1); exit 1; }; }
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17703 #define $ac_func innocuous_$ac_func
17705 /* System header to define __stub macros and hopefully few prototypes,
17706 which can conflict with char $ac_func (); below.
17707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17708 <limits.h> exists even on freestanding compilers. */
17710 #ifdef __STDC__
17711 # include <limits.h>
17712 #else
17713 # include <assert.h>
17714 #endif
17716 #undef $ac_func
17718 /* Override any gcc2 internal prototype to avoid an error. */
17719 #ifdef __cplusplus
17720 extern "C"
17722 #endif
17723 /* We use char because int might match the return type of a gcc2
17724 builtin and then its argument prototype would still apply. */
17725 char $ac_func ();
17726 /* The GNU C library defines this for functions which it implements
17727 to always fail with ENOSYS. Some functions are actually named
17728 something starting with __ and the normal name is an alias. */
17729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17730 choke me
17731 #else
17732 char (*f) () = $ac_func;
17733 #endif
17734 #ifdef __cplusplus
17736 #endif
17739 main ()
17741 return f != $ac_func;
17743 return 0;
17745 _ACEOF
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 (eval $ac_link) 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try='test -z "$ac_c_werror_flag"
17756 || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try='test -s conftest$ac_exeext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 eval "$as_ac_var=yes"
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 eval "$as_ac_var=no"
17775 rm -f conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17780 if test `eval echo '${'$as_ac_var'}'` = yes; then
17781 cat >>confdefs.h <<_ACEOF
17782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17783 _ACEOF
17786 done
17788 else
17790 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17791 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17792 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17793 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17795 else
17799 ac_ext=cc
17800 ac_cpp='$CXXCPP $CPPFLAGS'
17801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17805 cat >conftest.$ac_ext <<_ACEOF
17806 /* confdefs.h. */
17807 _ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811 #include <math.h>
17812 #ifdef HAVE_IEEEFP_H
17813 #include <ieeefp.h>
17814 #endif
17817 main ()
17819 _finitef(0);
17821 return 0;
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17827 ac_status=$?
17828 grep -v '^ *+' conftest.er1 >conftest.err
17829 rm -f conftest.er1
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try='test -z "$ac_cxx_werror_flag"
17834 || test ! -s conftest.err'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17837 ac_status=$?
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; } &&
17840 { ac_try='test -s conftest.$ac_objext'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; }; then
17846 glibcxx_cv_func__finitef_use=yes
17847 else
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17851 glibcxx_cv_func__finitef_use=no
17853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17854 ac_ext=c
17855 ac_cpp='$CPP $CPPFLAGS'
17856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17865 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17867 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17869 for ac_func in _finitef
17871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17872 echo "$as_me:$LINENO: checking for $ac_func" >&5
17873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17874 if eval "test \"\${$as_ac_var+set}\" = set"; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 else
17877 if test x$gcc_no_link = xyes; then
17878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17880 { (exit 1); exit 1; }; }
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17890 #define $ac_func innocuous_$ac_func
17892 /* System header to define __stub macros and hopefully few prototypes,
17893 which can conflict with char $ac_func (); below.
17894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17895 <limits.h> exists even on freestanding compilers. */
17897 #ifdef __STDC__
17898 # include <limits.h>
17899 #else
17900 # include <assert.h>
17901 #endif
17903 #undef $ac_func
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 #ifdef __cplusplus
17907 extern "C"
17909 #endif
17910 /* We use char because int might match the return type of a gcc2
17911 builtin and then its argument prototype would still apply. */
17912 char $ac_func ();
17913 /* The GNU C library defines this for functions which it implements
17914 to always fail with ENOSYS. Some functions are actually named
17915 something starting with __ and the normal name is an alias. */
17916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17917 choke me
17918 #else
17919 char (*f) () = $ac_func;
17920 #endif
17921 #ifdef __cplusplus
17923 #endif
17926 main ()
17928 return f != $ac_func;
17930 return 0;
17932 _ACEOF
17933 rm -f conftest.$ac_objext conftest$ac_exeext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17935 (eval $ac_link) 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try='test -z "$ac_c_werror_flag"
17943 || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17946 ac_status=$?
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try='test -s conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 eval "$as_ac_var=yes"
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17960 eval "$as_ac_var=no"
17962 rm -f conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext conftest.$ac_ext
17965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17967 if test `eval echo '${'$as_ac_var'}'` = yes; then
17968 cat >>confdefs.h <<_ACEOF
17969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17970 _ACEOF
17973 done
17980 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17981 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17982 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 else
17988 ac_ext=cc
17989 ac_cpp='$CXXCPP $CPPFLAGS'
17990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17994 cat >conftest.$ac_ext <<_ACEOF
17995 /* confdefs.h. */
17996 _ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 #include <math.h>
18002 main ()
18004 `for x in acosl asinl atanl \
18005 cosl sinl tanl \
18006 coshl sinhl tanhl; do echo "$x (0);"; done`
18008 return 0;
18010 _ACEOF
18011 rm -f conftest.$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>conftest.er1
18014 ac_status=$?
18015 grep -v '^ *+' conftest.er1 >conftest.err
18016 rm -f conftest.er1
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } &&
18020 { ac_try='test -z "$ac_cxx_werror_flag"
18021 || test ! -s conftest.err'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18024 ac_status=$?
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try='test -s conftest.$ac_objext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 glibcxx_cv_func_long_double_trig_use=yes
18034 else
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.$ac_ext >&5
18038 glibcxx_cv_func_long_double_trig_use=no
18040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18041 ac_ext=c
18042 ac_cpp='$CPP $CPPFLAGS'
18043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18050 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18051 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18061 for ac_func in acosl asinl atanl \
18062 cosl sinl tanl \
18063 coshl sinhl tanhl
18065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18066 echo "$as_me:$LINENO: checking for $ac_func" >&5
18067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18068 if eval "test \"\${$as_ac_var+set}\" = set"; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18070 else
18071 if test x$gcc_no_link = xyes; then
18072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18074 { (exit 1); exit 1; }; }
18076 cat >conftest.$ac_ext <<_ACEOF
18077 /* confdefs.h. */
18078 _ACEOF
18079 cat confdefs.h >>conftest.$ac_ext
18080 cat >>conftest.$ac_ext <<_ACEOF
18081 /* end confdefs.h. */
18082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18084 #define $ac_func innocuous_$ac_func
18086 /* System header to define __stub macros and hopefully few prototypes,
18087 which can conflict with char $ac_func (); below.
18088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18089 <limits.h> exists even on freestanding compilers. */
18091 #ifdef __STDC__
18092 # include <limits.h>
18093 #else
18094 # include <assert.h>
18095 #endif
18097 #undef $ac_func
18099 /* Override any gcc2 internal prototype to avoid an error. */
18100 #ifdef __cplusplus
18101 extern "C"
18103 #endif
18104 /* We use char because int might match the return type of a gcc2
18105 builtin and then its argument prototype would still apply. */
18106 char $ac_func ();
18107 /* The GNU C library defines this for functions which it implements
18108 to always fail with ENOSYS. Some functions are actually named
18109 something starting with __ and the normal name is an alias. */
18110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18111 choke me
18112 #else
18113 char (*f) () = $ac_func;
18114 #endif
18115 #ifdef __cplusplus
18117 #endif
18120 main ()
18122 return f != $ac_func;
18124 return 0;
18126 _ACEOF
18127 rm -f conftest.$ac_objext conftest$ac_exeext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18129 (eval $ac_link) 2>conftest.er1
18130 ac_status=$?
18131 grep -v '^ *+' conftest.er1 >conftest.err
18132 rm -f conftest.er1
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try='test -z "$ac_c_werror_flag"
18137 || test ! -s conftest.err'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try='test -s conftest$ac_exeext'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18146 ac_status=$?
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; }; then
18149 eval "$as_ac_var=yes"
18150 else
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.$ac_ext >&5
18154 eval "$as_ac_var=no"
18156 rm -f conftest.err conftest.$ac_objext \
18157 conftest$ac_exeext conftest.$ac_ext
18159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18161 if test `eval echo '${'$as_ac_var'}'` = yes; then
18162 cat >>confdefs.h <<_ACEOF
18163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18164 _ACEOF
18167 done
18172 echo "$as_me:$LINENO: checking for long double round functions" >&5
18173 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18174 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 else
18180 ac_ext=cc
18181 ac_cpp='$CXXCPP $CPPFLAGS'
18182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <math.h>
18194 main ()
18196 `for x in ceill floorl; do echo "$x (0);"; done`
18198 return 0;
18200 _ACEOF
18201 rm -f conftest.$ac_objext
18202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18203 (eval $ac_compile) 2>conftest.er1
18204 ac_status=$?
18205 grep -v '^ *+' conftest.er1 >conftest.err
18206 rm -f conftest.er1
18207 cat conftest.err >&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } &&
18210 { ac_try='test -z "$ac_cxx_werror_flag"
18211 || test ! -s conftest.err'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 glibcxx_cv_func_long_double_round_use=yes
18224 else
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18228 glibcxx_cv_func_long_double_round_use=no
18230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18231 ac_ext=c
18232 ac_cpp='$CPP $CPPFLAGS'
18233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18240 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18241 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18244 for ac_func in ceill floorl
18246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18247 echo "$as_me:$LINENO: checking for $ac_func" >&5
18248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18249 if eval "test \"\${$as_ac_var+set}\" = set"; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252 if test x$gcc_no_link = xyes; then
18253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18255 { (exit 1); exit 1; }; }
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18265 #define $ac_func innocuous_$ac_func
18267 /* System header to define __stub macros and hopefully few prototypes,
18268 which can conflict with char $ac_func (); below.
18269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18270 <limits.h> exists even on freestanding compilers. */
18272 #ifdef __STDC__
18273 # include <limits.h>
18274 #else
18275 # include <assert.h>
18276 #endif
18278 #undef $ac_func
18280 /* Override any gcc2 internal prototype to avoid an error. */
18281 #ifdef __cplusplus
18282 extern "C"
18284 #endif
18285 /* We use char because int might match the return type of a gcc2
18286 builtin and then its argument prototype would still apply. */
18287 char $ac_func ();
18288 /* The GNU C library defines this for functions which it implements
18289 to always fail with ENOSYS. Some functions are actually named
18290 something starting with __ and the normal name is an alias. */
18291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18292 choke me
18293 #else
18294 char (*f) () = $ac_func;
18295 #endif
18296 #ifdef __cplusplus
18298 #endif
18301 main ()
18303 return f != $ac_func;
18305 return 0;
18307 _ACEOF
18308 rm -f conftest.$ac_objext conftest$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest$ac_exeext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 eval "$as_ac_var=yes"
18331 else
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18335 eval "$as_ac_var=no"
18337 rm -f conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18342 if test `eval echo '${'$as_ac_var'}'` = yes; then
18343 cat >>confdefs.h <<_ACEOF
18344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18345 _ACEOF
18348 done
18354 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18355 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18356 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18357 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 else
18363 ac_ext=cc
18364 ac_cpp='$CXXCPP $CPPFLAGS'
18365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 #include <math.h>
18376 #ifdef HAVE_IEEEFP_H
18377 #include <ieeefp.h>
18378 #endif
18381 main ()
18383 isnanl(0);
18385 return 0;
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18390 (eval $ac_compile) 2>conftest.er1
18391 ac_status=$?
18392 grep -v '^ *+' conftest.er1 >conftest.err
18393 rm -f conftest.er1
18394 cat conftest.err >&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } &&
18397 { ac_try='test -z "$ac_cxx_werror_flag"
18398 || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try='test -s conftest.$ac_objext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18407 ac_status=$?
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 glibcxx_cv_func_isnanl_use=yes
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18415 glibcxx_cv_func_isnanl_use=no
18417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18418 ac_ext=c
18419 ac_cpp='$CPP $CPPFLAGS'
18420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18429 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18431 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18433 for ac_func in isnanl
18435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18436 echo "$as_me:$LINENO: checking for $ac_func" >&5
18437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18438 if eval "test \"\${$as_ac_var+set}\" = set"; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 else
18441 if test x$gcc_no_link = xyes; then
18442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18444 { (exit 1); exit 1; }; }
18446 cat >conftest.$ac_ext <<_ACEOF
18447 /* confdefs.h. */
18448 _ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18454 #define $ac_func innocuous_$ac_func
18456 /* System header to define __stub macros and hopefully few prototypes,
18457 which can conflict with char $ac_func (); below.
18458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18459 <limits.h> exists even on freestanding compilers. */
18461 #ifdef __STDC__
18462 # include <limits.h>
18463 #else
18464 # include <assert.h>
18465 #endif
18467 #undef $ac_func
18469 /* Override any gcc2 internal prototype to avoid an error. */
18470 #ifdef __cplusplus
18471 extern "C"
18473 #endif
18474 /* We use char because int might match the return type of a gcc2
18475 builtin and then its argument prototype would still apply. */
18476 char $ac_func ();
18477 /* The GNU C library defines this for functions which it implements
18478 to always fail with ENOSYS. Some functions are actually named
18479 something starting with __ and the normal name is an alias. */
18480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18481 choke me
18482 #else
18483 char (*f) () = $ac_func;
18484 #endif
18485 #ifdef __cplusplus
18487 #endif
18490 main ()
18492 return f != $ac_func;
18494 return 0;
18496 _ACEOF
18497 rm -f conftest.$ac_objext conftest$ac_exeext
18498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18499 (eval $ac_link) 2>conftest.er1
18500 ac_status=$?
18501 grep -v '^ *+' conftest.er1 >conftest.err
18502 rm -f conftest.er1
18503 cat conftest.err >&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } &&
18506 { ac_try='test -z "$ac_c_werror_flag"
18507 || test ! -s conftest.err'
18508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509 (eval $ac_try) 2>&5
18510 ac_status=$?
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); }; } &&
18513 { ac_try='test -s conftest$ac_exeext'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18516 ac_status=$?
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; }; then
18519 eval "$as_ac_var=yes"
18520 else
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18524 eval "$as_ac_var=no"
18526 rm -f conftest.err conftest.$ac_objext \
18527 conftest$ac_exeext conftest.$ac_ext
18529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18531 if test `eval echo '${'$as_ac_var'}'` = yes; then
18532 cat >>confdefs.h <<_ACEOF
18533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18534 _ACEOF
18537 done
18539 else
18541 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18542 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18543 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18544 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18545 echo $ECHO_N "(cached) $ECHO_C" >&6
18546 else
18550 ac_ext=cc
18551 ac_cpp='$CXXCPP $CPPFLAGS'
18552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <math.h>
18563 #ifdef HAVE_IEEEFP_H
18564 #include <ieeefp.h>
18565 #endif
18568 main ()
18570 _isnanl(0);
18572 return 0;
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_cxx_werror_flag"
18585 || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 glibcxx_cv_func__isnanl_use=yes
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 glibcxx_cv_func__isnanl_use=no
18604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18605 ac_ext=c
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18616 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18618 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18620 for ac_func in _isnanl
18622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18623 echo "$as_me:$LINENO: checking for $ac_func" >&5
18624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18625 if eval "test \"\${$as_ac_var+set}\" = set"; then
18626 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 else
18628 if test x$gcc_no_link = xyes; then
18629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18631 { (exit 1); exit 1; }; }
18633 cat >conftest.$ac_ext <<_ACEOF
18634 /* confdefs.h. */
18635 _ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18641 #define $ac_func innocuous_$ac_func
18643 /* System header to define __stub macros and hopefully few prototypes,
18644 which can conflict with char $ac_func (); below.
18645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18646 <limits.h> exists even on freestanding compilers. */
18648 #ifdef __STDC__
18649 # include <limits.h>
18650 #else
18651 # include <assert.h>
18652 #endif
18654 #undef $ac_func
18656 /* Override any gcc2 internal prototype to avoid an error. */
18657 #ifdef __cplusplus
18658 extern "C"
18660 #endif
18661 /* We use char because int might match the return type of a gcc2
18662 builtin and then its argument prototype would still apply. */
18663 char $ac_func ();
18664 /* The GNU C library defines this for functions which it implements
18665 to always fail with ENOSYS. Some functions are actually named
18666 something starting with __ and the normal name is an alias. */
18667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18668 choke me
18669 #else
18670 char (*f) () = $ac_func;
18671 #endif
18672 #ifdef __cplusplus
18674 #endif
18677 main ()
18679 return f != $ac_func;
18681 return 0;
18683 _ACEOF
18684 rm -f conftest.$ac_objext conftest$ac_exeext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18686 (eval $ac_link) 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try='test -z "$ac_c_werror_flag"
18694 || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest$ac_exeext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 eval "$as_ac_var=yes"
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 eval "$as_ac_var=no"
18713 rm -f conftest.err conftest.$ac_objext \
18714 conftest$ac_exeext conftest.$ac_ext
18716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18718 if test `eval echo '${'$as_ac_var'}'` = yes; then
18719 cat >>confdefs.h <<_ACEOF
18720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18721 _ACEOF
18724 done
18731 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18732 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18733 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18734 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 else
18740 ac_ext=cc
18741 ac_cpp='$CXXCPP $CPPFLAGS'
18742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <math.h>
18753 #ifdef HAVE_IEEEFP_H
18754 #include <ieeefp.h>
18755 #endif
18758 main ()
18760 isinfl(0);
18762 return 0;
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18767 (eval $ac_compile) 2>conftest.er1
18768 ac_status=$?
18769 grep -v '^ *+' conftest.er1 >conftest.err
18770 rm -f conftest.er1
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try='test -z "$ac_cxx_werror_flag"
18775 || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18778 ac_status=$?
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 glibcxx_cv_func_isinfl_use=yes
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 glibcxx_cv_func_isinfl_use=no
18794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18795 ac_ext=c
18796 ac_cpp='$CPP $CPPFLAGS'
18797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18806 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18808 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18810 for ac_func in isinfl
18812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18813 echo "$as_me:$LINENO: checking for $ac_func" >&5
18814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18815 if eval "test \"\${$as_ac_var+set}\" = set"; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 else
18818 if test x$gcc_no_link = xyes; then
18819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18821 { (exit 1); exit 1; }; }
18823 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */
18825 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18831 #define $ac_func innocuous_$ac_func
18833 /* System header to define __stub macros and hopefully few prototypes,
18834 which can conflict with char $ac_func (); below.
18835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18836 <limits.h> exists even on freestanding compilers. */
18838 #ifdef __STDC__
18839 # include <limits.h>
18840 #else
18841 # include <assert.h>
18842 #endif
18844 #undef $ac_func
18846 /* Override any gcc2 internal prototype to avoid an error. */
18847 #ifdef __cplusplus
18848 extern "C"
18850 #endif
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18853 char $ac_func ();
18854 /* The GNU C library defines this for functions which it implements
18855 to always fail with ENOSYS. Some functions are actually named
18856 something starting with __ and the normal name is an alias. */
18857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18858 choke me
18859 #else
18860 char (*f) () = $ac_func;
18861 #endif
18862 #ifdef __cplusplus
18864 #endif
18867 main ()
18869 return f != $ac_func;
18871 return 0;
18873 _ACEOF
18874 rm -f conftest.$ac_objext conftest$ac_exeext
18875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18876 (eval $ac_link) 2>conftest.er1
18877 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } &&
18883 { ac_try='test -z "$ac_c_werror_flag"
18884 || test ! -s conftest.err'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18887 ac_status=$?
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; } &&
18890 { ac_try='test -s conftest$ac_exeext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18893 ac_status=$?
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896 eval "$as_ac_var=yes"
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18901 eval "$as_ac_var=no"
18903 rm -f conftest.err conftest.$ac_objext \
18904 conftest$ac_exeext conftest.$ac_ext
18906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18908 if test `eval echo '${'$as_ac_var'}'` = yes; then
18909 cat >>confdefs.h <<_ACEOF
18910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18911 _ACEOF
18914 done
18916 else
18918 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18919 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18920 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18921 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else
18927 ac_ext=cc
18928 ac_cpp='$CXXCPP $CPPFLAGS'
18929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933 cat >conftest.$ac_ext <<_ACEOF
18934 /* confdefs.h. */
18935 _ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 #include <math.h>
18940 #ifdef HAVE_IEEEFP_H
18941 #include <ieeefp.h>
18942 #endif
18945 main ()
18947 _isinfl(0);
18949 return 0;
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 glibcxx_cv_func__isinfl_use=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 glibcxx_cv_func__isinfl_use=no
18981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18982 ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18993 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18995 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18997 for ac_func in _isinfl
18999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 echo "$as_me:$LINENO: checking for $ac_func" >&5
19001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19002 if eval "test \"\${$as_ac_var+set}\" = set"; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else
19005 if test x$gcc_no_link = xyes; then
19006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19008 { (exit 1); exit 1; }; }
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19018 #define $ac_func innocuous_$ac_func
19020 /* System header to define __stub macros and hopefully few prototypes,
19021 which can conflict with char $ac_func (); below.
19022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19023 <limits.h> exists even on freestanding compilers. */
19025 #ifdef __STDC__
19026 # include <limits.h>
19027 #else
19028 # include <assert.h>
19029 #endif
19031 #undef $ac_func
19033 /* Override any gcc2 internal prototype to avoid an error. */
19034 #ifdef __cplusplus
19035 extern "C"
19037 #endif
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19040 char $ac_func ();
19041 /* The GNU C library defines this for functions which it implements
19042 to always fail with ENOSYS. Some functions are actually named
19043 something starting with __ and the normal name is an alias. */
19044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19045 choke me
19046 #else
19047 char (*f) () = $ac_func;
19048 #endif
19049 #ifdef __cplusplus
19051 #endif
19054 main ()
19056 return f != $ac_func;
19058 return 0;
19060 _ACEOF
19061 rm -f conftest.$ac_objext conftest$ac_exeext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19063 (eval $ac_link) 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try='test -z "$ac_c_werror_flag"
19071 || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 eval "$as_ac_var=yes"
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 eval "$as_ac_var=no"
19090 rm -f conftest.err conftest.$ac_objext \
19091 conftest$ac_exeext conftest.$ac_ext
19093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19095 if test `eval echo '${'$as_ac_var'}'` = yes; then
19096 cat >>confdefs.h <<_ACEOF
19097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19098 _ACEOF
19101 done
19108 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
19109 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
19110 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
19111 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19117 ac_ext=cc
19118 ac_cpp='$CXXCPP $CPPFLAGS'
19119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <math.h>
19131 main ()
19133 copysignl(0, 0);
19135 return 0;
19137 _ACEOF
19138 rm -f conftest.$ac_objext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19140 (eval $ac_compile) 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } &&
19147 { ac_try='test -z "$ac_cxx_werror_flag"
19148 || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19151 ac_status=$?
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19157 ac_status=$?
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160 glibcxx_cv_func_copysignl_use=yes
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19165 glibcxx_cv_func_copysignl_use=no
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 ac_ext=c
19169 ac_cpp='$CPP $CPPFLAGS'
19170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
19179 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
19181 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
19183 for ac_func in copysignl
19185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19186 echo "$as_me:$LINENO: checking for $ac_func" >&5
19187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19188 if eval "test \"\${$as_ac_var+set}\" = set"; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191 if test x$gcc_no_link = xyes; then
19192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19194 { (exit 1); exit 1; }; }
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19204 #define $ac_func innocuous_$ac_func
19206 /* System header to define __stub macros and hopefully few prototypes,
19207 which can conflict with char $ac_func (); below.
19208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19209 <limits.h> exists even on freestanding compilers. */
19211 #ifdef __STDC__
19212 # include <limits.h>
19213 #else
19214 # include <assert.h>
19215 #endif
19217 #undef $ac_func
19219 /* Override any gcc2 internal prototype to avoid an error. */
19220 #ifdef __cplusplus
19221 extern "C"
19223 #endif
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19226 char $ac_func ();
19227 /* The GNU C library defines this for functions which it implements
19228 to always fail with ENOSYS. Some functions are actually named
19229 something starting with __ and the normal name is an alias. */
19230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19231 choke me
19232 #else
19233 char (*f) () = $ac_func;
19234 #endif
19235 #ifdef __cplusplus
19237 #endif
19240 main ()
19242 return f != $ac_func;
19244 return 0;
19246 _ACEOF
19247 rm -f conftest.$ac_objext conftest$ac_exeext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249 (eval $ac_link) 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest$ac_exeext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 eval "$as_ac_var=yes"
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 eval "$as_ac_var=no"
19276 rm -f conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19281 if test `eval echo '${'$as_ac_var'}'` = yes; then
19282 cat >>confdefs.h <<_ACEOF
19283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19284 _ACEOF
19287 done
19289 else
19291 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19292 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19293 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19294 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19300 ac_ext=cc
19301 ac_cpp='$CXXCPP $CPPFLAGS'
19302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <math.h>
19314 main ()
19316 _copysignl(0, 0);
19318 return 0;
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_cxx_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 glibcxx_cv_func__copysignl_use=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19348 glibcxx_cv_func__copysignl_use=no
19350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19351 ac_ext=c
19352 ac_cpp='$CPP $CPPFLAGS'
19353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19362 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19364 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19366 for ac_func in _copysignl
19368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19369 echo "$as_me:$LINENO: checking for $ac_func" >&5
19370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19371 if eval "test \"\${$as_ac_var+set}\" = set"; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 else
19374 if test x$gcc_no_link = xyes; then
19375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19377 { (exit 1); exit 1; }; }
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19387 #define $ac_func innocuous_$ac_func
19389 /* System header to define __stub macros and hopefully few prototypes,
19390 which can conflict with char $ac_func (); below.
19391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19392 <limits.h> exists even on freestanding compilers. */
19394 #ifdef __STDC__
19395 # include <limits.h>
19396 #else
19397 # include <assert.h>
19398 #endif
19400 #undef $ac_func
19402 /* Override any gcc2 internal prototype to avoid an error. */
19403 #ifdef __cplusplus
19404 extern "C"
19406 #endif
19407 /* We use char because int might match the return type of a gcc2
19408 builtin and then its argument prototype would still apply. */
19409 char $ac_func ();
19410 /* The GNU C library defines this for functions which it implements
19411 to always fail with ENOSYS. Some functions are actually named
19412 something starting with __ and the normal name is an alias. */
19413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19414 choke me
19415 #else
19416 char (*f) () = $ac_func;
19417 #endif
19418 #ifdef __cplusplus
19420 #endif
19423 main ()
19425 return f != $ac_func;
19427 return 0;
19429 _ACEOF
19430 rm -f conftest.$ac_objext conftest$ac_exeext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432 (eval $ac_link) 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -z "$ac_c_werror_flag"
19440 || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest$ac_exeext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 eval "$as_ac_var=yes"
19453 else
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19457 eval "$as_ac_var=no"
19459 rm -f conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19464 if test `eval echo '${'$as_ac_var'}'` = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19467 _ACEOF
19470 done
19477 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19478 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19479 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19480 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 else
19486 ac_ext=cc
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19492 cat >conftest.$ac_ext <<_ACEOF
19493 /* confdefs.h. */
19494 _ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #include <math.h>
19500 main ()
19502 atan2l(0, 0);
19504 return 0;
19506 _ACEOF
19507 rm -f conftest.$ac_objext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19509 (eval $ac_compile) 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } &&
19516 { ac_try='test -z "$ac_cxx_werror_flag"
19517 || test ! -s conftest.err'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; } &&
19523 { ac_try='test -s conftest.$ac_objext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 glibcxx_cv_func_atan2l_use=yes
19530 else
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 glibcxx_cv_func_atan2l_use=no
19536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19537 ac_ext=c
19538 ac_cpp='$CPP $CPPFLAGS'
19539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19548 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19550 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19552 for ac_func in atan2l
19554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19555 echo "$as_me:$LINENO: checking for $ac_func" >&5
19556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19557 if eval "test \"\${$as_ac_var+set}\" = set"; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 else
19560 if test x$gcc_no_link = xyes; then
19561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19563 { (exit 1); exit 1; }; }
19565 cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h. */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19573 #define $ac_func innocuous_$ac_func
19575 /* System header to define __stub macros and hopefully few prototypes,
19576 which can conflict with char $ac_func (); below.
19577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19578 <limits.h> exists even on freestanding compilers. */
19580 #ifdef __STDC__
19581 # include <limits.h>
19582 #else
19583 # include <assert.h>
19584 #endif
19586 #undef $ac_func
19588 /* Override any gcc2 internal prototype to avoid an error. */
19589 #ifdef __cplusplus
19590 extern "C"
19592 #endif
19593 /* We use char because int might match the return type of a gcc2
19594 builtin and then its argument prototype would still apply. */
19595 char $ac_func ();
19596 /* The GNU C library defines this for functions which it implements
19597 to always fail with ENOSYS. Some functions are actually named
19598 something starting with __ and the normal name is an alias. */
19599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19600 choke me
19601 #else
19602 char (*f) () = $ac_func;
19603 #endif
19604 #ifdef __cplusplus
19606 #endif
19609 main ()
19611 return f != $ac_func;
19613 return 0;
19615 _ACEOF
19616 rm -f conftest.$ac_objext conftest$ac_exeext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19618 (eval $ac_link) 2>conftest.er1
19619 ac_status=$?
19620 grep -v '^ *+' conftest.er1 >conftest.err
19621 rm -f conftest.er1
19622 cat conftest.err >&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try='test -z "$ac_c_werror_flag"
19626 || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try='test -s conftest$ac_exeext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19638 eval "$as_ac_var=yes"
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 eval "$as_ac_var=no"
19645 rm -f conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19650 if test `eval echo '${'$as_ac_var'}'` = yes; then
19651 cat >>confdefs.h <<_ACEOF
19652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19653 _ACEOF
19656 done
19658 else
19660 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19661 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19662 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19663 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 else
19669 ac_ext=cc
19670 ac_cpp='$CXXCPP $CPPFLAGS'
19671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 #include <math.h>
19683 main ()
19685 _atan2l(0, 0);
19687 return 0;
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try='test -z "$ac_cxx_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 glibcxx_cv_func__atan2l_use=yes
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 glibcxx_cv_func__atan2l_use=no
19719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19720 ac_ext=c
19721 ac_cpp='$CPP $CPPFLAGS'
19722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19731 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19733 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19735 for ac_func in _atan2l
19737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19738 echo "$as_me:$LINENO: checking for $ac_func" >&5
19739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19740 if eval "test \"\${$as_ac_var+set}\" = set"; then
19741 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 else
19743 if test x$gcc_no_link = xyes; then
19744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19746 { (exit 1); exit 1; }; }
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19756 #define $ac_func innocuous_$ac_func
19758 /* System header to define __stub macros and hopefully few prototypes,
19759 which can conflict with char $ac_func (); below.
19760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19761 <limits.h> exists even on freestanding compilers. */
19763 #ifdef __STDC__
19764 # include <limits.h>
19765 #else
19766 # include <assert.h>
19767 #endif
19769 #undef $ac_func
19771 /* Override any gcc2 internal prototype to avoid an error. */
19772 #ifdef __cplusplus
19773 extern "C"
19775 #endif
19776 /* We use char because int might match the return type of a gcc2
19777 builtin and then its argument prototype would still apply. */
19778 char $ac_func ();
19779 /* The GNU C library defines this for functions which it implements
19780 to always fail with ENOSYS. Some functions are actually named
19781 something starting with __ and the normal name is an alias. */
19782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19783 choke me
19784 #else
19785 char (*f) () = $ac_func;
19786 #endif
19787 #ifdef __cplusplus
19789 #endif
19792 main ()
19794 return f != $ac_func;
19796 return 0;
19798 _ACEOF
19799 rm -f conftest.$ac_objext conftest$ac_exeext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19801 (eval $ac_link) 2>conftest.er1
19802 ac_status=$?
19803 grep -v '^ *+' conftest.er1 >conftest.err
19804 rm -f conftest.er1
19805 cat conftest.err >&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); } &&
19808 { ac_try='test -z "$ac_c_werror_flag"
19809 || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try='test -s conftest$ac_exeext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 eval "$as_ac_var=yes"
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19826 eval "$as_ac_var=no"
19828 rm -f conftest.err conftest.$ac_objext \
19829 conftest$ac_exeext conftest.$ac_ext
19831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19833 if test `eval echo '${'$as_ac_var'}'` = yes; then
19834 cat >>confdefs.h <<_ACEOF
19835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19836 _ACEOF
19839 done
19846 echo "$as_me:$LINENO: checking for expl declaration" >&5
19847 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19848 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19849 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 else
19855 ac_ext=cc
19856 ac_cpp='$CXXCPP $CPPFLAGS'
19857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19861 cat >conftest.$ac_ext <<_ACEOF
19862 /* confdefs.h. */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <math.h>
19868 #ifdef HAVE_IEEEFP_H
19869 #include <ieeefp.h>
19870 #endif
19873 main ()
19875 expl(0);
19877 return 0;
19879 _ACEOF
19880 rm -f conftest.$ac_objext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19882 (eval $ac_compile) 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try='test -z "$ac_cxx_werror_flag"
19890 || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest.$ac_objext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 glibcxx_cv_func_expl_use=yes
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 glibcxx_cv_func_expl_use=no
19909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19910 ac_ext=c
19911 ac_cpp='$CPP $CPPFLAGS'
19912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19921 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19923 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19925 for ac_func in expl
19927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19928 echo "$as_me:$LINENO: checking for $ac_func" >&5
19929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19930 if eval "test \"\${$as_ac_var+set}\" = set"; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933 if test x$gcc_no_link = xyes; then
19934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19936 { (exit 1); exit 1; }; }
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19946 #define $ac_func innocuous_$ac_func
19948 /* System header to define __stub macros and hopefully few prototypes,
19949 which can conflict with char $ac_func (); below.
19950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19951 <limits.h> exists even on freestanding compilers. */
19953 #ifdef __STDC__
19954 # include <limits.h>
19955 #else
19956 # include <assert.h>
19957 #endif
19959 #undef $ac_func
19961 /* Override any gcc2 internal prototype to avoid an error. */
19962 #ifdef __cplusplus
19963 extern "C"
19965 #endif
19966 /* We use char because int might match the return type of a gcc2
19967 builtin and then its argument prototype would still apply. */
19968 char $ac_func ();
19969 /* The GNU C library defines this for functions which it implements
19970 to always fail with ENOSYS. Some functions are actually named
19971 something starting with __ and the normal name is an alias. */
19972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19973 choke me
19974 #else
19975 char (*f) () = $ac_func;
19976 #endif
19977 #ifdef __cplusplus
19979 #endif
19982 main ()
19984 return f != $ac_func;
19986 return 0;
19988 _ACEOF
19989 rm -f conftest.$ac_objext conftest$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>conftest.er1
19992 ac_status=$?
19993 grep -v '^ *+' conftest.er1 >conftest.err
19994 rm -f conftest.er1
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try='test -z "$ac_c_werror_flag"
19999 || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try='test -s conftest$ac_exeext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 eval "$as_ac_var=yes"
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 eval "$as_ac_var=no"
20018 rm -f conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20023 if test `eval echo '${'$as_ac_var'}'` = yes; then
20024 cat >>confdefs.h <<_ACEOF
20025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20026 _ACEOF
20029 done
20031 else
20033 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20034 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20036 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20037 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 else
20042 ac_ext=cc
20043 ac_cpp='$CXXCPP $CPPFLAGS'
20044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 #include <math.h>
20055 #ifdef HAVE_IEEEFP_H
20056 #include <ieeefp.h>
20057 #endif
20060 main ()
20062 _expl(0);
20064 return 0;
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_cxx_werror_flag"
20077 || test ! -s conftest.err'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 glibcxx_cv_func__expl_use=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 glibcxx_cv_func__expl_use=no
20096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20097 ac_ext=c
20098 ac_cpp='$CPP $CPPFLAGS'
20099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20107 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
20108 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
20110 if test x$glibcxx_cv_func__expl_use = x"yes"; then
20112 for ac_func in _expl
20114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20115 echo "$as_me:$LINENO: checking for $ac_func" >&5
20116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20117 if eval "test \"\${$as_ac_var+set}\" = set"; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 else
20120 if test x$gcc_no_link = xyes; then
20121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20123 { (exit 1); exit 1; }; }
20125 cat >conftest.$ac_ext <<_ACEOF
20126 /* confdefs.h. */
20127 _ACEOF
20128 cat confdefs.h >>conftest.$ac_ext
20129 cat >>conftest.$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20133 #define $ac_func innocuous_$ac_func
20135 /* System header to define __stub macros and hopefully few prototypes,
20136 which can conflict with char $ac_func (); below.
20137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20138 <limits.h> exists even on freestanding compilers. */
20140 #ifdef __STDC__
20141 # include <limits.h>
20142 #else
20143 # include <assert.h>
20144 #endif
20146 #undef $ac_func
20148 /* Override any gcc2 internal prototype to avoid an error. */
20149 #ifdef __cplusplus
20150 extern "C"
20152 #endif
20153 /* We use char because int might match the return type of a gcc2
20154 builtin and then its argument prototype would still apply. */
20155 char $ac_func ();
20156 /* The GNU C library defines this for functions which it implements
20157 to always fail with ENOSYS. Some functions are actually named
20158 something starting with __ and the normal name is an alias. */
20159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20160 choke me
20161 #else
20162 char (*f) () = $ac_func;
20163 #endif
20164 #ifdef __cplusplus
20166 #endif
20169 main ()
20171 return f != $ac_func;
20173 return 0;
20175 _ACEOF
20176 rm -f conftest.$ac_objext conftest$ac_exeext
20177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20178 (eval $ac_link) 2>conftest.er1
20179 ac_status=$?
20180 grep -v '^ *+' conftest.er1 >conftest.err
20181 rm -f conftest.er1
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } &&
20185 { ac_try='test -z "$ac_c_werror_flag"
20186 || test ! -s conftest.err'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20189 ac_status=$?
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; } &&
20192 { ac_try='test -s conftest$ac_exeext'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 eval "$as_ac_var=yes"
20199 else
20200 echo "$as_me: failed program was:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20203 eval "$as_ac_var=no"
20205 rm -f conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20210 if test `eval echo '${'$as_ac_var'}'` = yes; then
20211 cat >>confdefs.h <<_ACEOF
20212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20213 _ACEOF
20216 done
20223 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
20224 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
20225 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
20226 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 else
20232 ac_ext=cc
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20238 cat >conftest.$ac_ext <<_ACEOF
20239 /* confdefs.h. */
20240 _ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 #include <math.h>
20245 #ifdef HAVE_IEEEFP_H
20246 #include <ieeefp.h>
20247 #endif
20250 main ()
20252 fabsl(0);
20254 return 0;
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259 (eval $ac_compile) 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_cxx_werror_flag"
20267 || test ! -s conftest.err'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20270 ac_status=$?
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try='test -s conftest.$ac_objext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 glibcxx_cv_func_fabsl_use=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 glibcxx_cv_func_fabsl_use=no
20286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20287 ac_ext=c
20288 ac_cpp='$CPP $CPPFLAGS'
20289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20298 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20300 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20302 for ac_func in fabsl
20304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20305 echo "$as_me:$LINENO: checking for $ac_func" >&5
20306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20307 if eval "test \"\${$as_ac_var+set}\" = set"; then
20308 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 else
20310 if test x$gcc_no_link = xyes; then
20311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20313 { (exit 1); exit 1; }; }
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20323 #define $ac_func innocuous_$ac_func
20325 /* System header to define __stub macros and hopefully few prototypes,
20326 which can conflict with char $ac_func (); below.
20327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20328 <limits.h> exists even on freestanding compilers. */
20330 #ifdef __STDC__
20331 # include <limits.h>
20332 #else
20333 # include <assert.h>
20334 #endif
20336 #undef $ac_func
20338 /* Override any gcc2 internal prototype to avoid an error. */
20339 #ifdef __cplusplus
20340 extern "C"
20342 #endif
20343 /* We use char because int might match the return type of a gcc2
20344 builtin and then its argument prototype would still apply. */
20345 char $ac_func ();
20346 /* The GNU C library defines this for functions which it implements
20347 to always fail with ENOSYS. Some functions are actually named
20348 something starting with __ and the normal name is an alias. */
20349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20350 choke me
20351 #else
20352 char (*f) () = $ac_func;
20353 #endif
20354 #ifdef __cplusplus
20356 #endif
20359 main ()
20361 return f != $ac_func;
20363 return 0;
20365 _ACEOF
20366 rm -f conftest.$ac_objext conftest$ac_exeext
20367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20368 (eval $ac_link) 2>conftest.er1
20369 ac_status=$?
20370 grep -v '^ *+' conftest.er1 >conftest.err
20371 rm -f conftest.er1
20372 cat conftest.err >&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } &&
20375 { ac_try='test -z "$ac_c_werror_flag"
20376 || test ! -s conftest.err'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20379 ac_status=$?
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; } &&
20382 { ac_try='test -s conftest$ac_exeext'
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384 (eval $ac_try) 2>&5
20385 ac_status=$?
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; }; then
20388 eval "$as_ac_var=yes"
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20393 eval "$as_ac_var=no"
20395 rm -f conftest.err conftest.$ac_objext \
20396 conftest$ac_exeext conftest.$ac_ext
20398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20400 if test `eval echo '${'$as_ac_var'}'` = yes; then
20401 cat >>confdefs.h <<_ACEOF
20402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20403 _ACEOF
20406 done
20408 else
20410 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20411 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20412 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20413 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 else
20419 ac_ext=cc
20420 ac_cpp='$CXXCPP $CPPFLAGS'
20421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20425 cat >conftest.$ac_ext <<_ACEOF
20426 /* confdefs.h. */
20427 _ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 #include <math.h>
20432 #ifdef HAVE_IEEEFP_H
20433 #include <ieeefp.h>
20434 #endif
20437 main ()
20439 _fabsl(0);
20441 return 0;
20443 _ACEOF
20444 rm -f conftest.$ac_objext
20445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20446 (eval $ac_compile) 2>conftest.er1
20447 ac_status=$?
20448 grep -v '^ *+' conftest.er1 >conftest.err
20449 rm -f conftest.er1
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } &&
20453 { ac_try='test -z "$ac_cxx_werror_flag"
20454 || test ! -s conftest.err'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20457 ac_status=$?
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; } &&
20460 { ac_try='test -s conftest.$ac_objext'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 glibcxx_cv_func__fabsl_use=yes
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 glibcxx_cv_func__fabsl_use=no
20473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20474 ac_ext=c
20475 ac_cpp='$CPP $CPPFLAGS'
20476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20485 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20487 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20489 for ac_func in _fabsl
20491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20492 echo "$as_me:$LINENO: checking for $ac_func" >&5
20493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20494 if eval "test \"\${$as_ac_var+set}\" = set"; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 else
20497 if test x$gcc_no_link = xyes; then
20498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20500 { (exit 1); exit 1; }; }
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20510 #define $ac_func innocuous_$ac_func
20512 /* System header to define __stub macros and hopefully few prototypes,
20513 which can conflict with char $ac_func (); below.
20514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20515 <limits.h> exists even on freestanding compilers. */
20517 #ifdef __STDC__
20518 # include <limits.h>
20519 #else
20520 # include <assert.h>
20521 #endif
20523 #undef $ac_func
20525 /* Override any gcc2 internal prototype to avoid an error. */
20526 #ifdef __cplusplus
20527 extern "C"
20529 #endif
20530 /* We use char because int might match the return type of a gcc2
20531 builtin and then its argument prototype would still apply. */
20532 char $ac_func ();
20533 /* The GNU C library defines this for functions which it implements
20534 to always fail with ENOSYS. Some functions are actually named
20535 something starting with __ and the normal name is an alias. */
20536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20537 choke me
20538 #else
20539 char (*f) () = $ac_func;
20540 #endif
20541 #ifdef __cplusplus
20543 #endif
20546 main ()
20548 return f != $ac_func;
20550 return 0;
20552 _ACEOF
20553 rm -f conftest.$ac_objext conftest$ac_exeext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20555 (eval $ac_link) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag"
20563 || test ! -s conftest.err'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; } &&
20569 { ac_try='test -s conftest$ac_exeext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 eval "$as_ac_var=yes"
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20580 eval "$as_ac_var=no"
20582 rm -f conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20587 if test `eval echo '${'$as_ac_var'}'` = yes; then
20588 cat >>confdefs.h <<_ACEOF
20589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20590 _ACEOF
20593 done
20600 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20601 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20602 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20603 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20609 ac_ext=cc
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 #include <math.h>
20623 main ()
20625 fmodl(0, 0);
20627 return 0;
20629 _ACEOF
20630 rm -f conftest.$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632 (eval $ac_compile) 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try='test -z "$ac_cxx_werror_flag"
20640 || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 glibcxx_cv_func_fmodl_use=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 glibcxx_cv_func_fmodl_use=no
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20673 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20675 for ac_func in fmodl
20677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20678 echo "$as_me:$LINENO: checking for $ac_func" >&5
20679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_var+set}\" = set"; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 if test x$gcc_no_link = xyes; then
20684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20686 { (exit 1); exit 1; }; }
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h. */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20696 #define $ac_func innocuous_$ac_func
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func (); below.
20700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701 <limits.h> exists even on freestanding compilers. */
20703 #ifdef __STDC__
20704 # include <limits.h>
20705 #else
20706 # include <assert.h>
20707 #endif
20709 #undef $ac_func
20711 /* Override any gcc2 internal prototype to avoid an error. */
20712 #ifdef __cplusplus
20713 extern "C"
20715 #endif
20716 /* We use char because int might match the return type of a gcc2
20717 builtin and then its argument prototype would still apply. */
20718 char $ac_func ();
20719 /* The GNU C library defines this for functions which it implements
20720 to always fail with ENOSYS. Some functions are actually named
20721 something starting with __ and the normal name is an alias. */
20722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20723 choke me
20724 #else
20725 char (*f) () = $ac_func;
20726 #endif
20727 #ifdef __cplusplus
20729 #endif
20732 main ()
20734 return f != $ac_func;
20736 return 0;
20738 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest$ac_exeext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 eval "$as_ac_var=yes"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 eval "$as_ac_var=no"
20768 rm -f conftest.err conftest.$ac_objext \
20769 conftest$ac_exeext conftest.$ac_ext
20771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20773 if test `eval echo '${'$as_ac_var'}'` = yes; then
20774 cat >>confdefs.h <<_ACEOF
20775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20779 done
20781 else
20783 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20784 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20785 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20786 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20787 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 else
20792 ac_ext=cc
20793 ac_cpp='$CXXCPP $CPPFLAGS'
20794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 #include <math.h>
20806 main ()
20808 _fmodl(0, 0);
20810 return 0;
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag"
20823 || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 glibcxx_cv_func__fmodl_use=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 glibcxx_cv_func__fmodl_use=no
20842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20843 ac_ext=c
20844 ac_cpp='$CPP $CPPFLAGS'
20845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20854 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20856 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20858 for ac_func in _fmodl
20860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20861 echo "$as_me:$LINENO: checking for $ac_func" >&5
20862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20863 if eval "test \"\${$as_ac_var+set}\" = set"; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 if test x$gcc_no_link = xyes; then
20867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20869 { (exit 1); exit 1; }; }
20871 cat >conftest.$ac_ext <<_ACEOF
20872 /* confdefs.h. */
20873 _ACEOF
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20879 #define $ac_func innocuous_$ac_func
20881 /* System header to define __stub macros and hopefully few prototypes,
20882 which can conflict with char $ac_func (); below.
20883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20884 <limits.h> exists even on freestanding compilers. */
20886 #ifdef __STDC__
20887 # include <limits.h>
20888 #else
20889 # include <assert.h>
20890 #endif
20892 #undef $ac_func
20894 /* Override any gcc2 internal prototype to avoid an error. */
20895 #ifdef __cplusplus
20896 extern "C"
20898 #endif
20899 /* We use char because int might match the return type of a gcc2
20900 builtin and then its argument prototype would still apply. */
20901 char $ac_func ();
20902 /* The GNU C library defines this for functions which it implements
20903 to always fail with ENOSYS. Some functions are actually named
20904 something starting with __ and the normal name is an alias. */
20905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20906 choke me
20907 #else
20908 char (*f) () = $ac_func;
20909 #endif
20910 #ifdef __cplusplus
20912 #endif
20915 main ()
20917 return f != $ac_func;
20919 return 0;
20921 _ACEOF
20922 rm -f conftest.$ac_objext conftest$ac_exeext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20924 (eval $ac_link) 2>conftest.er1
20925 ac_status=$?
20926 grep -v '^ *+' conftest.er1 >conftest.err
20927 rm -f conftest.er1
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try='test -z "$ac_c_werror_flag"
20932 || test ! -s conftest.err'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20935 ac_status=$?
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; } &&
20938 { ac_try='test -s conftest$ac_exeext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 eval "$as_ac_var=yes"
20945 else
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20949 eval "$as_ac_var=no"
20951 rm -f conftest.err conftest.$ac_objext \
20952 conftest$ac_exeext conftest.$ac_ext
20954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20956 if test `eval echo '${'$as_ac_var'}'` = yes; then
20957 cat >>confdefs.h <<_ACEOF
20958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 _ACEOF
20962 done
20969 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20970 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20971 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20972 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 else
20978 ac_ext=cc
20979 ac_cpp='$CXXCPP $CPPFLAGS'
20980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #include <math.h>
20992 main ()
20994 frexpl(0, 0);
20996 return 0;
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -z "$ac_cxx_werror_flag"
21009 || test ! -s conftest.err'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21012 ac_status=$?
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; } &&
21015 { ac_try='test -s conftest.$ac_objext'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21018 ac_status=$?
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 glibcxx_cv_func_frexpl_use=yes
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21026 glibcxx_cv_func_frexpl_use=no
21028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21029 ac_ext=c
21030 ac_cpp='$CPP $CPPFLAGS'
21031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21040 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21042 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21044 for ac_func in frexpl
21046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21047 echo "$as_me:$LINENO: checking for $ac_func" >&5
21048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21049 if eval "test \"\${$as_ac_var+set}\" = set"; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test x$gcc_no_link = xyes; then
21053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21055 { (exit 1); exit 1; }; }
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21065 #define $ac_func innocuous_$ac_func
21067 /* System header to define __stub macros and hopefully few prototypes,
21068 which can conflict with char $ac_func (); below.
21069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21070 <limits.h> exists even on freestanding compilers. */
21072 #ifdef __STDC__
21073 # include <limits.h>
21074 #else
21075 # include <assert.h>
21076 #endif
21078 #undef $ac_func
21080 /* Override any gcc2 internal prototype to avoid an error. */
21081 #ifdef __cplusplus
21082 extern "C"
21084 #endif
21085 /* We use char because int might match the return type of a gcc2
21086 builtin and then its argument prototype would still apply. */
21087 char $ac_func ();
21088 /* The GNU C library defines this for functions which it implements
21089 to always fail with ENOSYS. Some functions are actually named
21090 something starting with __ and the normal name is an alias. */
21091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21092 choke me
21093 #else
21094 char (*f) () = $ac_func;
21095 #endif
21096 #ifdef __cplusplus
21098 #endif
21101 main ()
21103 return f != $ac_func;
21105 return 0;
21107 _ACEOF
21108 rm -f conftest.$ac_objext conftest$ac_exeext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21110 (eval $ac_link) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag"
21118 || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try='test -s conftest$ac_exeext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 eval "$as_ac_var=yes"
21131 else
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21135 eval "$as_ac_var=no"
21137 rm -f conftest.err conftest.$ac_objext \
21138 conftest$ac_exeext conftest.$ac_ext
21140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21142 if test `eval echo '${'$as_ac_var'}'` = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21145 _ACEOF
21148 done
21150 else
21152 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
21153 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
21154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
21155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21161 ac_ext=cc
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <math.h>
21175 main ()
21177 _frexpl(0, 0);
21179 return 0;
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 glibcxx_cv_func__frexpl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21209 glibcxx_cv_func__frexpl_use=no
21211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21212 ac_ext=c
21213 ac_cpp='$CPP $CPPFLAGS'
21214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
21225 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
21227 for ac_func in _frexpl
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21238 { (exit 1); exit 1; }; }
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21248 #define $ac_func innocuous_$ac_func
21250 /* System header to define __stub macros and hopefully few prototypes,
21251 which can conflict with char $ac_func (); below.
21252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21253 <limits.h> exists even on freestanding compilers. */
21255 #ifdef __STDC__
21256 # include <limits.h>
21257 #else
21258 # include <assert.h>
21259 #endif
21261 #undef $ac_func
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char $ac_func ();
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21275 choke me
21276 #else
21277 char (*f) () = $ac_func;
21278 #endif
21279 #ifdef __cplusplus
21281 #endif
21284 main ()
21286 return f != $ac_func;
21288 return 0;
21290 _ACEOF
21291 rm -f conftest.$ac_objext conftest$ac_exeext
21292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21293 (eval $ac_link) 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -z "$ac_c_werror_flag"
21301 || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 eval "$as_ac_var=yes"
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21318 eval "$as_ac_var=no"
21320 rm -f conftest.err conftest.$ac_objext \
21321 conftest$ac_exeext conftest.$ac_ext
21323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21325 if test `eval echo '${'$as_ac_var'}'` = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21328 _ACEOF
21331 done
21338 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21339 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21340 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21341 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21347 ac_ext=cc
21348 ac_cpp='$CXXCPP $CPPFLAGS'
21349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 #include <math.h>
21361 main ()
21363 hypotl(0, 0);
21365 return 0;
21367 _ACEOF
21368 rm -f conftest.$ac_objext
21369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21370 (eval $ac_compile) 2>conftest.er1
21371 ac_status=$?
21372 grep -v '^ *+' conftest.er1 >conftest.err
21373 rm -f conftest.er1
21374 cat conftest.err >&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } &&
21377 { ac_try='test -z "$ac_cxx_werror_flag"
21378 || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21381 ac_status=$?
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 glibcxx_cv_func_hypotl_use=yes
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 glibcxx_cv_func_hypotl_use=no
21397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ac_ext=c
21399 ac_cpp='$CPP $CPPFLAGS'
21400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21409 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21411 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21413 for ac_func in hypotl
21415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21416 echo "$as_me:$LINENO: checking for $ac_func" >&5
21417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21418 if eval "test \"\${$as_ac_var+set}\" = set"; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 else
21421 if test x$gcc_no_link = xyes; then
21422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21424 { (exit 1); exit 1; }; }
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21434 #define $ac_func innocuous_$ac_func
21436 /* System header to define __stub macros and hopefully few prototypes,
21437 which can conflict with char $ac_func (); below.
21438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21439 <limits.h> exists even on freestanding compilers. */
21441 #ifdef __STDC__
21442 # include <limits.h>
21443 #else
21444 # include <assert.h>
21445 #endif
21447 #undef $ac_func
21449 /* Override any gcc2 internal prototype to avoid an error. */
21450 #ifdef __cplusplus
21451 extern "C"
21453 #endif
21454 /* We use char because int might match the return type of a gcc2
21455 builtin and then its argument prototype would still apply. */
21456 char $ac_func ();
21457 /* The GNU C library defines this for functions which it implements
21458 to always fail with ENOSYS. Some functions are actually named
21459 something starting with __ and the normal name is an alias. */
21460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21461 choke me
21462 #else
21463 char (*f) () = $ac_func;
21464 #endif
21465 #ifdef __cplusplus
21467 #endif
21470 main ()
21472 return f != $ac_func;
21474 return 0;
21476 _ACEOF
21477 rm -f conftest.$ac_objext conftest$ac_exeext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21479 (eval $ac_link) 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try='test -z "$ac_c_werror_flag"
21487 || test ! -s conftest.err'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 eval "$as_ac_var=yes"
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21504 eval "$as_ac_var=no"
21506 rm -f conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21511 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512 cat >>confdefs.h <<_ACEOF
21513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21514 _ACEOF
21517 done
21519 else
21521 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21522 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21523 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21524 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21530 ac_ext=cc
21531 ac_cpp='$CXXCPP $CPPFLAGS'
21532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #include <math.h>
21544 main ()
21546 _hypotl(0, 0);
21548 return 0;
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21553 (eval $ac_compile) 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -z "$ac_cxx_werror_flag"
21561 || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 glibcxx_cv_func__hypotl_use=yes
21574 else
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21578 glibcxx_cv_func__hypotl_use=no
21580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_ext=c
21582 ac_cpp='$CPP $CPPFLAGS'
21583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21592 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21594 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21596 for ac_func in _hypotl
21598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21599 echo "$as_me:$LINENO: checking for $ac_func" >&5
21600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21601 if eval "test \"\${$as_ac_var+set}\" = set"; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 else
21604 if test x$gcc_no_link = xyes; then
21605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21607 { (exit 1); exit 1; }; }
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21617 #define $ac_func innocuous_$ac_func
21619 /* System header to define __stub macros and hopefully few prototypes,
21620 which can conflict with char $ac_func (); below.
21621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21622 <limits.h> exists even on freestanding compilers. */
21624 #ifdef __STDC__
21625 # include <limits.h>
21626 #else
21627 # include <assert.h>
21628 #endif
21630 #undef $ac_func
21632 /* Override any gcc2 internal prototype to avoid an error. */
21633 #ifdef __cplusplus
21634 extern "C"
21636 #endif
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21639 char $ac_func ();
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21644 choke me
21645 #else
21646 char (*f) () = $ac_func;
21647 #endif
21648 #ifdef __cplusplus
21650 #endif
21653 main ()
21655 return f != $ac_func;
21657 return 0;
21659 _ACEOF
21660 rm -f conftest.$ac_objext conftest$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>conftest.er1
21663 ac_status=$?
21664 grep -v '^ *+' conftest.er1 >conftest.err
21665 rm -f conftest.er1
21666 cat conftest.err >&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try='test -z "$ac_c_werror_flag"
21670 || test ! -s conftest.err'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21673 ac_status=$?
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; } &&
21676 { ac_try='test -s conftest$ac_exeext'
21677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21678 (eval $ac_try) 2>&5
21679 ac_status=$?
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; }; then
21682 eval "$as_ac_var=yes"
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21687 eval "$as_ac_var=no"
21689 rm -f conftest.err conftest.$ac_objext \
21690 conftest$ac_exeext conftest.$ac_ext
21692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21694 if test `eval echo '${'$as_ac_var'}'` = yes; then
21695 cat >>confdefs.h <<_ACEOF
21696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21697 _ACEOF
21700 done
21707 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21708 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21709 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21710 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21716 ac_ext=cc
21717 ac_cpp='$CXXCPP $CPPFLAGS'
21718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 #include <math.h>
21730 main ()
21732 ldexpl(0, 0);
21734 return 0;
21736 _ACEOF
21737 rm -f conftest.$ac_objext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21739 (eval $ac_compile) 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -z "$ac_cxx_werror_flag"
21747 || test ! -s conftest.err'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; } &&
21753 { ac_try='test -s conftest.$ac_objext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 glibcxx_cv_func_ldexpl_use=yes
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 glibcxx_cv_func_ldexpl_use=no
21766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21767 ac_ext=c
21768 ac_cpp='$CPP $CPPFLAGS'
21769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21778 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21780 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21782 for ac_func in ldexpl
21784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21785 echo "$as_me:$LINENO: checking for $ac_func" >&5
21786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21787 if eval "test \"\${$as_ac_var+set}\" = set"; then
21788 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 else
21790 if test x$gcc_no_link = xyes; then
21791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21793 { (exit 1); exit 1; }; }
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21803 #define $ac_func innocuous_$ac_func
21805 /* System header to define __stub macros and hopefully few prototypes,
21806 which can conflict with char $ac_func (); below.
21807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21808 <limits.h> exists even on freestanding compilers. */
21810 #ifdef __STDC__
21811 # include <limits.h>
21812 #else
21813 # include <assert.h>
21814 #endif
21816 #undef $ac_func
21818 /* Override any gcc2 internal prototype to avoid an error. */
21819 #ifdef __cplusplus
21820 extern "C"
21822 #endif
21823 /* We use char because int might match the return type of a gcc2
21824 builtin and then its argument prototype would still apply. */
21825 char $ac_func ();
21826 /* The GNU C library defines this for functions which it implements
21827 to always fail with ENOSYS. Some functions are actually named
21828 something starting with __ and the normal name is an alias. */
21829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21830 choke me
21831 #else
21832 char (*f) () = $ac_func;
21833 #endif
21834 #ifdef __cplusplus
21836 #endif
21839 main ()
21841 return f != $ac_func;
21843 return 0;
21845 _ACEOF
21846 rm -f conftest.$ac_objext conftest$ac_exeext
21847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21848 (eval $ac_link) 2>conftest.er1
21849 ac_status=$?
21850 grep -v '^ *+' conftest.er1 >conftest.err
21851 rm -f conftest.er1
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag"
21856 || test ! -s conftest.err'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21859 ac_status=$?
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; } &&
21862 { ac_try='test -s conftest$ac_exeext'
21863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864 (eval $ac_try) 2>&5
21865 ac_status=$?
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 eval "$as_ac_var=yes"
21869 else
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21873 eval "$as_ac_var=no"
21875 rm -f conftest.err conftest.$ac_objext \
21876 conftest$ac_exeext conftest.$ac_ext
21878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21880 if test `eval echo '${'$as_ac_var'}'` = yes; then
21881 cat >>confdefs.h <<_ACEOF
21882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21883 _ACEOF
21886 done
21888 else
21890 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21891 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21892 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21893 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21894 echo $ECHO_N "(cached) $ECHO_C" >&6
21895 else
21899 ac_ext=cc
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21905 cat >conftest.$ac_ext <<_ACEOF
21906 /* confdefs.h. */
21907 _ACEOF
21908 cat confdefs.h >>conftest.$ac_ext
21909 cat >>conftest.$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21911 #include <math.h>
21913 main ()
21915 _ldexpl(0, 0);
21917 return 0;
21919 _ACEOF
21920 rm -f conftest.$ac_objext
21921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21922 (eval $ac_compile) 2>conftest.er1
21923 ac_status=$?
21924 grep -v '^ *+' conftest.er1 >conftest.err
21925 rm -f conftest.er1
21926 cat conftest.err >&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } &&
21929 { ac_try='test -z "$ac_cxx_werror_flag"
21930 || test ! -s conftest.err'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; } &&
21936 { ac_try='test -s conftest.$ac_objext'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21939 ac_status=$?
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; }; then
21942 glibcxx_cv_func__ldexpl_use=yes
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21947 glibcxx_cv_func__ldexpl_use=no
21949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21950 ac_ext=c
21951 ac_cpp='$CPP $CPPFLAGS'
21952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21961 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21963 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21965 for ac_func in _ldexpl
21967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21968 echo "$as_me:$LINENO: checking for $ac_func" >&5
21969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21970 if eval "test \"\${$as_ac_var+set}\" = set"; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 else
21973 if test x$gcc_no_link = xyes; then
21974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21976 { (exit 1); exit 1; }; }
21978 cat >conftest.$ac_ext <<_ACEOF
21979 /* confdefs.h. */
21980 _ACEOF
21981 cat confdefs.h >>conftest.$ac_ext
21982 cat >>conftest.$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21986 #define $ac_func innocuous_$ac_func
21988 /* System header to define __stub macros and hopefully few prototypes,
21989 which can conflict with char $ac_func (); below.
21990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21991 <limits.h> exists even on freestanding compilers. */
21993 #ifdef __STDC__
21994 # include <limits.h>
21995 #else
21996 # include <assert.h>
21997 #endif
21999 #undef $ac_func
22001 /* Override any gcc2 internal prototype to avoid an error. */
22002 #ifdef __cplusplus
22003 extern "C"
22005 #endif
22006 /* We use char because int might match the return type of a gcc2
22007 builtin and then its argument prototype would still apply. */
22008 char $ac_func ();
22009 /* The GNU C library defines this for functions which it implements
22010 to always fail with ENOSYS. Some functions are actually named
22011 something starting with __ and the normal name is an alias. */
22012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22013 choke me
22014 #else
22015 char (*f) () = $ac_func;
22016 #endif
22017 #ifdef __cplusplus
22019 #endif
22022 main ()
22024 return f != $ac_func;
22026 return 0;
22028 _ACEOF
22029 rm -f conftest.$ac_objext conftest$ac_exeext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031 (eval $ac_link) 2>conftest.er1
22032 ac_status=$?
22033 grep -v '^ *+' conftest.er1 >conftest.err
22034 rm -f conftest.er1
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } &&
22038 { ac_try='test -z "$ac_c_werror_flag"
22039 || test ! -s conftest.err'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22042 ac_status=$?
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; } &&
22045 { ac_try='test -s conftest$ac_exeext'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; }; then
22051 eval "$as_ac_var=yes"
22052 else
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22056 eval "$as_ac_var=no"
22058 rm -f conftest.err conftest.$ac_objext \
22059 conftest$ac_exeext conftest.$ac_ext
22061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22063 if test `eval echo '${'$as_ac_var'}'` = yes; then
22064 cat >>confdefs.h <<_ACEOF
22065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22066 _ACEOF
22069 done
22076 echo "$as_me:$LINENO: checking for logl declaration" >&5
22077 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
22078 if test x${glibcxx_cv_func_logl_use+set} != xset; then
22079 if test "${glibcxx_cv_func_logl_use+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 else
22085 ac_ext=cc
22086 ac_cpp='$CXXCPP $CPPFLAGS'
22087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 #include <math.h>
22098 #ifdef HAVE_IEEEFP_H
22099 #include <ieeefp.h>
22100 #endif
22103 main ()
22105 logl(0);
22107 return 0;
22109 _ACEOF
22110 rm -f conftest.$ac_objext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22112 (eval $ac_compile) 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try='test -z "$ac_cxx_werror_flag"
22120 || test ! -s conftest.err'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; } &&
22126 { ac_try='test -s conftest.$ac_objext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22129 ac_status=$?
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 glibcxx_cv_func_logl_use=yes
22133 else
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.$ac_ext >&5
22137 glibcxx_cv_func_logl_use=no
22139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22140 ac_ext=c
22141 ac_cpp='$CPP $CPPFLAGS'
22142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
22151 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
22153 if test x$glibcxx_cv_func_logl_use = x"yes"; then
22155 for ac_func in logl
22157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22158 echo "$as_me:$LINENO: checking for $ac_func" >&5
22159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22160 if eval "test \"\${$as_ac_var+set}\" = set"; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 if test x$gcc_no_link = xyes; then
22164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22166 { (exit 1); exit 1; }; }
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22176 #define $ac_func innocuous_$ac_func
22178 /* System header to define __stub macros and hopefully few prototypes,
22179 which can conflict with char $ac_func (); below.
22180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22181 <limits.h> exists even on freestanding compilers. */
22183 #ifdef __STDC__
22184 # include <limits.h>
22185 #else
22186 # include <assert.h>
22187 #endif
22189 #undef $ac_func
22191 /* Override any gcc2 internal prototype to avoid an error. */
22192 #ifdef __cplusplus
22193 extern "C"
22195 #endif
22196 /* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22198 char $ac_func ();
22199 /* The GNU C library defines this for functions which it implements
22200 to always fail with ENOSYS. Some functions are actually named
22201 something starting with __ and the normal name is an alias. */
22202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22203 choke me
22204 #else
22205 char (*f) () = $ac_func;
22206 #endif
22207 #ifdef __cplusplus
22209 #endif
22212 main ()
22214 return f != $ac_func;
22216 return 0;
22218 _ACEOF
22219 rm -f conftest.$ac_objext conftest$ac_exeext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>conftest.er1
22222 ac_status=$?
22223 grep -v '^ *+' conftest.er1 >conftest.err
22224 rm -f conftest.er1
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try='test -z "$ac_c_werror_flag"
22229 || test ! -s conftest.err'
22230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231 (eval $ac_try) 2>&5
22232 ac_status=$?
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); }; } &&
22235 { ac_try='test -s conftest$ac_exeext'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 eval "$as_ac_var=yes"
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 eval "$as_ac_var=no"
22248 rm -f conftest.err conftest.$ac_objext \
22249 conftest$ac_exeext conftest.$ac_ext
22251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22253 if test `eval echo '${'$as_ac_var'}'` = yes; then
22254 cat >>confdefs.h <<_ACEOF
22255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22256 _ACEOF
22259 done
22261 else
22263 echo "$as_me:$LINENO: checking for _logl declaration" >&5
22264 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
22265 if test x${glibcxx_cv_func__logl_use+set} != xset; then
22266 if test "${glibcxx_cv_func__logl_use+set}" = set; then
22267 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 else
22272 ac_ext=cc
22273 ac_cpp='$CXXCPP $CPPFLAGS'
22274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h. */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 #include <math.h>
22285 #ifdef HAVE_IEEEFP_H
22286 #include <ieeefp.h>
22287 #endif
22290 main ()
22292 _logl(0);
22294 return 0;
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22300 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1
22303 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -z "$ac_cxx_werror_flag"
22307 || test ! -s conftest.err'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; } &&
22313 { ac_try='test -s conftest.$ac_objext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22316 ac_status=$?
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 glibcxx_cv_func__logl_use=yes
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22324 glibcxx_cv_func__logl_use=no
22326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22327 ac_ext=c
22328 ac_cpp='$CPP $CPPFLAGS'
22329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22338 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22340 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22342 for ac_func in _logl
22344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22345 echo "$as_me:$LINENO: checking for $ac_func" >&5
22346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22347 if eval "test \"\${$as_ac_var+set}\" = set"; then
22348 echo $ECHO_N "(cached) $ECHO_C" >&6
22349 else
22350 if test x$gcc_no_link = xyes; then
22351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22353 { (exit 1); exit 1; }; }
22355 cat >conftest.$ac_ext <<_ACEOF
22356 /* confdefs.h. */
22357 _ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22363 #define $ac_func innocuous_$ac_func
22365 /* System header to define __stub macros and hopefully few prototypes,
22366 which can conflict with char $ac_func (); below.
22367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22368 <limits.h> exists even on freestanding compilers. */
22370 #ifdef __STDC__
22371 # include <limits.h>
22372 #else
22373 # include <assert.h>
22374 #endif
22376 #undef $ac_func
22378 /* Override any gcc2 internal prototype to avoid an error. */
22379 #ifdef __cplusplus
22380 extern "C"
22382 #endif
22383 /* We use char because int might match the return type of a gcc2
22384 builtin and then its argument prototype would still apply. */
22385 char $ac_func ();
22386 /* The GNU C library defines this for functions which it implements
22387 to always fail with ENOSYS. Some functions are actually named
22388 something starting with __ and the normal name is an alias. */
22389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22390 choke me
22391 #else
22392 char (*f) () = $ac_func;
22393 #endif
22394 #ifdef __cplusplus
22396 #endif
22399 main ()
22401 return f != $ac_func;
22403 return 0;
22405 _ACEOF
22406 rm -f conftest.$ac_objext conftest$ac_exeext
22407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22408 (eval $ac_link) 2>conftest.er1
22409 ac_status=$?
22410 grep -v '^ *+' conftest.er1 >conftest.err
22411 rm -f conftest.er1
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try='test -z "$ac_c_werror_flag"
22416 || test ! -s conftest.err'
22417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418 (eval $ac_try) 2>&5
22419 ac_status=$?
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try='test -s conftest$ac_exeext'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 eval "$as_ac_var=yes"
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 eval "$as_ac_var=no"
22435 rm -f conftest.err conftest.$ac_objext \
22436 conftest$ac_exeext conftest.$ac_ext
22438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22440 if test `eval echo '${'$as_ac_var'}'` = yes; then
22441 cat >>confdefs.h <<_ACEOF
22442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22443 _ACEOF
22446 done
22453 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22454 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22455 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22456 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22457 echo $ECHO_N "(cached) $ECHO_C" >&6
22458 else
22462 ac_ext=cc
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22468 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h. */
22470 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474 #include <math.h>
22475 #ifdef HAVE_IEEEFP_H
22476 #include <ieeefp.h>
22477 #endif
22480 main ()
22482 log10l(0);
22484 return 0;
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489 (eval $ac_compile) 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try='test -z "$ac_cxx_werror_flag"
22497 || test ! -s conftest.err'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; } &&
22503 { ac_try='test -s conftest.$ac_objext'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22506 ac_status=$?
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; }; then
22509 glibcxx_cv_func_log10l_use=yes
22510 else
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22514 glibcxx_cv_func_log10l_use=no
22516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517 ac_ext=c
22518 ac_cpp='$CPP $CPPFLAGS'
22519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22528 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22530 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22532 for ac_func in log10l
22534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22535 echo "$as_me:$LINENO: checking for $ac_func" >&5
22536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22537 if eval "test \"\${$as_ac_var+set}\" = set"; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 else
22540 if test x$gcc_no_link = xyes; then
22541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543 { (exit 1); exit 1; }; }
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22553 #define $ac_func innocuous_$ac_func
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char $ac_func (); below.
22557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558 <limits.h> exists even on freestanding compilers. */
22560 #ifdef __STDC__
22561 # include <limits.h>
22562 #else
22563 # include <assert.h>
22564 #endif
22566 #undef $ac_func
22568 /* Override any gcc2 internal prototype to avoid an error. */
22569 #ifdef __cplusplus
22570 extern "C"
22572 #endif
22573 /* We use char because int might match the return type of a gcc2
22574 builtin and then its argument prototype would still apply. */
22575 char $ac_func ();
22576 /* The GNU C library defines this for functions which it implements
22577 to always fail with ENOSYS. Some functions are actually named
22578 something starting with __ and the normal name is an alias. */
22579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22580 choke me
22581 #else
22582 char (*f) () = $ac_func;
22583 #endif
22584 #ifdef __cplusplus
22586 #endif
22589 main ()
22591 return f != $ac_func;
22593 return 0;
22595 _ACEOF
22596 rm -f conftest.$ac_objext conftest$ac_exeext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22598 (eval $ac_link) 2>conftest.er1
22599 ac_status=$?
22600 grep -v '^ *+' conftest.er1 >conftest.err
22601 rm -f conftest.er1
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try='test -z "$ac_c_werror_flag"
22606 || test ! -s conftest.err'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22609 ac_status=$?
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try='test -s conftest$ac_exeext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 eval "$as_ac_var=yes"
22619 else
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22623 eval "$as_ac_var=no"
22625 rm -f conftest.err conftest.$ac_objext \
22626 conftest$ac_exeext conftest.$ac_ext
22628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22630 if test `eval echo '${'$as_ac_var'}'` = yes; then
22631 cat >>confdefs.h <<_ACEOF
22632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22633 _ACEOF
22636 done
22638 else
22640 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22641 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22642 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22643 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22644 echo $ECHO_N "(cached) $ECHO_C" >&6
22645 else
22649 ac_ext=cc
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655 cat >conftest.$ac_ext <<_ACEOF
22656 /* confdefs.h. */
22657 _ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661 #include <math.h>
22662 #ifdef HAVE_IEEEFP_H
22663 #include <ieeefp.h>
22664 #endif
22667 main ()
22669 _log10l(0);
22671 return 0;
22673 _ACEOF
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 glibcxx_cv_func__log10l_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 glibcxx_cv_func__log10l_use=no
22703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22717 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22719 for ac_func in _log10l
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22730 { (exit 1); exit 1; }; }
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22740 #define $ac_func innocuous_$ac_func
22742 /* System header to define __stub macros and hopefully few prototypes,
22743 which can conflict with char $ac_func (); below.
22744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22745 <limits.h> exists even on freestanding compilers. */
22747 #ifdef __STDC__
22748 # include <limits.h>
22749 #else
22750 # include <assert.h>
22751 #endif
22753 #undef $ac_func
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char $ac_func ();
22763 /* The GNU C library defines this for functions which it implements
22764 to always fail with ENOSYS. Some functions are actually named
22765 something starting with __ and the normal name is an alias. */
22766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22767 choke me
22768 #else
22769 char (*f) () = $ac_func;
22770 #endif
22771 #ifdef __cplusplus
22773 #endif
22776 main ()
22778 return f != $ac_func;
22780 return 0;
22782 _ACEOF
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_c_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 eval "$as_ac_var=yes"
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 eval "$as_ac_var=no"
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22817 if test `eval echo '${'$as_ac_var'}'` = yes; then
22818 cat >>confdefs.h <<_ACEOF
22819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22820 _ACEOF
22823 done
22830 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22831 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22832 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22833 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22839 ac_ext=cc
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845 cat >conftest.$ac_ext <<_ACEOF
22846 /* confdefs.h. */
22847 _ACEOF
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 #include <math.h>
22853 main ()
22855 modfl(0, 0);
22857 return 0;
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_cxx_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try='test -s conftest.$ac_objext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 glibcxx_cv_func_modfl_use=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22887 glibcxx_cv_func_modfl_use=no
22889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22890 ac_ext=c
22891 ac_cpp='$CPP $CPPFLAGS'
22892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22901 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22903 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22905 for ac_func in modfl
22907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22908 echo "$as_me:$LINENO: checking for $ac_func" >&5
22909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22910 if eval "test \"\${$as_ac_var+set}\" = set"; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 if test x$gcc_no_link = xyes; then
22914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22916 { (exit 1); exit 1; }; }
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22926 #define $ac_func innocuous_$ac_func
22928 /* System header to define __stub macros and hopefully few prototypes,
22929 which can conflict with char $ac_func (); below.
22930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22931 <limits.h> exists even on freestanding compilers. */
22933 #ifdef __STDC__
22934 # include <limits.h>
22935 #else
22936 # include <assert.h>
22937 #endif
22939 #undef $ac_func
22941 /* Override any gcc2 internal prototype to avoid an error. */
22942 #ifdef __cplusplus
22943 extern "C"
22945 #endif
22946 /* We use char because int might match the return type of a gcc2
22947 builtin and then its argument prototype would still apply. */
22948 char $ac_func ();
22949 /* The GNU C library defines this for functions which it implements
22950 to always fail with ENOSYS. Some functions are actually named
22951 something starting with __ and the normal name is an alias. */
22952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22953 choke me
22954 #else
22955 char (*f) () = $ac_func;
22956 #endif
22957 #ifdef __cplusplus
22959 #endif
22962 main ()
22964 return f != $ac_func;
22966 return 0;
22968 _ACEOF
22969 rm -f conftest.$ac_objext conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -z "$ac_c_werror_flag"
22979 || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22982 ac_status=$?
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 eval "$as_ac_var=yes"
22992 else
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22996 eval "$as_ac_var=no"
22998 rm -f conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23003 if test `eval echo '${'$as_ac_var'}'` = yes; then
23004 cat >>confdefs.h <<_ACEOF
23005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23006 _ACEOF
23009 done
23011 else
23013 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23014 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23015 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23016 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 else
23022 ac_ext=cc
23023 ac_cpp='$CXXCPP $CPPFLAGS'
23024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23028 cat >conftest.$ac_ext <<_ACEOF
23029 /* confdefs.h. */
23030 _ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 #include <math.h>
23036 main ()
23038 _modfl(0, 0);
23040 return 0;
23042 _ACEOF
23043 rm -f conftest.$ac_objext
23044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23045 (eval $ac_compile) 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try='test -z "$ac_cxx_werror_flag"
23053 || test ! -s conftest.err'
23054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23055 (eval $ac_try) 2>&5
23056 ac_status=$?
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; } &&
23059 { ac_try='test -s conftest.$ac_objext'
23060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061 (eval $ac_try) 2>&5
23062 ac_status=$?
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); }; }; then
23065 glibcxx_cv_func__modfl_use=yes
23066 else
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23070 glibcxx_cv_func__modfl_use=no
23072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23073 ac_ext=c
23074 ac_cpp='$CPP $CPPFLAGS'
23075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
23084 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
23086 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
23088 for ac_func in _modfl
23090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23091 echo "$as_me:$LINENO: checking for $ac_func" >&5
23092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23093 if eval "test \"\${$as_ac_var+set}\" = set"; then
23094 echo $ECHO_N "(cached) $ECHO_C" >&6
23095 else
23096 if test x$gcc_no_link = xyes; then
23097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23099 { (exit 1); exit 1; }; }
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23109 #define $ac_func innocuous_$ac_func
23111 /* System header to define __stub macros and hopefully few prototypes,
23112 which can conflict with char $ac_func (); below.
23113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23114 <limits.h> exists even on freestanding compilers. */
23116 #ifdef __STDC__
23117 # include <limits.h>
23118 #else
23119 # include <assert.h>
23120 #endif
23122 #undef $ac_func
23124 /* Override any gcc2 internal prototype to avoid an error. */
23125 #ifdef __cplusplus
23126 extern "C"
23128 #endif
23129 /* We use char because int might match the return type of a gcc2
23130 builtin and then its argument prototype would still apply. */
23131 char $ac_func ();
23132 /* The GNU C library defines this for functions which it implements
23133 to always fail with ENOSYS. Some functions are actually named
23134 something starting with __ and the normal name is an alias. */
23135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23136 choke me
23137 #else
23138 char (*f) () = $ac_func;
23139 #endif
23140 #ifdef __cplusplus
23142 #endif
23145 main ()
23147 return f != $ac_func;
23149 return 0;
23151 _ACEOF
23152 rm -f conftest.$ac_objext conftest$ac_exeext
23153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23154 (eval $ac_link) 2>conftest.er1
23155 ac_status=$?
23156 grep -v '^ *+' conftest.er1 >conftest.err
23157 rm -f conftest.er1
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } &&
23161 { ac_try='test -z "$ac_c_werror_flag"
23162 || test ! -s conftest.err'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; } &&
23168 { ac_try='test -s conftest$ac_exeext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 eval "$as_ac_var=yes"
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23179 eval "$as_ac_var=no"
23181 rm -f conftest.err conftest.$ac_objext \
23182 conftest$ac_exeext conftest.$ac_ext
23184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23186 if test `eval echo '${'$as_ac_var'}'` = yes; then
23187 cat >>confdefs.h <<_ACEOF
23188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23189 _ACEOF
23192 done
23199 echo "$as_me:$LINENO: checking for powl declaration" >&5
23200 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func_powl_use+set} != xset; then
23202 if test "${glibcxx_cv_func_powl_use+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23208 ac_ext=cc
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat >conftest.$ac_ext <<_ACEOF
23215 /* confdefs.h. */
23216 _ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 #include <math.h>
23222 main ()
23224 powl(0, 0);
23226 return 0;
23228 _ACEOF
23229 rm -f conftest.$ac_objext
23230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23231 (eval $ac_compile) 2>conftest.er1
23232 ac_status=$?
23233 grep -v '^ *+' conftest.er1 >conftest.err
23234 rm -f conftest.er1
23235 cat conftest.err >&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); } &&
23238 { ac_try='test -z "$ac_cxx_werror_flag"
23239 || test ! -s conftest.err'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23242 ac_status=$?
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; } &&
23245 { ac_try='test -s conftest.$ac_objext'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; }; then
23251 glibcxx_cv_func_powl_use=yes
23252 else
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23256 glibcxx_cv_func_powl_use=no
23258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23259 ac_ext=c
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
23270 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
23272 if test x$glibcxx_cv_func_powl_use = x"yes"; then
23274 for ac_func in powl
23276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23277 echo "$as_me:$LINENO: checking for $ac_func" >&5
23278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23279 if eval "test \"\${$as_ac_var+set}\" = set"; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 else
23282 if test x$gcc_no_link = xyes; then
23283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23285 { (exit 1); exit 1; }; }
23287 cat >conftest.$ac_ext <<_ACEOF
23288 /* confdefs.h. */
23289 _ACEOF
23290 cat confdefs.h >>conftest.$ac_ext
23291 cat >>conftest.$ac_ext <<_ACEOF
23292 /* end confdefs.h. */
23293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23295 #define $ac_func innocuous_$ac_func
23297 /* System header to define __stub macros and hopefully few prototypes,
23298 which can conflict with char $ac_func (); below.
23299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23300 <limits.h> exists even on freestanding compilers. */
23302 #ifdef __STDC__
23303 # include <limits.h>
23304 #else
23305 # include <assert.h>
23306 #endif
23308 #undef $ac_func
23310 /* Override any gcc2 internal prototype to avoid an error. */
23311 #ifdef __cplusplus
23312 extern "C"
23314 #endif
23315 /* We use char because int might match the return type of a gcc2
23316 builtin and then its argument prototype would still apply. */
23317 char $ac_func ();
23318 /* The GNU C library defines this for functions which it implements
23319 to always fail with ENOSYS. Some functions are actually named
23320 something starting with __ and the normal name is an alias. */
23321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23322 choke me
23323 #else
23324 char (*f) () = $ac_func;
23325 #endif
23326 #ifdef __cplusplus
23328 #endif
23331 main ()
23333 return f != $ac_func;
23335 return 0;
23337 _ACEOF
23338 rm -f conftest.$ac_objext conftest$ac_exeext
23339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23340 (eval $ac_link) 2>conftest.er1
23341 ac_status=$?
23342 grep -v '^ *+' conftest.er1 >conftest.err
23343 rm -f conftest.er1
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try='test -z "$ac_c_werror_flag"
23348 || test ! -s conftest.err'
23349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23350 (eval $ac_try) 2>&5
23351 ac_status=$?
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); }; } &&
23354 { ac_try='test -s conftest$ac_exeext'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23357 ac_status=$?
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; }; then
23360 eval "$as_ac_var=yes"
23361 else
23362 echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.$ac_ext >&5
23365 eval "$as_ac_var=no"
23367 rm -f conftest.err conftest.$ac_objext \
23368 conftest$ac_exeext conftest.$ac_ext
23370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23372 if test `eval echo '${'$as_ac_var'}'` = yes; then
23373 cat >>confdefs.h <<_ACEOF
23374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23375 _ACEOF
23378 done
23380 else
23382 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23383 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23384 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23385 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 else
23391 ac_ext=cc
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397 cat >conftest.$ac_ext <<_ACEOF
23398 /* confdefs.h. */
23399 _ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403 #include <math.h>
23405 main ()
23407 _powl(0, 0);
23409 return 0;
23411 _ACEOF
23412 rm -f conftest.$ac_objext
23413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23414 (eval $ac_compile) 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -z "$ac_cxx_werror_flag"
23422 || test ! -s conftest.err'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; } &&
23428 { ac_try='test -s conftest.$ac_objext'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23431 ac_status=$?
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; }; then
23434 glibcxx_cv_func__powl_use=yes
23435 else
23436 echo "$as_me: failed program was:" >&5
23437 sed 's/^/| /' conftest.$ac_ext >&5
23439 glibcxx_cv_func__powl_use=no
23441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23442 ac_ext=c
23443 ac_cpp='$CPP $CPPFLAGS'
23444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23453 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23455 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23457 for ac_func in _powl
23459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23460 echo "$as_me:$LINENO: checking for $ac_func" >&5
23461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23462 if eval "test \"\${$as_ac_var+set}\" = set"; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 else
23465 if test x$gcc_no_link = xyes; then
23466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23468 { (exit 1); exit 1; }; }
23470 cat >conftest.$ac_ext <<_ACEOF
23471 /* confdefs.h. */
23472 _ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23478 #define $ac_func innocuous_$ac_func
23480 /* System header to define __stub macros and hopefully few prototypes,
23481 which can conflict with char $ac_func (); below.
23482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23483 <limits.h> exists even on freestanding compilers. */
23485 #ifdef __STDC__
23486 # include <limits.h>
23487 #else
23488 # include <assert.h>
23489 #endif
23491 #undef $ac_func
23493 /* Override any gcc2 internal prototype to avoid an error. */
23494 #ifdef __cplusplus
23495 extern "C"
23497 #endif
23498 /* We use char because int might match the return type of a gcc2
23499 builtin and then its argument prototype would still apply. */
23500 char $ac_func ();
23501 /* The GNU C library defines this for functions which it implements
23502 to always fail with ENOSYS. Some functions are actually named
23503 something starting with __ and the normal name is an alias. */
23504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23505 choke me
23506 #else
23507 char (*f) () = $ac_func;
23508 #endif
23509 #ifdef __cplusplus
23511 #endif
23514 main ()
23516 return f != $ac_func;
23518 return 0;
23520 _ACEOF
23521 rm -f conftest.$ac_objext conftest$ac_exeext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23523 (eval $ac_link) 2>conftest.er1
23524 ac_status=$?
23525 grep -v '^ *+' conftest.er1 >conftest.err
23526 rm -f conftest.er1
23527 cat conftest.err >&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try='test -z "$ac_c_werror_flag"
23531 || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try='test -s conftest$ac_exeext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23540 ac_status=$?
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 eval "$as_ac_var=yes"
23544 else
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.$ac_ext >&5
23548 eval "$as_ac_var=no"
23550 rm -f conftest.err conftest.$ac_objext \
23551 conftest$ac_exeext conftest.$ac_ext
23553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23555 if test `eval echo '${'$as_ac_var'}'` = yes; then
23556 cat >>confdefs.h <<_ACEOF
23557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23558 _ACEOF
23561 done
23568 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23569 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23570 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23571 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23577 ac_ext=cc
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 #include <math.h>
23590 #ifdef HAVE_IEEEFP_H
23591 #include <ieeefp.h>
23592 #endif
23595 main ()
23597 sqrtl(0);
23599 return 0;
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23604 (eval $ac_compile) 2>conftest.er1
23605 ac_status=$?
23606 grep -v '^ *+' conftest.er1 >conftest.err
23607 rm -f conftest.er1
23608 cat conftest.err >&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } &&
23611 { ac_try='test -z "$ac_cxx_werror_flag"
23612 || test ! -s conftest.err'
23613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614 (eval $ac_try) 2>&5
23615 ac_status=$?
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; } &&
23618 { ac_try='test -s conftest.$ac_objext'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23621 ac_status=$?
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624 glibcxx_cv_func_sqrtl_use=yes
23625 else
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23629 glibcxx_cv_func_sqrtl_use=no
23631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23643 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23645 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23647 for ac_func in sqrtl
23649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23650 echo "$as_me:$LINENO: checking for $ac_func" >&5
23651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23652 if eval "test \"\${$as_ac_var+set}\" = set"; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 else
23655 if test x$gcc_no_link = xyes; then
23656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23658 { (exit 1); exit 1; }; }
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23668 #define $ac_func innocuous_$ac_func
23670 /* System header to define __stub macros and hopefully few prototypes,
23671 which can conflict with char $ac_func (); below.
23672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23673 <limits.h> exists even on freestanding compilers. */
23675 #ifdef __STDC__
23676 # include <limits.h>
23677 #else
23678 # include <assert.h>
23679 #endif
23681 #undef $ac_func
23683 /* Override any gcc2 internal prototype to avoid an error. */
23684 #ifdef __cplusplus
23685 extern "C"
23687 #endif
23688 /* We use char because int might match the return type of a gcc2
23689 builtin and then its argument prototype would still apply. */
23690 char $ac_func ();
23691 /* The GNU C library defines this for functions which it implements
23692 to always fail with ENOSYS. Some functions are actually named
23693 something starting with __ and the normal name is an alias. */
23694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23695 choke me
23696 #else
23697 char (*f) () = $ac_func;
23698 #endif
23699 #ifdef __cplusplus
23701 #endif
23704 main ()
23706 return f != $ac_func;
23708 return 0;
23710 _ACEOF
23711 rm -f conftest.$ac_objext conftest$ac_exeext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23713 (eval $ac_link) 2>conftest.er1
23714 ac_status=$?
23715 grep -v '^ *+' conftest.er1 >conftest.err
23716 rm -f conftest.er1
23717 cat conftest.err >&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try='test -z "$ac_c_werror_flag"
23721 || test ! -s conftest.err'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; } &&
23727 { ac_try='test -s conftest$ac_exeext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 eval "$as_ac_var=yes"
23734 else
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23738 eval "$as_ac_var=no"
23740 rm -f conftest.err conftest.$ac_objext \
23741 conftest$ac_exeext conftest.$ac_ext
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23745 if test `eval echo '${'$as_ac_var'}'` = yes; then
23746 cat >>confdefs.h <<_ACEOF
23747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23748 _ACEOF
23751 done
23753 else
23755 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23756 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23757 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23758 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23764 ac_ext=cc
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h. */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 #ifdef HAVE_IEEEFP_H
23778 #include <ieeefp.h>
23779 #endif
23782 main ()
23784 _sqrtl(0);
23786 return 0;
23788 _ACEOF
23789 rm -f conftest.$ac_objext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23791 (eval $ac_compile) 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try='test -z "$ac_cxx_werror_flag"
23799 || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest.$ac_objext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 glibcxx_cv_func__sqrtl_use=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 glibcxx_cv_func__sqrtl_use=no
23818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23830 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23832 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23834 for ac_func in _sqrtl
23836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23837 echo "$as_me:$LINENO: checking for $ac_func" >&5
23838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23839 if eval "test \"\${$as_ac_var+set}\" = set"; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23842 if test x$gcc_no_link = xyes; then
23843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23845 { (exit 1); exit 1; }; }
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23855 #define $ac_func innocuous_$ac_func
23857 /* System header to define __stub macros and hopefully few prototypes,
23858 which can conflict with char $ac_func (); below.
23859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23860 <limits.h> exists even on freestanding compilers. */
23862 #ifdef __STDC__
23863 # include <limits.h>
23864 #else
23865 # include <assert.h>
23866 #endif
23868 #undef $ac_func
23870 /* Override any gcc2 internal prototype to avoid an error. */
23871 #ifdef __cplusplus
23872 extern "C"
23874 #endif
23875 /* We use char because int might match the return type of a gcc2
23876 builtin and then its argument prototype would still apply. */
23877 char $ac_func ();
23878 /* The GNU C library defines this for functions which it implements
23879 to always fail with ENOSYS. Some functions are actually named
23880 something starting with __ and the normal name is an alias. */
23881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23882 choke me
23883 #else
23884 char (*f) () = $ac_func;
23885 #endif
23886 #ifdef __cplusplus
23888 #endif
23891 main ()
23893 return f != $ac_func;
23895 return 0;
23897 _ACEOF
23898 rm -f conftest.$ac_objext conftest$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>conftest.er1
23901 ac_status=$?
23902 grep -v '^ *+' conftest.er1 >conftest.err
23903 rm -f conftest.er1
23904 cat conftest.err >&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } &&
23907 { ac_try='test -z "$ac_c_werror_flag"
23908 || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try='test -s conftest$ac_exeext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 eval "$as_ac_var=yes"
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23925 eval "$as_ac_var=no"
23927 rm -f conftest.err conftest.$ac_objext \
23928 conftest$ac_exeext conftest.$ac_ext
23930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23932 if test `eval echo '${'$as_ac_var'}'` = yes; then
23933 cat >>confdefs.h <<_ACEOF
23934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23935 _ACEOF
23938 done
23945 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23946 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23947 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23948 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23949 echo $ECHO_N "(cached) $ECHO_C" >&6
23950 else
23954 ac_ext=cc
23955 ac_cpp='$CXXCPP $CPPFLAGS'
23956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <math.h>
23968 main ()
23970 sincosl(0, 0, 0);
23972 return 0;
23974 _ACEOF
23975 rm -f conftest.$ac_objext
23976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23977 (eval $ac_compile) 2>conftest.er1
23978 ac_status=$?
23979 grep -v '^ *+' conftest.er1 >conftest.err
23980 rm -f conftest.er1
23981 cat conftest.err >&5
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); } &&
23984 { ac_try='test -z "$ac_cxx_werror_flag"
23985 || test ! -s conftest.err'
23986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987 (eval $ac_try) 2>&5
23988 ac_status=$?
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); }; } &&
23991 { ac_try='test -s conftest.$ac_objext'
23992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23993 (eval $ac_try) 2>&5
23994 ac_status=$?
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); }; }; then
23997 glibcxx_cv_func_sincosl_use=yes
23998 else
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.$ac_ext >&5
24002 glibcxx_cv_func_sincosl_use=no
24004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24005 ac_ext=c
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24016 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24018 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24020 for ac_func in sincosl
24022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24023 echo "$as_me:$LINENO: checking for $ac_func" >&5
24024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24025 if eval "test \"\${$as_ac_var+set}\" = set"; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 else
24028 if test x$gcc_no_link = xyes; then
24029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24031 { (exit 1); exit 1; }; }
24033 cat >conftest.$ac_ext <<_ACEOF
24034 /* confdefs.h. */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24041 #define $ac_func innocuous_$ac_func
24043 /* System header to define __stub macros and hopefully few prototypes,
24044 which can conflict with char $ac_func (); below.
24045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24046 <limits.h> exists even on freestanding compilers. */
24048 #ifdef __STDC__
24049 # include <limits.h>
24050 #else
24051 # include <assert.h>
24052 #endif
24054 #undef $ac_func
24056 /* Override any gcc2 internal prototype to avoid an error. */
24057 #ifdef __cplusplus
24058 extern "C"
24060 #endif
24061 /* We use char because int might match the return type of a gcc2
24062 builtin and then its argument prototype would still apply. */
24063 char $ac_func ();
24064 /* The GNU C library defines this for functions which it implements
24065 to always fail with ENOSYS. Some functions are actually named
24066 something starting with __ and the normal name is an alias. */
24067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24068 choke me
24069 #else
24070 char (*f) () = $ac_func;
24071 #endif
24072 #ifdef __cplusplus
24074 #endif
24077 main ()
24079 return f != $ac_func;
24081 return 0;
24083 _ACEOF
24084 rm -f conftest.$ac_objext conftest$ac_exeext
24085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24086 (eval $ac_link) 2>conftest.er1
24087 ac_status=$?
24088 grep -v '^ *+' conftest.er1 >conftest.err
24089 rm -f conftest.er1
24090 cat conftest.err >&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try='test -z "$ac_c_werror_flag"
24094 || test ! -s conftest.err'
24095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24096 (eval $ac_try) 2>&5
24097 ac_status=$?
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); }; } &&
24100 { ac_try='test -s conftest$ac_exeext'
24101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24102 (eval $ac_try) 2>&5
24103 ac_status=$?
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); }; }; then
24106 eval "$as_ac_var=yes"
24107 else
24108 echo "$as_me: failed program was:" >&5
24109 sed 's/^/| /' conftest.$ac_ext >&5
24111 eval "$as_ac_var=no"
24113 rm -f conftest.err conftest.$ac_objext \
24114 conftest$ac_exeext conftest.$ac_ext
24116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24118 if test `eval echo '${'$as_ac_var'}'` = yes; then
24119 cat >>confdefs.h <<_ACEOF
24120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24121 _ACEOF
24124 done
24126 else
24128 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
24129 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
24130 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24131 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 else
24137 ac_ext=cc
24138 ac_cpp='$CXXCPP $CPPFLAGS'
24139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24143 cat >conftest.$ac_ext <<_ACEOF
24144 /* confdefs.h. */
24145 _ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24149 #include <math.h>
24151 main ()
24153 _sincosl(0, 0, 0);
24155 return 0;
24157 _ACEOF
24158 rm -f conftest.$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>conftest.er1
24161 ac_status=$?
24162 grep -v '^ *+' conftest.er1 >conftest.err
24163 rm -f conftest.er1
24164 cat conftest.err >&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try='test -z "$ac_cxx_werror_flag"
24168 || test ! -s conftest.err'
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); }; } &&
24174 { ac_try='test -s conftest.$ac_objext'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 glibcxx_cv_func__sincosl_use=yes
24181 else
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.$ac_ext >&5
24185 glibcxx_cv_func__sincosl_use=no
24187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24188 ac_ext=c
24189 ac_cpp='$CPP $CPPFLAGS'
24190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
24199 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
24201 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24203 for ac_func in _sincosl
24205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24206 echo "$as_me:$LINENO: checking for $ac_func" >&5
24207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24208 if eval "test \"\${$as_ac_var+set}\" = set"; then
24209 echo $ECHO_N "(cached) $ECHO_C" >&6
24210 else
24211 if test x$gcc_no_link = xyes; then
24212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24214 { (exit 1); exit 1; }; }
24216 cat >conftest.$ac_ext <<_ACEOF
24217 /* confdefs.h. */
24218 _ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24224 #define $ac_func innocuous_$ac_func
24226 /* System header to define __stub macros and hopefully few prototypes,
24227 which can conflict with char $ac_func (); below.
24228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24229 <limits.h> exists even on freestanding compilers. */
24231 #ifdef __STDC__
24232 # include <limits.h>
24233 #else
24234 # include <assert.h>
24235 #endif
24237 #undef $ac_func
24239 /* Override any gcc2 internal prototype to avoid an error. */
24240 #ifdef __cplusplus
24241 extern "C"
24243 #endif
24244 /* We use char because int might match the return type of a gcc2
24245 builtin and then its argument prototype would still apply. */
24246 char $ac_func ();
24247 /* The GNU C library defines this for functions which it implements
24248 to always fail with ENOSYS. Some functions are actually named
24249 something starting with __ and the normal name is an alias. */
24250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24251 choke me
24252 #else
24253 char (*f) () = $ac_func;
24254 #endif
24255 #ifdef __cplusplus
24257 #endif
24260 main ()
24262 return f != $ac_func;
24264 return 0;
24266 _ACEOF
24267 rm -f conftest.$ac_objext conftest$ac_exeext
24268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24269 (eval $ac_link) 2>conftest.er1
24270 ac_status=$?
24271 grep -v '^ *+' conftest.er1 >conftest.err
24272 rm -f conftest.er1
24273 cat conftest.err >&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } &&
24276 { ac_try='test -z "$ac_c_werror_flag"
24277 || test ! -s conftest.err'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24280 ac_status=$?
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; } &&
24283 { ac_try='test -s conftest$ac_exeext'
24284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285 (eval $ac_try) 2>&5
24286 ac_status=$?
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); }; }; then
24289 eval "$as_ac_var=yes"
24290 else
24291 echo "$as_me: failed program was:" >&5
24292 sed 's/^/| /' conftest.$ac_ext >&5
24294 eval "$as_ac_var=no"
24296 rm -f conftest.err conftest.$ac_objext \
24297 conftest$ac_exeext conftest.$ac_ext
24299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24301 if test `eval echo '${'$as_ac_var'}'` = yes; then
24302 cat >>confdefs.h <<_ACEOF
24303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24304 _ACEOF
24307 done
24314 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24315 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24316 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24317 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 else
24323 ac_ext=cc
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329 cat >conftest.$ac_ext <<_ACEOF
24330 /* confdefs.h. */
24331 _ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h. */
24335 #include <math.h>
24336 #ifdef HAVE_IEEEFP_H
24337 #include <ieeefp.h>
24338 #endif
24341 main ()
24343 finitel(0);
24345 return 0;
24347 _ACEOF
24348 rm -f conftest.$ac_objext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24350 (eval $ac_compile) 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try='test -z "$ac_cxx_werror_flag"
24358 || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24361 ac_status=$?
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try='test -s conftest.$ac_objext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 glibcxx_cv_func_finitel_use=yes
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24375 glibcxx_cv_func_finitel_use=no
24377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24378 ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24389 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24391 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24393 for ac_func in finitel
24395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24396 echo "$as_me:$LINENO: checking for $ac_func" >&5
24397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24398 if eval "test \"\${$as_ac_var+set}\" = set"; then
24399 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 else
24401 if test x$gcc_no_link = xyes; then
24402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24404 { (exit 1); exit 1; }; }
24406 cat >conftest.$ac_ext <<_ACEOF
24407 /* confdefs.h. */
24408 _ACEOF
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24414 #define $ac_func innocuous_$ac_func
24416 /* System header to define __stub macros and hopefully few prototypes,
24417 which can conflict with char $ac_func (); below.
24418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24419 <limits.h> exists even on freestanding compilers. */
24421 #ifdef __STDC__
24422 # include <limits.h>
24423 #else
24424 # include <assert.h>
24425 #endif
24427 #undef $ac_func
24429 /* Override any gcc2 internal prototype to avoid an error. */
24430 #ifdef __cplusplus
24431 extern "C"
24433 #endif
24434 /* We use char because int might match the return type of a gcc2
24435 builtin and then its argument prototype would still apply. */
24436 char $ac_func ();
24437 /* The GNU C library defines this for functions which it implements
24438 to always fail with ENOSYS. Some functions are actually named
24439 something starting with __ and the normal name is an alias. */
24440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24441 choke me
24442 #else
24443 char (*f) () = $ac_func;
24444 #endif
24445 #ifdef __cplusplus
24447 #endif
24450 main ()
24452 return f != $ac_func;
24454 return 0;
24456 _ACEOF
24457 rm -f conftest.$ac_objext conftest$ac_exeext
24458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24459 (eval $ac_link) 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } &&
24466 { ac_try='test -z "$ac_c_werror_flag"
24467 || test ! -s conftest.err'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24470 ac_status=$?
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; } &&
24473 { ac_try='test -s conftest$ac_exeext'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; }; then
24479 eval "$as_ac_var=yes"
24480 else
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24484 eval "$as_ac_var=no"
24486 rm -f conftest.err conftest.$ac_objext \
24487 conftest$ac_exeext conftest.$ac_ext
24489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24491 if test `eval echo '${'$as_ac_var'}'` = yes; then
24492 cat >>confdefs.h <<_ACEOF
24493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24494 _ACEOF
24497 done
24499 else
24501 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24502 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24503 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24504 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24506 else
24510 ac_ext=cc
24511 ac_cpp='$CXXCPP $CPPFLAGS'
24512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h. */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 #include <math.h>
24523 #ifdef HAVE_IEEEFP_H
24524 #include <ieeefp.h>
24525 #endif
24528 main ()
24530 _finitel(0);
24532 return 0;
24534 _ACEOF
24535 rm -f conftest.$ac_objext
24536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24537 (eval $ac_compile) 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } &&
24544 { ac_try='test -z "$ac_cxx_werror_flag"
24545 || test ! -s conftest.err'
24546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547 (eval $ac_try) 2>&5
24548 ac_status=$?
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; } &&
24551 { ac_try='test -s conftest.$ac_objext'
24552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24553 (eval $ac_try) 2>&5
24554 ac_status=$?
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); }; }; then
24557 glibcxx_cv_func__finitel_use=yes
24558 else
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24562 glibcxx_cv_func__finitel_use=no
24564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24565 ac_ext=c
24566 ac_cpp='$CPP $CPPFLAGS'
24567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24576 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24578 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24580 for ac_func in _finitel
24582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24583 echo "$as_me:$LINENO: checking for $ac_func" >&5
24584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24585 if eval "test \"\${$as_ac_var+set}\" = set"; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 else
24588 if test x$gcc_no_link = xyes; then
24589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24591 { (exit 1); exit 1; }; }
24593 cat >conftest.$ac_ext <<_ACEOF
24594 /* confdefs.h. */
24595 _ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24601 #define $ac_func innocuous_$ac_func
24603 /* System header to define __stub macros and hopefully few prototypes,
24604 which can conflict with char $ac_func (); below.
24605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24606 <limits.h> exists even on freestanding compilers. */
24608 #ifdef __STDC__
24609 # include <limits.h>
24610 #else
24611 # include <assert.h>
24612 #endif
24614 #undef $ac_func
24616 /* Override any gcc2 internal prototype to avoid an error. */
24617 #ifdef __cplusplus
24618 extern "C"
24620 #endif
24621 /* We use char because int might match the return type of a gcc2
24622 builtin and then its argument prototype would still apply. */
24623 char $ac_func ();
24624 /* The GNU C library defines this for functions which it implements
24625 to always fail with ENOSYS. Some functions are actually named
24626 something starting with __ and the normal name is an alias. */
24627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24628 choke me
24629 #else
24630 char (*f) () = $ac_func;
24631 #endif
24632 #ifdef __cplusplus
24634 #endif
24637 main ()
24639 return f != $ac_func;
24641 return 0;
24643 _ACEOF
24644 rm -f conftest.$ac_objext conftest$ac_exeext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24646 (eval $ac_link) 2>conftest.er1
24647 ac_status=$?
24648 grep -v '^ *+' conftest.er1 >conftest.err
24649 rm -f conftest.er1
24650 cat conftest.err >&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } &&
24653 { ac_try='test -z "$ac_c_werror_flag"
24654 || test ! -s conftest.err'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24657 ac_status=$?
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; } &&
24660 { ac_try='test -s conftest$ac_exeext'
24661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662 (eval $ac_try) 2>&5
24663 ac_status=$?
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); }; }; then
24666 eval "$as_ac_var=yes"
24667 else
24668 echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.$ac_ext >&5
24671 eval "$as_ac_var=no"
24673 rm -f conftest.err conftest.$ac_objext \
24674 conftest$ac_exeext conftest.$ac_ext
24676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24678 if test `eval echo '${'$as_ac_var'}'` = yes; then
24679 cat >>confdefs.h <<_ACEOF
24680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24681 _ACEOF
24684 done
24692 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24693 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24694 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24700 ac_ext=cc
24701 ac_cpp='$CXXCPP $CPPFLAGS'
24702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24706 cat >conftest.$ac_ext <<_ACEOF
24707 /* confdefs.h. */
24708 _ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24712 #include <math.h>
24714 main ()
24716 `for x in _acosf _asinf _atanf \
24717 _cosf _sinf _tanf \
24718 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24720 return 0;
24722 _ACEOF
24723 rm -f conftest.$ac_objext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24725 (eval $ac_compile) 2>conftest.er1
24726 ac_status=$?
24727 grep -v '^ *+' conftest.er1 >conftest.err
24728 rm -f conftest.er1
24729 cat conftest.err >&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try='test -z "$ac_cxx_werror_flag"
24733 || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest.$ac_objext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 glibcxx_cv_func__float_trig_use=yes
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 glibcxx_cv_func__float_trig_use=no
24752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24753 ac_ext=c
24754 ac_cpp='$CPP $CPPFLAGS'
24755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24762 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24763 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24773 for ac_func in _acosf _asinf _atanf \
24774 _cosf _sinf _tanf \
24775 _coshf _sinhf _tanhf
24777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24778 echo "$as_me:$LINENO: checking for $ac_func" >&5
24779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24780 if eval "test \"\${$as_ac_var+set}\" = set"; then
24781 echo $ECHO_N "(cached) $ECHO_C" >&6
24782 else
24783 if test x$gcc_no_link = xyes; then
24784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24786 { (exit 1); exit 1; }; }
24788 cat >conftest.$ac_ext <<_ACEOF
24789 /* confdefs.h. */
24790 _ACEOF
24791 cat confdefs.h >>conftest.$ac_ext
24792 cat >>conftest.$ac_ext <<_ACEOF
24793 /* end confdefs.h. */
24794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24796 #define $ac_func innocuous_$ac_func
24798 /* System header to define __stub macros and hopefully few prototypes,
24799 which can conflict with char $ac_func (); below.
24800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24801 <limits.h> exists even on freestanding compilers. */
24803 #ifdef __STDC__
24804 # include <limits.h>
24805 #else
24806 # include <assert.h>
24807 #endif
24809 #undef $ac_func
24811 /* Override any gcc2 internal prototype to avoid an error. */
24812 #ifdef __cplusplus
24813 extern "C"
24815 #endif
24816 /* We use char because int might match the return type of a gcc2
24817 builtin and then its argument prototype would still apply. */
24818 char $ac_func ();
24819 /* The GNU C library defines this for functions which it implements
24820 to always fail with ENOSYS. Some functions are actually named
24821 something starting with __ and the normal name is an alias. */
24822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24823 choke me
24824 #else
24825 char (*f) () = $ac_func;
24826 #endif
24827 #ifdef __cplusplus
24829 #endif
24832 main ()
24834 return f != $ac_func;
24836 return 0;
24838 _ACEOF
24839 rm -f conftest.$ac_objext conftest$ac_exeext
24840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24841 (eval $ac_link) 2>conftest.er1
24842 ac_status=$?
24843 grep -v '^ *+' conftest.er1 >conftest.err
24844 rm -f conftest.er1
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } &&
24848 { ac_try='test -z "$ac_c_werror_flag"
24849 || test ! -s conftest.err'
24850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24851 (eval $ac_try) 2>&5
24852 ac_status=$?
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); }; } &&
24855 { ac_try='test -s conftest$ac_exeext'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24858 ac_status=$?
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; }; then
24861 eval "$as_ac_var=yes"
24862 else
24863 echo "$as_me: failed program was:" >&5
24864 sed 's/^/| /' conftest.$ac_ext >&5
24866 eval "$as_ac_var=no"
24868 rm -f conftest.err conftest.$ac_objext \
24869 conftest$ac_exeext conftest.$ac_ext
24871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24873 if test `eval echo '${'$as_ac_var'}'` = yes; then
24874 cat >>confdefs.h <<_ACEOF
24875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24876 _ACEOF
24879 done
24884 echo "$as_me:$LINENO: checking for _float round functions" >&5
24885 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24886 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24892 ac_ext=cc
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat >conftest.$ac_ext <<_ACEOF
24899 /* confdefs.h. */
24900 _ACEOF
24901 cat confdefs.h >>conftest.$ac_ext
24902 cat >>conftest.$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24904 #include <math.h>
24906 main ()
24908 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24910 return 0;
24912 _ACEOF
24913 rm -f conftest.$ac_objext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24915 (eval $ac_compile) 2>conftest.er1
24916 ac_status=$?
24917 grep -v '^ *+' conftest.er1 >conftest.err
24918 rm -f conftest.er1
24919 cat conftest.err >&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try='test -z "$ac_cxx_werror_flag"
24923 || test ! -s conftest.err'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; } &&
24929 { ac_try='test -s conftest.$ac_objext'
24930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24931 (eval $ac_try) 2>&5
24932 ac_status=$?
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); }; }; then
24935 glibcxx_cv_func__float_round_use=yes
24936 else
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24940 glibcxx_cv_func__float_round_use=no
24942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24943 ac_ext=c
24944 ac_cpp='$CPP $CPPFLAGS'
24945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24952 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24953 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24956 for ac_func in _ceilf _floorf
24958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24959 echo "$as_me:$LINENO: checking for $ac_func" >&5
24960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24961 if eval "test \"\${$as_ac_var+set}\" = set"; then
24962 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 else
24964 if test x$gcc_no_link = xyes; then
24965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24967 { (exit 1); exit 1; }; }
24969 cat >conftest.$ac_ext <<_ACEOF
24970 /* confdefs.h. */
24971 _ACEOF
24972 cat confdefs.h >>conftest.$ac_ext
24973 cat >>conftest.$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24977 #define $ac_func innocuous_$ac_func
24979 /* System header to define __stub macros and hopefully few prototypes,
24980 which can conflict with char $ac_func (); below.
24981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24982 <limits.h> exists even on freestanding compilers. */
24984 #ifdef __STDC__
24985 # include <limits.h>
24986 #else
24987 # include <assert.h>
24988 #endif
24990 #undef $ac_func
24992 /* Override any gcc2 internal prototype to avoid an error. */
24993 #ifdef __cplusplus
24994 extern "C"
24996 #endif
24997 /* We use char because int might match the return type of a gcc2
24998 builtin and then its argument prototype would still apply. */
24999 char $ac_func ();
25000 /* The GNU C library defines this for functions which it implements
25001 to always fail with ENOSYS. Some functions are actually named
25002 something starting with __ and the normal name is an alias. */
25003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25004 choke me
25005 #else
25006 char (*f) () = $ac_func;
25007 #endif
25008 #ifdef __cplusplus
25010 #endif
25013 main ()
25015 return f != $ac_func;
25017 return 0;
25019 _ACEOF
25020 rm -f conftest.$ac_objext conftest$ac_exeext
25021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25022 (eval $ac_link) 2>conftest.er1
25023 ac_status=$?
25024 grep -v '^ *+' conftest.er1 >conftest.err
25025 rm -f conftest.er1
25026 cat conftest.err >&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } &&
25029 { ac_try='test -z "$ac_c_werror_flag"
25030 || test ! -s conftest.err'
25031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25032 (eval $ac_try) 2>&5
25033 ac_status=$?
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); }; } &&
25036 { ac_try='test -s conftest$ac_exeext'
25037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25038 (eval $ac_try) 2>&5
25039 ac_status=$?
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); }; }; then
25042 eval "$as_ac_var=yes"
25043 else
25044 echo "$as_me: failed program was:" >&5
25045 sed 's/^/| /' conftest.$ac_ext >&5
25047 eval "$as_ac_var=no"
25049 rm -f conftest.err conftest.$ac_objext \
25050 conftest$ac_exeext conftest.$ac_ext
25052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25054 if test `eval echo '${'$as_ac_var'}'` = yes; then
25055 cat >>confdefs.h <<_ACEOF
25056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25057 _ACEOF
25060 done
25066 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
25067 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
25068 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 else
25074 ac_ext=cc
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080 cat >conftest.$ac_ext <<_ACEOF
25081 /* confdefs.h. */
25082 _ACEOF
25083 cat confdefs.h >>conftest.$ac_ext
25084 cat >>conftest.$ac_ext <<_ACEOF
25085 /* end confdefs.h. */
25086 #include <math.h>
25088 main ()
25090 `for x in _acosl _asinl _atanl \
25091 _cosl _sinl _tanl \
25092 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
25094 return 0;
25096 _ACEOF
25097 rm -f conftest.$ac_objext
25098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25099 (eval $ac_compile) 2>conftest.er1
25100 ac_status=$?
25101 grep -v '^ *+' conftest.er1 >conftest.err
25102 rm -f conftest.er1
25103 cat conftest.err >&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } &&
25106 { ac_try='test -z "$ac_cxx_werror_flag"
25107 || test ! -s conftest.err'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; } &&
25113 { ac_try='test -s conftest.$ac_objext'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; }; then
25119 glibcxx_cv_func__long_double_trig_use=yes
25120 else
25121 echo "$as_me: failed program was:" >&5
25122 sed 's/^/| /' conftest.$ac_ext >&5
25124 glibcxx_cv_func__long_double_trig_use=no
25126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25127 ac_ext=c
25128 ac_cpp='$CPP $CPPFLAGS'
25129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
25136 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
25137 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25147 for ac_func in _acosl _asinl _atanl \
25148 _cosl _sinl _tanl \
25149 _coshl _sinhl _tanhl
25151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25152 echo "$as_me:$LINENO: checking for $ac_func" >&5
25153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25154 if eval "test \"\${$as_ac_var+set}\" = set"; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 else
25157 if test x$gcc_no_link = xyes; then
25158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25160 { (exit 1); exit 1; }; }
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25170 #define $ac_func innocuous_$ac_func
25172 /* System header to define __stub macros and hopefully few prototypes,
25173 which can conflict with char $ac_func (); below.
25174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25175 <limits.h> exists even on freestanding compilers. */
25177 #ifdef __STDC__
25178 # include <limits.h>
25179 #else
25180 # include <assert.h>
25181 #endif
25183 #undef $ac_func
25185 /* Override any gcc2 internal prototype to avoid an error. */
25186 #ifdef __cplusplus
25187 extern "C"
25189 #endif
25190 /* We use char because int might match the return type of a gcc2
25191 builtin and then its argument prototype would still apply. */
25192 char $ac_func ();
25193 /* The GNU C library defines this for functions which it implements
25194 to always fail with ENOSYS. Some functions are actually named
25195 something starting with __ and the normal name is an alias. */
25196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25197 choke me
25198 #else
25199 char (*f) () = $ac_func;
25200 #endif
25201 #ifdef __cplusplus
25203 #endif
25206 main ()
25208 return f != $ac_func;
25210 return 0;
25212 _ACEOF
25213 rm -f conftest.$ac_objext conftest$ac_exeext
25214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25215 (eval $ac_link) 2>conftest.er1
25216 ac_status=$?
25217 grep -v '^ *+' conftest.er1 >conftest.err
25218 rm -f conftest.er1
25219 cat conftest.err >&5
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); } &&
25222 { ac_try='test -z "$ac_c_werror_flag"
25223 || test ! -s conftest.err'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; } &&
25229 { ac_try='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235 eval "$as_ac_var=yes"
25236 else
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.$ac_ext >&5
25240 eval "$as_ac_var=no"
25242 rm -f conftest.err conftest.$ac_objext \
25243 conftest$ac_exeext conftest.$ac_ext
25245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25247 if test `eval echo '${'$as_ac_var'}'` = yes; then
25248 cat >>confdefs.h <<_ACEOF
25249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25250 _ACEOF
25253 done
25258 echo "$as_me:$LINENO: checking for _long double round functions" >&5
25259 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
25260 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 else
25266 ac_ext=cc
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h. */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278 #include <math.h>
25280 main ()
25282 `for x in _ceill _floorl; do echo "$x (0);"; done`
25284 return 0;
25286 _ACEOF
25287 rm -f conftest.$ac_objext
25288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25289 (eval $ac_compile) 2>conftest.er1
25290 ac_status=$?
25291 grep -v '^ *+' conftest.er1 >conftest.err
25292 rm -f conftest.er1
25293 cat conftest.err >&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); } &&
25296 { ac_try='test -z "$ac_cxx_werror_flag"
25297 || test ! -s conftest.err'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; } &&
25303 { ac_try='test -s conftest.$ac_objext'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25306 ac_status=$?
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; }; then
25309 glibcxx_cv_func__long_double_round_use=yes
25310 else
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.$ac_ext >&5
25314 glibcxx_cv_func__long_double_round_use=no
25316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25317 ac_ext=c
25318 ac_cpp='$CPP $CPPFLAGS'
25319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25326 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25327 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25330 for ac_func in _ceill _floorl
25332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25333 echo "$as_me:$LINENO: checking for $ac_func" >&5
25334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25335 if eval "test \"\${$as_ac_var+set}\" = set"; then
25336 echo $ECHO_N "(cached) $ECHO_C" >&6
25337 else
25338 if test x$gcc_no_link = xyes; then
25339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25341 { (exit 1); exit 1; }; }
25343 cat >conftest.$ac_ext <<_ACEOF
25344 /* confdefs.h. */
25345 _ACEOF
25346 cat confdefs.h >>conftest.$ac_ext
25347 cat >>conftest.$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25351 #define $ac_func innocuous_$ac_func
25353 /* System header to define __stub macros and hopefully few prototypes,
25354 which can conflict with char $ac_func (); below.
25355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25356 <limits.h> exists even on freestanding compilers. */
25358 #ifdef __STDC__
25359 # include <limits.h>
25360 #else
25361 # include <assert.h>
25362 #endif
25364 #undef $ac_func
25366 /* Override any gcc2 internal prototype to avoid an error. */
25367 #ifdef __cplusplus
25368 extern "C"
25370 #endif
25371 /* We use char because int might match the return type of a gcc2
25372 builtin and then its argument prototype would still apply. */
25373 char $ac_func ();
25374 /* The GNU C library defines this for functions which it implements
25375 to always fail with ENOSYS. Some functions are actually named
25376 something starting with __ and the normal name is an alias. */
25377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25378 choke me
25379 #else
25380 char (*f) () = $ac_func;
25381 #endif
25382 #ifdef __cplusplus
25384 #endif
25387 main ()
25389 return f != $ac_func;
25391 return 0;
25393 _ACEOF
25394 rm -f conftest.$ac_objext conftest$ac_exeext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25396 (eval $ac_link) 2>conftest.er1
25397 ac_status=$?
25398 grep -v '^ *+' conftest.er1 >conftest.err
25399 rm -f conftest.er1
25400 cat conftest.err >&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try='test -z "$ac_c_werror_flag"
25404 || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try='test -s conftest$ac_exeext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25416 eval "$as_ac_var=yes"
25417 else
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25421 eval "$as_ac_var=no"
25423 rm -f conftest.err conftest.$ac_objext \
25424 conftest$ac_exeext conftest.$ac_ext
25426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25428 if test `eval echo '${'$as_ac_var'}'` = yes; then
25429 cat >>confdefs.h <<_ACEOF
25430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25431 _ACEOF
25434 done
25439 LIBS="$ac_save_LIBS"
25440 CXXFLAGS="$ac_save_CXXFLAGS"
25444 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25445 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25446 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25447 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 else
25453 ac_ext=cc
25454 ac_cpp='$CXXCPP $CPPFLAGS'
25455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25459 cat >conftest.$ac_ext <<_ACEOF
25460 /* confdefs.h. */
25461 _ACEOF
25462 cat confdefs.h >>conftest.$ac_ext
25463 cat >>conftest.$ac_ext <<_ACEOF
25464 /* end confdefs.h. */
25465 #include <math.h>
25467 main ()
25469 __builtin_abs(0);
25471 return 0;
25473 _ACEOF
25474 rm -f conftest.$ac_objext
25475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25476 (eval $ac_compile) 2>conftest.er1
25477 ac_status=$?
25478 grep -v '^ *+' conftest.er1 >conftest.err
25479 rm -f conftest.er1
25480 cat conftest.err >&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); } &&
25483 { ac_try='test -z "$ac_cxx_werror_flag"
25484 || test ! -s conftest.err'
25485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25486 (eval $ac_try) 2>&5
25487 ac_status=$?
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); }; } &&
25490 { ac_try='test -s conftest.$ac_objext'
25491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492 (eval $ac_try) 2>&5
25493 ac_status=$?
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); }; }; then
25496 glibcxx_cv_func___builtin_abs_use=yes
25497 else
25498 echo "$as_me: failed program was:" >&5
25499 sed 's/^/| /' conftest.$ac_ext >&5
25501 glibcxx_cv_func___builtin_abs_use=no
25503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25504 ac_ext=c
25505 ac_cpp='$CPP $CPPFLAGS'
25506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25515 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25516 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25517 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25518 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25519 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25520 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25521 echo $ECHO_N "(cached) $ECHO_C" >&6
25522 else
25524 if test x$gcc_no_link = xyes; then
25525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25527 { (exit 1); exit 1; }; }
25529 cat >conftest.$ac_ext <<_ACEOF
25530 /* confdefs.h. */
25531 _ACEOF
25532 cat confdefs.h >>conftest.$ac_ext
25533 cat >>conftest.$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25535 #include <math.h>
25537 main ()
25539 __builtin_abs(0);
25541 return 0;
25543 _ACEOF
25544 rm -f conftest.$ac_objext conftest$ac_exeext
25545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25546 (eval $ac_link) 2>conftest.er1
25547 ac_status=$?
25548 grep -v '^ *+' conftest.er1 >conftest.err
25549 rm -f conftest.er1
25550 cat conftest.err >&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } &&
25553 { ac_try='test -z "$ac_c_werror_flag"
25554 || test ! -s conftest.err'
25555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556 (eval $ac_try) 2>&5
25557 ac_status=$?
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); }; } &&
25560 { ac_try='test -s conftest$ac_exeext'
25561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562 (eval $ac_try) 2>&5
25563 ac_status=$?
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); }; }; then
25566 glibcxx_cv_func___builtin_abs_link=yes
25567 else
25568 echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25571 glibcxx_cv_func___builtin_abs_link=no
25573 rm -f conftest.err conftest.$ac_objext \
25574 conftest$ac_exeext conftest.$ac_ext
25579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25580 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25582 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25584 cat >>confdefs.h <<\_ACEOF
25585 #define HAVE___BUILTIN_ABS 1
25586 _ACEOF
25593 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25594 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25595 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25596 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25602 ac_ext=cc
25603 ac_cpp='$CXXCPP $CPPFLAGS'
25604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25608 cat >conftest.$ac_ext <<_ACEOF
25609 /* confdefs.h. */
25610 _ACEOF
25611 cat confdefs.h >>conftest.$ac_ext
25612 cat >>conftest.$ac_ext <<_ACEOF
25613 /* end confdefs.h. */
25614 #include <math.h>
25616 main ()
25618 __builtin_fabsf(0);
25620 return 0;
25622 _ACEOF
25623 rm -f conftest.$ac_objext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25625 (eval $ac_compile) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_cxx_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest.$ac_objext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 glibcxx_cv_func___builtin_fabsf_use=yes
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25650 glibcxx_cv_func___builtin_fabsf_use=no
25652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25653 ac_ext=c
25654 ac_cpp='$CPP $CPPFLAGS'
25655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25663 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25665 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25666 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25667 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25668 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25669 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 else
25673 if test x$gcc_no_link = xyes; then
25674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25676 { (exit 1); exit 1; }; }
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 #include <math.h>
25686 main ()
25688 __builtin_fabsf(0);
25690 return 0;
25692 _ACEOF
25693 rm -f conftest.$ac_objext conftest$ac_exeext
25694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25695 (eval $ac_link) 2>conftest.er1
25696 ac_status=$?
25697 grep -v '^ *+' conftest.er1 >conftest.err
25698 rm -f conftest.er1
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } &&
25702 { ac_try='test -z "$ac_c_werror_flag"
25703 || test ! -s conftest.err'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; } &&
25709 { ac_try='test -s conftest$ac_exeext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 glibcxx_cv_func___builtin_fabsf_link=yes
25716 else
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.$ac_ext >&5
25720 glibcxx_cv_func___builtin_fabsf_link=no
25722 rm -f conftest.err conftest.$ac_objext \
25723 conftest$ac_exeext conftest.$ac_ext
25728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25729 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25731 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25733 cat >>confdefs.h <<\_ACEOF
25734 #define HAVE___BUILTIN_FABSF 1
25735 _ACEOF
25742 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25743 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25744 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25745 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25746 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 else
25751 ac_ext=cc
25752 ac_cpp='$CXXCPP $CPPFLAGS'
25753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25757 cat >conftest.$ac_ext <<_ACEOF
25758 /* confdefs.h. */
25759 _ACEOF
25760 cat confdefs.h >>conftest.$ac_ext
25761 cat >>conftest.$ac_ext <<_ACEOF
25762 /* end confdefs.h. */
25763 #include <math.h>
25765 main ()
25767 __builtin_fabs(0);
25769 return 0;
25771 _ACEOF
25772 rm -f conftest.$ac_objext
25773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25774 (eval $ac_compile) 2>conftest.er1
25775 ac_status=$?
25776 grep -v '^ *+' conftest.er1 >conftest.err
25777 rm -f conftest.er1
25778 cat conftest.err >&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } &&
25781 { ac_try='test -z "$ac_cxx_werror_flag"
25782 || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try='test -s conftest.$ac_objext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25791 ac_status=$?
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25794 glibcxx_cv_func___builtin_fabs_use=yes
25795 else
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.$ac_ext >&5
25799 glibcxx_cv_func___builtin_fabs_use=no
25801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25802 ac_ext=c
25803 ac_cpp='$CPP $CPPFLAGS'
25804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25813 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25814 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25815 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25816 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25817 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25818 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 else
25822 if test x$gcc_no_link = xyes; then
25823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25825 { (exit 1); exit 1; }; }
25827 cat >conftest.$ac_ext <<_ACEOF
25828 /* confdefs.h. */
25829 _ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25833 #include <math.h>
25835 main ()
25837 __builtin_fabs(0);
25839 return 0;
25841 _ACEOF
25842 rm -f conftest.$ac_objext conftest$ac_exeext
25843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25844 (eval $ac_link) 2>conftest.er1
25845 ac_status=$?
25846 grep -v '^ *+' conftest.er1 >conftest.err
25847 rm -f conftest.er1
25848 cat conftest.err >&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } &&
25851 { ac_try='test -z "$ac_c_werror_flag"
25852 || test ! -s conftest.err'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25855 ac_status=$?
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; } &&
25858 { ac_try='test -s conftest$ac_exeext'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25861 ac_status=$?
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; }; then
25864 glibcxx_cv_func___builtin_fabs_link=yes
25865 else
25866 echo "$as_me: failed program was:" >&5
25867 sed 's/^/| /' conftest.$ac_ext >&5
25869 glibcxx_cv_func___builtin_fabs_link=no
25871 rm -f conftest.err conftest.$ac_objext \
25872 conftest$ac_exeext conftest.$ac_ext
25877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25878 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25880 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25882 cat >>confdefs.h <<\_ACEOF
25883 #define HAVE___BUILTIN_FABS 1
25884 _ACEOF
25891 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25892 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25893 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25894 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 else
25900 ac_ext=cc
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat >conftest.$ac_ext <<_ACEOF
25907 /* confdefs.h. */
25908 _ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 #include <math.h>
25914 main ()
25916 __builtin_fabsl(0);
25918 return 0;
25920 _ACEOF
25921 rm -f conftest.$ac_objext
25922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25923 (eval $ac_compile) 2>conftest.er1
25924 ac_status=$?
25925 grep -v '^ *+' conftest.er1 >conftest.err
25926 rm -f conftest.er1
25927 cat conftest.err >&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); } &&
25930 { ac_try='test -z "$ac_cxx_werror_flag"
25931 || test ! -s conftest.err'
25932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25933 (eval $ac_try) 2>&5
25934 ac_status=$?
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); }; } &&
25937 { ac_try='test -s conftest.$ac_objext'
25938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25939 (eval $ac_try) 2>&5
25940 ac_status=$?
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); }; }; then
25943 glibcxx_cv_func___builtin_fabsl_use=yes
25944 else
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25948 glibcxx_cv_func___builtin_fabsl_use=no
25950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25951 ac_ext=c
25952 ac_cpp='$CPP $CPPFLAGS'
25953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25962 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25963 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25964 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25965 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25966 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25967 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25971 if test x$gcc_no_link = xyes; then
25972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25974 { (exit 1); exit 1; }; }
25976 cat >conftest.$ac_ext <<_ACEOF
25977 /* confdefs.h. */
25978 _ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25982 #include <math.h>
25984 main ()
25986 __builtin_fabsl(0);
25988 return 0;
25990 _ACEOF
25991 rm -f conftest.$ac_objext conftest$ac_exeext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25993 (eval $ac_link) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_c_werror_flag"
26001 || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try='test -s conftest$ac_exeext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 glibcxx_cv_func___builtin_fabsl_link=yes
26014 else
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.$ac_ext >&5
26018 glibcxx_cv_func___builtin_fabsl_link=no
26020 rm -f conftest.err conftest.$ac_objext \
26021 conftest$ac_exeext conftest.$ac_ext
26026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26027 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26029 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26031 cat >>confdefs.h <<\_ACEOF
26032 #define HAVE___BUILTIN_FABSL 1
26033 _ACEOF
26040 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26041 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26042 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26043 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26045 else
26049 ac_ext=cc
26050 ac_cpp='$CXXCPP $CPPFLAGS'
26051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055 cat >conftest.$ac_ext <<_ACEOF
26056 /* confdefs.h. */
26057 _ACEOF
26058 cat confdefs.h >>conftest.$ac_ext
26059 cat >>conftest.$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061 #include <math.h>
26063 main ()
26065 __builtin_labs(0);
26067 return 0;
26069 _ACEOF
26070 rm -f conftest.$ac_objext
26071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26072 (eval $ac_compile) 2>conftest.er1
26073 ac_status=$?
26074 grep -v '^ *+' conftest.er1 >conftest.err
26075 rm -f conftest.er1
26076 cat conftest.err >&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); } &&
26079 { ac_try='test -z "$ac_cxx_werror_flag"
26080 || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try='test -s conftest.$ac_objext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26089 ac_status=$?
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26092 glibcxx_cv_func___builtin_labs_use=yes
26093 else
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.$ac_ext >&5
26097 glibcxx_cv_func___builtin_labs_use=no
26099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26100 ac_ext=c
26101 ac_cpp='$CPP $CPPFLAGS'
26102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26111 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26112 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26113 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26114 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26115 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26116 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 else
26120 if test x$gcc_no_link = xyes; then
26121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26123 { (exit 1); exit 1; }; }
26125 cat >conftest.$ac_ext <<_ACEOF
26126 /* confdefs.h. */
26127 _ACEOF
26128 cat confdefs.h >>conftest.$ac_ext
26129 cat >>conftest.$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131 #include <math.h>
26133 main ()
26135 __builtin_labs(0);
26137 return 0;
26139 _ACEOF
26140 rm -f conftest.$ac_objext conftest$ac_exeext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26142 (eval $ac_link) 2>conftest.er1
26143 ac_status=$?
26144 grep -v '^ *+' conftest.er1 >conftest.err
26145 rm -f conftest.er1
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } &&
26149 { ac_try='test -z "$ac_c_werror_flag"
26150 || test ! -s conftest.err'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26153 ac_status=$?
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; } &&
26156 { ac_try='test -s conftest$ac_exeext'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26159 ac_status=$?
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26162 glibcxx_cv_func___builtin_labs_link=yes
26163 else
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.$ac_ext >&5
26167 glibcxx_cv_func___builtin_labs_link=no
26169 rm -f conftest.err conftest.$ac_objext \
26170 conftest$ac_exeext conftest.$ac_ext
26175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26176 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26178 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26180 cat >>confdefs.h <<\_ACEOF
26181 #define HAVE___BUILTIN_LABS 1
26182 _ACEOF
26190 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26191 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26192 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26193 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 else
26199 ac_ext=cc
26200 ac_cpp='$CXXCPP $CPPFLAGS'
26201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26205 cat >conftest.$ac_ext <<_ACEOF
26206 /* confdefs.h. */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26211 #include <math.h>
26213 main ()
26215 __builtin_sqrtf(0);
26217 return 0;
26219 _ACEOF
26220 rm -f conftest.$ac_objext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26222 (eval $ac_compile) 2>conftest.er1
26223 ac_status=$?
26224 grep -v '^ *+' conftest.er1 >conftest.err
26225 rm -f conftest.er1
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } &&
26229 { ac_try='test -z "$ac_cxx_werror_flag"
26230 || test ! -s conftest.err'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try='test -s conftest.$ac_objext'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; }; then
26242 glibcxx_cv_func___builtin_sqrtf_use=yes
26243 else
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26247 glibcxx_cv_func___builtin_sqrtf_use=no
26249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26250 ac_ext=c
26251 ac_cpp='$CPP $CPPFLAGS'
26252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26262 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26263 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26264 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26265 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26266 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 else
26270 if test x$gcc_no_link = xyes; then
26271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26273 { (exit 1); exit 1; }; }
26275 cat >conftest.$ac_ext <<_ACEOF
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26281 #include <math.h>
26283 main ()
26285 __builtin_sqrtf(0);
26287 return 0;
26289 _ACEOF
26290 rm -f conftest.$ac_objext conftest$ac_exeext
26291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26292 (eval $ac_link) 2>conftest.er1
26293 ac_status=$?
26294 grep -v '^ *+' conftest.er1 >conftest.err
26295 rm -f conftest.er1
26296 cat conftest.err >&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); } &&
26299 { ac_try='test -z "$ac_c_werror_flag"
26300 || test ! -s conftest.err'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; } &&
26306 { ac_try='test -s conftest$ac_exeext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 glibcxx_cv_func___builtin_sqrtf_link=yes
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26317 glibcxx_cv_func___builtin_sqrtf_link=no
26319 rm -f conftest.err conftest.$ac_objext \
26320 conftest$ac_exeext conftest.$ac_ext
26325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26328 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26330 cat >>confdefs.h <<\_ACEOF
26331 #define HAVE___BUILTIN_SQRTF 1
26332 _ACEOF
26339 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26340 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26341 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26342 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26348 ac_ext=cc
26349 ac_cpp='$CXXCPP $CPPFLAGS'
26350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 __builtin_sqrt(0);
26366 return 0;
26368 _ACEOF
26369 rm -f conftest.$ac_objext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26371 (eval $ac_compile) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_cxx_werror_flag"
26379 || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest.$ac_objext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 glibcxx_cv_func___builtin_sqrt_use=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 glibcxx_cv_func___builtin_sqrt_use=no
26398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26399 ac_ext=c
26400 ac_cpp='$CPP $CPPFLAGS'
26401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26410 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26411 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26412 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26413 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26414 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26415 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26416 echo $ECHO_N "(cached) $ECHO_C" >&6
26417 else
26419 if test x$gcc_no_link = xyes; then
26420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26422 { (exit 1); exit 1; }; }
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430 #include <math.h>
26432 main ()
26434 __builtin_sqrt(0);
26436 return 0;
26438 _ACEOF
26439 rm -f conftest.$ac_objext conftest$ac_exeext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26441 (eval $ac_link) 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try='test -z "$ac_c_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest$ac_exeext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 glibcxx_cv_func___builtin_sqrt_link=yes
26462 else
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26466 glibcxx_cv_func___builtin_sqrt_link=no
26468 rm -f conftest.err conftest.$ac_objext \
26469 conftest$ac_exeext conftest.$ac_ext
26474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26477 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26479 cat >>confdefs.h <<\_ACEOF
26480 #define HAVE___BUILTIN_SQRT 1
26481 _ACEOF
26488 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26489 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26490 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26491 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 else
26497 ac_ext=cc
26498 ac_cpp='$CXXCPP $CPPFLAGS'
26499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26511 main ()
26513 __builtin_sqrtl(0);
26515 return 0;
26517 _ACEOF
26518 rm -f conftest.$ac_objext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26520 (eval $ac_compile) 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -z "$ac_cxx_werror_flag"
26528 || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 glibcxx_cv_func___builtin_sqrtl_use=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26545 glibcxx_cv_func___builtin_sqrtl_use=no
26547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26560 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26561 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26562 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26563 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26564 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26565 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 else
26568 if test x$gcc_no_link = xyes; then
26569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26571 { (exit 1); exit 1; }; }
26573 cat >conftest.$ac_ext <<_ACEOF
26574 /* confdefs.h. */
26575 _ACEOF
26576 cat confdefs.h >>conftest.$ac_ext
26577 cat >>conftest.$ac_ext <<_ACEOF
26578 /* end confdefs.h. */
26579 #include <math.h>
26581 main ()
26583 __builtin_sqrtl(0);
26585 return 0;
26587 _ACEOF
26588 rm -f conftest.$ac_objext conftest$ac_exeext
26589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26590 (eval $ac_link) 2>conftest.er1
26591 ac_status=$?
26592 grep -v '^ *+' conftest.er1 >conftest.err
26593 rm -f conftest.er1
26594 cat conftest.err >&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); } &&
26597 { ac_try='test -z "$ac_c_werror_flag"
26598 || test ! -s conftest.err'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26601 ac_status=$?
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; } &&
26604 { ac_try='test -s conftest$ac_exeext'
26605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606 (eval $ac_try) 2>&5
26607 ac_status=$?
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); }; }; then
26610 glibcxx_cv_func___builtin_sqrtl_link=yes
26611 else
26612 echo "$as_me: failed program was:" >&5
26613 sed 's/^/| /' conftest.$ac_ext >&5
26615 glibcxx_cv_func___builtin_sqrtl_link=no
26617 rm -f conftest.err conftest.$ac_objext \
26618 conftest$ac_exeext conftest.$ac_ext
26623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26626 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26628 cat >>confdefs.h <<\_ACEOF
26629 #define HAVE___BUILTIN_SQRTL 1
26630 _ACEOF
26638 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26639 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26640 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26641 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26647 ac_ext=cc
26648 ac_cpp='$CXXCPP $CPPFLAGS'
26649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26653 cat >conftest.$ac_ext <<_ACEOF
26654 /* confdefs.h. */
26655 _ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659 #include <math.h>
26661 main ()
26663 __builtin_sinf(0);
26665 return 0;
26667 _ACEOF
26668 rm -f conftest.$ac_objext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26670 (eval $ac_compile) 2>conftest.er1
26671 ac_status=$?
26672 grep -v '^ *+' conftest.er1 >conftest.err
26673 rm -f conftest.er1
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_cxx_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try='test -s conftest.$ac_objext'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; }; then
26690 glibcxx_cv_func___builtin_sinf_use=yes
26691 else
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26695 glibcxx_cv_func___builtin_sinf_use=no
26697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26698 ac_ext=c
26699 ac_cpp='$CPP $CPPFLAGS'
26700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26710 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26711 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26712 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26713 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26714 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26718 if test x$gcc_no_link = xyes; then
26719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26721 { (exit 1); exit 1; }; }
26723 cat >conftest.$ac_ext <<_ACEOF
26724 /* confdefs.h. */
26725 _ACEOF
26726 cat confdefs.h >>conftest.$ac_ext
26727 cat >>conftest.$ac_ext <<_ACEOF
26728 /* end confdefs.h. */
26729 #include <math.h>
26731 main ()
26733 __builtin_sinf(0);
26735 return 0;
26737 _ACEOF
26738 rm -f conftest.$ac_objext conftest$ac_exeext
26739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26740 (eval $ac_link) 2>conftest.er1
26741 ac_status=$?
26742 grep -v '^ *+' conftest.er1 >conftest.err
26743 rm -f conftest.er1
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } &&
26747 { ac_try='test -z "$ac_c_werror_flag"
26748 || test ! -s conftest.err'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; } &&
26754 { ac_try='test -s conftest$ac_exeext'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26757 ac_status=$?
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; }; then
26760 glibcxx_cv_func___builtin_sinf_link=yes
26761 else
26762 echo "$as_me: failed program was:" >&5
26763 sed 's/^/| /' conftest.$ac_ext >&5
26765 glibcxx_cv_func___builtin_sinf_link=no
26767 rm -f conftest.err conftest.$ac_objext \
26768 conftest$ac_exeext conftest.$ac_ext
26773 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26774 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26776 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26778 cat >>confdefs.h <<\_ACEOF
26779 #define HAVE___BUILTIN_SINF 1
26780 _ACEOF
26787 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26788 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26789 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26790 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26791 echo $ECHO_N "(cached) $ECHO_C" >&6
26792 else
26796 ac_ext=cc
26797 ac_cpp='$CXXCPP $CPPFLAGS'
26798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <math.h>
26810 main ()
26812 __builtin_sin(0);
26814 return 0;
26816 _ACEOF
26817 rm -f conftest.$ac_objext
26818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26819 (eval $ac_compile) 2>conftest.er1
26820 ac_status=$?
26821 grep -v '^ *+' conftest.er1 >conftest.err
26822 rm -f conftest.er1
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 { ac_try='test -z "$ac_cxx_werror_flag"
26827 || test ! -s conftest.err'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; } &&
26833 { ac_try='test -s conftest.$ac_objext'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; }; then
26839 glibcxx_cv_func___builtin_sin_use=yes
26840 else
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26844 glibcxx_cv_func___builtin_sin_use=no
26846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26847 ac_ext=c
26848 ac_cpp='$CPP $CPPFLAGS'
26849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26857 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26858 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26859 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26860 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26861 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26862 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26863 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26864 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 else
26867 if test x$gcc_no_link = xyes; then
26868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26870 { (exit 1); exit 1; }; }
26872 cat >conftest.$ac_ext <<_ACEOF
26873 /* confdefs.h. */
26874 _ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26878 #include <math.h>
26880 main ()
26882 __builtin_sin(0);
26884 return 0;
26886 _ACEOF
26887 rm -f conftest.$ac_objext conftest$ac_exeext
26888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26889 (eval $ac_link) 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } &&
26896 { ac_try='test -z "$ac_c_werror_flag"
26897 || test ! -s conftest.err'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; } &&
26903 { ac_try='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 glibcxx_cv_func___builtin_sin_link=yes
26910 else
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26914 glibcxx_cv_func___builtin_sin_link=no
26916 rm -f conftest.err conftest.$ac_objext \
26917 conftest$ac_exeext conftest.$ac_ext
26922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26925 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26927 cat >>confdefs.h <<\_ACEOF
26928 #define HAVE___BUILTIN_SIN 1
26929 _ACEOF
26936 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26937 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26938 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26939 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26941 else
26945 ac_ext=cc
26946 ac_cpp='$CXXCPP $CPPFLAGS'
26947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 #include <math.h>
26959 main ()
26961 __builtin_sinl(0);
26963 return 0;
26965 _ACEOF
26966 rm -f conftest.$ac_objext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26968 (eval $ac_compile) 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try='test -z "$ac_cxx_werror_flag"
26976 || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 glibcxx_cv_func___builtin_sinl_use=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26993 glibcxx_cv_func___builtin_sinl_use=no
26995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26996 ac_ext=c
26997 ac_cpp='$CPP $CPPFLAGS'
26998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27006 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27007 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27008 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27009 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27010 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27011 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27012 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27014 else
27016 if test x$gcc_no_link = xyes; then
27017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27019 { (exit 1); exit 1; }; }
27021 cat >conftest.$ac_ext <<_ACEOF
27022 /* confdefs.h. */
27023 _ACEOF
27024 cat confdefs.h >>conftest.$ac_ext
27025 cat >>conftest.$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27027 #include <math.h>
27029 main ()
27031 __builtin_sinl(0);
27033 return 0;
27035 _ACEOF
27036 rm -f conftest.$ac_objext conftest$ac_exeext
27037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038 (eval $ac_link) 2>conftest.er1
27039 ac_status=$?
27040 grep -v '^ *+' conftest.er1 >conftest.err
27041 rm -f conftest.er1
27042 cat conftest.err >&5
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); } &&
27045 { ac_try='test -z "$ac_c_werror_flag"
27046 || test ! -s conftest.err'
27047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27048 (eval $ac_try) 2>&5
27049 ac_status=$?
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); }; } &&
27052 { ac_try='test -s conftest$ac_exeext'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27055 ac_status=$?
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; }; then
27058 glibcxx_cv_func___builtin_sinl_link=yes
27059 else
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27063 glibcxx_cv_func___builtin_sinl_link=no
27065 rm -f conftest.err conftest.$ac_objext \
27066 conftest$ac_exeext conftest.$ac_ext
27071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27072 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27074 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27076 cat >>confdefs.h <<\_ACEOF
27077 #define HAVE___BUILTIN_SINL 1
27078 _ACEOF
27086 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27087 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27088 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27089 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27090 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 else
27095 ac_ext=cc
27096 ac_cpp='$CXXCPP $CPPFLAGS'
27097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27101 cat >conftest.$ac_ext <<_ACEOF
27102 /* confdefs.h. */
27103 _ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27107 #include <math.h>
27109 main ()
27111 __builtin_cosf(0);
27113 return 0;
27115 _ACEOF
27116 rm -f conftest.$ac_objext
27117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27118 (eval $ac_compile) 2>conftest.er1
27119 ac_status=$?
27120 grep -v '^ *+' conftest.er1 >conftest.err
27121 rm -f conftest.er1
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try='test -z "$ac_cxx_werror_flag"
27126 || test ! -s conftest.err'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; } &&
27132 { ac_try='test -s conftest.$ac_objext'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; }; then
27138 glibcxx_cv_func___builtin_cosf_use=yes
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27143 glibcxx_cv_func___builtin_cosf_use=no
27145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27146 ac_ext=c
27147 ac_cpp='$CPP $CPPFLAGS'
27148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27157 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27158 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27159 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27160 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27161 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27162 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27164 else
27166 if test x$gcc_no_link = xyes; then
27167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27169 { (exit 1); exit 1; }; }
27171 cat >conftest.$ac_ext <<_ACEOF
27172 /* confdefs.h. */
27173 _ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177 #include <math.h>
27179 main ()
27181 __builtin_cosf(0);
27183 return 0;
27185 _ACEOF
27186 rm -f conftest.$ac_objext conftest$ac_exeext
27187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27188 (eval $ac_link) 2>conftest.er1
27189 ac_status=$?
27190 grep -v '^ *+' conftest.er1 >conftest.err
27191 rm -f conftest.er1
27192 cat conftest.err >&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); } &&
27195 { ac_try='test -z "$ac_c_werror_flag"
27196 || test ! -s conftest.err'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; } &&
27202 { ac_try='test -s conftest$ac_exeext'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; }; then
27208 glibcxx_cv_func___builtin_cosf_link=yes
27209 else
27210 echo "$as_me: failed program was:" >&5
27211 sed 's/^/| /' conftest.$ac_ext >&5
27213 glibcxx_cv_func___builtin_cosf_link=no
27215 rm -f conftest.err conftest.$ac_objext \
27216 conftest$ac_exeext conftest.$ac_ext
27221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27222 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27224 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27226 cat >>confdefs.h <<\_ACEOF
27227 #define HAVE___BUILTIN_COSF 1
27228 _ACEOF
27235 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27236 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27237 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27238 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27240 else
27244 ac_ext=cc
27245 ac_cpp='$CXXCPP $CPPFLAGS'
27246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <math.h>
27258 main ()
27260 __builtin_cos(0);
27262 return 0;
27264 _ACEOF
27265 rm -f conftest.$ac_objext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27267 (eval $ac_compile) 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } &&
27274 { ac_try='test -z "$ac_cxx_werror_flag"
27275 || test ! -s conftest.err'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27278 ac_status=$?
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; } &&
27281 { ac_try='test -s conftest.$ac_objext'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; }; then
27287 glibcxx_cv_func___builtin_cos_use=yes
27288 else
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.$ac_ext >&5
27292 glibcxx_cv_func___builtin_cos_use=no
27294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27295 ac_ext=c
27296 ac_cpp='$CPP $CPPFLAGS'
27297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27305 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27306 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27307 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27308 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27309 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27310 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27311 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27312 echo $ECHO_N "(cached) $ECHO_C" >&6
27313 else
27315 if test x$gcc_no_link = xyes; then
27316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27318 { (exit 1); exit 1; }; }
27320 cat >conftest.$ac_ext <<_ACEOF
27321 /* confdefs.h. */
27322 _ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 #include <math.h>
27328 main ()
27330 __builtin_cos(0);
27332 return 0;
27334 _ACEOF
27335 rm -f conftest.$ac_objext conftest$ac_exeext
27336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27337 (eval $ac_link) 2>conftest.er1
27338 ac_status=$?
27339 grep -v '^ *+' conftest.er1 >conftest.err
27340 rm -f conftest.er1
27341 cat conftest.err >&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); } &&
27344 { ac_try='test -z "$ac_c_werror_flag"
27345 || test ! -s conftest.err'
27346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27347 (eval $ac_try) 2>&5
27348 ac_status=$?
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; } &&
27351 { ac_try='test -s conftest$ac_exeext'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; }; then
27357 glibcxx_cv_func___builtin_cos_link=yes
27358 else
27359 echo "$as_me: failed program was:" >&5
27360 sed 's/^/| /' conftest.$ac_ext >&5
27362 glibcxx_cv_func___builtin_cos_link=no
27364 rm -f conftest.err conftest.$ac_objext \
27365 conftest$ac_exeext conftest.$ac_ext
27370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27373 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27375 cat >>confdefs.h <<\_ACEOF
27376 #define HAVE___BUILTIN_COS 1
27377 _ACEOF
27384 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27385 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27386 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27387 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27393 ac_ext=cc
27394 ac_cpp='$CXXCPP $CPPFLAGS'
27395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27399 cat >conftest.$ac_ext <<_ACEOF
27400 /* confdefs.h. */
27401 _ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27405 #include <math.h>
27407 main ()
27409 __builtin_cosl(0);
27411 return 0;
27413 _ACEOF
27414 rm -f conftest.$ac_objext
27415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27416 (eval $ac_compile) 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -z "$ac_cxx_werror_flag"
27424 || test ! -s conftest.err'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; } &&
27430 { ac_try='test -s conftest.$ac_objext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 glibcxx_cv_func___builtin_cosl_use=yes
27437 else
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27441 glibcxx_cv_func___builtin_cosl_use=no
27443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27444 ac_ext=c
27445 ac_cpp='$CPP $CPPFLAGS'
27446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27455 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27456 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27457 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27458 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27459 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27460 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27462 else
27464 if test x$gcc_no_link = xyes; then
27465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27467 { (exit 1); exit 1; }; }
27469 cat >conftest.$ac_ext <<_ACEOF
27470 /* confdefs.h. */
27471 _ACEOF
27472 cat confdefs.h >>conftest.$ac_ext
27473 cat >>conftest.$ac_ext <<_ACEOF
27474 /* end confdefs.h. */
27475 #include <math.h>
27477 main ()
27479 __builtin_cosl(0);
27481 return 0;
27483 _ACEOF
27484 rm -f conftest.$ac_objext conftest$ac_exeext
27485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27486 (eval $ac_link) 2>conftest.er1
27487 ac_status=$?
27488 grep -v '^ *+' conftest.er1 >conftest.err
27489 rm -f conftest.er1
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } &&
27493 { ac_try='test -z "$ac_c_werror_flag"
27494 || test ! -s conftest.err'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; } &&
27500 { ac_try='test -s conftest$ac_exeext'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; }; then
27506 glibcxx_cv_func___builtin_cosl_link=yes
27507 else
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.$ac_ext >&5
27511 glibcxx_cv_func___builtin_cosl_link=no
27513 rm -f conftest.err conftest.$ac_objext \
27514 conftest$ac_exeext conftest.$ac_ext
27519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27520 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27522 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27524 cat >>confdefs.h <<\_ACEOF
27525 #define HAVE___BUILTIN_COSL 1
27526 _ACEOF
27535 echo "$as_me:$LINENO: checking for main in -lm" >&5
27536 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27537 if test "${ac_cv_lib_m_main+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 else
27540 ac_check_lib_save_LIBS=$LIBS
27541 LIBS="-lm $LIBS"
27542 if test x$gcc_no_link = xyes; then
27543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27545 { (exit 1); exit 1; }; }
27547 cat >conftest.$ac_ext <<_ACEOF
27548 /* confdefs.h. */
27549 _ACEOF
27550 cat confdefs.h >>conftest.$ac_ext
27551 cat >>conftest.$ac_ext <<_ACEOF
27552 /* end confdefs.h. */
27556 main ()
27558 main ();
27560 return 0;
27562 _ACEOF
27563 rm -f conftest.$ac_objext conftest$ac_exeext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27565 (eval $ac_link) 2>conftest.er1
27566 ac_status=$?
27567 grep -v '^ *+' conftest.er1 >conftest.err
27568 rm -f conftest.er1
27569 cat conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } &&
27572 { ac_try='test -z "$ac_c_werror_flag"
27573 || test ! -s conftest.err'
27574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575 (eval $ac_try) 2>&5
27576 ac_status=$?
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; } &&
27579 { ac_try='test -s conftest$ac_exeext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27585 ac_cv_lib_m_main=yes
27586 else
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.$ac_ext >&5
27590 ac_cv_lib_m_main=no
27592 rm -f conftest.err conftest.$ac_objext \
27593 conftest$ac_exeext conftest.$ac_ext
27594 LIBS=$ac_check_lib_save_LIBS
27596 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27597 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27598 if test $ac_cv_lib_m_main = yes; then
27599 cat >>confdefs.h <<_ACEOF
27600 #define HAVE_LIBM 1
27601 _ACEOF
27603 LIBS="-lm $LIBS"
27608 for ac_func in copysignf
27610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27611 echo "$as_me:$LINENO: checking for $ac_func" >&5
27612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27613 if eval "test \"\${$as_ac_var+set}\" = set"; then
27614 echo $ECHO_N "(cached) $ECHO_C" >&6
27615 else
27616 if test x$gcc_no_link = xyes; then
27617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27619 { (exit 1); exit 1; }; }
27621 cat >conftest.$ac_ext <<_ACEOF
27622 /* confdefs.h. */
27623 _ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27629 #define $ac_func innocuous_$ac_func
27631 /* System header to define __stub macros and hopefully few prototypes,
27632 which can conflict with char $ac_func (); below.
27633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27634 <limits.h> exists even on freestanding compilers. */
27636 #ifdef __STDC__
27637 # include <limits.h>
27638 #else
27639 # include <assert.h>
27640 #endif
27642 #undef $ac_func
27644 /* Override any gcc2 internal prototype to avoid an error. */
27645 #ifdef __cplusplus
27646 extern "C"
27648 #endif
27649 /* We use char because int might match the return type of a gcc2
27650 builtin and then its argument prototype would still apply. */
27651 char $ac_func ();
27652 /* The GNU C library defines this for functions which it implements
27653 to always fail with ENOSYS. Some functions are actually named
27654 something starting with __ and the normal name is an alias. */
27655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27656 choke me
27657 #else
27658 char (*f) () = $ac_func;
27659 #endif
27660 #ifdef __cplusplus
27662 #endif
27665 main ()
27667 return f != $ac_func;
27669 return 0;
27671 _ACEOF
27672 rm -f conftest.$ac_objext conftest$ac_exeext
27673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27674 (eval $ac_link) 2>conftest.er1
27675 ac_status=$?
27676 grep -v '^ *+' conftest.er1 >conftest.err
27677 rm -f conftest.er1
27678 cat conftest.err >&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } &&
27681 { ac_try='test -z "$ac_c_werror_flag"
27682 || test ! -s conftest.err'
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27685 ac_status=$?
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; } &&
27688 { ac_try='test -s conftest$ac_exeext'
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27691 ac_status=$?
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; }; then
27694 eval "$as_ac_var=yes"
27695 else
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.$ac_ext >&5
27699 eval "$as_ac_var=no"
27701 rm -f conftest.err conftest.$ac_objext \
27702 conftest$ac_exeext conftest.$ac_ext
27704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27706 if test `eval echo '${'$as_ac_var'}'` = yes; then
27707 cat >>confdefs.h <<_ACEOF
27708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27709 _ACEOF
27711 else
27712 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27714 done
27718 for ac_func in __signbit
27720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27721 echo "$as_me:$LINENO: checking for $ac_func" >&5
27722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27723 if eval "test \"\${$as_ac_var+set}\" = set"; then
27724 echo $ECHO_N "(cached) $ECHO_C" >&6
27725 else
27726 if test x$gcc_no_link = xyes; then
27727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27729 { (exit 1); exit 1; }; }
27731 cat >conftest.$ac_ext <<_ACEOF
27732 /* confdefs.h. */
27733 _ACEOF
27734 cat confdefs.h >>conftest.$ac_ext
27735 cat >>conftest.$ac_ext <<_ACEOF
27736 /* end confdefs.h. */
27737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27739 #define $ac_func innocuous_$ac_func
27741 /* System header to define __stub macros and hopefully few prototypes,
27742 which can conflict with char $ac_func (); below.
27743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27744 <limits.h> exists even on freestanding compilers. */
27746 #ifdef __STDC__
27747 # include <limits.h>
27748 #else
27749 # include <assert.h>
27750 #endif
27752 #undef $ac_func
27754 /* Override any gcc2 internal prototype to avoid an error. */
27755 #ifdef __cplusplus
27756 extern "C"
27758 #endif
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27761 char $ac_func ();
27762 /* The GNU C library defines this for functions which it implements
27763 to always fail with ENOSYS. Some functions are actually named
27764 something starting with __ and the normal name is an alias. */
27765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27766 choke me
27767 #else
27768 char (*f) () = $ac_func;
27769 #endif
27770 #ifdef __cplusplus
27772 #endif
27775 main ()
27777 return f != $ac_func;
27779 return 0;
27781 _ACEOF
27782 rm -f conftest.$ac_objext conftest$ac_exeext
27783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27784 (eval $ac_link) 2>conftest.er1
27785 ac_status=$?
27786 grep -v '^ *+' conftest.er1 >conftest.err
27787 rm -f conftest.er1
27788 cat conftest.err >&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); } &&
27791 { ac_try='test -z "$ac_c_werror_flag"
27792 || test ! -s conftest.err'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; } &&
27798 { ac_try='test -s conftest$ac_exeext'
27799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27800 (eval $ac_try) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); }; }; then
27804 eval "$as_ac_var=yes"
27805 else
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27809 eval "$as_ac_var=no"
27811 rm -f conftest.err conftest.$ac_objext \
27812 conftest$ac_exeext conftest.$ac_ext
27814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27816 if test `eval echo '${'$as_ac_var'}'` = yes; then
27817 cat >>confdefs.h <<_ACEOF
27818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27819 _ACEOF
27821 else
27822 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27824 done
27828 for ac_func in __signbitf
27830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27831 echo "$as_me:$LINENO: checking for $ac_func" >&5
27832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27833 if eval "test \"\${$as_ac_var+set}\" = set"; then
27834 echo $ECHO_N "(cached) $ECHO_C" >&6
27835 else
27836 if test x$gcc_no_link = xyes; then
27837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27839 { (exit 1); exit 1; }; }
27841 cat >conftest.$ac_ext <<_ACEOF
27842 /* confdefs.h. */
27843 _ACEOF
27844 cat confdefs.h >>conftest.$ac_ext
27845 cat >>conftest.$ac_ext <<_ACEOF
27846 /* end confdefs.h. */
27847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27849 #define $ac_func innocuous_$ac_func
27851 /* System header to define __stub macros and hopefully few prototypes,
27852 which can conflict with char $ac_func (); below.
27853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27854 <limits.h> exists even on freestanding compilers. */
27856 #ifdef __STDC__
27857 # include <limits.h>
27858 #else
27859 # include <assert.h>
27860 #endif
27862 #undef $ac_func
27864 /* Override any gcc2 internal prototype to avoid an error. */
27865 #ifdef __cplusplus
27866 extern "C"
27868 #endif
27869 /* We use char because int might match the return type of a gcc2
27870 builtin and then its argument prototype would still apply. */
27871 char $ac_func ();
27872 /* The GNU C library defines this for functions which it implements
27873 to always fail with ENOSYS. Some functions are actually named
27874 something starting with __ and the normal name is an alias. */
27875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27876 choke me
27877 #else
27878 char (*f) () = $ac_func;
27879 #endif
27880 #ifdef __cplusplus
27882 #endif
27885 main ()
27887 return f != $ac_func;
27889 return 0;
27891 _ACEOF
27892 rm -f conftest.$ac_objext conftest$ac_exeext
27893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27894 (eval $ac_link) 2>conftest.er1
27895 ac_status=$?
27896 grep -v '^ *+' conftest.er1 >conftest.err
27897 rm -f conftest.er1
27898 cat conftest.err >&5
27899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27900 (exit $ac_status); } &&
27901 { ac_try='test -z "$ac_c_werror_flag"
27902 || test ! -s conftest.err'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; } &&
27908 { ac_try='test -s conftest$ac_exeext'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27911 ac_status=$?
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 eval "$as_ac_var=yes"
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27919 eval "$as_ac_var=no"
27921 rm -f conftest.err conftest.$ac_objext \
27922 conftest$ac_exeext conftest.$ac_ext
27924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27926 if test `eval echo '${'$as_ac_var'}'` = yes; then
27927 cat >>confdefs.h <<_ACEOF
27928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27929 _ACEOF
27931 else
27932 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27934 done
27937 if test x$ac_cv_func_copysignl = x"yes"; then
27939 for ac_func in __signbitl
27941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27942 echo "$as_me:$LINENO: checking for $ac_func" >&5
27943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27944 if eval "test \"\${$as_ac_var+set}\" = set"; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 else
27947 if test x$gcc_no_link = xyes; then
27948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27950 { (exit 1); exit 1; }; }
27952 cat >conftest.$ac_ext <<_ACEOF
27953 /* confdefs.h. */
27954 _ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27960 #define $ac_func innocuous_$ac_func
27962 /* System header to define __stub macros and hopefully few prototypes,
27963 which can conflict with char $ac_func (); below.
27964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27965 <limits.h> exists even on freestanding compilers. */
27967 #ifdef __STDC__
27968 # include <limits.h>
27969 #else
27970 # include <assert.h>
27971 #endif
27973 #undef $ac_func
27975 /* Override any gcc2 internal prototype to avoid an error. */
27976 #ifdef __cplusplus
27977 extern "C"
27979 #endif
27980 /* We use char because int might match the return type of a gcc2
27981 builtin and then its argument prototype would still apply. */
27982 char $ac_func ();
27983 /* The GNU C library defines this for functions which it implements
27984 to always fail with ENOSYS. Some functions are actually named
27985 something starting with __ and the normal name is an alias. */
27986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27987 choke me
27988 #else
27989 char (*f) () = $ac_func;
27990 #endif
27991 #ifdef __cplusplus
27993 #endif
27996 main ()
27998 return f != $ac_func;
28000 return 0;
28002 _ACEOF
28003 rm -f conftest.$ac_objext conftest$ac_exeext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28005 (eval $ac_link) 2>conftest.er1
28006 ac_status=$?
28007 grep -v '^ *+' conftest.er1 >conftest.err
28008 rm -f conftest.er1
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } &&
28012 { ac_try='test -z "$ac_c_werror_flag"
28013 || test ! -s conftest.err'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28016 ac_status=$?
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; } &&
28019 { ac_try='test -s conftest$ac_exeext'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; }; then
28025 eval "$as_ac_var=yes"
28026 else
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28030 eval "$as_ac_var=no"
28032 rm -f conftest.err conftest.$ac_objext \
28033 conftest$ac_exeext conftest.$ac_ext
28035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28037 if test `eval echo '${'$as_ac_var'}'` = yes; then
28038 cat >>confdefs.h <<_ACEOF
28039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28040 _ACEOF
28042 else
28043 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28045 done
28049 # Used in libmath/Makefile.am.
28050 if test -n "$LIBMATHOBJS"; then
28051 need_libmath=yes
28057 enable_iconv=no
28058 # Only continue checking if the ISO C99 headers exist and support is on.
28059 if test x"$enable_wchar_t" = xyes; then
28061 # Use iconv for wchar_t to char conversions. As such, check for
28062 # X/Open Portability Guide, version 2 features (XPG2).
28063 if test "${ac_cv_header_iconv_h+set}" = set; then
28064 echo "$as_me:$LINENO: checking for iconv.h" >&5
28065 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28066 if test "${ac_cv_header_iconv_h+set}" = set; then
28067 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28070 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28071 else
28072 # Is the header compilable?
28073 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28074 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 $ac_includes_default
28082 #include <iconv.h>
28083 _ACEOF
28084 rm -f conftest.$ac_objext
28085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28086 (eval $ac_compile) 2>conftest.er1
28087 ac_status=$?
28088 grep -v '^ *+' conftest.er1 >conftest.err
28089 rm -f conftest.er1
28090 cat conftest.err >&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } &&
28093 { ac_try='test -z "$ac_c_werror_flag"
28094 || test ! -s conftest.err'
28095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28096 (eval $ac_try) 2>&5
28097 ac_status=$?
28098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 (exit $ac_status); }; } &&
28100 { ac_try='test -s conftest.$ac_objext'
28101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28102 (eval $ac_try) 2>&5
28103 ac_status=$?
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); }; }; then
28106 ac_header_compiler=yes
28107 else
28108 echo "$as_me: failed program was:" >&5
28109 sed 's/^/| /' conftest.$ac_ext >&5
28111 ac_header_compiler=no
28113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28115 echo "${ECHO_T}$ac_header_compiler" >&6
28117 # Is the header present?
28118 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28119 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28120 cat >conftest.$ac_ext <<_ACEOF
28121 /* confdefs.h. */
28122 _ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28126 #include <iconv.h>
28127 _ACEOF
28128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28130 ac_status=$?
28131 grep -v '^ *+' conftest.er1 >conftest.err
28132 rm -f conftest.er1
28133 cat conftest.err >&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } >/dev/null; then
28136 if test -s conftest.err; then
28137 ac_cpp_err=$ac_c_preproc_warn_flag
28138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28139 else
28140 ac_cpp_err=
28142 else
28143 ac_cpp_err=yes
28145 if test -z "$ac_cpp_err"; then
28146 ac_header_preproc=yes
28147 else
28148 echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.$ac_ext >&5
28151 ac_header_preproc=no
28153 rm -f conftest.err conftest.$ac_ext
28154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28155 echo "${ECHO_T}$ac_header_preproc" >&6
28157 # So? What about this header?
28158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28159 yes:no: )
28160 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28161 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28162 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28163 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28164 ac_header_preproc=yes
28166 no:yes:* )
28167 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28168 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28169 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28170 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28171 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28172 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28173 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28174 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28175 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28176 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28177 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28178 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28180 cat <<\_ASBOX
28181 ## ----------------------------------------- ##
28182 ## Report this to the package-unused lists. ##
28183 ## ----------------------------------------- ##
28184 _ASBOX
28186 sed "s/^/$as_me: WARNING: /" >&2
28188 esac
28189 echo "$as_me:$LINENO: checking for iconv.h" >&5
28190 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28191 if test "${ac_cv_header_iconv_h+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28193 else
28194 ac_cv_header_iconv_h=$ac_header_preproc
28196 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28197 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28200 if test $ac_cv_header_iconv_h = yes; then
28201 ac_has_iconv_h=yes
28202 else
28203 ac_has_iconv_h=no
28207 if test "${ac_cv_header_langinfo_h+set}" = set; then
28208 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28209 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28210 if test "${ac_cv_header_langinfo_h+set}" = set; then
28211 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28214 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28215 else
28216 # Is the header compilable?
28217 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28218 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 $ac_includes_default
28226 #include <langinfo.h>
28227 _ACEOF
28228 rm -f conftest.$ac_objext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28230 (eval $ac_compile) 2>conftest.er1
28231 ac_status=$?
28232 grep -v '^ *+' conftest.er1 >conftest.err
28233 rm -f conftest.er1
28234 cat conftest.err >&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); } &&
28237 { ac_try='test -z "$ac_c_werror_flag"
28238 || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try='test -s conftest.$ac_objext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_header_compiler=yes
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28255 ac_header_compiler=no
28257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28259 echo "${ECHO_T}$ac_header_compiler" >&6
28261 # Is the header present?
28262 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28263 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 #include <langinfo.h>
28271 _ACEOF
28272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28274 ac_status=$?
28275 grep -v '^ *+' conftest.er1 >conftest.err
28276 rm -f conftest.er1
28277 cat conftest.err >&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } >/dev/null; then
28280 if test -s conftest.err; then
28281 ac_cpp_err=$ac_c_preproc_warn_flag
28282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28283 else
28284 ac_cpp_err=
28286 else
28287 ac_cpp_err=yes
28289 if test -z "$ac_cpp_err"; then
28290 ac_header_preproc=yes
28291 else
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28295 ac_header_preproc=no
28297 rm -f conftest.err conftest.$ac_ext
28298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28299 echo "${ECHO_T}$ac_header_preproc" >&6
28301 # So? What about this header?
28302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28303 yes:no: )
28304 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28305 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28307 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28308 ac_header_preproc=yes
28310 no:yes:* )
28311 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28312 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28314 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28316 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28318 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28319 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28320 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28321 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28322 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28324 cat <<\_ASBOX
28325 ## ----------------------------------------- ##
28326 ## Report this to the package-unused lists. ##
28327 ## ----------------------------------------- ##
28328 _ASBOX
28330 sed "s/^/$as_me: WARNING: /" >&2
28332 esac
28333 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28334 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28335 if test "${ac_cv_header_langinfo_h+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338 ac_cv_header_langinfo_h=$ac_header_preproc
28340 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28344 if test $ac_cv_header_langinfo_h = yes; then
28345 ac_has_langinfo_h=yes
28346 else
28347 ac_has_langinfo_h=no
28352 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28353 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28354 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28355 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 else
28358 ac_check_lib_save_LIBS=$LIBS
28359 LIBS="-liconv $LIBS"
28360 if test x$gcc_no_link = xyes; then
28361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28363 { (exit 1); exit 1; }; }
28365 cat >conftest.$ac_ext <<_ACEOF
28366 /* confdefs.h. */
28367 _ACEOF
28368 cat confdefs.h >>conftest.$ac_ext
28369 cat >>conftest.$ac_ext <<_ACEOF
28370 /* end confdefs.h. */
28372 /* Override any gcc2 internal prototype to avoid an error. */
28373 #ifdef __cplusplus
28374 extern "C"
28375 #endif
28376 /* We use char because int might match the return type of a gcc2
28377 builtin and then its argument prototype would still apply. */
28378 char iconv ();
28380 main ()
28382 iconv ();
28384 return 0;
28386 _ACEOF
28387 rm -f conftest.$ac_objext conftest$ac_exeext
28388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28389 (eval $ac_link) 2>conftest.er1
28390 ac_status=$?
28391 grep -v '^ *+' conftest.er1 >conftest.err
28392 rm -f conftest.er1
28393 cat conftest.err >&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try='test -z "$ac_c_werror_flag"
28397 || test ! -s conftest.err'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; } &&
28403 { ac_try='test -s conftest$ac_exeext'
28404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28405 (eval $ac_try) 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 ac_cv_lib_iconv_iconv=yes
28410 else
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.$ac_ext >&5
28414 ac_cv_lib_iconv_iconv=no
28416 rm -f conftest.err conftest.$ac_objext \
28417 conftest$ac_exeext conftest.$ac_ext
28418 LIBS=$ac_check_lib_save_LIBS
28420 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28421 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28422 if test $ac_cv_lib_iconv_iconv = yes; then
28423 LIBICONV="-liconv"
28426 ac_save_LIBS="$LIBS"
28427 LIBS="$LIBS $LIBICONV"
28434 for ac_func in iconv_open iconv_close iconv nl_langinfo
28436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28437 echo "$as_me:$LINENO: checking for $ac_func" >&5
28438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28439 if eval "test \"\${$as_ac_var+set}\" = set"; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442 if test x$gcc_no_link = xyes; then
28443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28445 { (exit 1); exit 1; }; }
28447 cat >conftest.$ac_ext <<_ACEOF
28448 /* confdefs.h. */
28449 _ACEOF
28450 cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h. */
28453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28455 #define $ac_func innocuous_$ac_func
28457 /* System header to define __stub macros and hopefully few prototypes,
28458 which can conflict with char $ac_func (); below.
28459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28460 <limits.h> exists even on freestanding compilers. */
28462 #ifdef __STDC__
28463 # include <limits.h>
28464 #else
28465 # include <assert.h>
28466 #endif
28468 #undef $ac_func
28470 /* Override any gcc2 internal prototype to avoid an error. */
28471 #ifdef __cplusplus
28472 extern "C"
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28477 char $ac_func ();
28478 /* The GNU C library defines this for functions which it implements
28479 to always fail with ENOSYS. Some functions are actually named
28480 something starting with __ and the normal name is an alias. */
28481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28482 choke me
28483 #else
28484 char (*f) () = $ac_func;
28485 #endif
28486 #ifdef __cplusplus
28488 #endif
28491 main ()
28493 return f != $ac_func;
28495 return 0;
28497 _ACEOF
28498 rm -f conftest.$ac_objext conftest$ac_exeext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28500 (eval $ac_link) 2>conftest.er1
28501 ac_status=$?
28502 grep -v '^ *+' conftest.er1 >conftest.err
28503 rm -f conftest.er1
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } &&
28507 { ac_try='test -z "$ac_c_werror_flag"
28508 || test ! -s conftest.err'
28509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510 (eval $ac_try) 2>&5
28511 ac_status=$?
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; } &&
28514 { ac_try='test -s conftest$ac_exeext'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28517 ac_status=$?
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; }; then
28520 eval "$as_ac_var=yes"
28521 else
28522 echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.$ac_ext >&5
28525 eval "$as_ac_var=no"
28527 rm -f conftest.err conftest.$ac_objext \
28528 conftest$ac_exeext conftest.$ac_ext
28530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28532 if test `eval echo '${'$as_ac_var'}'` = yes; then
28533 cat >>confdefs.h <<_ACEOF
28534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28535 _ACEOF
28536 ac_XPG2funcs=yes
28537 else
28538 ac_XPG2funcs=no
28540 done
28543 LIBS="$ac_save_LIBS"
28545 if test x"$ac_has_iconv_h" = xyes &&
28546 test x"$ac_has_langinfo_h" = xyes &&
28547 test x"$ac_XPG2funcs" = xyes;
28548 then
28550 cat >>confdefs.h <<\_ACEOF
28551 #define _GLIBCXX_USE_ICONV 1
28552 _ACEOF
28554 enable_iconv=yes
28557 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28558 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28559 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28560 echo "${ECHO_T}$enable_iconv" >&6
28563 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28564 ac_save_CXXFLAGS="$CXXFLAGS"
28565 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28568 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28569 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28570 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28571 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28577 ac_ext=cc
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat >conftest.$ac_ext <<_ACEOF
28584 /* confdefs.h. */
28585 _ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h. */
28589 #include <stdlib.h>
28591 main ()
28593 strtold(0, 0);
28595 return 0;
28597 _ACEOF
28598 rm -f conftest.$ac_objext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28600 (eval $ac_compile) 2>conftest.er1
28601 ac_status=$?
28602 grep -v '^ *+' conftest.er1 >conftest.err
28603 rm -f conftest.er1
28604 cat conftest.err >&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try='test -z "$ac_cxx_werror_flag"
28608 || test ! -s conftest.err'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; } &&
28614 { ac_try='test -s conftest.$ac_objext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 glibcxx_cv_func_strtold_use=yes
28621 else
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28625 glibcxx_cv_func_strtold_use=no
28627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28628 ac_ext=c
28629 ac_cpp='$CPP $CPPFLAGS'
28630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28639 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28640 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28642 for ac_func in strtold
28644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28645 echo "$as_me:$LINENO: checking for $ac_func" >&5
28646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28647 if eval "test \"\${$as_ac_var+set}\" = set"; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650 if test x$gcc_no_link = xyes; then
28651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28653 { (exit 1); exit 1; }; }
28655 cat >conftest.$ac_ext <<_ACEOF
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28663 #define $ac_func innocuous_$ac_func
28665 /* System header to define __stub macros and hopefully few prototypes,
28666 which can conflict with char $ac_func (); below.
28667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28668 <limits.h> exists even on freestanding compilers. */
28670 #ifdef __STDC__
28671 # include <limits.h>
28672 #else
28673 # include <assert.h>
28674 #endif
28676 #undef $ac_func
28678 /* Override any gcc2 internal prototype to avoid an error. */
28679 #ifdef __cplusplus
28680 extern "C"
28682 #endif
28683 /* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28685 char $ac_func ();
28686 /* The GNU C library defines this for functions which it implements
28687 to always fail with ENOSYS. Some functions are actually named
28688 something starting with __ and the normal name is an alias. */
28689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28690 choke me
28691 #else
28692 char (*f) () = $ac_func;
28693 #endif
28694 #ifdef __cplusplus
28696 #endif
28699 main ()
28701 return f != $ac_func;
28703 return 0;
28705 _ACEOF
28706 rm -f conftest.$ac_objext conftest$ac_exeext
28707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 (eval $ac_link) 2>conftest.er1
28709 ac_status=$?
28710 grep -v '^ *+' conftest.er1 >conftest.err
28711 rm -f conftest.er1
28712 cat conftest.err >&5
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); } &&
28715 { ac_try='test -z "$ac_c_werror_flag"
28716 || test ! -s conftest.err'
28717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 (eval $ac_try) 2>&5
28719 ac_status=$?
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); }; } &&
28722 { ac_try='test -s conftest$ac_exeext'
28723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28724 (eval $ac_try) 2>&5
28725 ac_status=$?
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); }; }; then
28728 eval "$as_ac_var=yes"
28729 else
28730 echo "$as_me: failed program was:" >&5
28731 sed 's/^/| /' conftest.$ac_ext >&5
28733 eval "$as_ac_var=no"
28735 rm -f conftest.err conftest.$ac_objext \
28736 conftest$ac_exeext conftest.$ac_ext
28738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28740 if test `eval echo '${'$as_ac_var'}'` = yes; then
28741 cat >>confdefs.h <<_ACEOF
28742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28743 _ACEOF
28746 done
28751 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28752 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28753 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28754 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28755 echo $ECHO_N "(cached) $ECHO_C" >&6
28756 else
28760 ac_ext=cc
28761 ac_cpp='$CXXCPP $CPPFLAGS'
28762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28766 cat >conftest.$ac_ext <<_ACEOF
28767 /* confdefs.h. */
28768 _ACEOF
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 #include <stdlib.h>
28774 main ()
28776 strtof(0, 0);
28778 return 0;
28780 _ACEOF
28781 rm -f conftest.$ac_objext
28782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28783 (eval $ac_compile) 2>conftest.er1
28784 ac_status=$?
28785 grep -v '^ *+' conftest.er1 >conftest.err
28786 rm -f conftest.er1
28787 cat conftest.err >&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); } &&
28790 { ac_try='test -z "$ac_cxx_werror_flag"
28791 || test ! -s conftest.err'
28792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28793 (eval $ac_try) 2>&5
28794 ac_status=$?
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); }; } &&
28797 { ac_try='test -s conftest.$ac_objext'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28800 ac_status=$?
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; }; then
28803 glibcxx_cv_func_strtof_use=yes
28804 else
28805 echo "$as_me: failed program was:" >&5
28806 sed 's/^/| /' conftest.$ac_ext >&5
28808 glibcxx_cv_func_strtof_use=no
28810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28811 ac_ext=c
28812 ac_cpp='$CPP $CPPFLAGS'
28813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28822 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28823 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28825 for ac_func in strtof
28827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28828 echo "$as_me:$LINENO: checking for $ac_func" >&5
28829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28830 if eval "test \"\${$as_ac_var+set}\" = set"; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 else
28833 if test x$gcc_no_link = xyes; then
28834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28836 { (exit 1); exit 1; }; }
28838 cat >conftest.$ac_ext <<_ACEOF
28839 /* confdefs.h. */
28840 _ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28846 #define $ac_func innocuous_$ac_func
28848 /* System header to define __stub macros and hopefully few prototypes,
28849 which can conflict with char $ac_func (); below.
28850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28851 <limits.h> exists even on freestanding compilers. */
28853 #ifdef __STDC__
28854 # include <limits.h>
28855 #else
28856 # include <assert.h>
28857 #endif
28859 #undef $ac_func
28861 /* Override any gcc2 internal prototype to avoid an error. */
28862 #ifdef __cplusplus
28863 extern "C"
28865 #endif
28866 /* We use char because int might match the return type of a gcc2
28867 builtin and then its argument prototype would still apply. */
28868 char $ac_func ();
28869 /* The GNU C library defines this for functions which it implements
28870 to always fail with ENOSYS. Some functions are actually named
28871 something starting with __ and the normal name is an alias. */
28872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28873 choke me
28874 #else
28875 char (*f) () = $ac_func;
28876 #endif
28877 #ifdef __cplusplus
28879 #endif
28882 main ()
28884 return f != $ac_func;
28886 return 0;
28888 _ACEOF
28889 rm -f conftest.$ac_objext conftest$ac_exeext
28890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28891 (eval $ac_link) 2>conftest.er1
28892 ac_status=$?
28893 grep -v '^ *+' conftest.er1 >conftest.err
28894 rm -f conftest.er1
28895 cat conftest.err >&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); } &&
28898 { ac_try='test -z "$ac_c_werror_flag"
28899 || test ! -s conftest.err'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28902 ac_status=$?
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; } &&
28905 { ac_try='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 eval "$as_ac_var=yes"
28912 else
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28916 eval "$as_ac_var=no"
28918 rm -f conftest.err conftest.$ac_objext \
28919 conftest$ac_exeext conftest.$ac_ext
28921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28923 if test `eval echo '${'$as_ac_var'}'` = yes; then
28924 cat >>confdefs.h <<_ACEOF
28925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28926 _ACEOF
28929 done
28934 CXXFLAGS="$ac_save_CXXFLAGS"
28937 # For showmanyc_helper().
28940 for ac_header in sys/ioctl.h sys/filio.h
28942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28944 echo "$as_me:$LINENO: checking for $ac_header" >&5
28945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28951 else
28952 # Is the header compilable?
28953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28955 cat >conftest.$ac_ext <<_ACEOF
28956 /* confdefs.h. */
28957 _ACEOF
28958 cat confdefs.h >>conftest.$ac_ext
28959 cat >>conftest.$ac_ext <<_ACEOF
28960 /* end confdefs.h. */
28961 $ac_includes_default
28962 #include <$ac_header>
28963 _ACEOF
28964 rm -f conftest.$ac_objext
28965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28966 (eval $ac_compile) 2>conftest.er1
28967 ac_status=$?
28968 grep -v '^ *+' conftest.er1 >conftest.err
28969 rm -f conftest.er1
28970 cat conftest.err >&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); } &&
28973 { ac_try='test -z "$ac_c_werror_flag"
28974 || test ! -s conftest.err'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; } &&
28980 { ac_try='test -s conftest.$ac_objext'
28981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28982 (eval $ac_try) 2>&5
28983 ac_status=$?
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; }; then
28986 ac_header_compiler=yes
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28991 ac_header_compiler=no
28993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28995 echo "${ECHO_T}$ac_header_compiler" >&6
28997 # Is the header present?
28998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006 #include <$ac_header>
29007 _ACEOF
29008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29010 ac_status=$?
29011 grep -v '^ *+' conftest.er1 >conftest.err
29012 rm -f conftest.er1
29013 cat conftest.err >&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } >/dev/null; then
29016 if test -s conftest.err; then
29017 ac_cpp_err=$ac_c_preproc_warn_flag
29018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29019 else
29020 ac_cpp_err=
29022 else
29023 ac_cpp_err=yes
29025 if test -z "$ac_cpp_err"; then
29026 ac_header_preproc=yes
29027 else
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.$ac_ext >&5
29031 ac_header_preproc=no
29033 rm -f conftest.err conftest.$ac_ext
29034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29035 echo "${ECHO_T}$ac_header_preproc" >&6
29037 # So? What about this header?
29038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29039 yes:no: )
29040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29044 ac_header_preproc=yes
29046 no:yes:* )
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29060 cat <<\_ASBOX
29061 ## ----------------------------------------- ##
29062 ## Report this to the package-unused lists. ##
29063 ## ----------------------------------------- ##
29064 _ASBOX
29066 sed "s/^/$as_me: WARNING: /" >&2
29068 esac
29069 echo "$as_me:$LINENO: checking for $ac_header" >&5
29070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29072 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 else
29074 eval "$as_ac_Header=\$ac_header_preproc"
29076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29081 cat >>confdefs.h <<_ACEOF
29082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29083 _ACEOF
29087 done
29090 if test "${glibcxx_cv_POLL+set}" = set; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29094 if test x$gcc_no_link = xyes; then
29095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29097 { (exit 1); exit 1; }; }
29099 cat >conftest.$ac_ext <<_ACEOF
29100 /* confdefs.h. */
29101 _ACEOF
29102 cat confdefs.h >>conftest.$ac_ext
29103 cat >>conftest.$ac_ext <<_ACEOF
29104 /* end confdefs.h. */
29105 #include <poll.h>
29107 main ()
29109 struct pollfd pfd[1];
29110 pfd[0].events = POLLIN;
29111 poll(pfd, 1, 0);
29113 return 0;
29115 _ACEOF
29116 rm -f conftest.$ac_objext conftest$ac_exeext
29117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29118 (eval $ac_link) 2>conftest.er1
29119 ac_status=$?
29120 grep -v '^ *+' conftest.er1 >conftest.err
29121 rm -f conftest.er1
29122 cat conftest.err >&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } &&
29125 { ac_try='test -z "$ac_c_werror_flag"
29126 || test ! -s conftest.err'
29127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29128 (eval $ac_try) 2>&5
29129 ac_status=$?
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); }; } &&
29132 { ac_try='test -s conftest$ac_exeext'
29133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29134 (eval $ac_try) 2>&5
29135 ac_status=$?
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); }; }; then
29138 glibcxx_cv_POLL=yes
29139 else
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29143 glibcxx_cv_POLL=no
29145 rm -f conftest.err conftest.$ac_objext \
29146 conftest$ac_exeext conftest.$ac_ext
29150 if test $glibcxx_cv_POLL = yes; then
29151 cat >>confdefs.h <<\_ACEOF
29152 #define HAVE_POLL 1
29153 _ACEOF
29158 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29159 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 else
29162 if test x$gcc_no_link = xyes; then
29163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29165 { (exit 1); exit 1; }; }
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173 #include <sys/stat.h>
29175 main ()
29177 struct stat buffer;
29178 fstat(0, &buffer);
29179 S_ISREG(buffer.st_mode);
29181 return 0;
29183 _ACEOF
29184 rm -f conftest.$ac_objext conftest$ac_exeext
29185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29186 (eval $ac_link) 2>conftest.er1
29187 ac_status=$?
29188 grep -v '^ *+' conftest.er1 >conftest.err
29189 rm -f conftest.er1
29190 cat conftest.err >&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } &&
29193 { ac_try='test -z "$ac_c_werror_flag"
29194 || test ! -s conftest.err'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; } &&
29200 { ac_try='test -s conftest$ac_exeext'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29203 ac_status=$?
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 glibcxx_cv_S_ISREG=yes
29207 else
29208 echo "$as_me: failed program was:" >&5
29209 sed 's/^/| /' conftest.$ac_ext >&5
29211 glibcxx_cv_S_ISREG=no
29213 rm -f conftest.err conftest.$ac_objext \
29214 conftest$ac_exeext conftest.$ac_ext
29218 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29219 echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29222 if test x$gcc_no_link = xyes; then
29223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29225 { (exit 1); exit 1; }; }
29227 cat >conftest.$ac_ext <<_ACEOF
29228 /* confdefs.h. */
29229 _ACEOF
29230 cat confdefs.h >>conftest.$ac_ext
29231 cat >>conftest.$ac_ext <<_ACEOF
29232 /* end confdefs.h. */
29233 #include <sys/stat.h>
29235 main ()
29237 struct stat buffer;
29238 fstat(0, &buffer);
29239 S_IFREG & buffer.st_mode;
29241 return 0;
29243 _ACEOF
29244 rm -f conftest.$ac_objext conftest$ac_exeext
29245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29246 (eval $ac_link) 2>conftest.er1
29247 ac_status=$?
29248 grep -v '^ *+' conftest.er1 >conftest.err
29249 rm -f conftest.er1
29250 cat conftest.err >&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } &&
29253 { ac_try='test -z "$ac_c_werror_flag"
29254 || test ! -s conftest.err'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; } &&
29260 { ac_try='test -s conftest$ac_exeext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 glibcxx_cv_S_IFREG=yes
29267 else
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.$ac_ext >&5
29271 glibcxx_cv_S_IFREG=no
29273 rm -f conftest.err conftest.$ac_objext \
29274 conftest$ac_exeext conftest.$ac_ext
29278 if test $glibcxx_cv_S_ISREG = yes; then
29279 cat >>confdefs.h <<\_ACEOF
29280 #define HAVE_S_ISREG 1
29281 _ACEOF
29283 elif test $glibcxx_cv_S_IFREG = yes; then
29284 cat >>confdefs.h <<\_ACEOF
29285 #define HAVE_S_IFREG 1
29286 _ACEOF
29291 # For xsputn_2().
29293 for ac_header in sys/uio.h
29295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29297 echo "$as_me:$LINENO: checking for $ac_header" >&5
29298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29300 echo $ECHO_N "(cached) $ECHO_C" >&6
29302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29304 else
29305 # Is the header compilable?
29306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29308 cat >conftest.$ac_ext <<_ACEOF
29309 /* confdefs.h. */
29310 _ACEOF
29311 cat confdefs.h >>conftest.$ac_ext
29312 cat >>conftest.$ac_ext <<_ACEOF
29313 /* end confdefs.h. */
29314 $ac_includes_default
29315 #include <$ac_header>
29316 _ACEOF
29317 rm -f conftest.$ac_objext
29318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29319 (eval $ac_compile) 2>conftest.er1
29320 ac_status=$?
29321 grep -v '^ *+' conftest.er1 >conftest.err
29322 rm -f conftest.er1
29323 cat conftest.err >&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -z "$ac_c_werror_flag"
29327 || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29330 ac_status=$?
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try='test -s conftest.$ac_objext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29336 ac_status=$?
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 ac_header_compiler=yes
29340 else
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.$ac_ext >&5
29344 ac_header_compiler=no
29346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29348 echo "${ECHO_T}$ac_header_compiler" >&6
29350 # Is the header present?
29351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h. */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29359 #include <$ac_header>
29360 _ACEOF
29361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29363 ac_status=$?
29364 grep -v '^ *+' conftest.er1 >conftest.err
29365 rm -f conftest.er1
29366 cat conftest.err >&5
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); } >/dev/null; then
29369 if test -s conftest.err; then
29370 ac_cpp_err=$ac_c_preproc_warn_flag
29371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29372 else
29373 ac_cpp_err=
29375 else
29376 ac_cpp_err=yes
29378 if test -z "$ac_cpp_err"; then
29379 ac_header_preproc=yes
29380 else
29381 echo "$as_me: failed program was:" >&5
29382 sed 's/^/| /' conftest.$ac_ext >&5
29384 ac_header_preproc=no
29386 rm -f conftest.err conftest.$ac_ext
29387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29388 echo "${ECHO_T}$ac_header_preproc" >&6
29390 # So? What about this header?
29391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29392 yes:no: )
29393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29397 ac_header_preproc=yes
29399 no:yes:* )
29400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29413 cat <<\_ASBOX
29414 ## ----------------------------------------- ##
29415 ## Report this to the package-unused lists. ##
29416 ## ----------------------------------------- ##
29417 _ASBOX
29419 sed "s/^/$as_me: WARNING: /" >&2
29421 esac
29422 echo "$as_me:$LINENO: checking for $ac_header" >&5
29423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29425 echo $ECHO_N "(cached) $ECHO_C" >&6
29426 else
29427 eval "$as_ac_Header=\$ac_header_preproc"
29429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29434 cat >>confdefs.h <<_ACEOF
29435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29436 _ACEOF
29440 done
29443 if test "${glibcxx_cv_WRITEV+set}" = set; then
29444 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 else
29447 if test x$gcc_no_link = xyes; then
29448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29450 { (exit 1); exit 1; }; }
29452 cat >conftest.$ac_ext <<_ACEOF
29453 /* confdefs.h. */
29454 _ACEOF
29455 cat confdefs.h >>conftest.$ac_ext
29456 cat >>conftest.$ac_ext <<_ACEOF
29457 /* end confdefs.h. */
29458 #include <sys/uio.h>
29460 main ()
29462 struct iovec iov[2];
29463 writev(0, iov, 0);
29465 return 0;
29467 _ACEOF
29468 rm -f conftest.$ac_objext conftest$ac_exeext
29469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29470 (eval $ac_link) 2>conftest.er1
29471 ac_status=$?
29472 grep -v '^ *+' conftest.er1 >conftest.err
29473 rm -f conftest.er1
29474 cat conftest.err >&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); } &&
29477 { ac_try='test -z "$ac_c_werror_flag"
29478 || test ! -s conftest.err'
29479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480 (eval $ac_try) 2>&5
29481 ac_status=$?
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; } &&
29484 { ac_try='test -s conftest$ac_exeext'
29485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486 (eval $ac_try) 2>&5
29487 ac_status=$?
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; }; then
29490 glibcxx_cv_WRITEV=yes
29491 else
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 glibcxx_cv_WRITEV=no
29497 rm -f conftest.err conftest.$ac_objext \
29498 conftest$ac_exeext conftest.$ac_ext
29502 if test $glibcxx_cv_WRITEV = yes; then
29503 cat >>confdefs.h <<\_ACEOF
29504 #define HAVE_WRITEV 1
29505 _ACEOF
29510 # For the __streamoff_base_type typedef.
29512 if test "${glibcxx_cv_INT64_T+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29516 cat >conftest.$ac_ext <<_ACEOF
29517 /* confdefs.h. */
29518 _ACEOF
29519 cat confdefs.h >>conftest.$ac_ext
29520 cat >>conftest.$ac_ext <<_ACEOF
29521 /* end confdefs.h. */
29522 #include <stdint.h>
29524 main ()
29526 int64_t var;
29528 return 0;
29530 _ACEOF
29531 rm -f conftest.$ac_objext
29532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29533 (eval $ac_compile) 2>conftest.er1
29534 ac_status=$?
29535 grep -v '^ *+' conftest.er1 >conftest.err
29536 rm -f conftest.er1
29537 cat conftest.err >&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); } &&
29540 { ac_try='test -z "$ac_c_werror_flag"
29541 || test ! -s conftest.err'
29542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29543 (eval $ac_try) 2>&5
29544 ac_status=$?
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); }; } &&
29547 { ac_try='test -s conftest.$ac_objext'
29548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29549 (eval $ac_try) 2>&5
29550 ac_status=$?
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); }; }; then
29553 glibcxx_cv_INT64_T=yes
29554 else
29555 echo "$as_me: failed program was:" >&5
29556 sed 's/^/| /' conftest.$ac_ext >&5
29558 glibcxx_cv_INT64_T=no
29560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29564 if test $glibcxx_cv_INT64_T = yes; then
29565 cat >>confdefs.h <<\_ACEOF
29566 #define HAVE_INT64_T 1
29567 _ACEOF
29572 # For LFS support.
29576 ac_ext=cc
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29582 ac_save_CXXFLAGS="$CXXFLAGS"
29583 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29584 if test "${glibcxx_cv_LFS+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 else
29588 if test x$gcc_no_link = xyes; then
29589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29591 { (exit 1); exit 1; }; }
29593 cat >conftest.$ac_ext <<_ACEOF
29594 /* confdefs.h. */
29595 _ACEOF
29596 cat confdefs.h >>conftest.$ac_ext
29597 cat >>conftest.$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29599 #include <unistd.h>
29600 #include <stdio.h>
29601 #include <sys/stat.h>
29604 main ()
29606 FILE* fp;
29607 fopen64("t", "w");
29608 fseeko64(fp, 0, SEEK_CUR);
29609 ftello64(fp);
29610 lseek64(1, 0, SEEK_CUR);
29611 struct stat64 buf;
29612 fstat64(1, &buf);
29614 return 0;
29616 _ACEOF
29617 rm -f conftest.$ac_objext conftest$ac_exeext
29618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29619 (eval $ac_link) 2>conftest.er1
29620 ac_status=$?
29621 grep -v '^ *+' conftest.er1 >conftest.err
29622 rm -f conftest.er1
29623 cat conftest.err >&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); } &&
29626 { ac_try='test -z "$ac_cxx_werror_flag"
29627 || test ! -s conftest.err'
29628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29629 (eval $ac_try) 2>&5
29630 ac_status=$?
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); }; } &&
29633 { ac_try='test -s conftest$ac_exeext'
29634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29635 (eval $ac_try) 2>&5
29636 ac_status=$?
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; }; then
29639 glibcxx_cv_LFS=yes
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29644 glibcxx_cv_LFS=no
29646 rm -f conftest.err conftest.$ac_objext \
29647 conftest$ac_exeext conftest.$ac_ext
29651 if test $glibcxx_cv_LFS = yes; then
29652 cat >>confdefs.h <<\_ACEOF
29653 #define _GLIBCXX_USE_LFS 1
29654 _ACEOF
29657 CXXFLAGS="$ac_save_CXXFLAGS"
29658 ac_ext=c
29659 ac_cpp='$CPP $CPPFLAGS'
29660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29667 if test "${ac_cv_header_locale_h+set}" = set; then
29668 echo "$as_me:$LINENO: checking for locale.h" >&5
29669 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29670 if test "${ac_cv_header_locale_h+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29673 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29674 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29675 else
29676 # Is the header compilable?
29677 echo "$as_me:$LINENO: checking locale.h usability" >&5
29678 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29679 cat >conftest.$ac_ext <<_ACEOF
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685 $ac_includes_default
29686 #include <locale.h>
29687 _ACEOF
29688 rm -f conftest.$ac_objext
29689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29690 (eval $ac_compile) 2>conftest.er1
29691 ac_status=$?
29692 grep -v '^ *+' conftest.er1 >conftest.err
29693 rm -f conftest.er1
29694 cat conftest.err >&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try='test -z "$ac_c_werror_flag"
29698 || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29701 ac_status=$?
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try='test -s conftest.$ac_objext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 ac_header_compiler=yes
29711 else
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.$ac_ext >&5
29715 ac_header_compiler=no
29717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29719 echo "${ECHO_T}$ac_header_compiler" >&6
29721 # Is the header present?
29722 echo "$as_me:$LINENO: checking locale.h presence" >&5
29723 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29724 cat >conftest.$ac_ext <<_ACEOF
29725 /* confdefs.h. */
29726 _ACEOF
29727 cat confdefs.h >>conftest.$ac_ext
29728 cat >>conftest.$ac_ext <<_ACEOF
29729 /* end confdefs.h. */
29730 #include <locale.h>
29731 _ACEOF
29732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29734 ac_status=$?
29735 grep -v '^ *+' conftest.er1 >conftest.err
29736 rm -f conftest.er1
29737 cat conftest.err >&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); } >/dev/null; then
29740 if test -s conftest.err; then
29741 ac_cpp_err=$ac_c_preproc_warn_flag
29742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29743 else
29744 ac_cpp_err=
29746 else
29747 ac_cpp_err=yes
29749 if test -z "$ac_cpp_err"; then
29750 ac_header_preproc=yes
29751 else
29752 echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29755 ac_header_preproc=no
29757 rm -f conftest.err conftest.$ac_ext
29758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29759 echo "${ECHO_T}$ac_header_preproc" >&6
29761 # So? What about this header?
29762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29763 yes:no: )
29764 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29765 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29766 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29767 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29768 ac_header_preproc=yes
29770 no:yes:* )
29771 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29772 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29773 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29774 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29775 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
29776 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
29777 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
29778 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
29779 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
29780 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
29781 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
29782 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
29784 cat <<\_ASBOX
29785 ## ----------------------------------------- ##
29786 ## Report this to the package-unused lists. ##
29787 ## ----------------------------------------- ##
29788 _ASBOX
29790 sed "s/^/$as_me: WARNING: /" >&2
29792 esac
29793 echo "$as_me:$LINENO: checking for locale.h" >&5
29794 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29795 if test "${ac_cv_header_locale_h+set}" = set; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 else
29798 ac_cv_header_locale_h=$ac_header_preproc
29800 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29801 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29804 if test $ac_cv_header_locale_h = yes; then
29806 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29807 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29808 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
29809 echo $ECHO_N "(cached) $ECHO_C" >&6
29810 else
29811 if test x$gcc_no_link = xyes; then
29812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29814 { (exit 1); exit 1; }; }
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 #include <locale.h>
29824 main ()
29826 return LC_MESSAGES
29828 return 0;
29830 _ACEOF
29831 rm -f conftest.$ac_objext conftest$ac_exeext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29833 (eval $ac_link) 2>conftest.er1
29834 ac_status=$?
29835 grep -v '^ *+' conftest.er1 >conftest.err
29836 rm -f conftest.er1
29837 cat conftest.err >&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } &&
29840 { ac_try='test -z "$ac_c_werror_flag"
29841 || test ! -s conftest.err'
29842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843 (eval $ac_try) 2>&5
29844 ac_status=$?
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); }; } &&
29847 { ac_try='test -s conftest$ac_exeext'
29848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849 (eval $ac_try) 2>&5
29850 ac_status=$?
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; }; then
29853 ac_cv_val_LC_MESSAGES=yes
29854 else
29855 echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.$ac_ext >&5
29858 ac_cv_val_LC_MESSAGES=no
29860 rm -f conftest.err conftest.$ac_objext \
29861 conftest$ac_exeext conftest.$ac_ext
29863 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
29864 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
29865 if test $ac_cv_val_LC_MESSAGES = yes; then
29866 cat >>confdefs.h <<\_ACEOF
29867 #define HAVE_LC_MESSAGES 1
29868 _ACEOF
29877 cat >conftest.$ac_ext <<_ACEOF
29878 /* confdefs.h. */
29879 _ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29883 #include <setjmp.h>
29885 main ()
29887 sigjmp_buf env;
29888 while (! sigsetjmp (env, 1))
29889 siglongjmp (env, 1);
29892 return 0;
29894 _ACEOF
29895 rm -f conftest.$ac_objext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29897 (eval $ac_compile) 2>conftest.er1
29898 ac_status=$?
29899 grep -v '^ *+' conftest.er1 >conftest.err
29900 rm -f conftest.er1
29901 cat conftest.err >&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); } &&
29904 { ac_try='test -z "$ac_c_werror_flag"
29905 || test ! -s conftest.err'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; } &&
29911 { ac_try='test -s conftest.$ac_objext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29914 ac_status=$?
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define HAVE_SIGSETJMP 1
29920 _ACEOF
29922 else
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29929 if test x$gcc_no_link = xyes; then
29930 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29931 ac_cv_func_mmap_fixed_mapped=no
29934 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29937 for ac_header in stdlib.h unistd.h
29939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29941 echo "$as_me:$LINENO: checking for $ac_header" >&5
29942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29948 else
29949 # Is the header compilable?
29950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29952 cat >conftest.$ac_ext <<_ACEOF
29953 /* confdefs.h. */
29954 _ACEOF
29955 cat confdefs.h >>conftest.$ac_ext
29956 cat >>conftest.$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29958 $ac_includes_default
29959 #include <$ac_header>
29960 _ACEOF
29961 rm -f conftest.$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963 (eval $ac_compile) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_c_werror_flag"
29971 || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try='test -s conftest.$ac_objext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 ac_header_compiler=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29988 ac_header_compiler=no
29990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29992 echo "${ECHO_T}$ac_header_compiler" >&6
29994 # Is the header present?
29995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29997 cat >conftest.$ac_ext <<_ACEOF
29998 /* confdefs.h. */
29999 _ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003 #include <$ac_header>
30004 _ACEOF
30005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30007 ac_status=$?
30008 grep -v '^ *+' conftest.er1 >conftest.err
30009 rm -f conftest.er1
30010 cat conftest.err >&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); } >/dev/null; then
30013 if test -s conftest.err; then
30014 ac_cpp_err=$ac_c_preproc_warn_flag
30015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30016 else
30017 ac_cpp_err=
30019 else
30020 ac_cpp_err=yes
30022 if test -z "$ac_cpp_err"; then
30023 ac_header_preproc=yes
30024 else
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30028 ac_header_preproc=no
30030 rm -f conftest.err conftest.$ac_ext
30031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30032 echo "${ECHO_T}$ac_header_preproc" >&6
30034 # So? What about this header?
30035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30036 yes:no: )
30037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30041 ac_header_preproc=yes
30043 no:yes:* )
30044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30057 cat <<\_ASBOX
30058 ## ----------------------------------------- ##
30059 ## Report this to the package-unused lists. ##
30060 ## ----------------------------------------- ##
30061 _ASBOX
30063 sed "s/^/$as_me: WARNING: /" >&2
30065 esac
30066 echo "$as_me:$LINENO: checking for $ac_header" >&5
30067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30069 echo $ECHO_N "(cached) $ECHO_C" >&6
30070 else
30071 eval "$as_ac_Header=\$ac_header_preproc"
30073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30078 cat >>confdefs.h <<_ACEOF
30079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30080 _ACEOF
30084 done
30087 for ac_func in getpagesize
30089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 if test x$gcc_no_link = xyes; then
30096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30098 { (exit 1); exit 1; }; }
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30108 #define $ac_func innocuous_$ac_func
30110 /* System header to define __stub macros and hopefully few prototypes,
30111 which can conflict with char $ac_func (); below.
30112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30113 <limits.h> exists even on freestanding compilers. */
30115 #ifdef __STDC__
30116 # include <limits.h>
30117 #else
30118 # include <assert.h>
30119 #endif
30121 #undef $ac_func
30123 /* Override any gcc2 internal prototype to avoid an error. */
30124 #ifdef __cplusplus
30125 extern "C"
30127 #endif
30128 /* We use char because int might match the return type of a gcc2
30129 builtin and then its argument prototype would still apply. */
30130 char $ac_func ();
30131 /* The GNU C library defines this for functions which it implements
30132 to always fail with ENOSYS. Some functions are actually named
30133 something starting with __ and the normal name is an alias. */
30134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30135 choke me
30136 #else
30137 char (*f) () = $ac_func;
30138 #endif
30139 #ifdef __cplusplus
30141 #endif
30144 main ()
30146 return f != $ac_func;
30148 return 0;
30150 _ACEOF
30151 rm -f conftest.$ac_objext conftest$ac_exeext
30152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30153 (eval $ac_link) 2>conftest.er1
30154 ac_status=$?
30155 grep -v '^ *+' conftest.er1 >conftest.err
30156 rm -f conftest.er1
30157 cat conftest.err >&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); } &&
30160 { ac_try='test -z "$ac_c_werror_flag"
30161 || test ! -s conftest.err'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; } &&
30167 { ac_try='test -s conftest$ac_exeext'
30168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30169 (eval $ac_try) 2>&5
30170 ac_status=$?
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; }; then
30173 eval "$as_ac_var=yes"
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30178 eval "$as_ac_var=no"
30180 rm -f conftest.err conftest.$ac_objext \
30181 conftest$ac_exeext conftest.$ac_ext
30183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30185 if test `eval echo '${'$as_ac_var'}'` = yes; then
30186 cat >>confdefs.h <<_ACEOF
30187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30188 _ACEOF
30191 done
30193 echo "$as_me:$LINENO: checking for working mmap" >&5
30194 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30195 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 else
30198 if test "$cross_compiling" = yes; then
30199 ac_cv_func_mmap_fixed_mapped=no
30200 else
30201 cat >conftest.$ac_ext <<_ACEOF
30202 /* confdefs.h. */
30203 _ACEOF
30204 cat confdefs.h >>conftest.$ac_ext
30205 cat >>conftest.$ac_ext <<_ACEOF
30206 /* end confdefs.h. */
30207 $ac_includes_default
30208 /* malloc might have been renamed as rpl_malloc. */
30209 #undef malloc
30211 /* Thanks to Mike Haertel and Jim Avera for this test.
30212 Here is a matrix of mmap possibilities:
30213 mmap private not fixed
30214 mmap private fixed at somewhere currently unmapped
30215 mmap private fixed at somewhere already mapped
30216 mmap shared not fixed
30217 mmap shared fixed at somewhere currently unmapped
30218 mmap shared fixed at somewhere already mapped
30219 For private mappings, we should verify that changes cannot be read()
30220 back from the file, nor mmap's back from the file at a different
30221 address. (There have been systems where private was not correctly
30222 implemented like the infamous i386 svr4.0, and systems where the
30223 VM page cache was not coherent with the file system buffer cache
30224 like early versions of FreeBSD and possibly contemporary NetBSD.)
30225 For shared mappings, we should conversely verify that changes get
30226 propagated back to all the places they're supposed to be.
30228 Grep wants private fixed already mapped.
30229 The main things grep needs to know about mmap are:
30230 * does it exist and is it safe to write into the mmap'd area
30231 * how to use it (BSD variants) */
30233 #include <fcntl.h>
30234 #include <sys/mman.h>
30236 #if !STDC_HEADERS && !HAVE_STDLIB_H
30237 char *malloc ();
30238 #endif
30240 /* This mess was copied from the GNU getpagesize.h. */
30241 #if !HAVE_GETPAGESIZE
30242 /* Assume that all systems that can run configure have sys/param.h. */
30243 # if !HAVE_SYS_PARAM_H
30244 # define HAVE_SYS_PARAM_H 1
30245 # endif
30247 # ifdef _SC_PAGESIZE
30248 # define getpagesize() sysconf(_SC_PAGESIZE)
30249 # else /* no _SC_PAGESIZE */
30250 # if HAVE_SYS_PARAM_H
30251 # include <sys/param.h>
30252 # ifdef EXEC_PAGESIZE
30253 # define getpagesize() EXEC_PAGESIZE
30254 # else /* no EXEC_PAGESIZE */
30255 # ifdef NBPG
30256 # define getpagesize() NBPG * CLSIZE
30257 # ifndef CLSIZE
30258 # define CLSIZE 1
30259 # endif /* no CLSIZE */
30260 # else /* no NBPG */
30261 # ifdef NBPC
30262 # define getpagesize() NBPC
30263 # else /* no NBPC */
30264 # ifdef PAGESIZE
30265 # define getpagesize() PAGESIZE
30266 # endif /* PAGESIZE */
30267 # endif /* no NBPC */
30268 # endif /* no NBPG */
30269 # endif /* no EXEC_PAGESIZE */
30270 # else /* no HAVE_SYS_PARAM_H */
30271 # define getpagesize() 8192 /* punt totally */
30272 # endif /* no HAVE_SYS_PARAM_H */
30273 # endif /* no _SC_PAGESIZE */
30275 #endif /* no HAVE_GETPAGESIZE */
30278 main ()
30280 char *data, *data2, *data3;
30281 int i, pagesize;
30282 int fd;
30284 pagesize = getpagesize ();
30286 /* First, make a file with some known garbage in it. */
30287 data = (char *) malloc (pagesize);
30288 if (!data)
30289 exit (1);
30290 for (i = 0; i < pagesize; ++i)
30291 *(data + i) = rand ();
30292 umask (0);
30293 fd = creat ("conftest.mmap", 0600);
30294 if (fd < 0)
30295 exit (1);
30296 if (write (fd, data, pagesize) != pagesize)
30297 exit (1);
30298 close (fd);
30300 /* Next, try to mmap the file at a fixed address which already has
30301 something else allocated at it. If we can, also make sure that
30302 we see the same garbage. */
30303 fd = open ("conftest.mmap", O_RDWR);
30304 if (fd < 0)
30305 exit (1);
30306 data2 = (char *) malloc (2 * pagesize);
30307 if (!data2)
30308 exit (1);
30309 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30310 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30311 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30312 exit (1);
30313 for (i = 0; i < pagesize; ++i)
30314 if (*(data + i) != *(data2 + i))
30315 exit (1);
30317 /* Finally, make sure that changes to the mapped area do not
30318 percolate back to the file as seen by read(). (This is a bug on
30319 some variants of i386 svr4.0.) */
30320 for (i = 0; i < pagesize; ++i)
30321 *(data2 + i) = *(data2 + i) + 1;
30322 data3 = (char *) malloc (pagesize);
30323 if (!data3)
30324 exit (1);
30325 if (read (fd, data3, pagesize) != pagesize)
30326 exit (1);
30327 for (i = 0; i < pagesize; ++i)
30328 if (*(data + i) != *(data3 + i))
30329 exit (1);
30330 close (fd);
30331 exit (0);
30333 _ACEOF
30334 rm -f conftest$ac_exeext
30335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30336 (eval $ac_link) 2>&5
30337 ac_status=$?
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; }; then
30345 ac_cv_func_mmap_fixed_mapped=yes
30346 else
30347 echo "$as_me: program exited with status $ac_status" >&5
30348 echo "$as_me: failed program was:" >&5
30349 sed 's/^/| /' conftest.$ac_ext >&5
30351 ( exit $ac_status )
30352 ac_cv_func_mmap_fixed_mapped=no
30354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30357 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30358 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30359 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30361 cat >>confdefs.h <<\_ACEOF
30362 #define HAVE_MMAP 1
30363 _ACEOF
30366 rm -f conftest.mmap
30370 else
30372 # This lets us hard-code the functionality we know we'll have in the cross
30373 # target environment. "Let" is a sugar-coated word placed on an especially
30374 # dull and tedious hack, actually.
30376 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30377 # that involve linking, can't be used:
30378 # "cannot open sim-crt0.o"
30379 # "cannot open crt0.o"
30380 # etc. All this is because there currently exists no unified, consistent
30381 # way for top level CC information to be passed down to target directories:
30382 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30383 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30384 # crosses can be removed.
30386 # If Canadian cross, then don't pick up tools from the build directory.
30387 # Used only in GLIBCXX_EXPORT_INCLUDES.
30388 if test -n "$with_cross_host" &&
30389 test x"$build_alias" != x"$with_cross_host" &&
30390 test x"$build" != x"$target";
30391 then
30392 CANADIAN=yes
30393 else
30394 CANADIAN=no
30397 # Construct crosses by hand, eliminating bits that need ld...
30398 # GLIBCXX_CHECK_COMPILER_FEATURES
30399 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30400 # GLIBCXX_CHECK_MATH_SUPPORT
30402 # First, test for "known" system libraries. We may be using newlib even
30403 # on a hosted environment.
30404 if test "x${with_newlib}" = "xyes"; then
30405 os_include_dir="os/newlib"
30406 cat >>confdefs.h <<\_ACEOF
30407 #define HAVE_HYPOT 1
30408 _ACEOF
30411 # GLIBCXX_CHECK_STDLIB_SUPPORT
30412 cat >>confdefs.h <<\_ACEOF
30413 #define HAVE_STRTOF 1
30414 _ACEOF
30416 # AC_FUNC_MMAP
30417 cat >>confdefs.h <<\_ACEOF
30418 #define HAVE_MMAP 1
30419 _ACEOF
30422 cat >>confdefs.h <<\_ACEOF
30423 #define HAVE_ACOSF 1
30424 _ACEOF
30426 cat >>confdefs.h <<\_ACEOF
30427 #define HAVE_ASINF 1
30428 _ACEOF
30430 cat >>confdefs.h <<\_ACEOF
30431 #define HAVE_ATAN2F 1
30432 _ACEOF
30434 cat >>confdefs.h <<\_ACEOF
30435 #define HAVE_ATANF 1
30436 _ACEOF
30438 cat >>confdefs.h <<\_ACEOF
30439 #define HAVE_CEILF 1
30440 _ACEOF
30442 cat >>confdefs.h <<\_ACEOF
30443 #define HAVE_COPYSIGN 1
30444 _ACEOF
30446 cat >>confdefs.h <<\_ACEOF
30447 #define HAVE_COPYSIGNF 1
30448 _ACEOF
30450 cat >>confdefs.h <<\_ACEOF
30451 #define HAVE_COSF 1
30452 _ACEOF
30454 cat >>confdefs.h <<\_ACEOF
30455 #define HAVE_COSHF 1
30456 _ACEOF
30458 cat >>confdefs.h <<\_ACEOF
30459 #define HAVE_EXPF 1
30460 _ACEOF
30462 cat >>confdefs.h <<\_ACEOF
30463 #define HAVE_FABSF 1
30464 _ACEOF
30466 cat >>confdefs.h <<\_ACEOF
30467 #define HAVE_FLOORF 1
30468 _ACEOF
30470 cat >>confdefs.h <<\_ACEOF
30471 #define HAVE_FMODF 1
30472 _ACEOF
30474 cat >>confdefs.h <<\_ACEOF
30475 #define HAVE_FREXPF 1
30476 _ACEOF
30478 cat >>confdefs.h <<\_ACEOF
30479 #define HAVE_LDEXPF 1
30480 _ACEOF
30482 cat >>confdefs.h <<\_ACEOF
30483 #define HAVE_LOG10F 1
30484 _ACEOF
30486 cat >>confdefs.h <<\_ACEOF
30487 #define HAVE_LOGF 1
30488 _ACEOF
30490 cat >>confdefs.h <<\_ACEOF
30491 #define HAVE_MODFF 1
30492 _ACEOF
30494 cat >>confdefs.h <<\_ACEOF
30495 #define HAVE_POWF 1
30496 _ACEOF
30498 cat >>confdefs.h <<\_ACEOF
30499 #define HAVE_SINF 1
30500 _ACEOF
30502 cat >>confdefs.h <<\_ACEOF
30503 #define HAVE_SINHF 1
30504 _ACEOF
30506 cat >>confdefs.h <<\_ACEOF
30507 #define HAVE_SQRTF 1
30508 _ACEOF
30510 cat >>confdefs.h <<\_ACEOF
30511 #define HAVE_TANF 1
30512 _ACEOF
30514 cat >>confdefs.h <<\_ACEOF
30515 #define HAVE_TANHF 1
30516 _ACEOF
30519 cat >>confdefs.h <<\_ACEOF
30520 #define HAVE_S_ISREG 1
30521 _ACEOF
30523 cat >>confdefs.h <<\_ACEOF
30524 #define HAVE_S_IFREG 1
30525 _ACEOF
30527 else
30529 # Base decisions on target environment.
30530 case "${host}" in
30531 arm*-*-symbianelf*)
30532 # This is a freestanding configuration; there is nothing to do here.
30535 *-darwin*)
30536 # Darwin versions vary, but the linker should work in a cross environment,
30537 # so we just check for all the features here.
30538 # Check for available headers.
30552 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30553 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30554 sys/types.h
30556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30558 echo "$as_me:$LINENO: checking for $ac_header" >&5
30559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30561 echo $ECHO_N "(cached) $ECHO_C" >&6
30563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30565 else
30566 # Is the header compilable?
30567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30569 cat >conftest.$ac_ext <<_ACEOF
30570 /* confdefs.h. */
30571 _ACEOF
30572 cat confdefs.h >>conftest.$ac_ext
30573 cat >>conftest.$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30575 $ac_includes_default
30576 #include <$ac_header>
30577 _ACEOF
30578 rm -f conftest.$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>conftest.er1
30581 ac_status=$?
30582 grep -v '^ *+' conftest.er1 >conftest.err
30583 rm -f conftest.er1
30584 cat conftest.err >&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); } &&
30587 { ac_try='test -z "$ac_c_werror_flag"
30588 || test ! -s conftest.err'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; } &&
30594 { ac_try='test -s conftest.$ac_objext'
30595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30596 (eval $ac_try) 2>&5
30597 ac_status=$?
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); }; }; then
30600 ac_header_compiler=yes
30601 else
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30605 ac_header_compiler=no
30607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30609 echo "${ECHO_T}$ac_header_compiler" >&6
30611 # Is the header present?
30612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 #include <$ac_header>
30621 _ACEOF
30622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30624 ac_status=$?
30625 grep -v '^ *+' conftest.er1 >conftest.err
30626 rm -f conftest.er1
30627 cat conftest.err >&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); } >/dev/null; then
30630 if test -s conftest.err; then
30631 ac_cpp_err=$ac_c_preproc_warn_flag
30632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30633 else
30634 ac_cpp_err=
30636 else
30637 ac_cpp_err=yes
30639 if test -z "$ac_cpp_err"; then
30640 ac_header_preproc=yes
30641 else
30642 echo "$as_me: failed program was:" >&5
30643 sed 's/^/| /' conftest.$ac_ext >&5
30645 ac_header_preproc=no
30647 rm -f conftest.err conftest.$ac_ext
30648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30649 echo "${ECHO_T}$ac_header_preproc" >&6
30651 # So? What about this header?
30652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30653 yes:no: )
30654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30658 ac_header_preproc=yes
30660 no:yes:* )
30661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30674 cat <<\_ASBOX
30675 ## ----------------------------------------- ##
30676 ## Report this to the package-unused lists. ##
30677 ## ----------------------------------------- ##
30678 _ASBOX
30680 sed "s/^/$as_me: WARNING: /" >&2
30682 esac
30683 echo "$as_me:$LINENO: checking for $ac_header" >&5
30684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30687 else
30688 eval "$as_ac_Header=\$ac_header_preproc"
30690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30695 cat >>confdefs.h <<_ACEOF
30696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30697 _ACEOF
30701 done
30705 # All these tests are for C++; save the language and the compiler flags.
30706 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30707 # found in GLIBCXX_CONFIGURE.
30710 ac_ext=cc
30711 ac_cpp='$CXXCPP $CPPFLAGS'
30712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30716 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30717 ac_save_CXXFLAGS="$CXXFLAGS"
30719 # Check for maintainer-mode bits.
30720 if test x"$USE_MAINTAINER_MODE" = xno; then
30721 WERROR=''
30722 else
30723 WERROR='-Werror'
30726 # Check for -ffunction-sections -fdata-sections
30727 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30728 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30729 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h. */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30738 main ()
30740 int foo;
30742 return 0;
30744 _ACEOF
30745 rm -f conftest.$ac_objext
30746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30747 (eval $ac_compile) 2>conftest.er1
30748 ac_status=$?
30749 grep -v '^ *+' conftest.er1 >conftest.err
30750 rm -f conftest.er1
30751 cat conftest.err >&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); } &&
30754 { ac_try='test -z "$ac_cxx_werror_flag"
30755 || test ! -s conftest.err'
30756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30757 (eval $ac_try) 2>&5
30758 ac_status=$?
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); }; } &&
30761 { ac_try='test -s conftest.$ac_objext'
30762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763 (eval $ac_try) 2>&5
30764 ac_status=$?
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); }; }; then
30767 ac_fdsections=yes
30768 else
30769 echo "$as_me: failed program was:" >&5
30770 sed 's/^/| /' conftest.$ac_ext >&5
30772 ac_fdsections=no
30774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30775 if test "$ac_test_CXXFLAGS" = set; then
30776 CXXFLAGS="$ac_save_CXXFLAGS"
30777 else
30778 # this is the suspicious part
30779 CXXFLAGS=''
30781 if test x"$ac_fdsections" = x"yes"; then
30782 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30784 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
30785 echo "${ECHO_T}$ac_fdsections" >&6
30787 ac_ext=c
30788 ac_cpp='$CPP $CPPFLAGS'
30789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30796 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
30798 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30799 ac_save_CXXFLAGS="$CXXFLAGS"
30800 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30802 echo "$as_me:$LINENO: checking for sin in -lm" >&5
30803 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
30804 if test "${ac_cv_lib_m_sin+set}" = set; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30806 else
30807 ac_check_lib_save_LIBS=$LIBS
30808 LIBS="-lm $LIBS"
30809 if test x$gcc_no_link = xyes; then
30810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30812 { (exit 1); exit 1; }; }
30814 cat >conftest.$ac_ext <<_ACEOF
30815 /* confdefs.h. */
30816 _ACEOF
30817 cat confdefs.h >>conftest.$ac_ext
30818 cat >>conftest.$ac_ext <<_ACEOF
30819 /* end confdefs.h. */
30821 /* Override any gcc2 internal prototype to avoid an error. */
30822 #ifdef __cplusplus
30823 extern "C"
30824 #endif
30825 /* We use char because int might match the return type of a gcc2
30826 builtin and then its argument prototype would still apply. */
30827 char sin ();
30829 main ()
30831 sin ();
30833 return 0;
30835 _ACEOF
30836 rm -f conftest.$ac_objext conftest$ac_exeext
30837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30838 (eval $ac_link) 2>conftest.er1
30839 ac_status=$?
30840 grep -v '^ *+' conftest.er1 >conftest.err
30841 rm -f conftest.er1
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } &&
30845 { ac_try='test -z "$ac_c_werror_flag"
30846 || test ! -s conftest.err'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; } &&
30852 { ac_try='test -s conftest$ac_exeext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30855 ac_status=$?
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858 ac_cv_lib_m_sin=yes
30859 else
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30863 ac_cv_lib_m_sin=no
30865 rm -f conftest.err conftest.$ac_objext \
30866 conftest$ac_exeext conftest.$ac_ext
30867 LIBS=$ac_check_lib_save_LIBS
30869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
30870 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
30871 if test $ac_cv_lib_m_sin = yes; then
30872 libm="-lm"
30875 ac_save_LIBS="$LIBS"
30876 LIBS="$LIBS $libm"
30880 echo "$as_me:$LINENO: checking for isinf declaration" >&5
30881 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
30882 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30883 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 else
30889 ac_ext=cc
30890 ac_cpp='$CXXCPP $CPPFLAGS'
30891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30895 cat >conftest.$ac_ext <<_ACEOF
30896 /* confdefs.h. */
30897 _ACEOF
30898 cat confdefs.h >>conftest.$ac_ext
30899 cat >>conftest.$ac_ext <<_ACEOF
30900 /* end confdefs.h. */
30901 #include <math.h>
30902 #ifdef HAVE_IEEEFP_H
30903 #include <ieeefp.h>
30904 #endif
30907 main ()
30909 isinf(0);
30911 return 0;
30913 _ACEOF
30914 rm -f conftest.$ac_objext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30916 (eval $ac_compile) 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try='test -z "$ac_cxx_werror_flag"
30924 || test ! -s conftest.err'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; } &&
30930 { ac_try='test -s conftest.$ac_objext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936 glibcxx_cv_func_isinf_use=yes
30937 else
30938 echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.$ac_ext >&5
30941 glibcxx_cv_func_isinf_use=no
30943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30944 ac_ext=c
30945 ac_cpp='$CPP $CPPFLAGS'
30946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
30955 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
30957 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30959 for ac_func in isinf
30961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30962 echo "$as_me:$LINENO: checking for $ac_func" >&5
30963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30964 if eval "test \"\${$as_ac_var+set}\" = set"; then
30965 echo $ECHO_N "(cached) $ECHO_C" >&6
30966 else
30967 if test x$gcc_no_link = xyes; then
30968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30970 { (exit 1); exit 1; }; }
30972 cat >conftest.$ac_ext <<_ACEOF
30973 /* confdefs.h. */
30974 _ACEOF
30975 cat confdefs.h >>conftest.$ac_ext
30976 cat >>conftest.$ac_ext <<_ACEOF
30977 /* end confdefs.h. */
30978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30980 #define $ac_func innocuous_$ac_func
30982 /* System header to define __stub macros and hopefully few prototypes,
30983 which can conflict with char $ac_func (); below.
30984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30985 <limits.h> exists even on freestanding compilers. */
30987 #ifdef __STDC__
30988 # include <limits.h>
30989 #else
30990 # include <assert.h>
30991 #endif
30993 #undef $ac_func
30995 /* Override any gcc2 internal prototype to avoid an error. */
30996 #ifdef __cplusplus
30997 extern "C"
30999 #endif
31000 /* We use char because int might match the return type of a gcc2
31001 builtin and then its argument prototype would still apply. */
31002 char $ac_func ();
31003 /* The GNU C library defines this for functions which it implements
31004 to always fail with ENOSYS. Some functions are actually named
31005 something starting with __ and the normal name is an alias. */
31006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31007 choke me
31008 #else
31009 char (*f) () = $ac_func;
31010 #endif
31011 #ifdef __cplusplus
31013 #endif
31016 main ()
31018 return f != $ac_func;
31020 return 0;
31022 _ACEOF
31023 rm -f conftest.$ac_objext conftest$ac_exeext
31024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31025 (eval $ac_link) 2>conftest.er1
31026 ac_status=$?
31027 grep -v '^ *+' conftest.er1 >conftest.err
31028 rm -f conftest.er1
31029 cat conftest.err >&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } &&
31032 { ac_try='test -z "$ac_c_werror_flag"
31033 || test ! -s conftest.err'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; } &&
31039 { ac_try='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 eval "$as_ac_var=yes"
31046 else
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31050 eval "$as_ac_var=no"
31052 rm -f conftest.err conftest.$ac_objext \
31053 conftest$ac_exeext conftest.$ac_ext
31055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31057 if test `eval echo '${'$as_ac_var'}'` = yes; then
31058 cat >>confdefs.h <<_ACEOF
31059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31060 _ACEOF
31063 done
31065 else
31067 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31068 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31069 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31070 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31071 echo $ECHO_N "(cached) $ECHO_C" >&6
31072 else
31076 ac_ext=cc
31077 ac_cpp='$CXXCPP $CPPFLAGS'
31078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31082 cat >conftest.$ac_ext <<_ACEOF
31083 /* confdefs.h. */
31084 _ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31088 #include <math.h>
31089 #ifdef HAVE_IEEEFP_H
31090 #include <ieeefp.h>
31091 #endif
31094 main ()
31096 _isinf(0);
31098 return 0;
31100 _ACEOF
31101 rm -f conftest.$ac_objext
31102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31103 (eval $ac_compile) 2>conftest.er1
31104 ac_status=$?
31105 grep -v '^ *+' conftest.er1 >conftest.err
31106 rm -f conftest.er1
31107 cat conftest.err >&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try='test -z "$ac_cxx_werror_flag"
31111 || test ! -s conftest.err'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; } &&
31117 { ac_try='test -s conftest.$ac_objext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 glibcxx_cv_func__isinf_use=yes
31124 else
31125 echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31128 glibcxx_cv_func__isinf_use=no
31130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31142 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31144 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31146 for ac_func in _isinf
31148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31149 echo "$as_me:$LINENO: checking for $ac_func" >&5
31150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31151 if eval "test \"\${$as_ac_var+set}\" = set"; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31153 else
31154 if test x$gcc_no_link = xyes; then
31155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31157 { (exit 1); exit 1; }; }
31159 cat >conftest.$ac_ext <<_ACEOF
31160 /* confdefs.h. */
31161 _ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31167 #define $ac_func innocuous_$ac_func
31169 /* System header to define __stub macros and hopefully few prototypes,
31170 which can conflict with char $ac_func (); below.
31171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31172 <limits.h> exists even on freestanding compilers. */
31174 #ifdef __STDC__
31175 # include <limits.h>
31176 #else
31177 # include <assert.h>
31178 #endif
31180 #undef $ac_func
31182 /* Override any gcc2 internal prototype to avoid an error. */
31183 #ifdef __cplusplus
31184 extern "C"
31186 #endif
31187 /* We use char because int might match the return type of a gcc2
31188 builtin and then its argument prototype would still apply. */
31189 char $ac_func ();
31190 /* The GNU C library defines this for functions which it implements
31191 to always fail with ENOSYS. Some functions are actually named
31192 something starting with __ and the normal name is an alias. */
31193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31194 choke me
31195 #else
31196 char (*f) () = $ac_func;
31197 #endif
31198 #ifdef __cplusplus
31200 #endif
31203 main ()
31205 return f != $ac_func;
31207 return 0;
31209 _ACEOF
31210 rm -f conftest.$ac_objext conftest$ac_exeext
31211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31212 (eval $ac_link) 2>conftest.er1
31213 ac_status=$?
31214 grep -v '^ *+' conftest.er1 >conftest.err
31215 rm -f conftest.er1
31216 cat conftest.err >&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } &&
31219 { ac_try='test -z "$ac_c_werror_flag"
31220 || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try='test -s conftest$ac_exeext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 eval "$as_ac_var=yes"
31233 else
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31237 eval "$as_ac_var=no"
31239 rm -f conftest.err conftest.$ac_objext \
31240 conftest$ac_exeext conftest.$ac_ext
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31244 if test `eval echo '${'$as_ac_var'}'` = yes; then
31245 cat >>confdefs.h <<_ACEOF
31246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31247 _ACEOF
31250 done
31257 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31258 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31259 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31260 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31261 echo $ECHO_N "(cached) $ECHO_C" >&6
31262 else
31266 ac_ext=cc
31267 ac_cpp='$CXXCPP $CPPFLAGS'
31268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31272 cat >conftest.$ac_ext <<_ACEOF
31273 /* confdefs.h. */
31274 _ACEOF
31275 cat confdefs.h >>conftest.$ac_ext
31276 cat >>conftest.$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31278 #include <math.h>
31279 #ifdef HAVE_IEEEFP_H
31280 #include <ieeefp.h>
31281 #endif
31284 main ()
31286 isnan(0);
31288 return 0;
31290 _ACEOF
31291 rm -f conftest.$ac_objext
31292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31293 (eval $ac_compile) 2>conftest.er1
31294 ac_status=$?
31295 grep -v '^ *+' conftest.er1 >conftest.err
31296 rm -f conftest.er1
31297 cat conftest.err >&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try='test -z "$ac_cxx_werror_flag"
31301 || test ! -s conftest.err'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31304 ac_status=$?
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; } &&
31307 { ac_try='test -s conftest.$ac_objext'
31308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31309 (eval $ac_try) 2>&5
31310 ac_status=$?
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); }; }; then
31313 glibcxx_cv_func_isnan_use=yes
31314 else
31315 echo "$as_me: failed program was:" >&5
31316 sed 's/^/| /' conftest.$ac_ext >&5
31318 glibcxx_cv_func_isnan_use=no
31320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31321 ac_ext=c
31322 ac_cpp='$CPP $CPPFLAGS'
31323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31332 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31334 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31336 for ac_func in isnan
31338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31339 echo "$as_me:$LINENO: checking for $ac_func" >&5
31340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31341 if eval "test \"\${$as_ac_var+set}\" = set"; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 else
31344 if test x$gcc_no_link = xyes; then
31345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31347 { (exit 1); exit 1; }; }
31349 cat >conftest.$ac_ext <<_ACEOF
31350 /* confdefs.h. */
31351 _ACEOF
31352 cat confdefs.h >>conftest.$ac_ext
31353 cat >>conftest.$ac_ext <<_ACEOF
31354 /* end confdefs.h. */
31355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31357 #define $ac_func innocuous_$ac_func
31359 /* System header to define __stub macros and hopefully few prototypes,
31360 which can conflict with char $ac_func (); below.
31361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31362 <limits.h> exists even on freestanding compilers. */
31364 #ifdef __STDC__
31365 # include <limits.h>
31366 #else
31367 # include <assert.h>
31368 #endif
31370 #undef $ac_func
31372 /* Override any gcc2 internal prototype to avoid an error. */
31373 #ifdef __cplusplus
31374 extern "C"
31376 #endif
31377 /* We use char because int might match the return type of a gcc2
31378 builtin and then its argument prototype would still apply. */
31379 char $ac_func ();
31380 /* The GNU C library defines this for functions which it implements
31381 to always fail with ENOSYS. Some functions are actually named
31382 something starting with __ and the normal name is an alias. */
31383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31384 choke me
31385 #else
31386 char (*f) () = $ac_func;
31387 #endif
31388 #ifdef __cplusplus
31390 #endif
31393 main ()
31395 return f != $ac_func;
31397 return 0;
31399 _ACEOF
31400 rm -f conftest.$ac_objext conftest$ac_exeext
31401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31402 (eval $ac_link) 2>conftest.er1
31403 ac_status=$?
31404 grep -v '^ *+' conftest.er1 >conftest.err
31405 rm -f conftest.er1
31406 cat conftest.err >&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); } &&
31409 { ac_try='test -z "$ac_c_werror_flag"
31410 || test ! -s conftest.err'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; } &&
31416 { ac_try='test -s conftest$ac_exeext'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31419 ac_status=$?
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; }; then
31422 eval "$as_ac_var=yes"
31423 else
31424 echo "$as_me: failed program was:" >&5
31425 sed 's/^/| /' conftest.$ac_ext >&5
31427 eval "$as_ac_var=no"
31429 rm -f conftest.err conftest.$ac_objext \
31430 conftest$ac_exeext conftest.$ac_ext
31432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31434 if test `eval echo '${'$as_ac_var'}'` = yes; then
31435 cat >>confdefs.h <<_ACEOF
31436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31437 _ACEOF
31440 done
31442 else
31444 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31445 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31446 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31447 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31448 echo $ECHO_N "(cached) $ECHO_C" >&6
31449 else
31453 ac_ext=cc
31454 ac_cpp='$CXXCPP $CPPFLAGS'
31455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31459 cat >conftest.$ac_ext <<_ACEOF
31460 /* confdefs.h. */
31461 _ACEOF
31462 cat confdefs.h >>conftest.$ac_ext
31463 cat >>conftest.$ac_ext <<_ACEOF
31464 /* end confdefs.h. */
31465 #include <math.h>
31466 #ifdef HAVE_IEEEFP_H
31467 #include <ieeefp.h>
31468 #endif
31471 main ()
31473 _isnan(0);
31475 return 0;
31477 _ACEOF
31478 rm -f conftest.$ac_objext
31479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31480 (eval $ac_compile) 2>conftest.er1
31481 ac_status=$?
31482 grep -v '^ *+' conftest.er1 >conftest.err
31483 rm -f conftest.er1
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } &&
31487 { ac_try='test -z "$ac_cxx_werror_flag"
31488 || test ! -s conftest.err'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; } &&
31494 { ac_try='test -s conftest.$ac_objext'
31495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31496 (eval $ac_try) 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; }; then
31500 glibcxx_cv_func__isnan_use=yes
31501 else
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31505 glibcxx_cv_func__isnan_use=no
31507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31508 ac_ext=c
31509 ac_cpp='$CPP $CPPFLAGS'
31510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31519 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31521 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31523 for ac_func in _isnan
31525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31526 echo "$as_me:$LINENO: checking for $ac_func" >&5
31527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31528 if eval "test \"\${$as_ac_var+set}\" = set"; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 else
31531 if test x$gcc_no_link = xyes; then
31532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31534 { (exit 1); exit 1; }; }
31536 cat >conftest.$ac_ext <<_ACEOF
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31544 #define $ac_func innocuous_$ac_func
31546 /* System header to define __stub macros and hopefully few prototypes,
31547 which can conflict with char $ac_func (); below.
31548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31549 <limits.h> exists even on freestanding compilers. */
31551 #ifdef __STDC__
31552 # include <limits.h>
31553 #else
31554 # include <assert.h>
31555 #endif
31557 #undef $ac_func
31559 /* Override any gcc2 internal prototype to avoid an error. */
31560 #ifdef __cplusplus
31561 extern "C"
31563 #endif
31564 /* We use char because int might match the return type of a gcc2
31565 builtin and then its argument prototype would still apply. */
31566 char $ac_func ();
31567 /* The GNU C library defines this for functions which it implements
31568 to always fail with ENOSYS. Some functions are actually named
31569 something starting with __ and the normal name is an alias. */
31570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31571 choke me
31572 #else
31573 char (*f) () = $ac_func;
31574 #endif
31575 #ifdef __cplusplus
31577 #endif
31580 main ()
31582 return f != $ac_func;
31584 return 0;
31586 _ACEOF
31587 rm -f conftest.$ac_objext conftest$ac_exeext
31588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31589 (eval $ac_link) 2>conftest.er1
31590 ac_status=$?
31591 grep -v '^ *+' conftest.er1 >conftest.err
31592 rm -f conftest.er1
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try='test -z "$ac_c_werror_flag"
31597 || test ! -s conftest.err'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; } &&
31603 { ac_try='test -s conftest$ac_exeext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 eval "$as_ac_var=yes"
31610 else
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.$ac_ext >&5
31614 eval "$as_ac_var=no"
31616 rm -f conftest.err conftest.$ac_objext \
31617 conftest$ac_exeext conftest.$ac_ext
31619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31621 if test `eval echo '${'$as_ac_var'}'` = yes; then
31622 cat >>confdefs.h <<_ACEOF
31623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31624 _ACEOF
31627 done
31634 echo "$as_me:$LINENO: checking for finite declaration" >&5
31635 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31636 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31637 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31638 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 else
31643 ac_ext=cc
31644 ac_cpp='$CXXCPP $CPPFLAGS'
31645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649 cat >conftest.$ac_ext <<_ACEOF
31650 /* confdefs.h. */
31651 _ACEOF
31652 cat confdefs.h >>conftest.$ac_ext
31653 cat >>conftest.$ac_ext <<_ACEOF
31654 /* end confdefs.h. */
31655 #include <math.h>
31656 #ifdef HAVE_IEEEFP_H
31657 #include <ieeefp.h>
31658 #endif
31661 main ()
31663 finite(0);
31665 return 0;
31667 _ACEOF
31668 rm -f conftest.$ac_objext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31670 (eval $ac_compile) 2>conftest.er1
31671 ac_status=$?
31672 grep -v '^ *+' conftest.er1 >conftest.err
31673 rm -f conftest.er1
31674 cat conftest.err >&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } &&
31677 { ac_try='test -z "$ac_cxx_werror_flag"
31678 || test ! -s conftest.err'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31681 ac_status=$?
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try='test -s conftest.$ac_objext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 glibcxx_cv_func_finite_use=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31695 glibcxx_cv_func_finite_use=no
31697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31698 ac_ext=c
31699 ac_cpp='$CPP $CPPFLAGS'
31700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31709 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31711 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31713 for ac_func in finite
31715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31716 echo "$as_me:$LINENO: checking for $ac_func" >&5
31717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31718 if eval "test \"\${$as_ac_var+set}\" = set"; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31720 else
31721 if test x$gcc_no_link = xyes; then
31722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31724 { (exit 1); exit 1; }; }
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h. */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31734 #define $ac_func innocuous_$ac_func
31736 /* System header to define __stub macros and hopefully few prototypes,
31737 which can conflict with char $ac_func (); below.
31738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31739 <limits.h> exists even on freestanding compilers. */
31741 #ifdef __STDC__
31742 # include <limits.h>
31743 #else
31744 # include <assert.h>
31745 #endif
31747 #undef $ac_func
31749 /* Override any gcc2 internal prototype to avoid an error. */
31750 #ifdef __cplusplus
31751 extern "C"
31753 #endif
31754 /* We use char because int might match the return type of a gcc2
31755 builtin and then its argument prototype would still apply. */
31756 char $ac_func ();
31757 /* The GNU C library defines this for functions which it implements
31758 to always fail with ENOSYS. Some functions are actually named
31759 something starting with __ and the normal name is an alias. */
31760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31761 choke me
31762 #else
31763 char (*f) () = $ac_func;
31764 #endif
31765 #ifdef __cplusplus
31767 #endif
31770 main ()
31772 return f != $ac_func;
31774 return 0;
31776 _ACEOF
31777 rm -f conftest.$ac_objext conftest$ac_exeext
31778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31779 (eval $ac_link) 2>conftest.er1
31780 ac_status=$?
31781 grep -v '^ *+' conftest.er1 >conftest.err
31782 rm -f conftest.er1
31783 cat conftest.err >&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); } &&
31786 { ac_try='test -z "$ac_c_werror_flag"
31787 || test ! -s conftest.err'
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); }; } &&
31793 { ac_try='test -s conftest$ac_exeext'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31796 ac_status=$?
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; }; then
31799 eval "$as_ac_var=yes"
31800 else
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31804 eval "$as_ac_var=no"
31806 rm -f conftest.err conftest.$ac_objext \
31807 conftest$ac_exeext conftest.$ac_ext
31809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31811 if test `eval echo '${'$as_ac_var'}'` = yes; then
31812 cat >>confdefs.h <<_ACEOF
31813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31814 _ACEOF
31817 done
31819 else
31821 echo "$as_me:$LINENO: checking for _finite declaration" >&5
31822 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
31823 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31824 if test "${glibcxx_cv_func__finite_use+set}" = set; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 else
31830 ac_ext=cc
31831 ac_cpp='$CXXCPP $CPPFLAGS'
31832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31836 cat >conftest.$ac_ext <<_ACEOF
31837 /* confdefs.h. */
31838 _ACEOF
31839 cat confdefs.h >>conftest.$ac_ext
31840 cat >>conftest.$ac_ext <<_ACEOF
31841 /* end confdefs.h. */
31842 #include <math.h>
31843 #ifdef HAVE_IEEEFP_H
31844 #include <ieeefp.h>
31845 #endif
31848 main ()
31850 _finite(0);
31852 return 0;
31854 _ACEOF
31855 rm -f conftest.$ac_objext
31856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31857 (eval $ac_compile) 2>conftest.er1
31858 ac_status=$?
31859 grep -v '^ *+' conftest.er1 >conftest.err
31860 rm -f conftest.er1
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } &&
31864 { ac_try='test -z "$ac_cxx_werror_flag"
31865 || test ! -s conftest.err'
31866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31867 (eval $ac_try) 2>&5
31868 ac_status=$?
31869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31870 (exit $ac_status); }; } &&
31871 { ac_try='test -s conftest.$ac_objext'
31872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31873 (eval $ac_try) 2>&5
31874 ac_status=$?
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); }; }; then
31877 glibcxx_cv_func__finite_use=yes
31878 else
31879 echo "$as_me: failed program was:" >&5
31880 sed 's/^/| /' conftest.$ac_ext >&5
31882 glibcxx_cv_func__finite_use=no
31884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31885 ac_ext=c
31886 ac_cpp='$CPP $CPPFLAGS'
31887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
31896 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
31898 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31900 for ac_func in _finite
31902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31903 echo "$as_me:$LINENO: checking for $ac_func" >&5
31904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31905 if eval "test \"\${$as_ac_var+set}\" = set"; then
31906 echo $ECHO_N "(cached) $ECHO_C" >&6
31907 else
31908 if test x$gcc_no_link = xyes; then
31909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31911 { (exit 1); exit 1; }; }
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31921 #define $ac_func innocuous_$ac_func
31923 /* System header to define __stub macros and hopefully few prototypes,
31924 which can conflict with char $ac_func (); below.
31925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31926 <limits.h> exists even on freestanding compilers. */
31928 #ifdef __STDC__
31929 # include <limits.h>
31930 #else
31931 # include <assert.h>
31932 #endif
31934 #undef $ac_func
31936 /* Override any gcc2 internal prototype to avoid an error. */
31937 #ifdef __cplusplus
31938 extern "C"
31940 #endif
31941 /* We use char because int might match the return type of a gcc2
31942 builtin and then its argument prototype would still apply. */
31943 char $ac_func ();
31944 /* The GNU C library defines this for functions which it implements
31945 to always fail with ENOSYS. Some functions are actually named
31946 something starting with __ and the normal name is an alias. */
31947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31948 choke me
31949 #else
31950 char (*f) () = $ac_func;
31951 #endif
31952 #ifdef __cplusplus
31954 #endif
31957 main ()
31959 return f != $ac_func;
31961 return 0;
31963 _ACEOF
31964 rm -f conftest.$ac_objext conftest$ac_exeext
31965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31966 (eval $ac_link) 2>conftest.er1
31967 ac_status=$?
31968 grep -v '^ *+' conftest.er1 >conftest.err
31969 rm -f conftest.er1
31970 cat conftest.err >&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); } &&
31973 { ac_try='test -z "$ac_c_werror_flag"
31974 || test ! -s conftest.err'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } &&
31980 { ac_try='test -s conftest$ac_exeext'
31981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31982 (eval $ac_try) 2>&5
31983 ac_status=$?
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); }; }; then
31986 eval "$as_ac_var=yes"
31987 else
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.$ac_ext >&5
31991 eval "$as_ac_var=no"
31993 rm -f conftest.err conftest.$ac_objext \
31994 conftest$ac_exeext conftest.$ac_ext
31996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31998 if test `eval echo '${'$as_ac_var'}'` = yes; then
31999 cat >>confdefs.h <<_ACEOF
32000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32001 _ACEOF
32004 done
32011 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32012 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32013 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32014 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 else
32020 ac_ext=cc
32021 ac_cpp='$CXXCPP $CPPFLAGS'
32022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32026 cat >conftest.$ac_ext <<_ACEOF
32027 /* confdefs.h. */
32028 _ACEOF
32029 cat confdefs.h >>conftest.$ac_ext
32030 cat >>conftest.$ac_ext <<_ACEOF
32031 /* end confdefs.h. */
32032 #include <math.h>
32034 main ()
32036 copysign(0, 0);
32038 return 0;
32040 _ACEOF
32041 rm -f conftest.$ac_objext
32042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32043 (eval $ac_compile) 2>conftest.er1
32044 ac_status=$?
32045 grep -v '^ *+' conftest.er1 >conftest.err
32046 rm -f conftest.er1
32047 cat conftest.err >&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } &&
32050 { ac_try='test -z "$ac_cxx_werror_flag"
32051 || test ! -s conftest.err'
32052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32053 (eval $ac_try) 2>&5
32054 ac_status=$?
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); }; } &&
32057 { ac_try='test -s conftest.$ac_objext'
32058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32059 (eval $ac_try) 2>&5
32060 ac_status=$?
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); }; }; then
32063 glibcxx_cv_func_copysign_use=yes
32064 else
32065 echo "$as_me: failed program was:" >&5
32066 sed 's/^/| /' conftest.$ac_ext >&5
32068 glibcxx_cv_func_copysign_use=no
32070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32071 ac_ext=c
32072 ac_cpp='$CPP $CPPFLAGS'
32073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32082 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32084 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32086 for ac_func in copysign
32088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32089 echo "$as_me:$LINENO: checking for $ac_func" >&5
32090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32091 if eval "test \"\${$as_ac_var+set}\" = set"; then
32092 echo $ECHO_N "(cached) $ECHO_C" >&6
32093 else
32094 if test x$gcc_no_link = xyes; then
32095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32097 { (exit 1); exit 1; }; }
32099 cat >conftest.$ac_ext <<_ACEOF
32100 /* confdefs.h. */
32101 _ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32107 #define $ac_func innocuous_$ac_func
32109 /* System header to define __stub macros and hopefully few prototypes,
32110 which can conflict with char $ac_func (); below.
32111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32112 <limits.h> exists even on freestanding compilers. */
32114 #ifdef __STDC__
32115 # include <limits.h>
32116 #else
32117 # include <assert.h>
32118 #endif
32120 #undef $ac_func
32122 /* Override any gcc2 internal prototype to avoid an error. */
32123 #ifdef __cplusplus
32124 extern "C"
32126 #endif
32127 /* We use char because int might match the return type of a gcc2
32128 builtin and then its argument prototype would still apply. */
32129 char $ac_func ();
32130 /* The GNU C library defines this for functions which it implements
32131 to always fail with ENOSYS. Some functions are actually named
32132 something starting with __ and the normal name is an alias. */
32133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32134 choke me
32135 #else
32136 char (*f) () = $ac_func;
32137 #endif
32138 #ifdef __cplusplus
32140 #endif
32143 main ()
32145 return f != $ac_func;
32147 return 0;
32149 _ACEOF
32150 rm -f conftest.$ac_objext conftest$ac_exeext
32151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32152 (eval $ac_link) 2>conftest.er1
32153 ac_status=$?
32154 grep -v '^ *+' conftest.er1 >conftest.err
32155 rm -f conftest.er1
32156 cat conftest.err >&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } &&
32159 { ac_try='test -z "$ac_c_werror_flag"
32160 || test ! -s conftest.err'
32161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162 (eval $ac_try) 2>&5
32163 ac_status=$?
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); }; } &&
32166 { ac_try='test -s conftest$ac_exeext'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32169 ac_status=$?
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; }; then
32172 eval "$as_ac_var=yes"
32173 else
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32177 eval "$as_ac_var=no"
32179 rm -f conftest.err conftest.$ac_objext \
32180 conftest$ac_exeext conftest.$ac_ext
32182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32184 if test `eval echo '${'$as_ac_var'}'` = yes; then
32185 cat >>confdefs.h <<_ACEOF
32186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32187 _ACEOF
32190 done
32192 else
32194 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32195 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32196 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32197 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32198 echo $ECHO_N "(cached) $ECHO_C" >&6
32199 else
32203 ac_ext=cc
32204 ac_cpp='$CXXCPP $CPPFLAGS'
32205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32209 cat >conftest.$ac_ext <<_ACEOF
32210 /* confdefs.h. */
32211 _ACEOF
32212 cat confdefs.h >>conftest.$ac_ext
32213 cat >>conftest.$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215 #include <math.h>
32217 main ()
32219 _copysign(0, 0);
32221 return 0;
32223 _ACEOF
32224 rm -f conftest.$ac_objext
32225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32226 (eval $ac_compile) 2>conftest.er1
32227 ac_status=$?
32228 grep -v '^ *+' conftest.er1 >conftest.err
32229 rm -f conftest.er1
32230 cat conftest.err >&5
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); } &&
32233 { ac_try='test -z "$ac_cxx_werror_flag"
32234 || test ! -s conftest.err'
32235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236 (eval $ac_try) 2>&5
32237 ac_status=$?
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); }; } &&
32240 { ac_try='test -s conftest.$ac_objext'
32241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32242 (eval $ac_try) 2>&5
32243 ac_status=$?
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; }; then
32246 glibcxx_cv_func__copysign_use=yes
32247 else
32248 echo "$as_me: failed program was:" >&5
32249 sed 's/^/| /' conftest.$ac_ext >&5
32251 glibcxx_cv_func__copysign_use=no
32253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32254 ac_ext=c
32255 ac_cpp='$CPP $CPPFLAGS'
32256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32265 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32267 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32269 for ac_func in _copysign
32271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32272 echo "$as_me:$LINENO: checking for $ac_func" >&5
32273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32274 if eval "test \"\${$as_ac_var+set}\" = set"; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 else
32277 if test x$gcc_no_link = xyes; then
32278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32280 { (exit 1); exit 1; }; }
32282 cat >conftest.$ac_ext <<_ACEOF
32283 /* confdefs.h. */
32284 _ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32290 #define $ac_func innocuous_$ac_func
32292 /* System header to define __stub macros and hopefully few prototypes,
32293 which can conflict with char $ac_func (); below.
32294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32295 <limits.h> exists even on freestanding compilers. */
32297 #ifdef __STDC__
32298 # include <limits.h>
32299 #else
32300 # include <assert.h>
32301 #endif
32303 #undef $ac_func
32305 /* Override any gcc2 internal prototype to avoid an error. */
32306 #ifdef __cplusplus
32307 extern "C"
32309 #endif
32310 /* We use char because int might match the return type of a gcc2
32311 builtin and then its argument prototype would still apply. */
32312 char $ac_func ();
32313 /* The GNU C library defines this for functions which it implements
32314 to always fail with ENOSYS. Some functions are actually named
32315 something starting with __ and the normal name is an alias. */
32316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32317 choke me
32318 #else
32319 char (*f) () = $ac_func;
32320 #endif
32321 #ifdef __cplusplus
32323 #endif
32326 main ()
32328 return f != $ac_func;
32330 return 0;
32332 _ACEOF
32333 rm -f conftest.$ac_objext conftest$ac_exeext
32334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32335 (eval $ac_link) 2>conftest.er1
32336 ac_status=$?
32337 grep -v '^ *+' conftest.er1 >conftest.err
32338 rm -f conftest.er1
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } &&
32342 { ac_try='test -z "$ac_c_werror_flag"
32343 || test ! -s conftest.err'
32344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32345 (eval $ac_try) 2>&5
32346 ac_status=$?
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); }; } &&
32349 { ac_try='test -s conftest$ac_exeext'
32350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32351 (eval $ac_try) 2>&5
32352 ac_status=$?
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); }; }; then
32355 eval "$as_ac_var=yes"
32356 else
32357 echo "$as_me: failed program was:" >&5
32358 sed 's/^/| /' conftest.$ac_ext >&5
32360 eval "$as_ac_var=no"
32362 rm -f conftest.err conftest.$ac_objext \
32363 conftest$ac_exeext conftest.$ac_ext
32365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32367 if test `eval echo '${'$as_ac_var'}'` = yes; then
32368 cat >>confdefs.h <<_ACEOF
32369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32370 _ACEOF
32373 done
32380 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32381 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32382 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32383 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32384 echo $ECHO_N "(cached) $ECHO_C" >&6
32385 else
32389 ac_ext=cc
32390 ac_cpp='$CXXCPP $CPPFLAGS'
32391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32395 cat >conftest.$ac_ext <<_ACEOF
32396 /* confdefs.h. */
32397 _ACEOF
32398 cat confdefs.h >>conftest.$ac_ext
32399 cat >>conftest.$ac_ext <<_ACEOF
32400 /* end confdefs.h. */
32401 #include <math.h>
32403 main ()
32405 sincos(0, 0, 0);
32407 return 0;
32409 _ACEOF
32410 rm -f conftest.$ac_objext
32411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>conftest.er1
32413 ac_status=$?
32414 grep -v '^ *+' conftest.er1 >conftest.err
32415 rm -f conftest.er1
32416 cat conftest.err >&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); } &&
32419 { ac_try='test -z "$ac_cxx_werror_flag"
32420 || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32423 ac_status=$?
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try='test -s conftest.$ac_objext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32429 ac_status=$?
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32432 glibcxx_cv_func_sincos_use=yes
32433 else
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.$ac_ext >&5
32437 glibcxx_cv_func_sincos_use=no
32439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32440 ac_ext=c
32441 ac_cpp='$CPP $CPPFLAGS'
32442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32451 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32453 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32455 for ac_func in sincos
32457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32458 echo "$as_me:$LINENO: checking for $ac_func" >&5
32459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32460 if eval "test \"\${$as_ac_var+set}\" = set"; then
32461 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 else
32463 if test x$gcc_no_link = xyes; then
32464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32466 { (exit 1); exit 1; }; }
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32476 #define $ac_func innocuous_$ac_func
32478 /* System header to define __stub macros and hopefully few prototypes,
32479 which can conflict with char $ac_func (); below.
32480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32481 <limits.h> exists even on freestanding compilers. */
32483 #ifdef __STDC__
32484 # include <limits.h>
32485 #else
32486 # include <assert.h>
32487 #endif
32489 #undef $ac_func
32491 /* Override any gcc2 internal prototype to avoid an error. */
32492 #ifdef __cplusplus
32493 extern "C"
32495 #endif
32496 /* We use char because int might match the return type of a gcc2
32497 builtin and then its argument prototype would still apply. */
32498 char $ac_func ();
32499 /* The GNU C library defines this for functions which it implements
32500 to always fail with ENOSYS. Some functions are actually named
32501 something starting with __ and the normal name is an alias. */
32502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32503 choke me
32504 #else
32505 char (*f) () = $ac_func;
32506 #endif
32507 #ifdef __cplusplus
32509 #endif
32512 main ()
32514 return f != $ac_func;
32516 return 0;
32518 _ACEOF
32519 rm -f conftest.$ac_objext conftest$ac_exeext
32520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32521 (eval $ac_link) 2>conftest.er1
32522 ac_status=$?
32523 grep -v '^ *+' conftest.er1 >conftest.err
32524 rm -f conftest.er1
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } &&
32528 { ac_try='test -z "$ac_c_werror_flag"
32529 || test ! -s conftest.err'
32530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32531 (eval $ac_try) 2>&5
32532 ac_status=$?
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); }; } &&
32535 { ac_try='test -s conftest$ac_exeext'
32536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537 (eval $ac_try) 2>&5
32538 ac_status=$?
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); }; }; then
32541 eval "$as_ac_var=yes"
32542 else
32543 echo "$as_me: failed program was:" >&5
32544 sed 's/^/| /' conftest.$ac_ext >&5
32546 eval "$as_ac_var=no"
32548 rm -f conftest.err conftest.$ac_objext \
32549 conftest$ac_exeext conftest.$ac_ext
32551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32553 if test `eval echo '${'$as_ac_var'}'` = yes; then
32554 cat >>confdefs.h <<_ACEOF
32555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32556 _ACEOF
32559 done
32561 else
32563 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32564 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32567 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 else
32572 ac_ext=cc
32573 ac_cpp='$CXXCPP $CPPFLAGS'
32574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32578 cat >conftest.$ac_ext <<_ACEOF
32579 /* confdefs.h. */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584 #include <math.h>
32586 main ()
32588 _sincos(0, 0, 0);
32590 return 0;
32592 _ACEOF
32593 rm -f conftest.$ac_objext
32594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32595 (eval $ac_compile) 2>conftest.er1
32596 ac_status=$?
32597 grep -v '^ *+' conftest.er1 >conftest.err
32598 rm -f conftest.er1
32599 cat conftest.err >&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } &&
32602 { ac_try='test -z "$ac_cxx_werror_flag"
32603 || test ! -s conftest.err'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32606 ac_status=$?
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; } &&
32609 { ac_try='test -s conftest.$ac_objext'
32610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32611 (eval $ac_try) 2>&5
32612 ac_status=$?
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); }; }; then
32615 glibcxx_cv_func__sincos_use=yes
32616 else
32617 echo "$as_me: failed program was:" >&5
32618 sed 's/^/| /' conftest.$ac_ext >&5
32620 glibcxx_cv_func__sincos_use=no
32622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32623 ac_ext=c
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32634 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32636 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32638 for ac_func in _sincos
32640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32641 echo "$as_me:$LINENO: checking for $ac_func" >&5
32642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32643 if eval "test \"\${$as_ac_var+set}\" = set"; then
32644 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 else
32646 if test x$gcc_no_link = xyes; then
32647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32649 { (exit 1); exit 1; }; }
32651 cat >conftest.$ac_ext <<_ACEOF
32652 /* confdefs.h. */
32653 _ACEOF
32654 cat confdefs.h >>conftest.$ac_ext
32655 cat >>conftest.$ac_ext <<_ACEOF
32656 /* end confdefs.h. */
32657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32659 #define $ac_func innocuous_$ac_func
32661 /* System header to define __stub macros and hopefully few prototypes,
32662 which can conflict with char $ac_func (); below.
32663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32664 <limits.h> exists even on freestanding compilers. */
32666 #ifdef __STDC__
32667 # include <limits.h>
32668 #else
32669 # include <assert.h>
32670 #endif
32672 #undef $ac_func
32674 /* Override any gcc2 internal prototype to avoid an error. */
32675 #ifdef __cplusplus
32676 extern "C"
32678 #endif
32679 /* We use char because int might match the return type of a gcc2
32680 builtin and then its argument prototype would still apply. */
32681 char $ac_func ();
32682 /* The GNU C library defines this for functions which it implements
32683 to always fail with ENOSYS. Some functions are actually named
32684 something starting with __ and the normal name is an alias. */
32685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32686 choke me
32687 #else
32688 char (*f) () = $ac_func;
32689 #endif
32690 #ifdef __cplusplus
32692 #endif
32695 main ()
32697 return f != $ac_func;
32699 return 0;
32701 _ACEOF
32702 rm -f conftest.$ac_objext conftest$ac_exeext
32703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32704 (eval $ac_link) 2>conftest.er1
32705 ac_status=$?
32706 grep -v '^ *+' conftest.er1 >conftest.err
32707 rm -f conftest.er1
32708 cat conftest.err >&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); } &&
32711 { ac_try='test -z "$ac_c_werror_flag"
32712 || test ! -s conftest.err'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; } &&
32718 { ac_try='test -s conftest$ac_exeext'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32721 ac_status=$?
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; }; then
32724 eval "$as_ac_var=yes"
32725 else
32726 echo "$as_me: failed program was:" >&5
32727 sed 's/^/| /' conftest.$ac_ext >&5
32729 eval "$as_ac_var=no"
32731 rm -f conftest.err conftest.$ac_objext \
32732 conftest$ac_exeext conftest.$ac_ext
32734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32736 if test `eval echo '${'$as_ac_var'}'` = yes; then
32737 cat >>confdefs.h <<_ACEOF
32738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32739 _ACEOF
32742 done
32749 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32750 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32751 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32752 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32753 echo $ECHO_N "(cached) $ECHO_C" >&6
32754 else
32758 ac_ext=cc
32759 ac_cpp='$CXXCPP $CPPFLAGS'
32760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32764 cat >conftest.$ac_ext <<_ACEOF
32765 /* confdefs.h. */
32766 _ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32770 #include <math.h>
32771 #ifdef HAVE_IEEEFP_H
32772 #include <ieeefp.h>
32773 #endif
32776 main ()
32778 fpclass(0);
32780 return 0;
32782 _ACEOF
32783 rm -f conftest.$ac_objext
32784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32785 (eval $ac_compile) 2>conftest.er1
32786 ac_status=$?
32787 grep -v '^ *+' conftest.er1 >conftest.err
32788 rm -f conftest.er1
32789 cat conftest.err >&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } &&
32792 { ac_try='test -z "$ac_cxx_werror_flag"
32793 || test ! -s conftest.err'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; } &&
32799 { ac_try='test -s conftest.$ac_objext'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32802 ac_status=$?
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; }; then
32805 glibcxx_cv_func_fpclass_use=yes
32806 else
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.$ac_ext >&5
32810 glibcxx_cv_func_fpclass_use=no
32812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32813 ac_ext=c
32814 ac_cpp='$CPP $CPPFLAGS'
32815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
32824 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
32826 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32828 for ac_func in fpclass
32830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32831 echo "$as_me:$LINENO: checking for $ac_func" >&5
32832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32833 if eval "test \"\${$as_ac_var+set}\" = set"; then
32834 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 else
32836 if test x$gcc_no_link = xyes; then
32837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32839 { (exit 1); exit 1; }; }
32841 cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h. */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32849 #define $ac_func innocuous_$ac_func
32851 /* System header to define __stub macros and hopefully few prototypes,
32852 which can conflict with char $ac_func (); below.
32853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32854 <limits.h> exists even on freestanding compilers. */
32856 #ifdef __STDC__
32857 # include <limits.h>
32858 #else
32859 # include <assert.h>
32860 #endif
32862 #undef $ac_func
32864 /* Override any gcc2 internal prototype to avoid an error. */
32865 #ifdef __cplusplus
32866 extern "C"
32868 #endif
32869 /* We use char because int might match the return type of a gcc2
32870 builtin and then its argument prototype would still apply. */
32871 char $ac_func ();
32872 /* The GNU C library defines this for functions which it implements
32873 to always fail with ENOSYS. Some functions are actually named
32874 something starting with __ and the normal name is an alias. */
32875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32876 choke me
32877 #else
32878 char (*f) () = $ac_func;
32879 #endif
32880 #ifdef __cplusplus
32882 #endif
32885 main ()
32887 return f != $ac_func;
32889 return 0;
32891 _ACEOF
32892 rm -f conftest.$ac_objext conftest$ac_exeext
32893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32894 (eval $ac_link) 2>conftest.er1
32895 ac_status=$?
32896 grep -v '^ *+' conftest.er1 >conftest.err
32897 rm -f conftest.er1
32898 cat conftest.err >&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try='test -z "$ac_c_werror_flag"
32902 || test ! -s conftest.err'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; } &&
32908 { ac_try='test -s conftest$ac_exeext'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32911 ac_status=$?
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32914 eval "$as_ac_var=yes"
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32919 eval "$as_ac_var=no"
32921 rm -f conftest.err conftest.$ac_objext \
32922 conftest$ac_exeext conftest.$ac_ext
32924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32926 if test `eval echo '${'$as_ac_var'}'` = yes; then
32927 cat >>confdefs.h <<_ACEOF
32928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32929 _ACEOF
32932 done
32934 else
32936 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
32937 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
32938 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32939 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 else
32945 ac_ext=cc
32946 ac_cpp='$CXXCPP $CPPFLAGS'
32947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h. */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32957 #include <math.h>
32958 #ifdef HAVE_IEEEFP_H
32959 #include <ieeefp.h>
32960 #endif
32963 main ()
32965 _fpclass(0);
32967 return 0;
32969 _ACEOF
32970 rm -f conftest.$ac_objext
32971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32972 (eval $ac_compile) 2>conftest.er1
32973 ac_status=$?
32974 grep -v '^ *+' conftest.er1 >conftest.err
32975 rm -f conftest.er1
32976 cat conftest.err >&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } &&
32979 { ac_try='test -z "$ac_cxx_werror_flag"
32980 || test ! -s conftest.err'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32983 ac_status=$?
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; } &&
32986 { ac_try='test -s conftest.$ac_objext'
32987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32988 (eval $ac_try) 2>&5
32989 ac_status=$?
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; }; then
32992 glibcxx_cv_func__fpclass_use=yes
32993 else
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.$ac_ext >&5
32997 glibcxx_cv_func__fpclass_use=no
32999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33000 ac_ext=c
33001 ac_cpp='$CPP $CPPFLAGS'
33002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33011 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33013 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33015 for ac_func in _fpclass
33017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33018 echo "$as_me:$LINENO: checking for $ac_func" >&5
33019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33020 if eval "test \"\${$as_ac_var+set}\" = set"; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 else
33023 if test x$gcc_no_link = xyes; then
33024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33026 { (exit 1); exit 1; }; }
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33036 #define $ac_func innocuous_$ac_func
33038 /* System header to define __stub macros and hopefully few prototypes,
33039 which can conflict with char $ac_func (); below.
33040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33041 <limits.h> exists even on freestanding compilers. */
33043 #ifdef __STDC__
33044 # include <limits.h>
33045 #else
33046 # include <assert.h>
33047 #endif
33049 #undef $ac_func
33051 /* Override any gcc2 internal prototype to avoid an error. */
33052 #ifdef __cplusplus
33053 extern "C"
33055 #endif
33056 /* We use char because int might match the return type of a gcc2
33057 builtin and then its argument prototype would still apply. */
33058 char $ac_func ();
33059 /* The GNU C library defines this for functions which it implements
33060 to always fail with ENOSYS. Some functions are actually named
33061 something starting with __ and the normal name is an alias. */
33062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33063 choke me
33064 #else
33065 char (*f) () = $ac_func;
33066 #endif
33067 #ifdef __cplusplus
33069 #endif
33072 main ()
33074 return f != $ac_func;
33076 return 0;
33078 _ACEOF
33079 rm -f conftest.$ac_objext conftest$ac_exeext
33080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33081 (eval $ac_link) 2>conftest.er1
33082 ac_status=$?
33083 grep -v '^ *+' conftest.er1 >conftest.err
33084 rm -f conftest.er1
33085 cat conftest.err >&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); } &&
33088 { ac_try='test -z "$ac_c_werror_flag"
33089 || test ! -s conftest.err'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; } &&
33095 { ac_try='test -s conftest$ac_exeext'
33096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33097 (eval $ac_try) 2>&5
33098 ac_status=$?
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); }; }; then
33101 eval "$as_ac_var=yes"
33102 else
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.$ac_ext >&5
33106 eval "$as_ac_var=no"
33108 rm -f conftest.err conftest.$ac_objext \
33109 conftest$ac_exeext conftest.$ac_ext
33111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33113 if test `eval echo '${'$as_ac_var'}'` = yes; then
33114 cat >>confdefs.h <<_ACEOF
33115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33116 _ACEOF
33119 done
33126 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33127 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33128 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33129 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 else
33135 ac_ext=cc
33136 ac_cpp='$CXXCPP $CPPFLAGS'
33137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33141 cat >conftest.$ac_ext <<_ACEOF
33142 /* confdefs.h. */
33143 _ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 #include <math.h>
33148 #ifdef HAVE_IEEEFP_H
33149 #include <ieeefp.h>
33150 #endif
33153 main ()
33155 qfpclass(0);
33157 return 0;
33159 _ACEOF
33160 rm -f conftest.$ac_objext
33161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33162 (eval $ac_compile) 2>conftest.er1
33163 ac_status=$?
33164 grep -v '^ *+' conftest.er1 >conftest.err
33165 rm -f conftest.er1
33166 cat conftest.err >&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); } &&
33169 { ac_try='test -z "$ac_cxx_werror_flag"
33170 || test ! -s conftest.err'
33171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172 (eval $ac_try) 2>&5
33173 ac_status=$?
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); }; } &&
33176 { ac_try='test -s conftest.$ac_objext'
33177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33178 (eval $ac_try) 2>&5
33179 ac_status=$?
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); }; }; then
33182 glibcxx_cv_func_qfpclass_use=yes
33183 else
33184 echo "$as_me: failed program was:" >&5
33185 sed 's/^/| /' conftest.$ac_ext >&5
33187 glibcxx_cv_func_qfpclass_use=no
33189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33190 ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33201 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33203 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33205 for ac_func in qfpclass
33207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33208 echo "$as_me:$LINENO: checking for $ac_func" >&5
33209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33210 if eval "test \"\${$as_ac_var+set}\" = set"; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33212 else
33213 if test x$gcc_no_link = xyes; then
33214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33216 { (exit 1); exit 1; }; }
33218 cat >conftest.$ac_ext <<_ACEOF
33219 /* confdefs.h. */
33220 _ACEOF
33221 cat confdefs.h >>conftest.$ac_ext
33222 cat >>conftest.$ac_ext <<_ACEOF
33223 /* end confdefs.h. */
33224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33226 #define $ac_func innocuous_$ac_func
33228 /* System header to define __stub macros and hopefully few prototypes,
33229 which can conflict with char $ac_func (); below.
33230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33231 <limits.h> exists even on freestanding compilers. */
33233 #ifdef __STDC__
33234 # include <limits.h>
33235 #else
33236 # include <assert.h>
33237 #endif
33239 #undef $ac_func
33241 /* Override any gcc2 internal prototype to avoid an error. */
33242 #ifdef __cplusplus
33243 extern "C"
33245 #endif
33246 /* We use char because int might match the return type of a gcc2
33247 builtin and then its argument prototype would still apply. */
33248 char $ac_func ();
33249 /* The GNU C library defines this for functions which it implements
33250 to always fail with ENOSYS. Some functions are actually named
33251 something starting with __ and the normal name is an alias. */
33252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33253 choke me
33254 #else
33255 char (*f) () = $ac_func;
33256 #endif
33257 #ifdef __cplusplus
33259 #endif
33262 main ()
33264 return f != $ac_func;
33266 return 0;
33268 _ACEOF
33269 rm -f conftest.$ac_objext conftest$ac_exeext
33270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33271 (eval $ac_link) 2>conftest.er1
33272 ac_status=$?
33273 grep -v '^ *+' conftest.er1 >conftest.err
33274 rm -f conftest.er1
33275 cat conftest.err >&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } &&
33278 { ac_try='test -z "$ac_c_werror_flag"
33279 || test ! -s conftest.err'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33282 ac_status=$?
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; } &&
33285 { ac_try='test -s conftest$ac_exeext'
33286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287 (eval $ac_try) 2>&5
33288 ac_status=$?
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; }; then
33291 eval "$as_ac_var=yes"
33292 else
33293 echo "$as_me: failed program was:" >&5
33294 sed 's/^/| /' conftest.$ac_ext >&5
33296 eval "$as_ac_var=no"
33298 rm -f conftest.err conftest.$ac_objext \
33299 conftest$ac_exeext conftest.$ac_ext
33301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33303 if test `eval echo '${'$as_ac_var'}'` = yes; then
33304 cat >>confdefs.h <<_ACEOF
33305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33306 _ACEOF
33309 done
33311 else
33313 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33314 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33315 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33316 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 else
33322 ac_ext=cc
33323 ac_cpp='$CXXCPP $CPPFLAGS'
33324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33328 cat >conftest.$ac_ext <<_ACEOF
33329 /* confdefs.h. */
33330 _ACEOF
33331 cat confdefs.h >>conftest.$ac_ext
33332 cat >>conftest.$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 #include <math.h>
33335 #ifdef HAVE_IEEEFP_H
33336 #include <ieeefp.h>
33337 #endif
33340 main ()
33342 _qfpclass(0);
33344 return 0;
33346 _ACEOF
33347 rm -f conftest.$ac_objext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33349 (eval $ac_compile) 2>conftest.er1
33350 ac_status=$?
33351 grep -v '^ *+' conftest.er1 >conftest.err
33352 rm -f conftest.er1
33353 cat conftest.err >&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try='test -z "$ac_cxx_werror_flag"
33357 || test ! -s conftest.err'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; } &&
33363 { ac_try='test -s conftest.$ac_objext'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33366 ac_status=$?
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }; then
33369 glibcxx_cv_func__qfpclass_use=yes
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33374 glibcxx_cv_func__qfpclass_use=no
33376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33377 ac_ext=c
33378 ac_cpp='$CPP $CPPFLAGS'
33379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33388 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33390 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33392 for ac_func in _qfpclass
33394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33395 echo "$as_me:$LINENO: checking for $ac_func" >&5
33396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33397 if eval "test \"\${$as_ac_var+set}\" = set"; then
33398 echo $ECHO_N "(cached) $ECHO_C" >&6
33399 else
33400 if test x$gcc_no_link = xyes; then
33401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33403 { (exit 1); exit 1; }; }
33405 cat >conftest.$ac_ext <<_ACEOF
33406 /* confdefs.h. */
33407 _ACEOF
33408 cat confdefs.h >>conftest.$ac_ext
33409 cat >>conftest.$ac_ext <<_ACEOF
33410 /* end confdefs.h. */
33411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33413 #define $ac_func innocuous_$ac_func
33415 /* System header to define __stub macros and hopefully few prototypes,
33416 which can conflict with char $ac_func (); below.
33417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33418 <limits.h> exists even on freestanding compilers. */
33420 #ifdef __STDC__
33421 # include <limits.h>
33422 #else
33423 # include <assert.h>
33424 #endif
33426 #undef $ac_func
33428 /* Override any gcc2 internal prototype to avoid an error. */
33429 #ifdef __cplusplus
33430 extern "C"
33432 #endif
33433 /* We use char because int might match the return type of a gcc2
33434 builtin and then its argument prototype would still apply. */
33435 char $ac_func ();
33436 /* The GNU C library defines this for functions which it implements
33437 to always fail with ENOSYS. Some functions are actually named
33438 something starting with __ and the normal name is an alias. */
33439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33440 choke me
33441 #else
33442 char (*f) () = $ac_func;
33443 #endif
33444 #ifdef __cplusplus
33446 #endif
33449 main ()
33451 return f != $ac_func;
33453 return 0;
33455 _ACEOF
33456 rm -f conftest.$ac_objext conftest$ac_exeext
33457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33458 (eval $ac_link) 2>conftest.er1
33459 ac_status=$?
33460 grep -v '^ *+' conftest.er1 >conftest.err
33461 rm -f conftest.er1
33462 cat conftest.err >&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } &&
33465 { ac_try='test -z "$ac_c_werror_flag"
33466 || test ! -s conftest.err'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33469 ac_status=$?
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; } &&
33472 { ac_try='test -s conftest$ac_exeext'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33475 ac_status=$?
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; }; then
33478 eval "$as_ac_var=yes"
33479 else
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.$ac_ext >&5
33483 eval "$as_ac_var=no"
33485 rm -f conftest.err conftest.$ac_objext \
33486 conftest$ac_exeext conftest.$ac_ext
33488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33490 if test `eval echo '${'$as_ac_var'}'` = yes; then
33491 cat >>confdefs.h <<_ACEOF
33492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33493 _ACEOF
33496 done
33503 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33504 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33505 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33506 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 else
33512 ac_ext=cc
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518 cat >conftest.$ac_ext <<_ACEOF
33519 /* confdefs.h. */
33520 _ACEOF
33521 cat confdefs.h >>conftest.$ac_ext
33522 cat >>conftest.$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33524 #include <math.h>
33526 main ()
33528 hypot(0, 0);
33530 return 0;
33532 _ACEOF
33533 rm -f conftest.$ac_objext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33535 (eval $ac_compile) 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try='test -z "$ac_cxx_werror_flag"
33543 || test ! -s conftest.err'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33546 ac_status=$?
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } &&
33549 { ac_try='test -s conftest.$ac_objext'
33550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33551 (eval $ac_try) 2>&5
33552 ac_status=$?
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); }; }; then
33555 glibcxx_cv_func_hypot_use=yes
33556 else
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.$ac_ext >&5
33560 glibcxx_cv_func_hypot_use=no
33562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33563 ac_ext=c
33564 ac_cpp='$CPP $CPPFLAGS'
33565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33574 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33576 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33578 for ac_func in hypot
33580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33581 echo "$as_me:$LINENO: checking for $ac_func" >&5
33582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33583 if eval "test \"\${$as_ac_var+set}\" = set"; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 else
33586 if test x$gcc_no_link = xyes; then
33587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33589 { (exit 1); exit 1; }; }
33591 cat >conftest.$ac_ext <<_ACEOF
33592 /* confdefs.h. */
33593 _ACEOF
33594 cat confdefs.h >>conftest.$ac_ext
33595 cat >>conftest.$ac_ext <<_ACEOF
33596 /* end confdefs.h. */
33597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33599 #define $ac_func innocuous_$ac_func
33601 /* System header to define __stub macros and hopefully few prototypes,
33602 which can conflict with char $ac_func (); below.
33603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33604 <limits.h> exists even on freestanding compilers. */
33606 #ifdef __STDC__
33607 # include <limits.h>
33608 #else
33609 # include <assert.h>
33610 #endif
33612 #undef $ac_func
33614 /* Override any gcc2 internal prototype to avoid an error. */
33615 #ifdef __cplusplus
33616 extern "C"
33618 #endif
33619 /* We use char because int might match the return type of a gcc2
33620 builtin and then its argument prototype would still apply. */
33621 char $ac_func ();
33622 /* The GNU C library defines this for functions which it implements
33623 to always fail with ENOSYS. Some functions are actually named
33624 something starting with __ and the normal name is an alias. */
33625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33626 choke me
33627 #else
33628 char (*f) () = $ac_func;
33629 #endif
33630 #ifdef __cplusplus
33632 #endif
33635 main ()
33637 return f != $ac_func;
33639 return 0;
33641 _ACEOF
33642 rm -f conftest.$ac_objext conftest$ac_exeext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33644 (eval $ac_link) 2>conftest.er1
33645 ac_status=$?
33646 grep -v '^ *+' conftest.er1 >conftest.err
33647 rm -f conftest.er1
33648 cat conftest.err >&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try='test -z "$ac_c_werror_flag"
33652 || test ! -s conftest.err'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; } &&
33658 { ac_try='test -s conftest$ac_exeext'
33659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33660 (eval $ac_try) 2>&5
33661 ac_status=$?
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; }; then
33664 eval "$as_ac_var=yes"
33665 else
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33669 eval "$as_ac_var=no"
33671 rm -f conftest.err conftest.$ac_objext \
33672 conftest$ac_exeext conftest.$ac_ext
33674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33676 if test `eval echo '${'$as_ac_var'}'` = yes; then
33677 cat >>confdefs.h <<_ACEOF
33678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33679 _ACEOF
33682 done
33684 else
33686 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33687 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33690 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 else
33695 ac_ext=cc
33696 ac_cpp='$CXXCPP $CPPFLAGS'
33697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701 cat >conftest.$ac_ext <<_ACEOF
33702 /* confdefs.h. */
33703 _ACEOF
33704 cat confdefs.h >>conftest.$ac_ext
33705 cat >>conftest.$ac_ext <<_ACEOF
33706 /* end confdefs.h. */
33707 #include <math.h>
33709 main ()
33711 _hypot(0, 0);
33713 return 0;
33715 _ACEOF
33716 rm -f conftest.$ac_objext
33717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33718 (eval $ac_compile) 2>conftest.er1
33719 ac_status=$?
33720 grep -v '^ *+' conftest.er1 >conftest.err
33721 rm -f conftest.er1
33722 cat conftest.err >&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try='test -z "$ac_cxx_werror_flag"
33726 || test ! -s conftest.err'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33729 ac_status=$?
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; } &&
33732 { ac_try='test -s conftest.$ac_objext'
33733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33734 (eval $ac_try) 2>&5
33735 ac_status=$?
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); }; }; then
33738 glibcxx_cv_func__hypot_use=yes
33739 else
33740 echo "$as_me: failed program was:" >&5
33741 sed 's/^/| /' conftest.$ac_ext >&5
33743 glibcxx_cv_func__hypot_use=no
33745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33746 ac_ext=c
33747 ac_cpp='$CPP $CPPFLAGS'
33748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
33757 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
33759 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33761 for ac_func in _hypot
33763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33764 echo "$as_me:$LINENO: checking for $ac_func" >&5
33765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33766 if eval "test \"\${$as_ac_var+set}\" = set"; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 if test x$gcc_no_link = xyes; then
33770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33772 { (exit 1); exit 1; }; }
33774 cat >conftest.$ac_ext <<_ACEOF
33775 /* confdefs.h. */
33776 _ACEOF
33777 cat confdefs.h >>conftest.$ac_ext
33778 cat >>conftest.$ac_ext <<_ACEOF
33779 /* end confdefs.h. */
33780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33782 #define $ac_func innocuous_$ac_func
33784 /* System header to define __stub macros and hopefully few prototypes,
33785 which can conflict with char $ac_func (); below.
33786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33787 <limits.h> exists even on freestanding compilers. */
33789 #ifdef __STDC__
33790 # include <limits.h>
33791 #else
33792 # include <assert.h>
33793 #endif
33795 #undef $ac_func
33797 /* Override any gcc2 internal prototype to avoid an error. */
33798 #ifdef __cplusplus
33799 extern "C"
33801 #endif
33802 /* We use char because int might match the return type of a gcc2
33803 builtin and then its argument prototype would still apply. */
33804 char $ac_func ();
33805 /* The GNU C library defines this for functions which it implements
33806 to always fail with ENOSYS. Some functions are actually named
33807 something starting with __ and the normal name is an alias. */
33808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33809 choke me
33810 #else
33811 char (*f) () = $ac_func;
33812 #endif
33813 #ifdef __cplusplus
33815 #endif
33818 main ()
33820 return f != $ac_func;
33822 return 0;
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33827 (eval $ac_link) 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } &&
33834 { ac_try='test -z "$ac_c_werror_flag"
33835 || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try='test -s conftest$ac_exeext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33844 ac_status=$?
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 eval "$as_ac_var=yes"
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33852 eval "$as_ac_var=no"
33854 rm -f conftest.err conftest.$ac_objext \
33855 conftest$ac_exeext conftest.$ac_ext
33857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33859 if test `eval echo '${'$as_ac_var'}'` = yes; then
33860 cat >>confdefs.h <<_ACEOF
33861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33862 _ACEOF
33865 done
33872 echo "$as_me:$LINENO: checking for float trig functions" >&5
33873 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
33874 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33876 else
33880 ac_ext=cc
33881 ac_cpp='$CXXCPP $CPPFLAGS'
33882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33886 cat >conftest.$ac_ext <<_ACEOF
33887 /* confdefs.h. */
33888 _ACEOF
33889 cat confdefs.h >>conftest.$ac_ext
33890 cat >>conftest.$ac_ext <<_ACEOF
33891 /* end confdefs.h. */
33892 #include <math.h>
33894 main ()
33896 `for x in acosf asinf atanf \
33897 cosf sinf tanf \
33898 coshf sinhf tanhf; do echo "$x (0);"; done`
33900 return 0;
33902 _ACEOF
33903 rm -f conftest.$ac_objext
33904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33905 (eval $ac_compile) 2>conftest.er1
33906 ac_status=$?
33907 grep -v '^ *+' conftest.er1 >conftest.err
33908 rm -f conftest.er1
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } &&
33912 { ac_try='test -z "$ac_cxx_werror_flag"
33913 || test ! -s conftest.err'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33916 ac_status=$?
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; } &&
33919 { ac_try='test -s conftest.$ac_objext'
33920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33921 (eval $ac_try) 2>&5
33922 ac_status=$?
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }; then
33925 glibcxx_cv_func_float_trig_use=yes
33926 else
33927 echo "$as_me: failed program was:" >&5
33928 sed 's/^/| /' conftest.$ac_ext >&5
33930 glibcxx_cv_func_float_trig_use=no
33932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33933 ac_ext=c
33934 ac_cpp='$CPP $CPPFLAGS'
33935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
33942 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
33943 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33953 for ac_func in acosf asinf atanf \
33954 cosf sinf tanf \
33955 coshf sinhf tanhf
33957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33958 echo "$as_me:$LINENO: checking for $ac_func" >&5
33959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33960 if eval "test \"\${$as_ac_var+set}\" = set"; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 if test x$gcc_no_link = xyes; then
33964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33966 { (exit 1); exit 1; }; }
33968 cat >conftest.$ac_ext <<_ACEOF
33969 /* confdefs.h. */
33970 _ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33983 #ifdef __STDC__
33984 # include <limits.h>
33985 #else
33986 # include <assert.h>
33987 #endif
33989 #undef $ac_func
33991 /* Override any gcc2 internal prototype to avoid an error. */
33992 #ifdef __cplusplus
33993 extern "C"
33995 #endif
33996 /* We use char because int might match the return type of a gcc2
33997 builtin and then its argument prototype would still apply. */
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34003 choke me
34004 #else
34005 char (*f) () = $ac_func;
34006 #endif
34007 #ifdef __cplusplus
34009 #endif
34012 main ()
34014 return f != $ac_func;
34016 return 0;
34018 _ACEOF
34019 rm -f conftest.$ac_objext conftest$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021 (eval $ac_link) 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try='test -z "$ac_c_werror_flag"
34029 || test ! -s conftest.err'
34030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031 (eval $ac_try) 2>&5
34032 ac_status=$?
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); }; } &&
34035 { ac_try='test -s conftest$ac_exeext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 eval "$as_ac_var=yes"
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34046 eval "$as_ac_var=no"
34048 rm -f conftest.err conftest.$ac_objext \
34049 conftest$ac_exeext conftest.$ac_ext
34051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34053 if test `eval echo '${'$as_ac_var'}'` = yes; then
34054 cat >>confdefs.h <<_ACEOF
34055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 _ACEOF
34059 done
34064 echo "$as_me:$LINENO: checking for float round functions" >&5
34065 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34066 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34072 ac_ext=cc
34073 ac_cpp='$CXXCPP $CPPFLAGS'
34074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 #include <math.h>
34086 main ()
34088 `for x in ceilf floorf; do echo "$x (0);"; done`
34090 return 0;
34092 _ACEOF
34093 rm -f conftest.$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try='test -z "$ac_cxx_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 glibcxx_cv_func_float_round_use=yes
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34120 glibcxx_cv_func_float_round_use=no
34122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34123 ac_ext=c
34124 ac_cpp='$CPP $CPPFLAGS'
34125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34131 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34132 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34133 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34136 for ac_func in ceilf floorf
34138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34139 echo "$as_me:$LINENO: checking for $ac_func" >&5
34140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34141 if eval "test \"\${$as_ac_var+set}\" = set"; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 else
34144 if test x$gcc_no_link = xyes; then
34145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34147 { (exit 1); exit 1; }; }
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34157 #define $ac_func innocuous_$ac_func
34159 /* System header to define __stub macros and hopefully few prototypes,
34160 which can conflict with char $ac_func (); below.
34161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34162 <limits.h> exists even on freestanding compilers. */
34164 #ifdef __STDC__
34165 # include <limits.h>
34166 #else
34167 # include <assert.h>
34168 #endif
34170 #undef $ac_func
34172 /* Override any gcc2 internal prototype to avoid an error. */
34173 #ifdef __cplusplus
34174 extern "C"
34176 #endif
34177 /* We use char because int might match the return type of a gcc2
34178 builtin and then its argument prototype would still apply. */
34179 char $ac_func ();
34180 /* The GNU C library defines this for functions which it implements
34181 to always fail with ENOSYS. Some functions are actually named
34182 something starting with __ and the normal name is an alias. */
34183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34184 choke me
34185 #else
34186 char (*f) () = $ac_func;
34187 #endif
34188 #ifdef __cplusplus
34190 #endif
34193 main ()
34195 return f != $ac_func;
34197 return 0;
34199 _ACEOF
34200 rm -f conftest.$ac_objext conftest$ac_exeext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34202 (eval $ac_link) 2>conftest.er1
34203 ac_status=$?
34204 grep -v '^ *+' conftest.er1 >conftest.err
34205 rm -f conftest.er1
34206 cat conftest.err >&5
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); } &&
34209 { ac_try='test -z "$ac_c_werror_flag"
34210 || test ! -s conftest.err'
34211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34212 (eval $ac_try) 2>&5
34213 ac_status=$?
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; } &&
34216 { ac_try='test -s conftest$ac_exeext'
34217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218 (eval $ac_try) 2>&5
34219 ac_status=$?
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); }; }; then
34222 eval "$as_ac_var=yes"
34223 else
34224 echo "$as_me: failed program was:" >&5
34225 sed 's/^/| /' conftest.$ac_ext >&5
34227 eval "$as_ac_var=no"
34229 rm -f conftest.err conftest.$ac_objext \
34230 conftest$ac_exeext conftest.$ac_ext
34232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34234 if test `eval echo '${'$as_ac_var'}'` = yes; then
34235 cat >>confdefs.h <<_ACEOF
34236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34237 _ACEOF
34240 done
34246 echo "$as_me:$LINENO: checking for expf declaration" >&5
34247 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34248 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34249 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34251 else
34255 ac_ext=cc
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267 #include <math.h>
34268 #ifdef HAVE_IEEEFP_H
34269 #include <ieeefp.h>
34270 #endif
34273 main ()
34275 expf(0);
34277 return 0;
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282 (eval $ac_compile) 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } &&
34289 { ac_try='test -z "$ac_cxx_werror_flag"
34290 || test ! -s conftest.err'
34291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34292 (eval $ac_try) 2>&5
34293 ac_status=$?
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); }; } &&
34296 { ac_try='test -s conftest.$ac_objext'
34297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34298 (eval $ac_try) 2>&5
34299 ac_status=$?
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); }; }; then
34302 glibcxx_cv_func_expf_use=yes
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34307 glibcxx_cv_func_expf_use=no
34309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34310 ac_ext=c
34311 ac_cpp='$CPP $CPPFLAGS'
34312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34321 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34323 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34325 for ac_func in expf
34327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34328 echo "$as_me:$LINENO: checking for $ac_func" >&5
34329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34330 if eval "test \"\${$as_ac_var+set}\" = set"; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34332 else
34333 if test x$gcc_no_link = xyes; then
34334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34336 { (exit 1); exit 1; }; }
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34346 #define $ac_func innocuous_$ac_func
34348 /* System header to define __stub macros and hopefully few prototypes,
34349 which can conflict with char $ac_func (); below.
34350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351 <limits.h> exists even on freestanding compilers. */
34353 #ifdef __STDC__
34354 # include <limits.h>
34355 #else
34356 # include <assert.h>
34357 #endif
34359 #undef $ac_func
34361 /* Override any gcc2 internal prototype to avoid an error. */
34362 #ifdef __cplusplus
34363 extern "C"
34365 #endif
34366 /* We use char because int might match the return type of a gcc2
34367 builtin and then its argument prototype would still apply. */
34368 char $ac_func ();
34369 /* The GNU C library defines this for functions which it implements
34370 to always fail with ENOSYS. Some functions are actually named
34371 something starting with __ and the normal name is an alias. */
34372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34373 choke me
34374 #else
34375 char (*f) () = $ac_func;
34376 #endif
34377 #ifdef __cplusplus
34379 #endif
34382 main ()
34384 return f != $ac_func;
34386 return 0;
34388 _ACEOF
34389 rm -f conftest.$ac_objext conftest$ac_exeext
34390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34391 (eval $ac_link) 2>conftest.er1
34392 ac_status=$?
34393 grep -v '^ *+' conftest.er1 >conftest.err
34394 rm -f conftest.er1
34395 cat conftest.err >&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } &&
34398 { ac_try='test -z "$ac_c_werror_flag"
34399 || test ! -s conftest.err'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; } &&
34405 { ac_try='test -s conftest$ac_exeext'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; }; then
34411 eval "$as_ac_var=yes"
34412 else
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34416 eval "$as_ac_var=no"
34418 rm -f conftest.err conftest.$ac_objext \
34419 conftest$ac_exeext conftest.$ac_ext
34421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34423 if test `eval echo '${'$as_ac_var'}'` = yes; then
34424 cat >>confdefs.h <<_ACEOF
34425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34426 _ACEOF
34429 done
34431 else
34433 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34434 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34435 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34436 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34437 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 else
34442 ac_ext=cc
34443 ac_cpp='$CXXCPP $CPPFLAGS'
34444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454 #include <math.h>
34455 #ifdef HAVE_IEEEFP_H
34456 #include <ieeefp.h>
34457 #endif
34460 main ()
34462 _expf(0);
34464 return 0;
34466 _ACEOF
34467 rm -f conftest.$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34470 ac_status=$?
34471 grep -v '^ *+' conftest.er1 >conftest.err
34472 rm -f conftest.er1
34473 cat conftest.err >&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try='test -z "$ac_cxx_werror_flag"
34477 || test ! -s conftest.err'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; } &&
34483 { ac_try='test -s conftest.$ac_objext'
34484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34485 (eval $ac_try) 2>&5
34486 ac_status=$?
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); }; }; then
34489 glibcxx_cv_func__expf_use=yes
34490 else
34491 echo "$as_me: failed program was:" >&5
34492 sed 's/^/| /' conftest.$ac_ext >&5
34494 glibcxx_cv_func__expf_use=no
34496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34497 ac_ext=c
34498 ac_cpp='$CPP $CPPFLAGS'
34499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
34508 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
34510 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34512 for ac_func in _expf
34514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34515 echo "$as_me:$LINENO: checking for $ac_func" >&5
34516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34517 if eval "test \"\${$as_ac_var+set}\" = set"; then
34518 echo $ECHO_N "(cached) $ECHO_C" >&6
34519 else
34520 if test x$gcc_no_link = xyes; then
34521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34523 { (exit 1); exit 1; }; }
34525 cat >conftest.$ac_ext <<_ACEOF
34526 /* confdefs.h. */
34527 _ACEOF
34528 cat confdefs.h >>conftest.$ac_ext
34529 cat >>conftest.$ac_ext <<_ACEOF
34530 /* end confdefs.h. */
34531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34533 #define $ac_func innocuous_$ac_func
34535 /* System header to define __stub macros and hopefully few prototypes,
34536 which can conflict with char $ac_func (); below.
34537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34538 <limits.h> exists even on freestanding compilers. */
34540 #ifdef __STDC__
34541 # include <limits.h>
34542 #else
34543 # include <assert.h>
34544 #endif
34546 #undef $ac_func
34548 /* Override any gcc2 internal prototype to avoid an error. */
34549 #ifdef __cplusplus
34550 extern "C"
34552 #endif
34553 /* We use char because int might match the return type of a gcc2
34554 builtin and then its argument prototype would still apply. */
34555 char $ac_func ();
34556 /* The GNU C library defines this for functions which it implements
34557 to always fail with ENOSYS. Some functions are actually named
34558 something starting with __ and the normal name is an alias. */
34559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34560 choke me
34561 #else
34562 char (*f) () = $ac_func;
34563 #endif
34564 #ifdef __cplusplus
34566 #endif
34569 main ()
34571 return f != $ac_func;
34573 return 0;
34575 _ACEOF
34576 rm -f conftest.$ac_objext conftest$ac_exeext
34577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34578 (eval $ac_link) 2>conftest.er1
34579 ac_status=$?
34580 grep -v '^ *+' conftest.er1 >conftest.err
34581 rm -f conftest.er1
34582 cat conftest.err >&5
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); } &&
34585 { ac_try='test -z "$ac_c_werror_flag"
34586 || test ! -s conftest.err'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34589 ac_status=$?
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; } &&
34592 { ac_try='test -s conftest$ac_exeext'
34593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34594 (eval $ac_try) 2>&5
34595 ac_status=$?
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); }; }; then
34598 eval "$as_ac_var=yes"
34599 else
34600 echo "$as_me: failed program was:" >&5
34601 sed 's/^/| /' conftest.$ac_ext >&5
34603 eval "$as_ac_var=no"
34605 rm -f conftest.err conftest.$ac_objext \
34606 conftest$ac_exeext conftest.$ac_ext
34608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34610 if test `eval echo '${'$as_ac_var'}'` = yes; then
34611 cat >>confdefs.h <<_ACEOF
34612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34613 _ACEOF
34616 done
34623 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
34624 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
34625 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34626 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 else
34632 ac_ext=cc
34633 ac_cpp='$CXXCPP $CPPFLAGS'
34634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638 cat >conftest.$ac_ext <<_ACEOF
34639 /* confdefs.h. */
34640 _ACEOF
34641 cat confdefs.h >>conftest.$ac_ext
34642 cat >>conftest.$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644 #include <math.h>
34645 #ifdef HAVE_IEEEFP_H
34646 #include <ieeefp.h>
34647 #endif
34650 main ()
34652 isnanf(0);
34654 return 0;
34656 _ACEOF
34657 rm -f conftest.$ac_objext
34658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34659 (eval $ac_compile) 2>conftest.er1
34660 ac_status=$?
34661 grep -v '^ *+' conftest.er1 >conftest.err
34662 rm -f conftest.er1
34663 cat conftest.err >&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); } &&
34666 { ac_try='test -z "$ac_cxx_werror_flag"
34667 || test ! -s conftest.err'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; } &&
34673 { ac_try='test -s conftest.$ac_objext'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34676 ac_status=$?
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; }; then
34679 glibcxx_cv_func_isnanf_use=yes
34680 else
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.$ac_ext >&5
34684 glibcxx_cv_func_isnanf_use=no
34686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34687 ac_ext=c
34688 ac_cpp='$CPP $CPPFLAGS'
34689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
34698 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
34700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34702 for ac_func in isnanf
34704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34705 echo "$as_me:$LINENO: checking for $ac_func" >&5
34706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34707 if eval "test \"\${$as_ac_var+set}\" = set"; then
34708 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 else
34710 if test x$gcc_no_link = xyes; then
34711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34713 { (exit 1); exit 1; }; }
34715 cat >conftest.$ac_ext <<_ACEOF
34716 /* confdefs.h. */
34717 _ACEOF
34718 cat confdefs.h >>conftest.$ac_ext
34719 cat >>conftest.$ac_ext <<_ACEOF
34720 /* end confdefs.h. */
34721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34723 #define $ac_func innocuous_$ac_func
34725 /* System header to define __stub macros and hopefully few prototypes,
34726 which can conflict with char $ac_func (); below.
34727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34728 <limits.h> exists even on freestanding compilers. */
34730 #ifdef __STDC__
34731 # include <limits.h>
34732 #else
34733 # include <assert.h>
34734 #endif
34736 #undef $ac_func
34738 /* Override any gcc2 internal prototype to avoid an error. */
34739 #ifdef __cplusplus
34740 extern "C"
34742 #endif
34743 /* We use char because int might match the return type of a gcc2
34744 builtin and then its argument prototype would still apply. */
34745 char $ac_func ();
34746 /* The GNU C library defines this for functions which it implements
34747 to always fail with ENOSYS. Some functions are actually named
34748 something starting with __ and the normal name is an alias. */
34749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34750 choke me
34751 #else
34752 char (*f) () = $ac_func;
34753 #endif
34754 #ifdef __cplusplus
34756 #endif
34759 main ()
34761 return f != $ac_func;
34763 return 0;
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>conftest.er1
34769 ac_status=$?
34770 grep -v '^ *+' conftest.er1 >conftest.err
34771 rm -f conftest.er1
34772 cat conftest.err >&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try='test -z "$ac_c_werror_flag"
34776 || test ! -s conftest.err'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; } &&
34782 { ac_try='test -s conftest$ac_exeext'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34785 ac_status=$?
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; }; then
34788 eval "$as_ac_var=yes"
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34793 eval "$as_ac_var=no"
34795 rm -f conftest.err conftest.$ac_objext \
34796 conftest$ac_exeext conftest.$ac_ext
34798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34800 if test `eval echo '${'$as_ac_var'}'` = yes; then
34801 cat >>confdefs.h <<_ACEOF
34802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34806 done
34808 else
34810 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
34811 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
34812 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34813 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
34814 echo $ECHO_N "(cached) $ECHO_C" >&6
34815 else
34819 ac_ext=cc
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 #include <math.h>
34832 #ifdef HAVE_IEEEFP_H
34833 #include <ieeefp.h>
34834 #endif
34837 main ()
34839 _isnanf(0);
34841 return 0;
34843 _ACEOF
34844 rm -f conftest.$ac_objext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34846 (eval $ac_compile) 2>conftest.er1
34847 ac_status=$?
34848 grep -v '^ *+' conftest.er1 >conftest.err
34849 rm -f conftest.er1
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try='test -z "$ac_cxx_werror_flag"
34854 || test ! -s conftest.err'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; } &&
34860 { ac_try='test -s conftest.$ac_objext'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34863 ac_status=$?
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 glibcxx_cv_func__isnanf_use=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34871 glibcxx_cv_func__isnanf_use=no
34873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34874 ac_ext=c
34875 ac_cpp='$CPP $CPPFLAGS'
34876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
34885 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
34887 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34889 for ac_func in _isnanf
34891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34892 echo "$as_me:$LINENO: checking for $ac_func" >&5
34893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34894 if eval "test \"\${$as_ac_var+set}\" = set"; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34896 else
34897 if test x$gcc_no_link = xyes; then
34898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34900 { (exit 1); exit 1; }; }
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34910 #define $ac_func innocuous_$ac_func
34912 /* System header to define __stub macros and hopefully few prototypes,
34913 which can conflict with char $ac_func (); below.
34914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34915 <limits.h> exists even on freestanding compilers. */
34917 #ifdef __STDC__
34918 # include <limits.h>
34919 #else
34920 # include <assert.h>
34921 #endif
34923 #undef $ac_func
34925 /* Override any gcc2 internal prototype to avoid an error. */
34926 #ifdef __cplusplus
34927 extern "C"
34929 #endif
34930 /* We use char because int might match the return type of a gcc2
34931 builtin and then its argument prototype would still apply. */
34932 char $ac_func ();
34933 /* The GNU C library defines this for functions which it implements
34934 to always fail with ENOSYS. Some functions are actually named
34935 something starting with __ and the normal name is an alias. */
34936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34937 choke me
34938 #else
34939 char (*f) () = $ac_func;
34940 #endif
34941 #ifdef __cplusplus
34943 #endif
34946 main ()
34948 return f != $ac_func;
34950 return 0;
34952 _ACEOF
34953 rm -f conftest.$ac_objext conftest$ac_exeext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34955 (eval $ac_link) 2>conftest.er1
34956 ac_status=$?
34957 grep -v '^ *+' conftest.er1 >conftest.err
34958 rm -f conftest.er1
34959 cat conftest.err >&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try='test -z "$ac_c_werror_flag"
34963 || test ! -s conftest.err'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; } &&
34969 { ac_try='test -s conftest$ac_exeext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34972 ac_status=$?
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34975 eval "$as_ac_var=yes"
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34980 eval "$as_ac_var=no"
34982 rm -f conftest.err conftest.$ac_objext \
34983 conftest$ac_exeext conftest.$ac_ext
34985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34987 if test `eval echo '${'$as_ac_var'}'` = yes; then
34988 cat >>confdefs.h <<_ACEOF
34989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34990 _ACEOF
34993 done
35000 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35001 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35002 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35003 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35009 ac_ext=cc
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h. */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021 #include <math.h>
35022 #ifdef HAVE_IEEEFP_H
35023 #include <ieeefp.h>
35024 #endif
35027 main ()
35029 isinff(0);
35031 return 0;
35033 _ACEOF
35034 rm -f conftest.$ac_objext
35035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35036 (eval $ac_compile) 2>conftest.er1
35037 ac_status=$?
35038 grep -v '^ *+' conftest.er1 >conftest.err
35039 rm -f conftest.er1
35040 cat conftest.err >&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); } &&
35043 { ac_try='test -z "$ac_cxx_werror_flag"
35044 || test ! -s conftest.err'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35047 ac_status=$?
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; } &&
35050 { ac_try='test -s conftest.$ac_objext'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35053 ac_status=$?
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; }; then
35056 glibcxx_cv_func_isinff_use=yes
35057 else
35058 echo "$as_me: failed program was:" >&5
35059 sed 's/^/| /' conftest.$ac_ext >&5
35061 glibcxx_cv_func_isinff_use=no
35063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35064 ac_ext=c
35065 ac_cpp='$CPP $CPPFLAGS'
35066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35075 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35077 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35079 for ac_func in isinff
35081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35082 echo "$as_me:$LINENO: checking for $ac_func" >&5
35083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35084 if eval "test \"\${$as_ac_var+set}\" = set"; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 if test x$gcc_no_link = xyes; then
35088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35090 { (exit 1); exit 1; }; }
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h. */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35100 #define $ac_func innocuous_$ac_func
35102 /* System header to define __stub macros and hopefully few prototypes,
35103 which can conflict with char $ac_func (); below.
35104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35105 <limits.h> exists even on freestanding compilers. */
35107 #ifdef __STDC__
35108 # include <limits.h>
35109 #else
35110 # include <assert.h>
35111 #endif
35113 #undef $ac_func
35115 /* Override any gcc2 internal prototype to avoid an error. */
35116 #ifdef __cplusplus
35117 extern "C"
35119 #endif
35120 /* We use char because int might match the return type of a gcc2
35121 builtin and then its argument prototype would still apply. */
35122 char $ac_func ();
35123 /* The GNU C library defines this for functions which it implements
35124 to always fail with ENOSYS. Some functions are actually named
35125 something starting with __ and the normal name is an alias. */
35126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35127 choke me
35128 #else
35129 char (*f) () = $ac_func;
35130 #endif
35131 #ifdef __cplusplus
35133 #endif
35136 main ()
35138 return f != $ac_func;
35140 return 0;
35142 _ACEOF
35143 rm -f conftest.$ac_objext conftest$ac_exeext
35144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35145 (eval $ac_link) 2>conftest.er1
35146 ac_status=$?
35147 grep -v '^ *+' conftest.er1 >conftest.err
35148 rm -f conftest.er1
35149 cat conftest.err >&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } &&
35152 { ac_try='test -z "$ac_c_werror_flag"
35153 || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35156 ac_status=$?
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try='test -s conftest$ac_exeext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 eval "$as_ac_var=yes"
35166 else
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35170 eval "$as_ac_var=no"
35172 rm -f conftest.err conftest.$ac_objext \
35173 conftest$ac_exeext conftest.$ac_ext
35175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35177 if test `eval echo '${'$as_ac_var'}'` = yes; then
35178 cat >>confdefs.h <<_ACEOF
35179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35180 _ACEOF
35183 done
35185 else
35187 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35188 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35189 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35190 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35191 echo $ECHO_N "(cached) $ECHO_C" >&6
35192 else
35196 ac_ext=cc
35197 ac_cpp='$CXXCPP $CPPFLAGS'
35198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35202 cat >conftest.$ac_ext <<_ACEOF
35203 /* confdefs.h. */
35204 _ACEOF
35205 cat confdefs.h >>conftest.$ac_ext
35206 cat >>conftest.$ac_ext <<_ACEOF
35207 /* end confdefs.h. */
35208 #include <math.h>
35209 #ifdef HAVE_IEEEFP_H
35210 #include <ieeefp.h>
35211 #endif
35214 main ()
35216 _isinff(0);
35218 return 0;
35220 _ACEOF
35221 rm -f conftest.$ac_objext
35222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35223 (eval $ac_compile) 2>conftest.er1
35224 ac_status=$?
35225 grep -v '^ *+' conftest.er1 >conftest.err
35226 rm -f conftest.er1
35227 cat conftest.err >&5
35228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229 (exit $ac_status); } &&
35230 { ac_try='test -z "$ac_cxx_werror_flag"
35231 || test ! -s conftest.err'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35234 ac_status=$?
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; } &&
35237 { ac_try='test -s conftest.$ac_objext'
35238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35239 (eval $ac_try) 2>&5
35240 ac_status=$?
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); }; }; then
35243 glibcxx_cv_func__isinff_use=yes
35244 else
35245 echo "$as_me: failed program was:" >&5
35246 sed 's/^/| /' conftest.$ac_ext >&5
35248 glibcxx_cv_func__isinff_use=no
35250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35251 ac_ext=c
35252 ac_cpp='$CPP $CPPFLAGS'
35253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35262 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35264 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35266 for ac_func in _isinff
35268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35269 echo "$as_me:$LINENO: checking for $ac_func" >&5
35270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35271 if eval "test \"\${$as_ac_var+set}\" = set"; then
35272 echo $ECHO_N "(cached) $ECHO_C" >&6
35273 else
35274 if test x$gcc_no_link = xyes; then
35275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35277 { (exit 1); exit 1; }; }
35279 cat >conftest.$ac_ext <<_ACEOF
35280 /* confdefs.h. */
35281 _ACEOF
35282 cat confdefs.h >>conftest.$ac_ext
35283 cat >>conftest.$ac_ext <<_ACEOF
35284 /* end confdefs.h. */
35285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35287 #define $ac_func innocuous_$ac_func
35289 /* System header to define __stub macros and hopefully few prototypes,
35290 which can conflict with char $ac_func (); below.
35291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35292 <limits.h> exists even on freestanding compilers. */
35294 #ifdef __STDC__
35295 # include <limits.h>
35296 #else
35297 # include <assert.h>
35298 #endif
35300 #undef $ac_func
35302 /* Override any gcc2 internal prototype to avoid an error. */
35303 #ifdef __cplusplus
35304 extern "C"
35306 #endif
35307 /* We use char because int might match the return type of a gcc2
35308 builtin and then its argument prototype would still apply. */
35309 char $ac_func ();
35310 /* The GNU C library defines this for functions which it implements
35311 to always fail with ENOSYS. Some functions are actually named
35312 something starting with __ and the normal name is an alias. */
35313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35314 choke me
35315 #else
35316 char (*f) () = $ac_func;
35317 #endif
35318 #ifdef __cplusplus
35320 #endif
35323 main ()
35325 return f != $ac_func;
35327 return 0;
35329 _ACEOF
35330 rm -f conftest.$ac_objext conftest$ac_exeext
35331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35332 (eval $ac_link) 2>conftest.er1
35333 ac_status=$?
35334 grep -v '^ *+' conftest.er1 >conftest.err
35335 rm -f conftest.er1
35336 cat conftest.err >&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } &&
35339 { ac_try='test -z "$ac_c_werror_flag"
35340 || test ! -s conftest.err'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; } &&
35346 { ac_try='test -s conftest$ac_exeext'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35349 ac_status=$?
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; }; then
35352 eval "$as_ac_var=yes"
35353 else
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35357 eval "$as_ac_var=no"
35359 rm -f conftest.err conftest.$ac_objext \
35360 conftest$ac_exeext conftest.$ac_ext
35362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35364 if test `eval echo '${'$as_ac_var'}'` = yes; then
35365 cat >>confdefs.h <<_ACEOF
35366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35367 _ACEOF
35370 done
35377 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35378 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35379 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35380 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 else
35386 ac_ext=cc
35387 ac_cpp='$CXXCPP $CPPFLAGS'
35388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35392 cat >conftest.$ac_ext <<_ACEOF
35393 /* confdefs.h. */
35394 _ACEOF
35395 cat confdefs.h >>conftest.$ac_ext
35396 cat >>conftest.$ac_ext <<_ACEOF
35397 /* end confdefs.h. */
35398 #include <math.h>
35400 main ()
35402 atan2f(0, 0);
35404 return 0;
35406 _ACEOF
35407 rm -f conftest.$ac_objext
35408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35409 (eval $ac_compile) 2>conftest.er1
35410 ac_status=$?
35411 grep -v '^ *+' conftest.er1 >conftest.err
35412 rm -f conftest.er1
35413 cat conftest.err >&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); } &&
35416 { ac_try='test -z "$ac_cxx_werror_flag"
35417 || test ! -s conftest.err'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35420 ac_status=$?
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; } &&
35423 { ac_try='test -s conftest.$ac_objext'
35424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35425 (eval $ac_try) 2>&5
35426 ac_status=$?
35427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35428 (exit $ac_status); }; }; then
35429 glibcxx_cv_func_atan2f_use=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 glibcxx_cv_func_atan2f_use=no
35436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35437 ac_ext=c
35438 ac_cpp='$CPP $CPPFLAGS'
35439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35448 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35450 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35452 for ac_func in atan2f
35454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35455 echo "$as_me:$LINENO: checking for $ac_func" >&5
35456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35457 if eval "test \"\${$as_ac_var+set}\" = set"; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35460 if test x$gcc_no_link = xyes; then
35461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35463 { (exit 1); exit 1; }; }
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35473 #define $ac_func innocuous_$ac_func
35475 /* System header to define __stub macros and hopefully few prototypes,
35476 which can conflict with char $ac_func (); below.
35477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35478 <limits.h> exists even on freestanding compilers. */
35480 #ifdef __STDC__
35481 # include <limits.h>
35482 #else
35483 # include <assert.h>
35484 #endif
35486 #undef $ac_func
35488 /* Override any gcc2 internal prototype to avoid an error. */
35489 #ifdef __cplusplus
35490 extern "C"
35492 #endif
35493 /* We use char because int might match the return type of a gcc2
35494 builtin and then its argument prototype would still apply. */
35495 char $ac_func ();
35496 /* The GNU C library defines this for functions which it implements
35497 to always fail with ENOSYS. Some functions are actually named
35498 something starting with __ and the normal name is an alias. */
35499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35500 choke me
35501 #else
35502 char (*f) () = $ac_func;
35503 #endif
35504 #ifdef __cplusplus
35506 #endif
35509 main ()
35511 return f != $ac_func;
35513 return 0;
35515 _ACEOF
35516 rm -f conftest.$ac_objext conftest$ac_exeext
35517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35518 (eval $ac_link) 2>conftest.er1
35519 ac_status=$?
35520 grep -v '^ *+' conftest.er1 >conftest.err
35521 rm -f conftest.er1
35522 cat conftest.err >&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); } &&
35525 { ac_try='test -z "$ac_c_werror_flag"
35526 || test ! -s conftest.err'
35527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35528 (eval $ac_try) 2>&5
35529 ac_status=$?
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); }; } &&
35532 { ac_try='test -s conftest$ac_exeext'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35535 ac_status=$?
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; }; then
35538 eval "$as_ac_var=yes"
35539 else
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.$ac_ext >&5
35543 eval "$as_ac_var=no"
35545 rm -f conftest.err conftest.$ac_objext \
35546 conftest$ac_exeext conftest.$ac_ext
35548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35550 if test `eval echo '${'$as_ac_var'}'` = yes; then
35551 cat >>confdefs.h <<_ACEOF
35552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35553 _ACEOF
35556 done
35558 else
35560 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
35561 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
35562 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35563 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 else
35569 ac_ext=cc
35570 ac_cpp='$CXXCPP $CPPFLAGS'
35571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35575 cat >conftest.$ac_ext <<_ACEOF
35576 /* confdefs.h. */
35577 _ACEOF
35578 cat confdefs.h >>conftest.$ac_ext
35579 cat >>conftest.$ac_ext <<_ACEOF
35580 /* end confdefs.h. */
35581 #include <math.h>
35583 main ()
35585 _atan2f(0, 0);
35587 return 0;
35589 _ACEOF
35590 rm -f conftest.$ac_objext
35591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35592 (eval $ac_compile) 2>conftest.er1
35593 ac_status=$?
35594 grep -v '^ *+' conftest.er1 >conftest.err
35595 rm -f conftest.er1
35596 cat conftest.err >&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); } &&
35599 { ac_try='test -z "$ac_cxx_werror_flag"
35600 || test ! -s conftest.err'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; } &&
35606 { ac_try='test -s conftest.$ac_objext'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35609 ac_status=$?
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; }; then
35612 glibcxx_cv_func__atan2f_use=yes
35613 else
35614 echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.$ac_ext >&5
35617 glibcxx_cv_func__atan2f_use=no
35619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35620 ac_ext=c
35621 ac_cpp='$CPP $CPPFLAGS'
35622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
35631 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
35633 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35635 for ac_func in _atan2f
35637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35638 echo "$as_me:$LINENO: checking for $ac_func" >&5
35639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35640 if eval "test \"\${$as_ac_var+set}\" = set"; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 else
35643 if test x$gcc_no_link = xyes; then
35644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35646 { (exit 1); exit 1; }; }
35648 cat >conftest.$ac_ext <<_ACEOF
35649 /* confdefs.h. */
35650 _ACEOF
35651 cat confdefs.h >>conftest.$ac_ext
35652 cat >>conftest.$ac_ext <<_ACEOF
35653 /* end confdefs.h. */
35654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35656 #define $ac_func innocuous_$ac_func
35658 /* System header to define __stub macros and hopefully few prototypes,
35659 which can conflict with char $ac_func (); below.
35660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35661 <limits.h> exists even on freestanding compilers. */
35663 #ifdef __STDC__
35664 # include <limits.h>
35665 #else
35666 # include <assert.h>
35667 #endif
35669 #undef $ac_func
35671 /* Override any gcc2 internal prototype to avoid an error. */
35672 #ifdef __cplusplus
35673 extern "C"
35675 #endif
35676 /* We use char because int might match the return type of a gcc2
35677 builtin and then its argument prototype would still apply. */
35678 char $ac_func ();
35679 /* The GNU C library defines this for functions which it implements
35680 to always fail with ENOSYS. Some functions are actually named
35681 something starting with __ and the normal name is an alias. */
35682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35683 choke me
35684 #else
35685 char (*f) () = $ac_func;
35686 #endif
35687 #ifdef __cplusplus
35689 #endif
35692 main ()
35694 return f != $ac_func;
35696 return 0;
35698 _ACEOF
35699 rm -f conftest.$ac_objext conftest$ac_exeext
35700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35701 (eval $ac_link) 2>conftest.er1
35702 ac_status=$?
35703 grep -v '^ *+' conftest.er1 >conftest.err
35704 rm -f conftest.er1
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } &&
35708 { ac_try='test -z "$ac_c_werror_flag"
35709 || test ! -s conftest.err'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; } &&
35715 { ac_try='test -s conftest$ac_exeext'
35716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717 (eval $ac_try) 2>&5
35718 ac_status=$?
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); }; }; then
35721 eval "$as_ac_var=yes"
35722 else
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35726 eval "$as_ac_var=no"
35728 rm -f conftest.err conftest.$ac_objext \
35729 conftest$ac_exeext conftest.$ac_ext
35731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35733 if test `eval echo '${'$as_ac_var'}'` = yes; then
35734 cat >>confdefs.h <<_ACEOF
35735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35736 _ACEOF
35739 done
35746 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
35747 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
35748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35751 else
35755 ac_ext=cc
35756 ac_cpp='$CXXCPP $CPPFLAGS'
35757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35761 cat >conftest.$ac_ext <<_ACEOF
35762 /* confdefs.h. */
35763 _ACEOF
35764 cat confdefs.h >>conftest.$ac_ext
35765 cat >>conftest.$ac_ext <<_ACEOF
35766 /* end confdefs.h. */
35767 #include <math.h>
35768 #ifdef HAVE_IEEEFP_H
35769 #include <ieeefp.h>
35770 #endif
35773 main ()
35775 fabsf(0);
35777 return 0;
35779 _ACEOF
35780 rm -f conftest.$ac_objext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35782 (eval $ac_compile) 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try='test -z "$ac_cxx_werror_flag"
35790 || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try='test -s conftest.$ac_objext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 glibcxx_cv_func_fabsf_use=yes
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35807 glibcxx_cv_func_fabsf_use=no
35809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35810 ac_ext=c
35811 ac_cpp='$CPP $CPPFLAGS'
35812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
35821 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
35823 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35825 for ac_func in fabsf
35827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35828 echo "$as_me:$LINENO: checking for $ac_func" >&5
35829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35830 if eval "test \"\${$as_ac_var+set}\" = set"; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 else
35833 if test x$gcc_no_link = xyes; then
35834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35836 { (exit 1); exit 1; }; }
35838 cat >conftest.$ac_ext <<_ACEOF
35839 /* confdefs.h. */
35840 _ACEOF
35841 cat confdefs.h >>conftest.$ac_ext
35842 cat >>conftest.$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35846 #define $ac_func innocuous_$ac_func
35848 /* System header to define __stub macros and hopefully few prototypes,
35849 which can conflict with char $ac_func (); below.
35850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35851 <limits.h> exists even on freestanding compilers. */
35853 #ifdef __STDC__
35854 # include <limits.h>
35855 #else
35856 # include <assert.h>
35857 #endif
35859 #undef $ac_func
35861 /* Override any gcc2 internal prototype to avoid an error. */
35862 #ifdef __cplusplus
35863 extern "C"
35865 #endif
35866 /* We use char because int might match the return type of a gcc2
35867 builtin and then its argument prototype would still apply. */
35868 char $ac_func ();
35869 /* The GNU C library defines this for functions which it implements
35870 to always fail with ENOSYS. Some functions are actually named
35871 something starting with __ and the normal name is an alias. */
35872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35873 choke me
35874 #else
35875 char (*f) () = $ac_func;
35876 #endif
35877 #ifdef __cplusplus
35879 #endif
35882 main ()
35884 return f != $ac_func;
35886 return 0;
35888 _ACEOF
35889 rm -f conftest.$ac_objext conftest$ac_exeext
35890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35891 (eval $ac_link) 2>conftest.er1
35892 ac_status=$?
35893 grep -v '^ *+' conftest.er1 >conftest.err
35894 rm -f conftest.er1
35895 cat conftest.err >&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); } &&
35898 { ac_try='test -z "$ac_c_werror_flag"
35899 || test ! -s conftest.err'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try='test -s conftest$ac_exeext'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35908 ac_status=$?
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; }; then
35911 eval "$as_ac_var=yes"
35912 else
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35916 eval "$as_ac_var=no"
35918 rm -f conftest.err conftest.$ac_objext \
35919 conftest$ac_exeext conftest.$ac_ext
35921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35923 if test `eval echo '${'$as_ac_var'}'` = yes; then
35924 cat >>confdefs.h <<_ACEOF
35925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35926 _ACEOF
35929 done
35931 else
35933 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
35934 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
35935 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35936 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
35937 echo $ECHO_N "(cached) $ECHO_C" >&6
35938 else
35942 ac_ext=cc
35943 ac_cpp='$CXXCPP $CPPFLAGS'
35944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35948 cat >conftest.$ac_ext <<_ACEOF
35949 /* confdefs.h. */
35950 _ACEOF
35951 cat confdefs.h >>conftest.$ac_ext
35952 cat >>conftest.$ac_ext <<_ACEOF
35953 /* end confdefs.h. */
35954 #include <math.h>
35955 #ifdef HAVE_IEEEFP_H
35956 #include <ieeefp.h>
35957 #endif
35960 main ()
35962 _fabsf(0);
35964 return 0;
35966 _ACEOF
35967 rm -f conftest.$ac_objext
35968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35969 (eval $ac_compile) 2>conftest.er1
35970 ac_status=$?
35971 grep -v '^ *+' conftest.er1 >conftest.err
35972 rm -f conftest.er1
35973 cat conftest.err >&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } &&
35976 { ac_try='test -z "$ac_cxx_werror_flag"
35977 || test ! -s conftest.err'
35978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35979 (eval $ac_try) 2>&5
35980 ac_status=$?
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); }; } &&
35983 { ac_try='test -s conftest.$ac_objext'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35986 ac_status=$?
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; }; then
35989 glibcxx_cv_func__fabsf_use=yes
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35994 glibcxx_cv_func__fabsf_use=no
35996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35997 ac_ext=c
35998 ac_cpp='$CPP $CPPFLAGS'
35999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36007 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36008 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36010 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36012 for ac_func in _fabsf
36014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36015 echo "$as_me:$LINENO: checking for $ac_func" >&5
36016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36017 if eval "test \"\${$as_ac_var+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36019 else
36020 if test x$gcc_no_link = xyes; then
36021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36023 { (exit 1); exit 1; }; }
36025 cat >conftest.$ac_ext <<_ACEOF
36026 /* confdefs.h. */
36027 _ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36033 #define $ac_func innocuous_$ac_func
36035 /* System header to define __stub macros and hopefully few prototypes,
36036 which can conflict with char $ac_func (); below.
36037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36038 <limits.h> exists even on freestanding compilers. */
36040 #ifdef __STDC__
36041 # include <limits.h>
36042 #else
36043 # include <assert.h>
36044 #endif
36046 #undef $ac_func
36048 /* Override any gcc2 internal prototype to avoid an error. */
36049 #ifdef __cplusplus
36050 extern "C"
36052 #endif
36053 /* We use char because int might match the return type of a gcc2
36054 builtin and then its argument prototype would still apply. */
36055 char $ac_func ();
36056 /* The GNU C library defines this for functions which it implements
36057 to always fail with ENOSYS. Some functions are actually named
36058 something starting with __ and the normal name is an alias. */
36059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36060 choke me
36061 #else
36062 char (*f) () = $ac_func;
36063 #endif
36064 #ifdef __cplusplus
36066 #endif
36069 main ()
36071 return f != $ac_func;
36073 return 0;
36075 _ACEOF
36076 rm -f conftest.$ac_objext conftest$ac_exeext
36077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36078 (eval $ac_link) 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } &&
36085 { ac_try='test -z "$ac_c_werror_flag"
36086 || test ! -s conftest.err'
36087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088 (eval $ac_try) 2>&5
36089 ac_status=$?
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); }; } &&
36092 { ac_try='test -s conftest$ac_exeext'
36093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094 (eval $ac_try) 2>&5
36095 ac_status=$?
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); }; }; then
36098 eval "$as_ac_var=yes"
36099 else
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36103 eval "$as_ac_var=no"
36105 rm -f conftest.err conftest.$ac_objext \
36106 conftest$ac_exeext conftest.$ac_ext
36108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36110 if test `eval echo '${'$as_ac_var'}'` = yes; then
36111 cat >>confdefs.h <<_ACEOF
36112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36113 _ACEOF
36116 done
36123 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36124 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36125 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36126 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36132 ac_ext=cc
36133 ac_cpp='$CXXCPP $CPPFLAGS'
36134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <math.h>
36146 main ()
36148 fmodf(0, 0);
36150 return 0;
36152 _ACEOF
36153 rm -f conftest.$ac_objext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36155 (eval $ac_compile) 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_cxx_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest.$ac_objext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 glibcxx_cv_func_fmodf_use=yes
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36180 glibcxx_cv_func_fmodf_use=no
36182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36183 ac_ext=c
36184 ac_cpp='$CPP $CPPFLAGS'
36185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36194 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36196 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36198 for ac_func in fmodf
36200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36201 echo "$as_me:$LINENO: checking for $ac_func" >&5
36202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36203 if eval "test \"\${$as_ac_var+set}\" = set"; then
36204 echo $ECHO_N "(cached) $ECHO_C" >&6
36205 else
36206 if test x$gcc_no_link = xyes; then
36207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36209 { (exit 1); exit 1; }; }
36211 cat >conftest.$ac_ext <<_ACEOF
36212 /* confdefs.h. */
36213 _ACEOF
36214 cat confdefs.h >>conftest.$ac_ext
36215 cat >>conftest.$ac_ext <<_ACEOF
36216 /* end confdefs.h. */
36217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36219 #define $ac_func innocuous_$ac_func
36221 /* System header to define __stub macros and hopefully few prototypes,
36222 which can conflict with char $ac_func (); below.
36223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36224 <limits.h> exists even on freestanding compilers. */
36226 #ifdef __STDC__
36227 # include <limits.h>
36228 #else
36229 # include <assert.h>
36230 #endif
36232 #undef $ac_func
36234 /* Override any gcc2 internal prototype to avoid an error. */
36235 #ifdef __cplusplus
36236 extern "C"
36238 #endif
36239 /* We use char because int might match the return type of a gcc2
36240 builtin and then its argument prototype would still apply. */
36241 char $ac_func ();
36242 /* The GNU C library defines this for functions which it implements
36243 to always fail with ENOSYS. Some functions are actually named
36244 something starting with __ and the normal name is an alias. */
36245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36246 choke me
36247 #else
36248 char (*f) () = $ac_func;
36249 #endif
36250 #ifdef __cplusplus
36252 #endif
36255 main ()
36257 return f != $ac_func;
36259 return 0;
36261 _ACEOF
36262 rm -f conftest.$ac_objext conftest$ac_exeext
36263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36264 (eval $ac_link) 2>conftest.er1
36265 ac_status=$?
36266 grep -v '^ *+' conftest.er1 >conftest.err
36267 rm -f conftest.er1
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } &&
36271 { ac_try='test -z "$ac_c_werror_flag"
36272 || test ! -s conftest.err'
36273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36274 (eval $ac_try) 2>&5
36275 ac_status=$?
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); }; } &&
36278 { ac_try='test -s conftest$ac_exeext'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36281 ac_status=$?
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; }; then
36284 eval "$as_ac_var=yes"
36285 else
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36289 eval "$as_ac_var=no"
36291 rm -f conftest.err conftest.$ac_objext \
36292 conftest$ac_exeext conftest.$ac_ext
36294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36296 if test `eval echo '${'$as_ac_var'}'` = yes; then
36297 cat >>confdefs.h <<_ACEOF
36298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36299 _ACEOF
36302 done
36304 else
36306 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36307 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36308 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36309 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36310 echo $ECHO_N "(cached) $ECHO_C" >&6
36311 else
36315 ac_ext=cc
36316 ac_cpp='$CXXCPP $CPPFLAGS'
36317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36321 cat >conftest.$ac_ext <<_ACEOF
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 #include <math.h>
36329 main ()
36331 _fmodf(0, 0);
36333 return 0;
36335 _ACEOF
36336 rm -f conftest.$ac_objext
36337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36338 (eval $ac_compile) 2>conftest.er1
36339 ac_status=$?
36340 grep -v '^ *+' conftest.er1 >conftest.err
36341 rm -f conftest.er1
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } &&
36345 { ac_try='test -z "$ac_cxx_werror_flag"
36346 || test ! -s conftest.err'
36347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348 (eval $ac_try) 2>&5
36349 ac_status=$?
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); }; } &&
36352 { ac_try='test -s conftest.$ac_objext'
36353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354 (eval $ac_try) 2>&5
36355 ac_status=$?
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); }; }; then
36358 glibcxx_cv_func__fmodf_use=yes
36359 else
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36363 glibcxx_cv_func__fmodf_use=no
36365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36366 ac_ext=c
36367 ac_cpp='$CPP $CPPFLAGS'
36368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36377 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36379 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36381 for ac_func in _fmodf
36383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36384 echo "$as_me:$LINENO: checking for $ac_func" >&5
36385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36386 if eval "test \"\${$as_ac_var+set}\" = set"; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36388 else
36389 if test x$gcc_no_link = xyes; then
36390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36392 { (exit 1); exit 1; }; }
36394 cat >conftest.$ac_ext <<_ACEOF
36395 /* confdefs.h. */
36396 _ACEOF
36397 cat confdefs.h >>conftest.$ac_ext
36398 cat >>conftest.$ac_ext <<_ACEOF
36399 /* end confdefs.h. */
36400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36402 #define $ac_func innocuous_$ac_func
36404 /* System header to define __stub macros and hopefully few prototypes,
36405 which can conflict with char $ac_func (); below.
36406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36407 <limits.h> exists even on freestanding compilers. */
36409 #ifdef __STDC__
36410 # include <limits.h>
36411 #else
36412 # include <assert.h>
36413 #endif
36415 #undef $ac_func
36417 /* Override any gcc2 internal prototype to avoid an error. */
36418 #ifdef __cplusplus
36419 extern "C"
36421 #endif
36422 /* We use char because int might match the return type of a gcc2
36423 builtin and then its argument prototype would still apply. */
36424 char $ac_func ();
36425 /* The GNU C library defines this for functions which it implements
36426 to always fail with ENOSYS. Some functions are actually named
36427 something starting with __ and the normal name is an alias. */
36428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36429 choke me
36430 #else
36431 char (*f) () = $ac_func;
36432 #endif
36433 #ifdef __cplusplus
36435 #endif
36438 main ()
36440 return f != $ac_func;
36442 return 0;
36444 _ACEOF
36445 rm -f conftest.$ac_objext conftest$ac_exeext
36446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36447 (eval $ac_link) 2>conftest.er1
36448 ac_status=$?
36449 grep -v '^ *+' conftest.er1 >conftest.err
36450 rm -f conftest.er1
36451 cat conftest.err >&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } &&
36454 { ac_try='test -z "$ac_c_werror_flag"
36455 || test ! -s conftest.err'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36458 ac_status=$?
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; } &&
36461 { ac_try='test -s conftest$ac_exeext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36464 ac_status=$?
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 eval "$as_ac_var=yes"
36468 else
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.$ac_ext >&5
36472 eval "$as_ac_var=no"
36474 rm -f conftest.err conftest.$ac_objext \
36475 conftest$ac_exeext conftest.$ac_ext
36477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36479 if test `eval echo '${'$as_ac_var'}'` = yes; then
36480 cat >>confdefs.h <<_ACEOF
36481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36482 _ACEOF
36485 done
36492 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
36493 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
36494 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36495 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
36496 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 else
36501 ac_ext=cc
36502 ac_cpp='$CXXCPP $CPPFLAGS'
36503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36507 cat >conftest.$ac_ext <<_ACEOF
36508 /* confdefs.h. */
36509 _ACEOF
36510 cat confdefs.h >>conftest.$ac_ext
36511 cat >>conftest.$ac_ext <<_ACEOF
36512 /* end confdefs.h. */
36513 #include <math.h>
36515 main ()
36517 frexpf(0, 0);
36519 return 0;
36521 _ACEOF
36522 rm -f conftest.$ac_objext
36523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36524 (eval $ac_compile) 2>conftest.er1
36525 ac_status=$?
36526 grep -v '^ *+' conftest.er1 >conftest.err
36527 rm -f conftest.er1
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } &&
36531 { ac_try='test -z "$ac_cxx_werror_flag"
36532 || test ! -s conftest.err'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36535 ac_status=$?
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; } &&
36538 { ac_try='test -s conftest.$ac_objext'
36539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36540 (eval $ac_try) 2>&5
36541 ac_status=$?
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); }; }; then
36544 glibcxx_cv_func_frexpf_use=yes
36545 else
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36549 glibcxx_cv_func_frexpf_use=no
36551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36552 ac_ext=c
36553 ac_cpp='$CPP $CPPFLAGS'
36554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
36563 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
36565 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36567 for ac_func in frexpf
36569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36572 if eval "test \"\${$as_ac_var+set}\" = set"; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36574 else
36575 if test x$gcc_no_link = xyes; then
36576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36578 { (exit 1); exit 1; }; }
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36588 #define $ac_func innocuous_$ac_func
36590 /* System header to define __stub macros and hopefully few prototypes,
36591 which can conflict with char $ac_func (); below.
36592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36593 <limits.h> exists even on freestanding compilers. */
36595 #ifdef __STDC__
36596 # include <limits.h>
36597 #else
36598 # include <assert.h>
36599 #endif
36601 #undef $ac_func
36603 /* Override any gcc2 internal prototype to avoid an error. */
36604 #ifdef __cplusplus
36605 extern "C"
36607 #endif
36608 /* We use char because int might match the return type of a gcc2
36609 builtin and then its argument prototype would still apply. */
36610 char $ac_func ();
36611 /* The GNU C library defines this for functions which it implements
36612 to always fail with ENOSYS. Some functions are actually named
36613 something starting with __ and the normal name is an alias. */
36614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36615 choke me
36616 #else
36617 char (*f) () = $ac_func;
36618 #endif
36619 #ifdef __cplusplus
36621 #endif
36624 main ()
36626 return f != $ac_func;
36628 return 0;
36630 _ACEOF
36631 rm -f conftest.$ac_objext conftest$ac_exeext
36632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36633 (eval $ac_link) 2>conftest.er1
36634 ac_status=$?
36635 grep -v '^ *+' conftest.er1 >conftest.err
36636 rm -f conftest.er1
36637 cat conftest.err >&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); } &&
36640 { ac_try='test -z "$ac_c_werror_flag"
36641 || test ! -s conftest.err'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36644 ac_status=$?
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; } &&
36647 { ac_try='test -s conftest$ac_exeext'
36648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649 (eval $ac_try) 2>&5
36650 ac_status=$?
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; }; then
36653 eval "$as_ac_var=yes"
36654 else
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.$ac_ext >&5
36658 eval "$as_ac_var=no"
36660 rm -f conftest.err conftest.$ac_objext \
36661 conftest$ac_exeext conftest.$ac_ext
36663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36665 if test `eval echo '${'$as_ac_var'}'` = yes; then
36666 cat >>confdefs.h <<_ACEOF
36667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 _ACEOF
36671 done
36673 else
36675 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
36676 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
36677 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36678 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
36679 echo $ECHO_N "(cached) $ECHO_C" >&6
36680 else
36684 ac_ext=cc
36685 ac_cpp='$CXXCPP $CPPFLAGS'
36686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36690 cat >conftest.$ac_ext <<_ACEOF
36691 /* confdefs.h. */
36692 _ACEOF
36693 cat confdefs.h >>conftest.$ac_ext
36694 cat >>conftest.$ac_ext <<_ACEOF
36695 /* end confdefs.h. */
36696 #include <math.h>
36698 main ()
36700 _frexpf(0, 0);
36702 return 0;
36704 _ACEOF
36705 rm -f conftest.$ac_objext
36706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36707 (eval $ac_compile) 2>conftest.er1
36708 ac_status=$?
36709 grep -v '^ *+' conftest.er1 >conftest.err
36710 rm -f conftest.er1
36711 cat conftest.err >&5
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); } &&
36714 { ac_try='test -z "$ac_cxx_werror_flag"
36715 || test ! -s conftest.err'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; } &&
36721 { ac_try='test -s conftest.$ac_objext'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36724 ac_status=$?
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36727 glibcxx_cv_func__frexpf_use=yes
36728 else
36729 echo "$as_me: failed program was:" >&5
36730 sed 's/^/| /' conftest.$ac_ext >&5
36732 glibcxx_cv_func__frexpf_use=no
36734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36735 ac_ext=c
36736 ac_cpp='$CPP $CPPFLAGS'
36737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
36746 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
36748 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36750 for ac_func in _frexpf
36752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36753 echo "$as_me:$LINENO: checking for $ac_func" >&5
36754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36755 if eval "test \"\${$as_ac_var+set}\" = set"; then
36756 echo $ECHO_N "(cached) $ECHO_C" >&6
36757 else
36758 if test x$gcc_no_link = xyes; then
36759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36761 { (exit 1); exit 1; }; }
36763 cat >conftest.$ac_ext <<_ACEOF
36764 /* confdefs.h. */
36765 _ACEOF
36766 cat confdefs.h >>conftest.$ac_ext
36767 cat >>conftest.$ac_ext <<_ACEOF
36768 /* end confdefs.h. */
36769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36771 #define $ac_func innocuous_$ac_func
36773 /* System header to define __stub macros and hopefully few prototypes,
36774 which can conflict with char $ac_func (); below.
36775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36776 <limits.h> exists even on freestanding compilers. */
36778 #ifdef __STDC__
36779 # include <limits.h>
36780 #else
36781 # include <assert.h>
36782 #endif
36784 #undef $ac_func
36786 /* Override any gcc2 internal prototype to avoid an error. */
36787 #ifdef __cplusplus
36788 extern "C"
36790 #endif
36791 /* We use char because int might match the return type of a gcc2
36792 builtin and then its argument prototype would still apply. */
36793 char $ac_func ();
36794 /* The GNU C library defines this for functions which it implements
36795 to always fail with ENOSYS. Some functions are actually named
36796 something starting with __ and the normal name is an alias. */
36797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36798 choke me
36799 #else
36800 char (*f) () = $ac_func;
36801 #endif
36802 #ifdef __cplusplus
36804 #endif
36807 main ()
36809 return f != $ac_func;
36811 return 0;
36813 _ACEOF
36814 rm -f conftest.$ac_objext conftest$ac_exeext
36815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36816 (eval $ac_link) 2>conftest.er1
36817 ac_status=$?
36818 grep -v '^ *+' conftest.er1 >conftest.err
36819 rm -f conftest.er1
36820 cat conftest.err >&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); } &&
36823 { ac_try='test -z "$ac_c_werror_flag"
36824 || test ! -s conftest.err'
36825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36826 (eval $ac_try) 2>&5
36827 ac_status=$?
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); }; } &&
36830 { ac_try='test -s conftest$ac_exeext'
36831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36832 (eval $ac_try) 2>&5
36833 ac_status=$?
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); }; }; then
36836 eval "$as_ac_var=yes"
36837 else
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36841 eval "$as_ac_var=no"
36843 rm -f conftest.err conftest.$ac_objext \
36844 conftest$ac_exeext conftest.$ac_ext
36846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36848 if test `eval echo '${'$as_ac_var'}'` = yes; then
36849 cat >>confdefs.h <<_ACEOF
36850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36851 _ACEOF
36854 done
36861 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
36862 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
36863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
36865 echo $ECHO_N "(cached) $ECHO_C" >&6
36866 else
36870 ac_ext=cc
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876 cat >conftest.$ac_ext <<_ACEOF
36877 /* confdefs.h. */
36878 _ACEOF
36879 cat confdefs.h >>conftest.$ac_ext
36880 cat >>conftest.$ac_ext <<_ACEOF
36881 /* end confdefs.h. */
36882 #include <math.h>
36884 main ()
36886 hypotf(0, 0);
36888 return 0;
36890 _ACEOF
36891 rm -f conftest.$ac_objext
36892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36893 (eval $ac_compile) 2>conftest.er1
36894 ac_status=$?
36895 grep -v '^ *+' conftest.er1 >conftest.err
36896 rm -f conftest.er1
36897 cat conftest.err >&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); } &&
36900 { ac_try='test -z "$ac_cxx_werror_flag"
36901 || test ! -s conftest.err'
36902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903 (eval $ac_try) 2>&5
36904 ac_status=$?
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); }; } &&
36907 { ac_try='test -s conftest.$ac_objext'
36908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909 (eval $ac_try) 2>&5
36910 ac_status=$?
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); }; }; then
36913 glibcxx_cv_func_hypotf_use=yes
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36918 glibcxx_cv_func_hypotf_use=no
36920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36921 ac_ext=c
36922 ac_cpp='$CPP $CPPFLAGS'
36923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
36932 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
36934 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36936 for ac_func in hypotf
36938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36939 echo "$as_me:$LINENO: checking for $ac_func" >&5
36940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36941 if eval "test \"\${$as_ac_var+set}\" = set"; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944 if test x$gcc_no_link = xyes; then
36945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36947 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36957 #define $ac_func innocuous_$ac_func
36959 /* System header to define __stub macros and hopefully few prototypes,
36960 which can conflict with char $ac_func (); below.
36961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36962 <limits.h> exists even on freestanding compilers. */
36964 #ifdef __STDC__
36965 # include <limits.h>
36966 #else
36967 # include <assert.h>
36968 #endif
36970 #undef $ac_func
36972 /* Override any gcc2 internal prototype to avoid an error. */
36973 #ifdef __cplusplus
36974 extern "C"
36976 #endif
36977 /* We use char because int might match the return type of a gcc2
36978 builtin and then its argument prototype would still apply. */
36979 char $ac_func ();
36980 /* The GNU C library defines this for functions which it implements
36981 to always fail with ENOSYS. Some functions are actually named
36982 something starting with __ and the normal name is an alias. */
36983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36984 choke me
36985 #else
36986 char (*f) () = $ac_func;
36987 #endif
36988 #ifdef __cplusplus
36990 #endif
36993 main ()
36995 return f != $ac_func;
36997 return 0;
36999 _ACEOF
37000 rm -f conftest.$ac_objext conftest$ac_exeext
37001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37002 (eval $ac_link) 2>conftest.er1
37003 ac_status=$?
37004 grep -v '^ *+' conftest.er1 >conftest.err
37005 rm -f conftest.er1
37006 cat conftest.err >&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } &&
37009 { ac_try='test -z "$ac_c_werror_flag"
37010 || test ! -s conftest.err'
37011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37012 (eval $ac_try) 2>&5
37013 ac_status=$?
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); }; } &&
37016 { ac_try='test -s conftest$ac_exeext'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37019 ac_status=$?
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; }; then
37022 eval "$as_ac_var=yes"
37023 else
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.$ac_ext >&5
37027 eval "$as_ac_var=no"
37029 rm -f conftest.err conftest.$ac_objext \
37030 conftest$ac_exeext conftest.$ac_ext
37032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37034 if test `eval echo '${'$as_ac_var'}'` = yes; then
37035 cat >>confdefs.h <<_ACEOF
37036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37037 _ACEOF
37040 done
37042 else
37044 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37045 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37046 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37047 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37048 echo $ECHO_N "(cached) $ECHO_C" >&6
37049 else
37053 ac_ext=cc
37054 ac_cpp='$CXXCPP $CPPFLAGS'
37055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37059 cat >conftest.$ac_ext <<_ACEOF
37060 /* confdefs.h. */
37061 _ACEOF
37062 cat confdefs.h >>conftest.$ac_ext
37063 cat >>conftest.$ac_ext <<_ACEOF
37064 /* end confdefs.h. */
37065 #include <math.h>
37067 main ()
37069 _hypotf(0, 0);
37071 return 0;
37073 _ACEOF
37074 rm -f conftest.$ac_objext
37075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37076 (eval $ac_compile) 2>conftest.er1
37077 ac_status=$?
37078 grep -v '^ *+' conftest.er1 >conftest.err
37079 rm -f conftest.er1
37080 cat conftest.err >&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } &&
37083 { ac_try='test -z "$ac_cxx_werror_flag"
37084 || test ! -s conftest.err'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37087 ac_status=$?
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; } &&
37090 { ac_try='test -s conftest.$ac_objext'
37091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37092 (eval $ac_try) 2>&5
37093 ac_status=$?
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); }; }; then
37096 glibcxx_cv_func__hypotf_use=yes
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37101 glibcxx_cv_func__hypotf_use=no
37103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37104 ac_ext=c
37105 ac_cpp='$CPP $CPPFLAGS'
37106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37115 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37117 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37119 for ac_func in _hypotf
37121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 echo "$as_me:$LINENO: checking for $ac_func" >&5
37123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37124 if eval "test \"\${$as_ac_var+set}\" = set"; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 if test x$gcc_no_link = xyes; then
37128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37130 { (exit 1); exit 1; }; }
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37147 #ifdef __STDC__
37148 # include <limits.h>
37149 #else
37150 # include <assert.h>
37151 #endif
37153 #undef $ac_func
37155 /* Override any gcc2 internal prototype to avoid an error. */
37156 #ifdef __cplusplus
37157 extern "C"
37159 #endif
37160 /* We use char because int might match the return type of a gcc2
37161 builtin and then its argument prototype would still apply. */
37162 char $ac_func ();
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37167 choke me
37168 #else
37169 char (*f) () = $ac_func;
37170 #endif
37171 #ifdef __cplusplus
37173 #endif
37176 main ()
37178 return f != $ac_func;
37180 return 0;
37182 _ACEOF
37183 rm -f conftest.$ac_objext conftest$ac_exeext
37184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37185 (eval $ac_link) 2>conftest.er1
37186 ac_status=$?
37187 grep -v '^ *+' conftest.er1 >conftest.err
37188 rm -f conftest.er1
37189 cat conftest.err >&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } &&
37192 { ac_try='test -z "$ac_c_werror_flag"
37193 || test ! -s conftest.err'
37194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37195 (eval $ac_try) 2>&5
37196 ac_status=$?
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); }; } &&
37199 { ac_try='test -s conftest$ac_exeext'
37200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37201 (eval $ac_try) 2>&5
37202 ac_status=$?
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); }; }; then
37205 eval "$as_ac_var=yes"
37206 else
37207 echo "$as_me: failed program was:" >&5
37208 sed 's/^/| /' conftest.$ac_ext >&5
37210 eval "$as_ac_var=no"
37212 rm -f conftest.err conftest.$ac_objext \
37213 conftest$ac_exeext conftest.$ac_ext
37215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37217 if test `eval echo '${'$as_ac_var'}'` = yes; then
37218 cat >>confdefs.h <<_ACEOF
37219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37220 _ACEOF
37223 done
37230 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37231 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37232 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37233 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37234 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 else
37239 ac_ext=cc
37240 ac_cpp='$CXXCPP $CPPFLAGS'
37241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37245 cat >conftest.$ac_ext <<_ACEOF
37246 /* confdefs.h. */
37247 _ACEOF
37248 cat confdefs.h >>conftest.$ac_ext
37249 cat >>conftest.$ac_ext <<_ACEOF
37250 /* end confdefs.h. */
37251 #include <math.h>
37253 main ()
37255 ldexpf(0, 0);
37257 return 0;
37259 _ACEOF
37260 rm -f conftest.$ac_objext
37261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37262 (eval $ac_compile) 2>conftest.er1
37263 ac_status=$?
37264 grep -v '^ *+' conftest.er1 >conftest.err
37265 rm -f conftest.er1
37266 cat conftest.err >&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } &&
37269 { ac_try='test -z "$ac_cxx_werror_flag"
37270 || test ! -s conftest.err'
37271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272 (eval $ac_try) 2>&5
37273 ac_status=$?
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); }; } &&
37276 { ac_try='test -s conftest.$ac_objext'
37277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278 (eval $ac_try) 2>&5
37279 ac_status=$?
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); }; }; then
37282 glibcxx_cv_func_ldexpf_use=yes
37283 else
37284 echo "$as_me: failed program was:" >&5
37285 sed 's/^/| /' conftest.$ac_ext >&5
37287 glibcxx_cv_func_ldexpf_use=no
37289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37301 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37303 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37305 for ac_func in ldexpf
37307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37308 echo "$as_me:$LINENO: checking for $ac_func" >&5
37309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37310 if eval "test \"\${$as_ac_var+set}\" = set"; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 else
37313 if test x$gcc_no_link = xyes; then
37314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37316 { (exit 1); exit 1; }; }
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37326 #define $ac_func innocuous_$ac_func
37328 /* System header to define __stub macros and hopefully few prototypes,
37329 which can conflict with char $ac_func (); below.
37330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37331 <limits.h> exists even on freestanding compilers. */
37333 #ifdef __STDC__
37334 # include <limits.h>
37335 #else
37336 # include <assert.h>
37337 #endif
37339 #undef $ac_func
37341 /* Override any gcc2 internal prototype to avoid an error. */
37342 #ifdef __cplusplus
37343 extern "C"
37345 #endif
37346 /* We use char because int might match the return type of a gcc2
37347 builtin and then its argument prototype would still apply. */
37348 char $ac_func ();
37349 /* The GNU C library defines this for functions which it implements
37350 to always fail with ENOSYS. Some functions are actually named
37351 something starting with __ and the normal name is an alias. */
37352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37353 choke me
37354 #else
37355 char (*f) () = $ac_func;
37356 #endif
37357 #ifdef __cplusplus
37359 #endif
37362 main ()
37364 return f != $ac_func;
37366 return 0;
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37371 (eval $ac_link) 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } &&
37378 { ac_try='test -z "$ac_c_werror_flag"
37379 || test ! -s conftest.err'
37380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37381 (eval $ac_try) 2>&5
37382 ac_status=$?
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); }; } &&
37385 { ac_try='test -s conftest$ac_exeext'
37386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37387 (eval $ac_try) 2>&5
37388 ac_status=$?
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); }; }; then
37391 eval "$as_ac_var=yes"
37392 else
37393 echo "$as_me: failed program was:" >&5
37394 sed 's/^/| /' conftest.$ac_ext >&5
37396 eval "$as_ac_var=no"
37398 rm -f conftest.err conftest.$ac_objext \
37399 conftest$ac_exeext conftest.$ac_ext
37401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37403 if test `eval echo '${'$as_ac_var'}'` = yes; then
37404 cat >>confdefs.h <<_ACEOF
37405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37406 _ACEOF
37409 done
37411 else
37413 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37414 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37415 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37416 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37417 echo $ECHO_N "(cached) $ECHO_C" >&6
37418 else
37422 ac_ext=cc
37423 ac_cpp='$CXXCPP $CPPFLAGS'
37424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37428 cat >conftest.$ac_ext <<_ACEOF
37429 /* confdefs.h. */
37430 _ACEOF
37431 cat confdefs.h >>conftest.$ac_ext
37432 cat >>conftest.$ac_ext <<_ACEOF
37433 /* end confdefs.h. */
37434 #include <math.h>
37436 main ()
37438 _ldexpf(0, 0);
37440 return 0;
37442 _ACEOF
37443 rm -f conftest.$ac_objext
37444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37445 (eval $ac_compile) 2>conftest.er1
37446 ac_status=$?
37447 grep -v '^ *+' conftest.er1 >conftest.err
37448 rm -f conftest.er1
37449 cat conftest.err >&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); } &&
37452 { ac_try='test -z "$ac_cxx_werror_flag"
37453 || test ! -s conftest.err'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37456 ac_status=$?
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; } &&
37459 { ac_try='test -s conftest.$ac_objext'
37460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461 (eval $ac_try) 2>&5
37462 ac_status=$?
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; }; then
37465 glibcxx_cv_func__ldexpf_use=yes
37466 else
37467 echo "$as_me: failed program was:" >&5
37468 sed 's/^/| /' conftest.$ac_ext >&5
37470 glibcxx_cv_func__ldexpf_use=no
37472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37473 ac_ext=c
37474 ac_cpp='$CPP $CPPFLAGS'
37475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
37484 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
37486 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37488 for ac_func in _ldexpf
37490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37491 echo "$as_me:$LINENO: checking for $ac_func" >&5
37492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37493 if eval "test \"\${$as_ac_var+set}\" = set"; then
37494 echo $ECHO_N "(cached) $ECHO_C" >&6
37495 else
37496 if test x$gcc_no_link = xyes; then
37497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37499 { (exit 1); exit 1; }; }
37501 cat >conftest.$ac_ext <<_ACEOF
37502 /* confdefs.h. */
37503 _ACEOF
37504 cat confdefs.h >>conftest.$ac_ext
37505 cat >>conftest.$ac_ext <<_ACEOF
37506 /* end confdefs.h. */
37507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37509 #define $ac_func innocuous_$ac_func
37511 /* System header to define __stub macros and hopefully few prototypes,
37512 which can conflict with char $ac_func (); below.
37513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37514 <limits.h> exists even on freestanding compilers. */
37516 #ifdef __STDC__
37517 # include <limits.h>
37518 #else
37519 # include <assert.h>
37520 #endif
37522 #undef $ac_func
37524 /* Override any gcc2 internal prototype to avoid an error. */
37525 #ifdef __cplusplus
37526 extern "C"
37528 #endif
37529 /* We use char because int might match the return type of a gcc2
37530 builtin and then its argument prototype would still apply. */
37531 char $ac_func ();
37532 /* The GNU C library defines this for functions which it implements
37533 to always fail with ENOSYS. Some functions are actually named
37534 something starting with __ and the normal name is an alias. */
37535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37536 choke me
37537 #else
37538 char (*f) () = $ac_func;
37539 #endif
37540 #ifdef __cplusplus
37542 #endif
37545 main ()
37547 return f != $ac_func;
37549 return 0;
37551 _ACEOF
37552 rm -f conftest.$ac_objext conftest$ac_exeext
37553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37554 (eval $ac_link) 2>conftest.er1
37555 ac_status=$?
37556 grep -v '^ *+' conftest.er1 >conftest.err
37557 rm -f conftest.er1
37558 cat conftest.err >&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); } &&
37561 { ac_try='test -z "$ac_c_werror_flag"
37562 || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try='test -s conftest$ac_exeext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 eval "$as_ac_var=yes"
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37579 eval "$as_ac_var=no"
37581 rm -f conftest.err conftest.$ac_objext \
37582 conftest$ac_exeext conftest.$ac_ext
37584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37586 if test `eval echo '${'$as_ac_var'}'` = yes; then
37587 cat >>confdefs.h <<_ACEOF
37588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37589 _ACEOF
37592 done
37599 echo "$as_me:$LINENO: checking for logf declaration" >&5
37600 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
37601 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37602 if test "${glibcxx_cv_func_logf_use+set}" = set; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37604 else
37608 ac_ext=cc
37609 ac_cpp='$CXXCPP $CPPFLAGS'
37610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37614 cat >conftest.$ac_ext <<_ACEOF
37615 /* confdefs.h. */
37616 _ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37620 #include <math.h>
37621 #ifdef HAVE_IEEEFP_H
37622 #include <ieeefp.h>
37623 #endif
37626 main ()
37628 logf(0);
37630 return 0;
37632 _ACEOF
37633 rm -f conftest.$ac_objext
37634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37635 (eval $ac_compile) 2>conftest.er1
37636 ac_status=$?
37637 grep -v '^ *+' conftest.er1 >conftest.err
37638 rm -f conftest.er1
37639 cat conftest.err >&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } &&
37642 { ac_try='test -z "$ac_cxx_werror_flag"
37643 || test ! -s conftest.err'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37646 ac_status=$?
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; } &&
37649 { ac_try='test -s conftest.$ac_objext'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; }; then
37655 glibcxx_cv_func_logf_use=yes
37656 else
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37660 glibcxx_cv_func_logf_use=no
37662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37663 ac_ext=c
37664 ac_cpp='$CPP $CPPFLAGS'
37665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
37674 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
37676 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37678 for ac_func in logf
37680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37681 echo "$as_me:$LINENO: checking for $ac_func" >&5
37682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37683 if eval "test \"\${$as_ac_var+set}\" = set"; then
37684 echo $ECHO_N "(cached) $ECHO_C" >&6
37685 else
37686 if test x$gcc_no_link = xyes; then
37687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37689 { (exit 1); exit 1; }; }
37691 cat >conftest.$ac_ext <<_ACEOF
37692 /* confdefs.h. */
37693 _ACEOF
37694 cat confdefs.h >>conftest.$ac_ext
37695 cat >>conftest.$ac_ext <<_ACEOF
37696 /* end confdefs.h. */
37697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37699 #define $ac_func innocuous_$ac_func
37701 /* System header to define __stub macros and hopefully few prototypes,
37702 which can conflict with char $ac_func (); below.
37703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37704 <limits.h> exists even on freestanding compilers. */
37706 #ifdef __STDC__
37707 # include <limits.h>
37708 #else
37709 # include <assert.h>
37710 #endif
37712 #undef $ac_func
37714 /* Override any gcc2 internal prototype to avoid an error. */
37715 #ifdef __cplusplus
37716 extern "C"
37718 #endif
37719 /* We use char because int might match the return type of a gcc2
37720 builtin and then its argument prototype would still apply. */
37721 char $ac_func ();
37722 /* The GNU C library defines this for functions which it implements
37723 to always fail with ENOSYS. Some functions are actually named
37724 something starting with __ and the normal name is an alias. */
37725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37726 choke me
37727 #else
37728 char (*f) () = $ac_func;
37729 #endif
37730 #ifdef __cplusplus
37732 #endif
37735 main ()
37737 return f != $ac_func;
37739 return 0;
37741 _ACEOF
37742 rm -f conftest.$ac_objext conftest$ac_exeext
37743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37744 (eval $ac_link) 2>conftest.er1
37745 ac_status=$?
37746 grep -v '^ *+' conftest.er1 >conftest.err
37747 rm -f conftest.er1
37748 cat conftest.err >&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); } &&
37751 { ac_try='test -z "$ac_c_werror_flag"
37752 || test ! -s conftest.err'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; } &&
37758 { ac_try='test -s conftest$ac_exeext'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; }; then
37764 eval "$as_ac_var=yes"
37765 else
37766 echo "$as_me: failed program was:" >&5
37767 sed 's/^/| /' conftest.$ac_ext >&5
37769 eval "$as_ac_var=no"
37771 rm -f conftest.err conftest.$ac_objext \
37772 conftest$ac_exeext conftest.$ac_ext
37774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37776 if test `eval echo '${'$as_ac_var'}'` = yes; then
37777 cat >>confdefs.h <<_ACEOF
37778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37779 _ACEOF
37782 done
37784 else
37786 echo "$as_me:$LINENO: checking for _logf declaration" >&5
37787 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
37788 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37789 if test "${glibcxx_cv_func__logf_use+set}" = set; then
37790 echo $ECHO_N "(cached) $ECHO_C" >&6
37791 else
37795 ac_ext=cc
37796 ac_cpp='$CXXCPP $CPPFLAGS'
37797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37801 cat >conftest.$ac_ext <<_ACEOF
37802 /* confdefs.h. */
37803 _ACEOF
37804 cat confdefs.h >>conftest.$ac_ext
37805 cat >>conftest.$ac_ext <<_ACEOF
37806 /* end confdefs.h. */
37807 #include <math.h>
37808 #ifdef HAVE_IEEEFP_H
37809 #include <ieeefp.h>
37810 #endif
37813 main ()
37815 _logf(0);
37817 return 0;
37819 _ACEOF
37820 rm -f conftest.$ac_objext
37821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37822 (eval $ac_compile) 2>conftest.er1
37823 ac_status=$?
37824 grep -v '^ *+' conftest.er1 >conftest.err
37825 rm -f conftest.er1
37826 cat conftest.err >&5
37827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37828 (exit $ac_status); } &&
37829 { ac_try='test -z "$ac_cxx_werror_flag"
37830 || test ! -s conftest.err'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; } &&
37836 { ac_try='test -s conftest.$ac_objext'
37837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37838 (eval $ac_try) 2>&5
37839 ac_status=$?
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); }; }; then
37842 glibcxx_cv_func__logf_use=yes
37843 else
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.$ac_ext >&5
37847 glibcxx_cv_func__logf_use=no
37849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37850 ac_ext=c
37851 ac_cpp='$CPP $CPPFLAGS'
37852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
37861 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
37863 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37865 for ac_func in _logf
37867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37868 echo "$as_me:$LINENO: checking for $ac_func" >&5
37869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37870 if eval "test \"\${$as_ac_var+set}\" = set"; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873 if test x$gcc_no_link = xyes; then
37874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37876 { (exit 1); exit 1; }; }
37878 cat >conftest.$ac_ext <<_ACEOF
37879 /* confdefs.h. */
37880 _ACEOF
37881 cat confdefs.h >>conftest.$ac_ext
37882 cat >>conftest.$ac_ext <<_ACEOF
37883 /* end confdefs.h. */
37884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37886 #define $ac_func innocuous_$ac_func
37888 /* System header to define __stub macros and hopefully few prototypes,
37889 which can conflict with char $ac_func (); below.
37890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37891 <limits.h> exists even on freestanding compilers. */
37893 #ifdef __STDC__
37894 # include <limits.h>
37895 #else
37896 # include <assert.h>
37897 #endif
37899 #undef $ac_func
37901 /* Override any gcc2 internal prototype to avoid an error. */
37902 #ifdef __cplusplus
37903 extern "C"
37905 #endif
37906 /* We use char because int might match the return type of a gcc2
37907 builtin and then its argument prototype would still apply. */
37908 char $ac_func ();
37909 /* The GNU C library defines this for functions which it implements
37910 to always fail with ENOSYS. Some functions are actually named
37911 something starting with __ and the normal name is an alias. */
37912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37913 choke me
37914 #else
37915 char (*f) () = $ac_func;
37916 #endif
37917 #ifdef __cplusplus
37919 #endif
37922 main ()
37924 return f != $ac_func;
37926 return 0;
37928 _ACEOF
37929 rm -f conftest.$ac_objext conftest$ac_exeext
37930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37931 (eval $ac_link) 2>conftest.er1
37932 ac_status=$?
37933 grep -v '^ *+' conftest.er1 >conftest.err
37934 rm -f conftest.er1
37935 cat conftest.err >&5
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); } &&
37938 { ac_try='test -z "$ac_c_werror_flag"
37939 || test ! -s conftest.err'
37940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37941 (eval $ac_try) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); }; } &&
37945 { ac_try='test -s conftest$ac_exeext'
37946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37947 (eval $ac_try) 2>&5
37948 ac_status=$?
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); }; }; then
37951 eval "$as_ac_var=yes"
37952 else
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37956 eval "$as_ac_var=no"
37958 rm -f conftest.err conftest.$ac_objext \
37959 conftest$ac_exeext conftest.$ac_ext
37961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37963 if test `eval echo '${'$as_ac_var'}'` = yes; then
37964 cat >>confdefs.h <<_ACEOF
37965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37966 _ACEOF
37969 done
37976 echo "$as_me:$LINENO: checking for log10f declaration" >&5
37977 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
37978 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37979 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
37980 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37985 ac_ext=cc
37986 ac_cpp='$CXXCPP $CPPFLAGS'
37987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997 #include <math.h>
37998 #ifdef HAVE_IEEEFP_H
37999 #include <ieeefp.h>
38000 #endif
38003 main ()
38005 log10f(0);
38007 return 0;
38009 _ACEOF
38010 rm -f conftest.$ac_objext
38011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38012 (eval $ac_compile) 2>conftest.er1
38013 ac_status=$?
38014 grep -v '^ *+' conftest.er1 >conftest.err
38015 rm -f conftest.er1
38016 cat conftest.err >&5
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); } &&
38019 { ac_try='test -z "$ac_cxx_werror_flag"
38020 || test ! -s conftest.err'
38021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022 (eval $ac_try) 2>&5
38023 ac_status=$?
38024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025 (exit $ac_status); }; } &&
38026 { ac_try='test -s conftest.$ac_objext'
38027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38028 (eval $ac_try) 2>&5
38029 ac_status=$?
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); }; }; then
38032 glibcxx_cv_func_log10f_use=yes
38033 else
38034 echo "$as_me: failed program was:" >&5
38035 sed 's/^/| /' conftest.$ac_ext >&5
38037 glibcxx_cv_func_log10f_use=no
38039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38040 ac_ext=c
38041 ac_cpp='$CPP $CPPFLAGS'
38042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38051 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38053 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38055 for ac_func in log10f
38057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38058 echo "$as_me:$LINENO: checking for $ac_func" >&5
38059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38060 if eval "test \"\${$as_ac_var+set}\" = set"; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 else
38063 if test x$gcc_no_link = xyes; then
38064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38066 { (exit 1); exit 1; }; }
38068 cat >conftest.$ac_ext <<_ACEOF
38069 /* confdefs.h. */
38070 _ACEOF
38071 cat confdefs.h >>conftest.$ac_ext
38072 cat >>conftest.$ac_ext <<_ACEOF
38073 /* end confdefs.h. */
38074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38076 #define $ac_func innocuous_$ac_func
38078 /* System header to define __stub macros and hopefully few prototypes,
38079 which can conflict with char $ac_func (); below.
38080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38081 <limits.h> exists even on freestanding compilers. */
38083 #ifdef __STDC__
38084 # include <limits.h>
38085 #else
38086 # include <assert.h>
38087 #endif
38089 #undef $ac_func
38091 /* Override any gcc2 internal prototype to avoid an error. */
38092 #ifdef __cplusplus
38093 extern "C"
38095 #endif
38096 /* We use char because int might match the return type of a gcc2
38097 builtin and then its argument prototype would still apply. */
38098 char $ac_func ();
38099 /* The GNU C library defines this for functions which it implements
38100 to always fail with ENOSYS. Some functions are actually named
38101 something starting with __ and the normal name is an alias. */
38102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38103 choke me
38104 #else
38105 char (*f) () = $ac_func;
38106 #endif
38107 #ifdef __cplusplus
38109 #endif
38112 main ()
38114 return f != $ac_func;
38116 return 0;
38118 _ACEOF
38119 rm -f conftest.$ac_objext conftest$ac_exeext
38120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38121 (eval $ac_link) 2>conftest.er1
38122 ac_status=$?
38123 grep -v '^ *+' conftest.er1 >conftest.err
38124 rm -f conftest.er1
38125 cat conftest.err >&5
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); } &&
38128 { ac_try='test -z "$ac_c_werror_flag"
38129 || test ! -s conftest.err'
38130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 (eval $ac_try) 2>&5
38132 ac_status=$?
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); }; } &&
38135 { ac_try='test -s conftest$ac_exeext'
38136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38137 (eval $ac_try) 2>&5
38138 ac_status=$?
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); }; }; then
38141 eval "$as_ac_var=yes"
38142 else
38143 echo "$as_me: failed program was:" >&5
38144 sed 's/^/| /' conftest.$ac_ext >&5
38146 eval "$as_ac_var=no"
38148 rm -f conftest.err conftest.$ac_objext \
38149 conftest$ac_exeext conftest.$ac_ext
38151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38153 if test `eval echo '${'$as_ac_var'}'` = yes; then
38154 cat >>confdefs.h <<_ACEOF
38155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38156 _ACEOF
38159 done
38161 else
38163 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38164 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38165 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38166 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38167 echo $ECHO_N "(cached) $ECHO_C" >&6
38168 else
38172 ac_ext=cc
38173 ac_cpp='$CXXCPP $CPPFLAGS'
38174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184 #include <math.h>
38185 #ifdef HAVE_IEEEFP_H
38186 #include <ieeefp.h>
38187 #endif
38190 main ()
38192 _log10f(0);
38194 return 0;
38196 _ACEOF
38197 rm -f conftest.$ac_objext
38198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38199 (eval $ac_compile) 2>conftest.er1
38200 ac_status=$?
38201 grep -v '^ *+' conftest.er1 >conftest.err
38202 rm -f conftest.er1
38203 cat conftest.err >&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); } &&
38206 { ac_try='test -z "$ac_cxx_werror_flag"
38207 || test ! -s conftest.err'
38208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38209 (eval $ac_try) 2>&5
38210 ac_status=$?
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); }; } &&
38213 { ac_try='test -s conftest.$ac_objext'
38214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38215 (eval $ac_try) 2>&5
38216 ac_status=$?
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); }; }; then
38219 glibcxx_cv_func__log10f_use=yes
38220 else
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38224 glibcxx_cv_func__log10f_use=no
38226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38227 ac_ext=c
38228 ac_cpp='$CPP $CPPFLAGS'
38229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38238 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38240 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38242 for ac_func in _log10f
38244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38245 echo "$as_me:$LINENO: checking for $ac_func" >&5
38246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38247 if eval "test \"\${$as_ac_var+set}\" = set"; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 else
38250 if test x$gcc_no_link = xyes; then
38251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38253 { (exit 1); exit 1; }; }
38255 cat >conftest.$ac_ext <<_ACEOF
38256 /* confdefs.h. */
38257 _ACEOF
38258 cat confdefs.h >>conftest.$ac_ext
38259 cat >>conftest.$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38263 #define $ac_func innocuous_$ac_func
38265 /* System header to define __stub macros and hopefully few prototypes,
38266 which can conflict with char $ac_func (); below.
38267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38268 <limits.h> exists even on freestanding compilers. */
38270 #ifdef __STDC__
38271 # include <limits.h>
38272 #else
38273 # include <assert.h>
38274 #endif
38276 #undef $ac_func
38278 /* Override any gcc2 internal prototype to avoid an error. */
38279 #ifdef __cplusplus
38280 extern "C"
38282 #endif
38283 /* We use char because int might match the return type of a gcc2
38284 builtin and then its argument prototype would still apply. */
38285 char $ac_func ();
38286 /* The GNU C library defines this for functions which it implements
38287 to always fail with ENOSYS. Some functions are actually named
38288 something starting with __ and the normal name is an alias. */
38289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38290 choke me
38291 #else
38292 char (*f) () = $ac_func;
38293 #endif
38294 #ifdef __cplusplus
38296 #endif
38299 main ()
38301 return f != $ac_func;
38303 return 0;
38305 _ACEOF
38306 rm -f conftest.$ac_objext conftest$ac_exeext
38307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38308 (eval $ac_link) 2>conftest.er1
38309 ac_status=$?
38310 grep -v '^ *+' conftest.er1 >conftest.err
38311 rm -f conftest.er1
38312 cat conftest.err >&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); } &&
38315 { ac_try='test -z "$ac_c_werror_flag"
38316 || test ! -s conftest.err'
38317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38318 (eval $ac_try) 2>&5
38319 ac_status=$?
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; } &&
38322 { ac_try='test -s conftest$ac_exeext'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; }; then
38328 eval "$as_ac_var=yes"
38329 else
38330 echo "$as_me: failed program was:" >&5
38331 sed 's/^/| /' conftest.$ac_ext >&5
38333 eval "$as_ac_var=no"
38335 rm -f conftest.err conftest.$ac_objext \
38336 conftest$ac_exeext conftest.$ac_ext
38338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38340 if test `eval echo '${'$as_ac_var'}'` = yes; then
38341 cat >>confdefs.h <<_ACEOF
38342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38343 _ACEOF
38346 done
38353 echo "$as_me:$LINENO: checking for modff declaration" >&5
38354 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38355 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38356 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38357 echo $ECHO_N "(cached) $ECHO_C" >&6
38358 else
38362 ac_ext=cc
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368 cat >conftest.$ac_ext <<_ACEOF
38369 /* confdefs.h. */
38370 _ACEOF
38371 cat confdefs.h >>conftest.$ac_ext
38372 cat >>conftest.$ac_ext <<_ACEOF
38373 /* end confdefs.h. */
38374 #include <math.h>
38376 main ()
38378 modff(0, 0);
38380 return 0;
38382 _ACEOF
38383 rm -f conftest.$ac_objext
38384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38385 (eval $ac_compile) 2>conftest.er1
38386 ac_status=$?
38387 grep -v '^ *+' conftest.er1 >conftest.err
38388 rm -f conftest.er1
38389 cat conftest.err >&5
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); } &&
38392 { ac_try='test -z "$ac_cxx_werror_flag"
38393 || test ! -s conftest.err'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38396 ac_status=$?
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; } &&
38399 { ac_try='test -s conftest.$ac_objext'
38400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401 (eval $ac_try) 2>&5
38402 ac_status=$?
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); }; }; then
38405 glibcxx_cv_func_modff_use=yes
38406 else
38407 echo "$as_me: failed program was:" >&5
38408 sed 's/^/| /' conftest.$ac_ext >&5
38410 glibcxx_cv_func_modff_use=no
38412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38413 ac_ext=c
38414 ac_cpp='$CPP $CPPFLAGS'
38415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38424 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38426 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38428 for ac_func in modff
38430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38431 echo "$as_me:$LINENO: checking for $ac_func" >&5
38432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38433 if eval "test \"\${$as_ac_var+set}\" = set"; then
38434 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 else
38436 if test x$gcc_no_link = xyes; then
38437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38439 { (exit 1); exit 1; }; }
38441 cat >conftest.$ac_ext <<_ACEOF
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38449 #define $ac_func innocuous_$ac_func
38451 /* System header to define __stub macros and hopefully few prototypes,
38452 which can conflict with char $ac_func (); below.
38453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38454 <limits.h> exists even on freestanding compilers. */
38456 #ifdef __STDC__
38457 # include <limits.h>
38458 #else
38459 # include <assert.h>
38460 #endif
38462 #undef $ac_func
38464 /* Override any gcc2 internal prototype to avoid an error. */
38465 #ifdef __cplusplus
38466 extern "C"
38468 #endif
38469 /* We use char because int might match the return type of a gcc2
38470 builtin and then its argument prototype would still apply. */
38471 char $ac_func ();
38472 /* The GNU C library defines this for functions which it implements
38473 to always fail with ENOSYS. Some functions are actually named
38474 something starting with __ and the normal name is an alias. */
38475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38476 choke me
38477 #else
38478 char (*f) () = $ac_func;
38479 #endif
38480 #ifdef __cplusplus
38482 #endif
38485 main ()
38487 return f != $ac_func;
38489 return 0;
38491 _ACEOF
38492 rm -f conftest.$ac_objext conftest$ac_exeext
38493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38494 (eval $ac_link) 2>conftest.er1
38495 ac_status=$?
38496 grep -v '^ *+' conftest.er1 >conftest.err
38497 rm -f conftest.er1
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } &&
38501 { ac_try='test -z "$ac_c_werror_flag"
38502 || test ! -s conftest.err'
38503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38504 (eval $ac_try) 2>&5
38505 ac_status=$?
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); }; } &&
38508 { ac_try='test -s conftest$ac_exeext'
38509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38510 (eval $ac_try) 2>&5
38511 ac_status=$?
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); }; }; then
38514 eval "$as_ac_var=yes"
38515 else
38516 echo "$as_me: failed program was:" >&5
38517 sed 's/^/| /' conftest.$ac_ext >&5
38519 eval "$as_ac_var=no"
38521 rm -f conftest.err conftest.$ac_objext \
38522 conftest$ac_exeext conftest.$ac_ext
38524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38526 if test `eval echo '${'$as_ac_var'}'` = yes; then
38527 cat >>confdefs.h <<_ACEOF
38528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38529 _ACEOF
38532 done
38534 else
38536 echo "$as_me:$LINENO: checking for _modff declaration" >&5
38537 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
38538 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38539 if test "${glibcxx_cv_func__modff_use+set}" = set; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 else
38545 ac_ext=cc
38546 ac_cpp='$CXXCPP $CPPFLAGS'
38547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38551 cat >conftest.$ac_ext <<_ACEOF
38552 /* confdefs.h. */
38553 _ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557 #include <math.h>
38559 main ()
38561 _modff(0, 0);
38563 return 0;
38565 _ACEOF
38566 rm -f conftest.$ac_objext
38567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38568 (eval $ac_compile) 2>conftest.er1
38569 ac_status=$?
38570 grep -v '^ *+' conftest.er1 >conftest.err
38571 rm -f conftest.er1
38572 cat conftest.err >&5
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); } &&
38575 { ac_try='test -z "$ac_cxx_werror_flag"
38576 || test ! -s conftest.err'
38577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38578 (eval $ac_try) 2>&5
38579 ac_status=$?
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); }; } &&
38582 { ac_try='test -s conftest.$ac_objext'
38583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38584 (eval $ac_try) 2>&5
38585 ac_status=$?
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); }; }; then
38588 glibcxx_cv_func__modff_use=yes
38589 else
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38593 glibcxx_cv_func__modff_use=no
38595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38596 ac_ext=c
38597 ac_cpp='$CPP $CPPFLAGS'
38598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
38607 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
38609 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38611 for ac_func in _modff
38613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38614 echo "$as_me:$LINENO: checking for $ac_func" >&5
38615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38616 if eval "test \"\${$as_ac_var+set}\" = set"; then
38617 echo $ECHO_N "(cached) $ECHO_C" >&6
38618 else
38619 if test x$gcc_no_link = xyes; then
38620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38622 { (exit 1); exit 1; }; }
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38632 #define $ac_func innocuous_$ac_func
38634 /* System header to define __stub macros and hopefully few prototypes,
38635 which can conflict with char $ac_func (); below.
38636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38637 <limits.h> exists even on freestanding compilers. */
38639 #ifdef __STDC__
38640 # include <limits.h>
38641 #else
38642 # include <assert.h>
38643 #endif
38645 #undef $ac_func
38647 /* Override any gcc2 internal prototype to avoid an error. */
38648 #ifdef __cplusplus
38649 extern "C"
38651 #endif
38652 /* We use char because int might match the return type of a gcc2
38653 builtin and then its argument prototype would still apply. */
38654 char $ac_func ();
38655 /* The GNU C library defines this for functions which it implements
38656 to always fail with ENOSYS. Some functions are actually named
38657 something starting with __ and the normal name is an alias. */
38658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38659 choke me
38660 #else
38661 char (*f) () = $ac_func;
38662 #endif
38663 #ifdef __cplusplus
38665 #endif
38668 main ()
38670 return f != $ac_func;
38672 return 0;
38674 _ACEOF
38675 rm -f conftest.$ac_objext conftest$ac_exeext
38676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38677 (eval $ac_link) 2>conftest.er1
38678 ac_status=$?
38679 grep -v '^ *+' conftest.er1 >conftest.err
38680 rm -f conftest.er1
38681 cat conftest.err >&5
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); } &&
38684 { ac_try='test -z "$ac_c_werror_flag"
38685 || test ! -s conftest.err'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38688 ac_status=$?
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; } &&
38691 { ac_try='test -s conftest$ac_exeext'
38692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 (eval $ac_try) 2>&5
38694 ac_status=$?
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); }; }; then
38697 eval "$as_ac_var=yes"
38698 else
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.$ac_ext >&5
38702 eval "$as_ac_var=no"
38704 rm -f conftest.err conftest.$ac_objext \
38705 conftest$ac_exeext conftest.$ac_ext
38707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38709 if test `eval echo '${'$as_ac_var'}'` = yes; then
38710 cat >>confdefs.h <<_ACEOF
38711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38712 _ACEOF
38715 done
38722 echo "$as_me:$LINENO: checking for modf declaration" >&5
38723 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
38724 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38725 if test "${glibcxx_cv_func_modf_use+set}" = set; then
38726 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 else
38731 ac_ext=cc
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38737 cat >conftest.$ac_ext <<_ACEOF
38738 /* confdefs.h. */
38739 _ACEOF
38740 cat confdefs.h >>conftest.$ac_ext
38741 cat >>conftest.$ac_ext <<_ACEOF
38742 /* end confdefs.h. */
38743 #include <math.h>
38745 main ()
38747 modf(0, 0);
38749 return 0;
38751 _ACEOF
38752 rm -f conftest.$ac_objext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38754 (eval $ac_compile) 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try='test -z "$ac_cxx_werror_flag"
38762 || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38765 ac_status=$?
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38771 ac_status=$?
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38774 glibcxx_cv_func_modf_use=yes
38775 else
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.$ac_ext >&5
38779 glibcxx_cv_func_modf_use=no
38781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38782 ac_ext=c
38783 ac_cpp='$CPP $CPPFLAGS'
38784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
38793 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
38795 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38797 for ac_func in modf
38799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38800 echo "$as_me:$LINENO: checking for $ac_func" >&5
38801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38802 if eval "test \"\${$as_ac_var+set}\" = set"; then
38803 echo $ECHO_N "(cached) $ECHO_C" >&6
38804 else
38805 if test x$gcc_no_link = xyes; then
38806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38808 { (exit 1); exit 1; }; }
38810 cat >conftest.$ac_ext <<_ACEOF
38811 /* confdefs.h. */
38812 _ACEOF
38813 cat confdefs.h >>conftest.$ac_ext
38814 cat >>conftest.$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38818 #define $ac_func innocuous_$ac_func
38820 /* System header to define __stub macros and hopefully few prototypes,
38821 which can conflict with char $ac_func (); below.
38822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38823 <limits.h> exists even on freestanding compilers. */
38825 #ifdef __STDC__
38826 # include <limits.h>
38827 #else
38828 # include <assert.h>
38829 #endif
38831 #undef $ac_func
38833 /* Override any gcc2 internal prototype to avoid an error. */
38834 #ifdef __cplusplus
38835 extern "C"
38837 #endif
38838 /* We use char because int might match the return type of a gcc2
38839 builtin and then its argument prototype would still apply. */
38840 char $ac_func ();
38841 /* The GNU C library defines this for functions which it implements
38842 to always fail with ENOSYS. Some functions are actually named
38843 something starting with __ and the normal name is an alias. */
38844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38845 choke me
38846 #else
38847 char (*f) () = $ac_func;
38848 #endif
38849 #ifdef __cplusplus
38851 #endif
38854 main ()
38856 return f != $ac_func;
38858 return 0;
38860 _ACEOF
38861 rm -f conftest.$ac_objext conftest$ac_exeext
38862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38863 (eval $ac_link) 2>conftest.er1
38864 ac_status=$?
38865 grep -v '^ *+' conftest.er1 >conftest.err
38866 rm -f conftest.er1
38867 cat conftest.err >&5
38868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38869 (exit $ac_status); } &&
38870 { ac_try='test -z "$ac_c_werror_flag"
38871 || test ! -s conftest.err'
38872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38873 (eval $ac_try) 2>&5
38874 ac_status=$?
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); }; } &&
38877 { ac_try='test -s conftest$ac_exeext'
38878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38879 (eval $ac_try) 2>&5
38880 ac_status=$?
38881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882 (exit $ac_status); }; }; then
38883 eval "$as_ac_var=yes"
38884 else
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.$ac_ext >&5
38888 eval "$as_ac_var=no"
38890 rm -f conftest.err conftest.$ac_objext \
38891 conftest$ac_exeext conftest.$ac_ext
38893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38895 if test `eval echo '${'$as_ac_var'}'` = yes; then
38896 cat >>confdefs.h <<_ACEOF
38897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38898 _ACEOF
38901 done
38903 else
38905 echo "$as_me:$LINENO: checking for _modf declaration" >&5
38906 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
38907 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38908 if test "${glibcxx_cv_func__modf_use+set}" = set; then
38909 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 else
38914 ac_ext=cc
38915 ac_cpp='$CXXCPP $CPPFLAGS'
38916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 #include <math.h>
38928 main ()
38930 _modf(0, 0);
38932 return 0;
38934 _ACEOF
38935 rm -f conftest.$ac_objext
38936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38937 (eval $ac_compile) 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } &&
38944 { ac_try='test -z "$ac_cxx_werror_flag"
38945 || test ! -s conftest.err'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38948 ac_status=$?
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; } &&
38951 { ac_try='test -s conftest.$ac_objext'
38952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953 (eval $ac_try) 2>&5
38954 ac_status=$?
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); }; }; then
38957 glibcxx_cv_func__modf_use=yes
38958 else
38959 echo "$as_me: failed program was:" >&5
38960 sed 's/^/| /' conftest.$ac_ext >&5
38962 glibcxx_cv_func__modf_use=no
38964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38965 ac_ext=c
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
38976 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
38978 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38980 for ac_func in _modf
38982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38983 echo "$as_me:$LINENO: checking for $ac_func" >&5
38984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38985 if eval "test \"\${$as_ac_var+set}\" = set"; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38987 else
38988 if test x$gcc_no_link = xyes; then
38989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38991 { (exit 1); exit 1; }; }
38993 cat >conftest.$ac_ext <<_ACEOF
38994 /* confdefs.h. */
38995 _ACEOF
38996 cat confdefs.h >>conftest.$ac_ext
38997 cat >>conftest.$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39001 #define $ac_func innocuous_$ac_func
39003 /* System header to define __stub macros and hopefully few prototypes,
39004 which can conflict with char $ac_func (); below.
39005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39006 <limits.h> exists even on freestanding compilers. */
39008 #ifdef __STDC__
39009 # include <limits.h>
39010 #else
39011 # include <assert.h>
39012 #endif
39014 #undef $ac_func
39016 /* Override any gcc2 internal prototype to avoid an error. */
39017 #ifdef __cplusplus
39018 extern "C"
39020 #endif
39021 /* We use char because int might match the return type of a gcc2
39022 builtin and then its argument prototype would still apply. */
39023 char $ac_func ();
39024 /* The GNU C library defines this for functions which it implements
39025 to always fail with ENOSYS. Some functions are actually named
39026 something starting with __ and the normal name is an alias. */
39027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39028 choke me
39029 #else
39030 char (*f) () = $ac_func;
39031 #endif
39032 #ifdef __cplusplus
39034 #endif
39037 main ()
39039 return f != $ac_func;
39041 return 0;
39043 _ACEOF
39044 rm -f conftest.$ac_objext conftest$ac_exeext
39045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39046 (eval $ac_link) 2>conftest.er1
39047 ac_status=$?
39048 grep -v '^ *+' conftest.er1 >conftest.err
39049 rm -f conftest.er1
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } &&
39053 { ac_try='test -z "$ac_c_werror_flag"
39054 || test ! -s conftest.err'
39055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39056 (eval $ac_try) 2>&5
39057 ac_status=$?
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); }; } &&
39060 { ac_try='test -s conftest$ac_exeext'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39063 ac_status=$?
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; }; then
39066 eval "$as_ac_var=yes"
39067 else
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39071 eval "$as_ac_var=no"
39073 rm -f conftest.err conftest.$ac_objext \
39074 conftest$ac_exeext conftest.$ac_ext
39076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39078 if test `eval echo '${'$as_ac_var'}'` = yes; then
39079 cat >>confdefs.h <<_ACEOF
39080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39081 _ACEOF
39084 done
39091 echo "$as_me:$LINENO: checking for powf declaration" >&5
39092 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39093 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39094 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39095 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 else
39100 ac_ext=cc
39101 ac_cpp='$CXXCPP $CPPFLAGS'
39102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39106 cat >conftest.$ac_ext <<_ACEOF
39107 /* confdefs.h. */
39108 _ACEOF
39109 cat confdefs.h >>conftest.$ac_ext
39110 cat >>conftest.$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39112 #include <math.h>
39114 main ()
39116 powf(0, 0);
39118 return 0;
39120 _ACEOF
39121 rm -f conftest.$ac_objext
39122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39123 (eval $ac_compile) 2>conftest.er1
39124 ac_status=$?
39125 grep -v '^ *+' conftest.er1 >conftest.err
39126 rm -f conftest.er1
39127 cat conftest.err >&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } &&
39130 { ac_try='test -z "$ac_cxx_werror_flag"
39131 || test ! -s conftest.err'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39134 ac_status=$?
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; } &&
39137 { ac_try='test -s conftest.$ac_objext'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39140 ac_status=$?
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; }; then
39143 glibcxx_cv_func_powf_use=yes
39144 else
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39148 glibcxx_cv_func_powf_use=no
39150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39151 ac_ext=c
39152 ac_cpp='$CPP $CPPFLAGS'
39153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39162 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39164 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39166 for ac_func in powf
39168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39169 echo "$as_me:$LINENO: checking for $ac_func" >&5
39170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39171 if eval "test \"\${$as_ac_var+set}\" = set"; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39174 if test x$gcc_no_link = xyes; then
39175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39177 { (exit 1); exit 1; }; }
39179 cat >conftest.$ac_ext <<_ACEOF
39180 /* confdefs.h. */
39181 _ACEOF
39182 cat confdefs.h >>conftest.$ac_ext
39183 cat >>conftest.$ac_ext <<_ACEOF
39184 /* end confdefs.h. */
39185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39187 #define $ac_func innocuous_$ac_func
39189 /* System header to define __stub macros and hopefully few prototypes,
39190 which can conflict with char $ac_func (); below.
39191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39192 <limits.h> exists even on freestanding compilers. */
39194 #ifdef __STDC__
39195 # include <limits.h>
39196 #else
39197 # include <assert.h>
39198 #endif
39200 #undef $ac_func
39202 /* Override any gcc2 internal prototype to avoid an error. */
39203 #ifdef __cplusplus
39204 extern "C"
39206 #endif
39207 /* We use char because int might match the return type of a gcc2
39208 builtin and then its argument prototype would still apply. */
39209 char $ac_func ();
39210 /* The GNU C library defines this for functions which it implements
39211 to always fail with ENOSYS. Some functions are actually named
39212 something starting with __ and the normal name is an alias. */
39213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39214 choke me
39215 #else
39216 char (*f) () = $ac_func;
39217 #endif
39218 #ifdef __cplusplus
39220 #endif
39223 main ()
39225 return f != $ac_func;
39227 return 0;
39229 _ACEOF
39230 rm -f conftest.$ac_objext conftest$ac_exeext
39231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39232 (eval $ac_link) 2>conftest.er1
39233 ac_status=$?
39234 grep -v '^ *+' conftest.er1 >conftest.err
39235 rm -f conftest.er1
39236 cat conftest.err >&5
39237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39238 (exit $ac_status); } &&
39239 { ac_try='test -z "$ac_c_werror_flag"
39240 || test ! -s conftest.err'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; } &&
39246 { ac_try='test -s conftest$ac_exeext'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39249 ac_status=$?
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; }; then
39252 eval "$as_ac_var=yes"
39253 else
39254 echo "$as_me: failed program was:" >&5
39255 sed 's/^/| /' conftest.$ac_ext >&5
39257 eval "$as_ac_var=no"
39259 rm -f conftest.err conftest.$ac_objext \
39260 conftest$ac_exeext conftest.$ac_ext
39262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39264 if test `eval echo '${'$as_ac_var'}'` = yes; then
39265 cat >>confdefs.h <<_ACEOF
39266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39267 _ACEOF
39270 done
39272 else
39274 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39275 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39276 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39277 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 else
39283 ac_ext=cc
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39289 cat >conftest.$ac_ext <<_ACEOF
39290 /* confdefs.h. */
39291 _ACEOF
39292 cat confdefs.h >>conftest.$ac_ext
39293 cat >>conftest.$ac_ext <<_ACEOF
39294 /* end confdefs.h. */
39295 #include <math.h>
39297 main ()
39299 _powf(0, 0);
39301 return 0;
39303 _ACEOF
39304 rm -f conftest.$ac_objext
39305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39306 (eval $ac_compile) 2>conftest.er1
39307 ac_status=$?
39308 grep -v '^ *+' conftest.er1 >conftest.err
39309 rm -f conftest.er1
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } &&
39313 { ac_try='test -z "$ac_cxx_werror_flag"
39314 || test ! -s conftest.err'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; } &&
39320 { ac_try='test -s conftest.$ac_objext'
39321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39322 (eval $ac_try) 2>&5
39323 ac_status=$?
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); }; }; then
39326 glibcxx_cv_func__powf_use=yes
39327 else
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39331 glibcxx_cv_func__powf_use=no
39333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39334 ac_ext=c
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39345 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39347 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39349 for ac_func in _powf
39351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39352 echo "$as_me:$LINENO: checking for $ac_func" >&5
39353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39354 if eval "test \"\${$as_ac_var+set}\" = set"; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39357 if test x$gcc_no_link = xyes; then
39358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39360 { (exit 1); exit 1; }; }
39362 cat >conftest.$ac_ext <<_ACEOF
39363 /* confdefs.h. */
39364 _ACEOF
39365 cat confdefs.h >>conftest.$ac_ext
39366 cat >>conftest.$ac_ext <<_ACEOF
39367 /* end confdefs.h. */
39368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39370 #define $ac_func innocuous_$ac_func
39372 /* System header to define __stub macros and hopefully few prototypes,
39373 which can conflict with char $ac_func (); below.
39374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39375 <limits.h> exists even on freestanding compilers. */
39377 #ifdef __STDC__
39378 # include <limits.h>
39379 #else
39380 # include <assert.h>
39381 #endif
39383 #undef $ac_func
39385 /* Override any gcc2 internal prototype to avoid an error. */
39386 #ifdef __cplusplus
39387 extern "C"
39389 #endif
39390 /* We use char because int might match the return type of a gcc2
39391 builtin and then its argument prototype would still apply. */
39392 char $ac_func ();
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39397 choke me
39398 #else
39399 char (*f) () = $ac_func;
39400 #endif
39401 #ifdef __cplusplus
39403 #endif
39406 main ()
39408 return f != $ac_func;
39410 return 0;
39412 _ACEOF
39413 rm -f conftest.$ac_objext conftest$ac_exeext
39414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39415 (eval $ac_link) 2>conftest.er1
39416 ac_status=$?
39417 grep -v '^ *+' conftest.er1 >conftest.err
39418 rm -f conftest.er1
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try='test -z "$ac_c_werror_flag"
39423 || test ! -s conftest.err'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39426 ac_status=$?
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; } &&
39429 { ac_try='test -s conftest$ac_exeext'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39432 ac_status=$?
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; }; then
39435 eval "$as_ac_var=yes"
39436 else
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.$ac_ext >&5
39440 eval "$as_ac_var=no"
39442 rm -f conftest.err conftest.$ac_objext \
39443 conftest$ac_exeext conftest.$ac_ext
39445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39447 if test `eval echo '${'$as_ac_var'}'` = yes; then
39448 cat >>confdefs.h <<_ACEOF
39449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39450 _ACEOF
39453 done
39460 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39461 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39462 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39463 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 else
39469 ac_ext=cc
39470 ac_cpp='$CXXCPP $CPPFLAGS'
39471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39475 cat >conftest.$ac_ext <<_ACEOF
39476 /* confdefs.h. */
39477 _ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 #include <math.h>
39482 #ifdef HAVE_IEEEFP_H
39483 #include <ieeefp.h>
39484 #endif
39487 main ()
39489 sqrtf(0);
39491 return 0;
39493 _ACEOF
39494 rm -f conftest.$ac_objext
39495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39496 (eval $ac_compile) 2>conftest.er1
39497 ac_status=$?
39498 grep -v '^ *+' conftest.er1 >conftest.err
39499 rm -f conftest.er1
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } &&
39503 { ac_try='test -z "$ac_cxx_werror_flag"
39504 || test ! -s conftest.err'
39505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39506 (eval $ac_try) 2>&5
39507 ac_status=$?
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); }; } &&
39510 { ac_try='test -s conftest.$ac_objext'
39511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39512 (eval $ac_try) 2>&5
39513 ac_status=$?
39514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39515 (exit $ac_status); }; }; then
39516 glibcxx_cv_func_sqrtf_use=yes
39517 else
39518 echo "$as_me: failed program was:" >&5
39519 sed 's/^/| /' conftest.$ac_ext >&5
39521 glibcxx_cv_func_sqrtf_use=no
39523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39524 ac_ext=c
39525 ac_cpp='$CPP $CPPFLAGS'
39526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39535 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39537 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39539 for ac_func in sqrtf
39541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39542 echo "$as_me:$LINENO: checking for $ac_func" >&5
39543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39544 if eval "test \"\${$as_ac_var+set}\" = set"; then
39545 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 else
39547 if test x$gcc_no_link = xyes; then
39548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39550 { (exit 1); exit 1; }; }
39552 cat >conftest.$ac_ext <<_ACEOF
39553 /* confdefs.h. */
39554 _ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39560 #define $ac_func innocuous_$ac_func
39562 /* System header to define __stub macros and hopefully few prototypes,
39563 which can conflict with char $ac_func (); below.
39564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39565 <limits.h> exists even on freestanding compilers. */
39567 #ifdef __STDC__
39568 # include <limits.h>
39569 #else
39570 # include <assert.h>
39571 #endif
39573 #undef $ac_func
39575 /* Override any gcc2 internal prototype to avoid an error. */
39576 #ifdef __cplusplus
39577 extern "C"
39579 #endif
39580 /* We use char because int might match the return type of a gcc2
39581 builtin and then its argument prototype would still apply. */
39582 char $ac_func ();
39583 /* The GNU C library defines this for functions which it implements
39584 to always fail with ENOSYS. Some functions are actually named
39585 something starting with __ and the normal name is an alias. */
39586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39587 choke me
39588 #else
39589 char (*f) () = $ac_func;
39590 #endif
39591 #ifdef __cplusplus
39593 #endif
39596 main ()
39598 return f != $ac_func;
39600 return 0;
39602 _ACEOF
39603 rm -f conftest.$ac_objext conftest$ac_exeext
39604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39605 (eval $ac_link) 2>conftest.er1
39606 ac_status=$?
39607 grep -v '^ *+' conftest.er1 >conftest.err
39608 rm -f conftest.er1
39609 cat conftest.err >&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } &&
39612 { ac_try='test -z "$ac_c_werror_flag"
39613 || test ! -s conftest.err'
39614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39615 (eval $ac_try) 2>&5
39616 ac_status=$?
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); }; } &&
39619 { ac_try='test -s conftest$ac_exeext'
39620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39621 (eval $ac_try) 2>&5
39622 ac_status=$?
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); }; }; then
39625 eval "$as_ac_var=yes"
39626 else
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.$ac_ext >&5
39630 eval "$as_ac_var=no"
39632 rm -f conftest.err conftest.$ac_objext \
39633 conftest$ac_exeext conftest.$ac_ext
39635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39637 if test `eval echo '${'$as_ac_var'}'` = yes; then
39638 cat >>confdefs.h <<_ACEOF
39639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39640 _ACEOF
39643 done
39645 else
39647 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39648 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39649 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39650 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39652 else
39656 ac_ext=cc
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662 cat >conftest.$ac_ext <<_ACEOF
39663 /* confdefs.h. */
39664 _ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668 #include <math.h>
39669 #ifdef HAVE_IEEEFP_H
39670 #include <ieeefp.h>
39671 #endif
39674 main ()
39676 _sqrtf(0);
39678 return 0;
39680 _ACEOF
39681 rm -f conftest.$ac_objext
39682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39683 (eval $ac_compile) 2>conftest.er1
39684 ac_status=$?
39685 grep -v '^ *+' conftest.er1 >conftest.err
39686 rm -f conftest.er1
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } &&
39690 { ac_try='test -z "$ac_cxx_werror_flag"
39691 || test ! -s conftest.err'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39694 ac_status=$?
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; } &&
39697 { ac_try='test -s conftest.$ac_objext'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39700 ac_status=$?
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; }; then
39703 glibcxx_cv_func__sqrtf_use=yes
39704 else
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.$ac_ext >&5
39708 glibcxx_cv_func__sqrtf_use=no
39710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39711 ac_ext=c
39712 ac_cpp='$CPP $CPPFLAGS'
39713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39722 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39724 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39726 for ac_func in _sqrtf
39728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39729 echo "$as_me:$LINENO: checking for $ac_func" >&5
39730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39731 if eval "test \"\${$as_ac_var+set}\" = set"; then
39732 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 else
39734 if test x$gcc_no_link = xyes; then
39735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39737 { (exit 1); exit 1; }; }
39739 cat >conftest.$ac_ext <<_ACEOF
39740 /* confdefs.h. */
39741 _ACEOF
39742 cat confdefs.h >>conftest.$ac_ext
39743 cat >>conftest.$ac_ext <<_ACEOF
39744 /* end confdefs.h. */
39745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39747 #define $ac_func innocuous_$ac_func
39749 /* System header to define __stub macros and hopefully few prototypes,
39750 which can conflict with char $ac_func (); below.
39751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39752 <limits.h> exists even on freestanding compilers. */
39754 #ifdef __STDC__
39755 # include <limits.h>
39756 #else
39757 # include <assert.h>
39758 #endif
39760 #undef $ac_func
39762 /* Override any gcc2 internal prototype to avoid an error. */
39763 #ifdef __cplusplus
39764 extern "C"
39766 #endif
39767 /* We use char because int might match the return type of a gcc2
39768 builtin and then its argument prototype would still apply. */
39769 char $ac_func ();
39770 /* The GNU C library defines this for functions which it implements
39771 to always fail with ENOSYS. Some functions are actually named
39772 something starting with __ and the normal name is an alias. */
39773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39774 choke me
39775 #else
39776 char (*f) () = $ac_func;
39777 #endif
39778 #ifdef __cplusplus
39780 #endif
39783 main ()
39785 return f != $ac_func;
39787 return 0;
39789 _ACEOF
39790 rm -f conftest.$ac_objext conftest$ac_exeext
39791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39792 (eval $ac_link) 2>conftest.er1
39793 ac_status=$?
39794 grep -v '^ *+' conftest.er1 >conftest.err
39795 rm -f conftest.er1
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } &&
39799 { ac_try='test -z "$ac_c_werror_flag"
39800 || test ! -s conftest.err'
39801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802 (eval $ac_try) 2>&5
39803 ac_status=$?
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); }; } &&
39806 { ac_try='test -s conftest$ac_exeext'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; }; then
39812 eval "$as_ac_var=yes"
39813 else
39814 echo "$as_me: failed program was:" >&5
39815 sed 's/^/| /' conftest.$ac_ext >&5
39817 eval "$as_ac_var=no"
39819 rm -f conftest.err conftest.$ac_objext \
39820 conftest$ac_exeext conftest.$ac_ext
39822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39824 if test `eval echo '${'$as_ac_var'}'` = yes; then
39825 cat >>confdefs.h <<_ACEOF
39826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39827 _ACEOF
39830 done
39837 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39838 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39839 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39840 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 else
39846 ac_ext=cc
39847 ac_cpp='$CXXCPP $CPPFLAGS'
39848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 #include <math.h>
39860 main ()
39862 sincosf(0, 0, 0);
39864 return 0;
39866 _ACEOF
39867 rm -f conftest.$ac_objext
39868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39869 (eval $ac_compile) 2>conftest.er1
39870 ac_status=$?
39871 grep -v '^ *+' conftest.er1 >conftest.err
39872 rm -f conftest.er1
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } &&
39876 { ac_try='test -z "$ac_cxx_werror_flag"
39877 || test ! -s conftest.err'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39880 ac_status=$?
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; } &&
39883 { ac_try='test -s conftest.$ac_objext'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39886 ac_status=$?
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; }; then
39889 glibcxx_cv_func_sincosf_use=yes
39890 else
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39894 glibcxx_cv_func_sincosf_use=no
39896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39897 ac_ext=c
39898 ac_cpp='$CPP $CPPFLAGS'
39899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
39908 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
39910 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39912 for ac_func in sincosf
39914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39915 echo "$as_me:$LINENO: checking for $ac_func" >&5
39916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39917 if eval "test \"\${$as_ac_var+set}\" = set"; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920 if test x$gcc_no_link = xyes; then
39921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39923 { (exit 1); exit 1; }; }
39925 cat >conftest.$ac_ext <<_ACEOF
39926 /* confdefs.h. */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define $ac_func innocuous_$ac_func
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char $ac_func (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39940 #ifdef __STDC__
39941 # include <limits.h>
39942 #else
39943 # include <assert.h>
39944 #endif
39946 #undef $ac_func
39948 /* Override any gcc2 internal prototype to avoid an error. */
39949 #ifdef __cplusplus
39950 extern "C"
39952 #endif
39953 /* We use char because int might match the return type of a gcc2
39954 builtin and then its argument prototype would still apply. */
39955 char $ac_func ();
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39960 choke me
39961 #else
39962 char (*f) () = $ac_func;
39963 #endif
39964 #ifdef __cplusplus
39966 #endif
39969 main ()
39971 return f != $ac_func;
39973 return 0;
39975 _ACEOF
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39978 (eval $ac_link) 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } &&
39985 { ac_try='test -z "$ac_c_werror_flag"
39986 || test ! -s conftest.err'
39987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39988 (eval $ac_try) 2>&5
39989 ac_status=$?
39990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39991 (exit $ac_status); }; } &&
39992 { ac_try='test -s conftest$ac_exeext'
39993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39994 (eval $ac_try) 2>&5
39995 ac_status=$?
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); }; }; then
39998 eval "$as_ac_var=yes"
39999 else
40000 echo "$as_me: failed program was:" >&5
40001 sed 's/^/| /' conftest.$ac_ext >&5
40003 eval "$as_ac_var=no"
40005 rm -f conftest.err conftest.$ac_objext \
40006 conftest$ac_exeext conftest.$ac_ext
40008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40010 if test `eval echo '${'$as_ac_var'}'` = yes; then
40011 cat >>confdefs.h <<_ACEOF
40012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40013 _ACEOF
40016 done
40018 else
40020 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40021 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40022 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40023 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 else
40029 ac_ext=cc
40030 ac_cpp='$CXXCPP $CPPFLAGS'
40031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 #include <math.h>
40043 main ()
40045 _sincosf(0, 0, 0);
40047 return 0;
40049 _ACEOF
40050 rm -f conftest.$ac_objext
40051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40052 (eval $ac_compile) 2>conftest.er1
40053 ac_status=$?
40054 grep -v '^ *+' conftest.er1 >conftest.err
40055 rm -f conftest.er1
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } &&
40059 { ac_try='test -z "$ac_cxx_werror_flag"
40060 || test ! -s conftest.err'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40063 ac_status=$?
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; } &&
40066 { ac_try='test -s conftest.$ac_objext'
40067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40068 (eval $ac_try) 2>&5
40069 ac_status=$?
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); }; }; then
40072 glibcxx_cv_func__sincosf_use=yes
40073 else
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40077 glibcxx_cv_func__sincosf_use=no
40079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40080 ac_ext=c
40081 ac_cpp='$CPP $CPPFLAGS'
40082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40091 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40093 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40095 for ac_func in _sincosf
40097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 echo "$as_me:$LINENO: checking for $ac_func" >&5
40099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40100 if eval "test \"\${$as_ac_var+set}\" = set"; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103 if test x$gcc_no_link = xyes; then
40104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40106 { (exit 1); exit 1; }; }
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define $ac_func innocuous_$ac_func
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char $ac_func (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40123 #ifdef __STDC__
40124 # include <limits.h>
40125 #else
40126 # include <assert.h>
40127 #endif
40129 #undef $ac_func
40131 /* Override any gcc2 internal prototype to avoid an error. */
40132 #ifdef __cplusplus
40133 extern "C"
40135 #endif
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char $ac_func ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40143 choke me
40144 #else
40145 char (*f) () = $ac_func;
40146 #endif
40147 #ifdef __cplusplus
40149 #endif
40152 main ()
40154 return f != $ac_func;
40156 return 0;
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_c_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 eval "$as_ac_var=yes"
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 eval "$as_ac_var=no"
40188 rm -f conftest.err conftest.$ac_objext \
40189 conftest$ac_exeext conftest.$ac_ext
40191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40193 if test `eval echo '${'$as_ac_var'}'` = yes; then
40194 cat >>confdefs.h <<_ACEOF
40195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40196 _ACEOF
40199 done
40206 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40207 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40208 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40209 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40210 echo $ECHO_N "(cached) $ECHO_C" >&6
40211 else
40215 ac_ext=cc
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40221 cat >conftest.$ac_ext <<_ACEOF
40222 /* confdefs.h. */
40223 _ACEOF
40224 cat confdefs.h >>conftest.$ac_ext
40225 cat >>conftest.$ac_ext <<_ACEOF
40226 /* end confdefs.h. */
40227 #include <math.h>
40228 #ifdef HAVE_IEEEFP_H
40229 #include <ieeefp.h>
40230 #endif
40233 main ()
40235 finitef(0);
40237 return 0;
40239 _ACEOF
40240 rm -f conftest.$ac_objext
40241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40242 (eval $ac_compile) 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } &&
40249 { ac_try='test -z "$ac_cxx_werror_flag"
40250 || test ! -s conftest.err'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40253 ac_status=$?
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; } &&
40256 { ac_try='test -s conftest.$ac_objext'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40259 ac_status=$?
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; }; then
40262 glibcxx_cv_func_finitef_use=yes
40263 else
40264 echo "$as_me: failed program was:" >&5
40265 sed 's/^/| /' conftest.$ac_ext >&5
40267 glibcxx_cv_func_finitef_use=no
40269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40270 ac_ext=c
40271 ac_cpp='$CPP $CPPFLAGS'
40272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40281 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40283 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40285 for ac_func in finitef
40287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40288 echo "$as_me:$LINENO: checking for $ac_func" >&5
40289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40290 if eval "test \"\${$as_ac_var+set}\" = set"; then
40291 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 else
40293 if test x$gcc_no_link = xyes; then
40294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40296 { (exit 1); exit 1; }; }
40298 cat >conftest.$ac_ext <<_ACEOF
40299 /* confdefs.h. */
40300 _ACEOF
40301 cat confdefs.h >>conftest.$ac_ext
40302 cat >>conftest.$ac_ext <<_ACEOF
40303 /* end confdefs.h. */
40304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40306 #define $ac_func innocuous_$ac_func
40308 /* System header to define __stub macros and hopefully few prototypes,
40309 which can conflict with char $ac_func (); below.
40310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40311 <limits.h> exists even on freestanding compilers. */
40313 #ifdef __STDC__
40314 # include <limits.h>
40315 #else
40316 # include <assert.h>
40317 #endif
40319 #undef $ac_func
40321 /* Override any gcc2 internal prototype to avoid an error. */
40322 #ifdef __cplusplus
40323 extern "C"
40325 #endif
40326 /* We use char because int might match the return type of a gcc2
40327 builtin and then its argument prototype would still apply. */
40328 char $ac_func ();
40329 /* The GNU C library defines this for functions which it implements
40330 to always fail with ENOSYS. Some functions are actually named
40331 something starting with __ and the normal name is an alias. */
40332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40333 choke me
40334 #else
40335 char (*f) () = $ac_func;
40336 #endif
40337 #ifdef __cplusplus
40339 #endif
40342 main ()
40344 return f != $ac_func;
40346 return 0;
40348 _ACEOF
40349 rm -f conftest.$ac_objext conftest$ac_exeext
40350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40351 (eval $ac_link) 2>conftest.er1
40352 ac_status=$?
40353 grep -v '^ *+' conftest.er1 >conftest.err
40354 rm -f conftest.er1
40355 cat conftest.err >&5
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); } &&
40358 { ac_try='test -z "$ac_c_werror_flag"
40359 || test ! -s conftest.err'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40362 ac_status=$?
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; } &&
40365 { ac_try='test -s conftest$ac_exeext'
40366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40367 (eval $ac_try) 2>&5
40368 ac_status=$?
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); }; }; then
40371 eval "$as_ac_var=yes"
40372 else
40373 echo "$as_me: failed program was:" >&5
40374 sed 's/^/| /' conftest.$ac_ext >&5
40376 eval "$as_ac_var=no"
40378 rm -f conftest.err conftest.$ac_objext \
40379 conftest$ac_exeext conftest.$ac_ext
40381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40383 if test `eval echo '${'$as_ac_var'}'` = yes; then
40384 cat >>confdefs.h <<_ACEOF
40385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40386 _ACEOF
40389 done
40391 else
40393 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40394 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40395 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40396 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40397 echo $ECHO_N "(cached) $ECHO_C" >&6
40398 else
40402 ac_ext=cc
40403 ac_cpp='$CXXCPP $CPPFLAGS'
40404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408 cat >conftest.$ac_ext <<_ACEOF
40409 /* confdefs.h. */
40410 _ACEOF
40411 cat confdefs.h >>conftest.$ac_ext
40412 cat >>conftest.$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 #include <math.h>
40415 #ifdef HAVE_IEEEFP_H
40416 #include <ieeefp.h>
40417 #endif
40420 main ()
40422 _finitef(0);
40424 return 0;
40426 _ACEOF
40427 rm -f conftest.$ac_objext
40428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40429 (eval $ac_compile) 2>conftest.er1
40430 ac_status=$?
40431 grep -v '^ *+' conftest.er1 >conftest.err
40432 rm -f conftest.er1
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } &&
40436 { ac_try='test -z "$ac_cxx_werror_flag"
40437 || test ! -s conftest.err'
40438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40439 (eval $ac_try) 2>&5
40440 ac_status=$?
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); }; } &&
40443 { ac_try='test -s conftest.$ac_objext'
40444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40445 (eval $ac_try) 2>&5
40446 ac_status=$?
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); }; }; then
40449 glibcxx_cv_func__finitef_use=yes
40450 else
40451 echo "$as_me: failed program was:" >&5
40452 sed 's/^/| /' conftest.$ac_ext >&5
40454 glibcxx_cv_func__finitef_use=no
40456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40457 ac_ext=c
40458 ac_cpp='$CPP $CPPFLAGS'
40459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40468 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40470 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40472 for ac_func in _finitef
40474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40475 echo "$as_me:$LINENO: checking for $ac_func" >&5
40476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40477 if eval "test \"\${$as_ac_var+set}\" = set"; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 else
40480 if test x$gcc_no_link = xyes; then
40481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40483 { (exit 1); exit 1; }; }
40485 cat >conftest.$ac_ext <<_ACEOF
40486 /* confdefs.h. */
40487 _ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40493 #define $ac_func innocuous_$ac_func
40495 /* System header to define __stub macros and hopefully few prototypes,
40496 which can conflict with char $ac_func (); below.
40497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40498 <limits.h> exists even on freestanding compilers. */
40500 #ifdef __STDC__
40501 # include <limits.h>
40502 #else
40503 # include <assert.h>
40504 #endif
40506 #undef $ac_func
40508 /* Override any gcc2 internal prototype to avoid an error. */
40509 #ifdef __cplusplus
40510 extern "C"
40512 #endif
40513 /* We use char because int might match the return type of a gcc2
40514 builtin and then its argument prototype would still apply. */
40515 char $ac_func ();
40516 /* The GNU C library defines this for functions which it implements
40517 to always fail with ENOSYS. Some functions are actually named
40518 something starting with __ and the normal name is an alias. */
40519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40520 choke me
40521 #else
40522 char (*f) () = $ac_func;
40523 #endif
40524 #ifdef __cplusplus
40526 #endif
40529 main ()
40531 return f != $ac_func;
40533 return 0;
40535 _ACEOF
40536 rm -f conftest.$ac_objext conftest$ac_exeext
40537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40538 (eval $ac_link) 2>conftest.er1
40539 ac_status=$?
40540 grep -v '^ *+' conftest.er1 >conftest.err
40541 rm -f conftest.er1
40542 cat conftest.err >&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } &&
40545 { ac_try='test -z "$ac_c_werror_flag"
40546 || test ! -s conftest.err'
40547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40548 (eval $ac_try) 2>&5
40549 ac_status=$?
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); }; } &&
40552 { ac_try='test -s conftest$ac_exeext'
40553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40554 (eval $ac_try) 2>&5
40555 ac_status=$?
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); }; }; then
40558 eval "$as_ac_var=yes"
40559 else
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.$ac_ext >&5
40563 eval "$as_ac_var=no"
40565 rm -f conftest.err conftest.$ac_objext \
40566 conftest$ac_exeext conftest.$ac_ext
40568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40570 if test `eval echo '${'$as_ac_var'}'` = yes; then
40571 cat >>confdefs.h <<_ACEOF
40572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40573 _ACEOF
40576 done
40583 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40584 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40585 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40591 ac_ext=cc
40592 ac_cpp='$CXXCPP $CPPFLAGS'
40593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 #include <math.h>
40605 main ()
40607 `for x in acosl asinl atanl \
40608 cosl sinl tanl \
40609 coshl sinhl tanhl; do echo "$x (0);"; done`
40611 return 0;
40613 _ACEOF
40614 rm -f conftest.$ac_objext
40615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40616 (eval $ac_compile) 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try='test -z "$ac_cxx_werror_flag"
40624 || test ! -s conftest.err'
40625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40626 (eval $ac_try) 2>&5
40627 ac_status=$?
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); }; } &&
40630 { ac_try='test -s conftest.$ac_objext'
40631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40632 (eval $ac_try) 2>&5
40633 ac_status=$?
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); }; }; then
40636 glibcxx_cv_func_long_double_trig_use=yes
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40641 glibcxx_cv_func_long_double_trig_use=no
40643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40644 ac_ext=c
40645 ac_cpp='$CPP $CPPFLAGS'
40646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40653 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40654 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40664 for ac_func in acosl asinl atanl \
40665 cosl sinl tanl \
40666 coshl sinhl tanhl
40668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40669 echo "$as_me:$LINENO: checking for $ac_func" >&5
40670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40671 if eval "test \"\${$as_ac_var+set}\" = set"; then
40672 echo $ECHO_N "(cached) $ECHO_C" >&6
40673 else
40674 if test x$gcc_no_link = xyes; then
40675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40677 { (exit 1); exit 1; }; }
40679 cat >conftest.$ac_ext <<_ACEOF
40680 /* confdefs.h. */
40681 _ACEOF
40682 cat confdefs.h >>conftest.$ac_ext
40683 cat >>conftest.$ac_ext <<_ACEOF
40684 /* end confdefs.h. */
40685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40687 #define $ac_func innocuous_$ac_func
40689 /* System header to define __stub macros and hopefully few prototypes,
40690 which can conflict with char $ac_func (); below.
40691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40692 <limits.h> exists even on freestanding compilers. */
40694 #ifdef __STDC__
40695 # include <limits.h>
40696 #else
40697 # include <assert.h>
40698 #endif
40700 #undef $ac_func
40702 /* Override any gcc2 internal prototype to avoid an error. */
40703 #ifdef __cplusplus
40704 extern "C"
40706 #endif
40707 /* We use char because int might match the return type of a gcc2
40708 builtin and then its argument prototype would still apply. */
40709 char $ac_func ();
40710 /* The GNU C library defines this for functions which it implements
40711 to always fail with ENOSYS. Some functions are actually named
40712 something starting with __ and the normal name is an alias. */
40713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40714 choke me
40715 #else
40716 char (*f) () = $ac_func;
40717 #endif
40718 #ifdef __cplusplus
40720 #endif
40723 main ()
40725 return f != $ac_func;
40727 return 0;
40729 _ACEOF
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40732 (eval $ac_link) 2>conftest.er1
40733 ac_status=$?
40734 grep -v '^ *+' conftest.er1 >conftest.err
40735 rm -f conftest.er1
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } &&
40739 { ac_try='test -z "$ac_c_werror_flag"
40740 || test ! -s conftest.err'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40743 ac_status=$?
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; } &&
40746 { ac_try='test -s conftest$ac_exeext'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40749 ac_status=$?
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; }; then
40752 eval "$as_ac_var=yes"
40753 else
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40757 eval "$as_ac_var=no"
40759 rm -f conftest.err conftest.$ac_objext \
40760 conftest$ac_exeext conftest.$ac_ext
40762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40764 if test `eval echo '${'$as_ac_var'}'` = yes; then
40765 cat >>confdefs.h <<_ACEOF
40766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40767 _ACEOF
40770 done
40775 echo "$as_me:$LINENO: checking for long double round functions" >&5
40776 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40777 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40778 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 else
40783 ac_ext=cc
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat >conftest.$ac_ext <<_ACEOF
40790 /* confdefs.h. */
40791 _ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795 #include <math.h>
40797 main ()
40799 `for x in ceill floorl; do echo "$x (0);"; done`
40801 return 0;
40803 _ACEOF
40804 rm -f conftest.$ac_objext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40806 (eval $ac_compile) 2>conftest.er1
40807 ac_status=$?
40808 grep -v '^ *+' conftest.er1 >conftest.err
40809 rm -f conftest.er1
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try='test -z "$ac_cxx_werror_flag"
40814 || test ! -s conftest.err'
40815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40816 (eval $ac_try) 2>&5
40817 ac_status=$?
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); }; } &&
40820 { ac_try='test -s conftest.$ac_objext'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40823 ac_status=$?
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; }; then
40826 glibcxx_cv_func_long_double_round_use=yes
40827 else
40828 echo "$as_me: failed program was:" >&5
40829 sed 's/^/| /' conftest.$ac_ext >&5
40831 glibcxx_cv_func_long_double_round_use=no
40833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40834 ac_ext=c
40835 ac_cpp='$CPP $CPPFLAGS'
40836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40843 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40844 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40847 for ac_func in ceill floorl
40849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40850 echo "$as_me:$LINENO: checking for $ac_func" >&5
40851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40852 if eval "test \"\${$as_ac_var+set}\" = set"; then
40853 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 else
40855 if test x$gcc_no_link = xyes; then
40856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40858 { (exit 1); exit 1; }; }
40860 cat >conftest.$ac_ext <<_ACEOF
40861 /* confdefs.h. */
40862 _ACEOF
40863 cat confdefs.h >>conftest.$ac_ext
40864 cat >>conftest.$ac_ext <<_ACEOF
40865 /* end confdefs.h. */
40866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40868 #define $ac_func innocuous_$ac_func
40870 /* System header to define __stub macros and hopefully few prototypes,
40871 which can conflict with char $ac_func (); below.
40872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40873 <limits.h> exists even on freestanding compilers. */
40875 #ifdef __STDC__
40876 # include <limits.h>
40877 #else
40878 # include <assert.h>
40879 #endif
40881 #undef $ac_func
40883 /* Override any gcc2 internal prototype to avoid an error. */
40884 #ifdef __cplusplus
40885 extern "C"
40887 #endif
40888 /* We use char because int might match the return type of a gcc2
40889 builtin and then its argument prototype would still apply. */
40890 char $ac_func ();
40891 /* The GNU C library defines this for functions which it implements
40892 to always fail with ENOSYS. Some functions are actually named
40893 something starting with __ and the normal name is an alias. */
40894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40895 choke me
40896 #else
40897 char (*f) () = $ac_func;
40898 #endif
40899 #ifdef __cplusplus
40901 #endif
40904 main ()
40906 return f != $ac_func;
40908 return 0;
40910 _ACEOF
40911 rm -f conftest.$ac_objext conftest$ac_exeext
40912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40913 (eval $ac_link) 2>conftest.er1
40914 ac_status=$?
40915 grep -v '^ *+' conftest.er1 >conftest.err
40916 rm -f conftest.er1
40917 cat conftest.err >&5
40918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40919 (exit $ac_status); } &&
40920 { ac_try='test -z "$ac_c_werror_flag"
40921 || test ! -s conftest.err'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40924 ac_status=$?
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; } &&
40927 { ac_try='test -s conftest$ac_exeext'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40930 ac_status=$?
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; }; then
40933 eval "$as_ac_var=yes"
40934 else
40935 echo "$as_me: failed program was:" >&5
40936 sed 's/^/| /' conftest.$ac_ext >&5
40938 eval "$as_ac_var=no"
40940 rm -f conftest.err conftest.$ac_objext \
40941 conftest$ac_exeext conftest.$ac_ext
40943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40945 if test `eval echo '${'$as_ac_var'}'` = yes; then
40946 cat >>confdefs.h <<_ACEOF
40947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40948 _ACEOF
40951 done
40957 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
40958 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
40959 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40960 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
40961 echo $ECHO_N "(cached) $ECHO_C" >&6
40962 else
40966 ac_ext=cc
40967 ac_cpp='$CXXCPP $CPPFLAGS'
40968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40972 cat >conftest.$ac_ext <<_ACEOF
40973 /* confdefs.h. */
40974 _ACEOF
40975 cat confdefs.h >>conftest.$ac_ext
40976 cat >>conftest.$ac_ext <<_ACEOF
40977 /* end confdefs.h. */
40978 #include <math.h>
40979 #ifdef HAVE_IEEEFP_H
40980 #include <ieeefp.h>
40981 #endif
40984 main ()
40986 isnanl(0);
40988 return 0;
40990 _ACEOF
40991 rm -f conftest.$ac_objext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40993 (eval $ac_compile) 2>conftest.er1
40994 ac_status=$?
40995 grep -v '^ *+' conftest.er1 >conftest.err
40996 rm -f conftest.er1
40997 cat conftest.err >&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } &&
41000 { ac_try='test -z "$ac_cxx_werror_flag"
41001 || test ! -s conftest.err'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41004 ac_status=$?
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; } &&
41007 { ac_try='test -s conftest.$ac_objext'
41008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009 (eval $ac_try) 2>&5
41010 ac_status=$?
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); }; }; then
41013 glibcxx_cv_func_isnanl_use=yes
41014 else
41015 echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41018 glibcxx_cv_func_isnanl_use=no
41020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41021 ac_ext=c
41022 ac_cpp='$CPP $CPPFLAGS'
41023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41032 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41034 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41036 for ac_func in isnanl
41038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41039 echo "$as_me:$LINENO: checking for $ac_func" >&5
41040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41041 if eval "test \"\${$as_ac_var+set}\" = set"; then
41042 echo $ECHO_N "(cached) $ECHO_C" >&6
41043 else
41044 if test x$gcc_no_link = xyes; then
41045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41047 { (exit 1); exit 1; }; }
41049 cat >conftest.$ac_ext <<_ACEOF
41050 /* confdefs.h. */
41051 _ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41057 #define $ac_func innocuous_$ac_func
41059 /* System header to define __stub macros and hopefully few prototypes,
41060 which can conflict with char $ac_func (); below.
41061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41062 <limits.h> exists even on freestanding compilers. */
41064 #ifdef __STDC__
41065 # include <limits.h>
41066 #else
41067 # include <assert.h>
41068 #endif
41070 #undef $ac_func
41072 /* Override any gcc2 internal prototype to avoid an error. */
41073 #ifdef __cplusplus
41074 extern "C"
41076 #endif
41077 /* We use char because int might match the return type of a gcc2
41078 builtin and then its argument prototype would still apply. */
41079 char $ac_func ();
41080 /* The GNU C library defines this for functions which it implements
41081 to always fail with ENOSYS. Some functions are actually named
41082 something starting with __ and the normal name is an alias. */
41083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41084 choke me
41085 #else
41086 char (*f) () = $ac_func;
41087 #endif
41088 #ifdef __cplusplus
41090 #endif
41093 main ()
41095 return f != $ac_func;
41097 return 0;
41099 _ACEOF
41100 rm -f conftest.$ac_objext conftest$ac_exeext
41101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41102 (eval $ac_link) 2>conftest.er1
41103 ac_status=$?
41104 grep -v '^ *+' conftest.er1 >conftest.err
41105 rm -f conftest.er1
41106 cat conftest.err >&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); } &&
41109 { ac_try='test -z "$ac_c_werror_flag"
41110 || test ! -s conftest.err'
41111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41112 (eval $ac_try) 2>&5
41113 ac_status=$?
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); }; } &&
41116 { ac_try='test -s conftest$ac_exeext'
41117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41118 (eval $ac_try) 2>&5
41119 ac_status=$?
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); }; }; then
41122 eval "$as_ac_var=yes"
41123 else
41124 echo "$as_me: failed program was:" >&5
41125 sed 's/^/| /' conftest.$ac_ext >&5
41127 eval "$as_ac_var=no"
41129 rm -f conftest.err conftest.$ac_objext \
41130 conftest$ac_exeext conftest.$ac_ext
41132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41134 if test `eval echo '${'$as_ac_var'}'` = yes; then
41135 cat >>confdefs.h <<_ACEOF
41136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41137 _ACEOF
41140 done
41142 else
41144 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41145 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41146 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41147 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41148 echo $ECHO_N "(cached) $ECHO_C" >&6
41149 else
41153 ac_ext=cc
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41159 cat >conftest.$ac_ext <<_ACEOF
41160 /* confdefs.h. */
41161 _ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 #include <math.h>
41166 #ifdef HAVE_IEEEFP_H
41167 #include <ieeefp.h>
41168 #endif
41171 main ()
41173 _isnanl(0);
41175 return 0;
41177 _ACEOF
41178 rm -f conftest.$ac_objext
41179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41180 (eval $ac_compile) 2>conftest.er1
41181 ac_status=$?
41182 grep -v '^ *+' conftest.er1 >conftest.err
41183 rm -f conftest.er1
41184 cat conftest.err >&5
41185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41186 (exit $ac_status); } &&
41187 { ac_try='test -z "$ac_cxx_werror_flag"
41188 || test ! -s conftest.err'
41189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41190 (eval $ac_try) 2>&5
41191 ac_status=$?
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; } &&
41194 { ac_try='test -s conftest.$ac_objext'
41195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196 (eval $ac_try) 2>&5
41197 ac_status=$?
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); }; }; then
41200 glibcxx_cv_func__isnanl_use=yes
41201 else
41202 echo "$as_me: failed program was:" >&5
41203 sed 's/^/| /' conftest.$ac_ext >&5
41205 glibcxx_cv_func__isnanl_use=no
41207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41208 ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41219 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41221 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41223 for ac_func in _isnanl
41225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41226 echo "$as_me:$LINENO: checking for $ac_func" >&5
41227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41228 if eval "test \"\${$as_ac_var+set}\" = set"; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41231 if test x$gcc_no_link = xyes; then
41232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41234 { (exit 1); exit 1; }; }
41236 cat >conftest.$ac_ext <<_ACEOF
41237 /* confdefs.h. */
41238 _ACEOF
41239 cat confdefs.h >>conftest.$ac_ext
41240 cat >>conftest.$ac_ext <<_ACEOF
41241 /* end confdefs.h. */
41242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41244 #define $ac_func innocuous_$ac_func
41246 /* System header to define __stub macros and hopefully few prototypes,
41247 which can conflict with char $ac_func (); below.
41248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41249 <limits.h> exists even on freestanding compilers. */
41251 #ifdef __STDC__
41252 # include <limits.h>
41253 #else
41254 # include <assert.h>
41255 #endif
41257 #undef $ac_func
41259 /* Override any gcc2 internal prototype to avoid an error. */
41260 #ifdef __cplusplus
41261 extern "C"
41263 #endif
41264 /* We use char because int might match the return type of a gcc2
41265 builtin and then its argument prototype would still apply. */
41266 char $ac_func ();
41267 /* The GNU C library defines this for functions which it implements
41268 to always fail with ENOSYS. Some functions are actually named
41269 something starting with __ and the normal name is an alias. */
41270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41271 choke me
41272 #else
41273 char (*f) () = $ac_func;
41274 #endif
41275 #ifdef __cplusplus
41277 #endif
41280 main ()
41282 return f != $ac_func;
41284 return 0;
41286 _ACEOF
41287 rm -f conftest.$ac_objext conftest$ac_exeext
41288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41289 (eval $ac_link) 2>conftest.er1
41290 ac_status=$?
41291 grep -v '^ *+' conftest.er1 >conftest.err
41292 rm -f conftest.er1
41293 cat conftest.err >&5
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); } &&
41296 { ac_try='test -z "$ac_c_werror_flag"
41297 || test ! -s conftest.err'
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); }; } &&
41303 { ac_try='test -s conftest$ac_exeext'
41304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41305 (eval $ac_try) 2>&5
41306 ac_status=$?
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); }; }; then
41309 eval "$as_ac_var=yes"
41310 else
41311 echo "$as_me: failed program was:" >&5
41312 sed 's/^/| /' conftest.$ac_ext >&5
41314 eval "$as_ac_var=no"
41316 rm -f conftest.err conftest.$ac_objext \
41317 conftest$ac_exeext conftest.$ac_ext
41319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41321 if test `eval echo '${'$as_ac_var'}'` = yes; then
41322 cat >>confdefs.h <<_ACEOF
41323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41324 _ACEOF
41327 done
41334 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41335 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41336 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41337 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 else
41343 ac_ext=cc
41344 ac_cpp='$CXXCPP $CPPFLAGS'
41345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41349 cat >conftest.$ac_ext <<_ACEOF
41350 /* confdefs.h. */
41351 _ACEOF
41352 cat confdefs.h >>conftest.$ac_ext
41353 cat >>conftest.$ac_ext <<_ACEOF
41354 /* end confdefs.h. */
41355 #include <math.h>
41356 #ifdef HAVE_IEEEFP_H
41357 #include <ieeefp.h>
41358 #endif
41361 main ()
41363 isinfl(0);
41365 return 0;
41367 _ACEOF
41368 rm -f conftest.$ac_objext
41369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41370 (eval $ac_compile) 2>conftest.er1
41371 ac_status=$?
41372 grep -v '^ *+' conftest.er1 >conftest.err
41373 rm -f conftest.er1
41374 cat conftest.err >&5
41375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41376 (exit $ac_status); } &&
41377 { ac_try='test -z "$ac_cxx_werror_flag"
41378 || test ! -s conftest.err'
41379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41380 (eval $ac_try) 2>&5
41381 ac_status=$?
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; } &&
41384 { ac_try='test -s conftest.$ac_objext'
41385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41386 (eval $ac_try) 2>&5
41387 ac_status=$?
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); }; }; then
41390 glibcxx_cv_func_isinfl_use=yes
41391 else
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41395 glibcxx_cv_func_isinfl_use=no
41397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41398 ac_ext=c
41399 ac_cpp='$CPP $CPPFLAGS'
41400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41409 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41413 for ac_func in isinfl
41415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41416 echo "$as_me:$LINENO: checking for $ac_func" >&5
41417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41418 if eval "test \"\${$as_ac_var+set}\" = set"; then
41419 echo $ECHO_N "(cached) $ECHO_C" >&6
41420 else
41421 if test x$gcc_no_link = xyes; then
41422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41424 { (exit 1); exit 1; }; }
41426 cat >conftest.$ac_ext <<_ACEOF
41427 /* confdefs.h. */
41428 _ACEOF
41429 cat confdefs.h >>conftest.$ac_ext
41430 cat >>conftest.$ac_ext <<_ACEOF
41431 /* end confdefs.h. */
41432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41434 #define $ac_func innocuous_$ac_func
41436 /* System header to define __stub macros and hopefully few prototypes,
41437 which can conflict with char $ac_func (); below.
41438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41439 <limits.h> exists even on freestanding compilers. */
41441 #ifdef __STDC__
41442 # include <limits.h>
41443 #else
41444 # include <assert.h>
41445 #endif
41447 #undef $ac_func
41449 /* Override any gcc2 internal prototype to avoid an error. */
41450 #ifdef __cplusplus
41451 extern "C"
41453 #endif
41454 /* We use char because int might match the return type of a gcc2
41455 builtin and then its argument prototype would still apply. */
41456 char $ac_func ();
41457 /* The GNU C library defines this for functions which it implements
41458 to always fail with ENOSYS. Some functions are actually named
41459 something starting with __ and the normal name is an alias. */
41460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41461 choke me
41462 #else
41463 char (*f) () = $ac_func;
41464 #endif
41465 #ifdef __cplusplus
41467 #endif
41470 main ()
41472 return f != $ac_func;
41474 return 0;
41476 _ACEOF
41477 rm -f conftest.$ac_objext conftest$ac_exeext
41478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41479 (eval $ac_link) 2>conftest.er1
41480 ac_status=$?
41481 grep -v '^ *+' conftest.er1 >conftest.err
41482 rm -f conftest.er1
41483 cat conftest.err >&5
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); } &&
41486 { ac_try='test -z "$ac_c_werror_flag"
41487 || test ! -s conftest.err'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41490 ac_status=$?
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; } &&
41493 { ac_try='test -s conftest$ac_exeext'
41494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41495 (eval $ac_try) 2>&5
41496 ac_status=$?
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); }; }; then
41499 eval "$as_ac_var=yes"
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41504 eval "$as_ac_var=no"
41506 rm -f conftest.err conftest.$ac_objext \
41507 conftest$ac_exeext conftest.$ac_ext
41509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41511 if test `eval echo '${'$as_ac_var'}'` = yes; then
41512 cat >>confdefs.h <<_ACEOF
41513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41514 _ACEOF
41517 done
41519 else
41521 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41522 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41523 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41524 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41525 echo $ECHO_N "(cached) $ECHO_C" >&6
41526 else
41530 ac_ext=cc
41531 ac_cpp='$CXXCPP $CPPFLAGS'
41532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41536 cat >conftest.$ac_ext <<_ACEOF
41537 /* confdefs.h. */
41538 _ACEOF
41539 cat confdefs.h >>conftest.$ac_ext
41540 cat >>conftest.$ac_ext <<_ACEOF
41541 /* end confdefs.h. */
41542 #include <math.h>
41543 #ifdef HAVE_IEEEFP_H
41544 #include <ieeefp.h>
41545 #endif
41548 main ()
41550 _isinfl(0);
41552 return 0;
41554 _ACEOF
41555 rm -f conftest.$ac_objext
41556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41557 (eval $ac_compile) 2>conftest.er1
41558 ac_status=$?
41559 grep -v '^ *+' conftest.er1 >conftest.err
41560 rm -f conftest.er1
41561 cat conftest.err >&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); } &&
41564 { ac_try='test -z "$ac_cxx_werror_flag"
41565 || test ! -s conftest.err'
41566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41567 (eval $ac_try) 2>&5
41568 ac_status=$?
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); }; } &&
41571 { ac_try='test -s conftest.$ac_objext'
41572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41573 (eval $ac_try) 2>&5
41574 ac_status=$?
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); }; }; then
41577 glibcxx_cv_func__isinfl_use=yes
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41582 glibcxx_cv_func__isinfl_use=no
41584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41585 ac_ext=c
41586 ac_cpp='$CPP $CPPFLAGS'
41587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41596 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41598 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41600 for ac_func in _isinfl
41602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41603 echo "$as_me:$LINENO: checking for $ac_func" >&5
41604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41605 if eval "test \"\${$as_ac_var+set}\" = set"; then
41606 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 else
41608 if test x$gcc_no_link = xyes; then
41609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41611 { (exit 1); exit 1; }; }
41613 cat >conftest.$ac_ext <<_ACEOF
41614 /* confdefs.h. */
41615 _ACEOF
41616 cat confdefs.h >>conftest.$ac_ext
41617 cat >>conftest.$ac_ext <<_ACEOF
41618 /* end confdefs.h. */
41619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41621 #define $ac_func innocuous_$ac_func
41623 /* System header to define __stub macros and hopefully few prototypes,
41624 which can conflict with char $ac_func (); below.
41625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41626 <limits.h> exists even on freestanding compilers. */
41628 #ifdef __STDC__
41629 # include <limits.h>
41630 #else
41631 # include <assert.h>
41632 #endif
41634 #undef $ac_func
41636 /* Override any gcc2 internal prototype to avoid an error. */
41637 #ifdef __cplusplus
41638 extern "C"
41640 #endif
41641 /* We use char because int might match the return type of a gcc2
41642 builtin and then its argument prototype would still apply. */
41643 char $ac_func ();
41644 /* The GNU C library defines this for functions which it implements
41645 to always fail with ENOSYS. Some functions are actually named
41646 something starting with __ and the normal name is an alias. */
41647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41648 choke me
41649 #else
41650 char (*f) () = $ac_func;
41651 #endif
41652 #ifdef __cplusplus
41654 #endif
41657 main ()
41659 return f != $ac_func;
41661 return 0;
41663 _ACEOF
41664 rm -f conftest.$ac_objext conftest$ac_exeext
41665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41666 (eval $ac_link) 2>conftest.er1
41667 ac_status=$?
41668 grep -v '^ *+' conftest.er1 >conftest.err
41669 rm -f conftest.er1
41670 cat conftest.err >&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); } &&
41673 { ac_try='test -z "$ac_c_werror_flag"
41674 || test ! -s conftest.err'
41675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41676 (eval $ac_try) 2>&5
41677 ac_status=$?
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); }; } &&
41680 { ac_try='test -s conftest$ac_exeext'
41681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41682 (eval $ac_try) 2>&5
41683 ac_status=$?
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); }; }; then
41686 eval "$as_ac_var=yes"
41687 else
41688 echo "$as_me: failed program was:" >&5
41689 sed 's/^/| /' conftest.$ac_ext >&5
41691 eval "$as_ac_var=no"
41693 rm -f conftest.err conftest.$ac_objext \
41694 conftest$ac_exeext conftest.$ac_ext
41696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41698 if test `eval echo '${'$as_ac_var'}'` = yes; then
41699 cat >>confdefs.h <<_ACEOF
41700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41701 _ACEOF
41704 done
41711 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41712 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41713 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41714 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41715 echo $ECHO_N "(cached) $ECHO_C" >&6
41716 else
41720 ac_ext=cc
41721 ac_cpp='$CXXCPP $CPPFLAGS'
41722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41726 cat >conftest.$ac_ext <<_ACEOF
41727 /* confdefs.h. */
41728 _ACEOF
41729 cat confdefs.h >>conftest.$ac_ext
41730 cat >>conftest.$ac_ext <<_ACEOF
41731 /* end confdefs.h. */
41732 #include <math.h>
41734 main ()
41736 copysignl(0, 0);
41738 return 0;
41740 _ACEOF
41741 rm -f conftest.$ac_objext
41742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41743 (eval $ac_compile) 2>conftest.er1
41744 ac_status=$?
41745 grep -v '^ *+' conftest.er1 >conftest.err
41746 rm -f conftest.er1
41747 cat conftest.err >&5
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); } &&
41750 { ac_try='test -z "$ac_cxx_werror_flag"
41751 || test ! -s conftest.err'
41752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41753 (eval $ac_try) 2>&5
41754 ac_status=$?
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); }; } &&
41757 { ac_try='test -s conftest.$ac_objext'
41758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41759 (eval $ac_try) 2>&5
41760 ac_status=$?
41761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762 (exit $ac_status); }; }; then
41763 glibcxx_cv_func_copysignl_use=yes
41764 else
41765 echo "$as_me: failed program was:" >&5
41766 sed 's/^/| /' conftest.$ac_ext >&5
41768 glibcxx_cv_func_copysignl_use=no
41770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41771 ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41782 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41784 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41786 for ac_func in copysignl
41788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41789 echo "$as_me:$LINENO: checking for $ac_func" >&5
41790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41791 if eval "test \"\${$as_ac_var+set}\" = set"; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41793 else
41794 if test x$gcc_no_link = xyes; then
41795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41797 { (exit 1); exit 1; }; }
41799 cat >conftest.$ac_ext <<_ACEOF
41800 /* confdefs.h. */
41801 _ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41807 #define $ac_func innocuous_$ac_func
41809 /* System header to define __stub macros and hopefully few prototypes,
41810 which can conflict with char $ac_func (); below.
41811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41812 <limits.h> exists even on freestanding compilers. */
41814 #ifdef __STDC__
41815 # include <limits.h>
41816 #else
41817 # include <assert.h>
41818 #endif
41820 #undef $ac_func
41822 /* Override any gcc2 internal prototype to avoid an error. */
41823 #ifdef __cplusplus
41824 extern "C"
41826 #endif
41827 /* We use char because int might match the return type of a gcc2
41828 builtin and then its argument prototype would still apply. */
41829 char $ac_func ();
41830 /* The GNU C library defines this for functions which it implements
41831 to always fail with ENOSYS. Some functions are actually named
41832 something starting with __ and the normal name is an alias. */
41833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41834 choke me
41835 #else
41836 char (*f) () = $ac_func;
41837 #endif
41838 #ifdef __cplusplus
41840 #endif
41843 main ()
41845 return f != $ac_func;
41847 return 0;
41849 _ACEOF
41850 rm -f conftest.$ac_objext conftest$ac_exeext
41851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41852 (eval $ac_link) 2>conftest.er1
41853 ac_status=$?
41854 grep -v '^ *+' conftest.er1 >conftest.err
41855 rm -f conftest.er1
41856 cat conftest.err >&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); } &&
41859 { ac_try='test -z "$ac_c_werror_flag"
41860 || test ! -s conftest.err'
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); }; } &&
41866 { ac_try='test -s conftest$ac_exeext'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41869 ac_status=$?
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; }; then
41872 eval "$as_ac_var=yes"
41873 else
41874 echo "$as_me: failed program was:" >&5
41875 sed 's/^/| /' conftest.$ac_ext >&5
41877 eval "$as_ac_var=no"
41879 rm -f conftest.err conftest.$ac_objext \
41880 conftest$ac_exeext conftest.$ac_ext
41882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41884 if test `eval echo '${'$as_ac_var'}'` = yes; then
41885 cat >>confdefs.h <<_ACEOF
41886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41887 _ACEOF
41890 done
41892 else
41894 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
41895 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
41896 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
41897 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
41898 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 else
41903 ac_ext=cc
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41909 cat >conftest.$ac_ext <<_ACEOF
41910 /* confdefs.h. */
41911 _ACEOF
41912 cat confdefs.h >>conftest.$ac_ext
41913 cat >>conftest.$ac_ext <<_ACEOF
41914 /* end confdefs.h. */
41915 #include <math.h>
41917 main ()
41919 _copysignl(0, 0);
41921 return 0;
41923 _ACEOF
41924 rm -f conftest.$ac_objext
41925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41926 (eval $ac_compile) 2>conftest.er1
41927 ac_status=$?
41928 grep -v '^ *+' conftest.er1 >conftest.err
41929 rm -f conftest.er1
41930 cat conftest.err >&5
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); } &&
41933 { ac_try='test -z "$ac_cxx_werror_flag"
41934 || test ! -s conftest.err'
41935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41936 (eval $ac_try) 2>&5
41937 ac_status=$?
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); }; } &&
41940 { ac_try='test -s conftest.$ac_objext'
41941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41942 (eval $ac_try) 2>&5
41943 ac_status=$?
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); }; }; then
41946 glibcxx_cv_func__copysignl_use=yes
41947 else
41948 echo "$as_me: failed program was:" >&5
41949 sed 's/^/| /' conftest.$ac_ext >&5
41951 glibcxx_cv_func__copysignl_use=no
41953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41954 ac_ext=c
41955 ac_cpp='$CPP $CPPFLAGS'
41956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
41965 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
41967 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
41969 for ac_func in _copysignl
41971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41972 echo "$as_me:$LINENO: checking for $ac_func" >&5
41973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41974 if eval "test \"\${$as_ac_var+set}\" = set"; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41976 else
41977 if test x$gcc_no_link = xyes; then
41978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41980 { (exit 1); exit 1; }; }
41982 cat >conftest.$ac_ext <<_ACEOF
41983 /* confdefs.h. */
41984 _ACEOF
41985 cat confdefs.h >>conftest.$ac_ext
41986 cat >>conftest.$ac_ext <<_ACEOF
41987 /* end confdefs.h. */
41988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41990 #define $ac_func innocuous_$ac_func
41992 /* System header to define __stub macros and hopefully few prototypes,
41993 which can conflict with char $ac_func (); below.
41994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41995 <limits.h> exists even on freestanding compilers. */
41997 #ifdef __STDC__
41998 # include <limits.h>
41999 #else
42000 # include <assert.h>
42001 #endif
42003 #undef $ac_func
42005 /* Override any gcc2 internal prototype to avoid an error. */
42006 #ifdef __cplusplus
42007 extern "C"
42009 #endif
42010 /* We use char because int might match the return type of a gcc2
42011 builtin and then its argument prototype would still apply. */
42012 char $ac_func ();
42013 /* The GNU C library defines this for functions which it implements
42014 to always fail with ENOSYS. Some functions are actually named
42015 something starting with __ and the normal name is an alias. */
42016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42017 choke me
42018 #else
42019 char (*f) () = $ac_func;
42020 #endif
42021 #ifdef __cplusplus
42023 #endif
42026 main ()
42028 return f != $ac_func;
42030 return 0;
42032 _ACEOF
42033 rm -f conftest.$ac_objext conftest$ac_exeext
42034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42035 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42060 eval "$as_ac_var=no"
42062 rm -f conftest.err conftest.$ac_objext \
42063 conftest$ac_exeext conftest.$ac_ext
42065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42067 if test `eval echo '${'$as_ac_var'}'` = yes; then
42068 cat >>confdefs.h <<_ACEOF
42069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42070 _ACEOF
42073 done
42080 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42081 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42082 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42083 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42084 echo $ECHO_N "(cached) $ECHO_C" >&6
42085 else
42089 ac_ext=cc
42090 ac_cpp='$CXXCPP $CPPFLAGS'
42091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42095 cat >conftest.$ac_ext <<_ACEOF
42096 /* confdefs.h. */
42097 _ACEOF
42098 cat confdefs.h >>conftest.$ac_ext
42099 cat >>conftest.$ac_ext <<_ACEOF
42100 /* end confdefs.h. */
42101 #include <math.h>
42103 main ()
42105 atan2l(0, 0);
42107 return 0;
42109 _ACEOF
42110 rm -f conftest.$ac_objext
42111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42112 (eval $ac_compile) 2>conftest.er1
42113 ac_status=$?
42114 grep -v '^ *+' conftest.er1 >conftest.err
42115 rm -f conftest.er1
42116 cat conftest.err >&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); } &&
42119 { ac_try='test -z "$ac_cxx_werror_flag"
42120 || test ! -s conftest.err'
42121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42122 (eval $ac_try) 2>&5
42123 ac_status=$?
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); }; } &&
42126 { ac_try='test -s conftest.$ac_objext'
42127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42128 (eval $ac_try) 2>&5
42129 ac_status=$?
42130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42131 (exit $ac_status); }; }; then
42132 glibcxx_cv_func_atan2l_use=yes
42133 else
42134 echo "$as_me: failed program was:" >&5
42135 sed 's/^/| /' conftest.$ac_ext >&5
42137 glibcxx_cv_func_atan2l_use=no
42139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42140 ac_ext=c
42141 ac_cpp='$CPP $CPPFLAGS'
42142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42151 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42153 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42155 for ac_func in atan2l
42157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42158 echo "$as_me:$LINENO: checking for $ac_func" >&5
42159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42160 if eval "test \"\${$as_ac_var+set}\" = set"; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42163 if test x$gcc_no_link = xyes; then
42164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42166 { (exit 1); exit 1; }; }
42168 cat >conftest.$ac_ext <<_ACEOF
42169 /* confdefs.h. */
42170 _ACEOF
42171 cat confdefs.h >>conftest.$ac_ext
42172 cat >>conftest.$ac_ext <<_ACEOF
42173 /* end confdefs.h. */
42174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42176 #define $ac_func innocuous_$ac_func
42178 /* System header to define __stub macros and hopefully few prototypes,
42179 which can conflict with char $ac_func (); below.
42180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42181 <limits.h> exists even on freestanding compilers. */
42183 #ifdef __STDC__
42184 # include <limits.h>
42185 #else
42186 # include <assert.h>
42187 #endif
42189 #undef $ac_func
42191 /* Override any gcc2 internal prototype to avoid an error. */
42192 #ifdef __cplusplus
42193 extern "C"
42195 #endif
42196 /* We use char because int might match the return type of a gcc2
42197 builtin and then its argument prototype would still apply. */
42198 char $ac_func ();
42199 /* The GNU C library defines this for functions which it implements
42200 to always fail with ENOSYS. Some functions are actually named
42201 something starting with __ and the normal name is an alias. */
42202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42203 choke me
42204 #else
42205 char (*f) () = $ac_func;
42206 #endif
42207 #ifdef __cplusplus
42209 #endif
42212 main ()
42214 return f != $ac_func;
42216 return 0;
42218 _ACEOF
42219 rm -f conftest.$ac_objext conftest$ac_exeext
42220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42221 (eval $ac_link) 2>conftest.er1
42222 ac_status=$?
42223 grep -v '^ *+' conftest.er1 >conftest.err
42224 rm -f conftest.er1
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } &&
42228 { ac_try='test -z "$ac_c_werror_flag"
42229 || test ! -s conftest.err'
42230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42231 (eval $ac_try) 2>&5
42232 ac_status=$?
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; } &&
42235 { ac_try='test -s conftest$ac_exeext'
42236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42237 (eval $ac_try) 2>&5
42238 ac_status=$?
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); }; }; then
42241 eval "$as_ac_var=yes"
42242 else
42243 echo "$as_me: failed program was:" >&5
42244 sed 's/^/| /' conftest.$ac_ext >&5
42246 eval "$as_ac_var=no"
42248 rm -f conftest.err conftest.$ac_objext \
42249 conftest$ac_exeext conftest.$ac_ext
42251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42253 if test `eval echo '${'$as_ac_var'}'` = yes; then
42254 cat >>confdefs.h <<_ACEOF
42255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42256 _ACEOF
42259 done
42261 else
42263 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42264 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42265 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42266 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 else
42272 ac_ext=cc
42273 ac_cpp='$CXXCPP $CPPFLAGS'
42274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42278 cat >conftest.$ac_ext <<_ACEOF
42279 /* confdefs.h. */
42280 _ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42284 #include <math.h>
42286 main ()
42288 _atan2l(0, 0);
42290 return 0;
42292 _ACEOF
42293 rm -f conftest.$ac_objext
42294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42295 (eval $ac_compile) 2>conftest.er1
42296 ac_status=$?
42297 grep -v '^ *+' conftest.er1 >conftest.err
42298 rm -f conftest.er1
42299 cat conftest.err >&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); } &&
42302 { ac_try='test -z "$ac_cxx_werror_flag"
42303 || test ! -s conftest.err'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42306 ac_status=$?
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; } &&
42309 { ac_try='test -s conftest.$ac_objext'
42310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311 (eval $ac_try) 2>&5
42312 ac_status=$?
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; }; then
42315 glibcxx_cv_func__atan2l_use=yes
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42320 glibcxx_cv_func__atan2l_use=no
42322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42323 ac_ext=c
42324 ac_cpp='$CPP $CPPFLAGS'
42325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42334 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42336 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42338 for ac_func in _atan2l
42340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42341 echo "$as_me:$LINENO: checking for $ac_func" >&5
42342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42343 if eval "test \"\${$as_ac_var+set}\" = set"; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 else
42346 if test x$gcc_no_link = xyes; then
42347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42349 { (exit 1); exit 1; }; }
42351 cat >conftest.$ac_ext <<_ACEOF
42352 /* confdefs.h. */
42353 _ACEOF
42354 cat confdefs.h >>conftest.$ac_ext
42355 cat >>conftest.$ac_ext <<_ACEOF
42356 /* end confdefs.h. */
42357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42359 #define $ac_func innocuous_$ac_func
42361 /* System header to define __stub macros and hopefully few prototypes,
42362 which can conflict with char $ac_func (); below.
42363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42364 <limits.h> exists even on freestanding compilers. */
42366 #ifdef __STDC__
42367 # include <limits.h>
42368 #else
42369 # include <assert.h>
42370 #endif
42372 #undef $ac_func
42374 /* Override any gcc2 internal prototype to avoid an error. */
42375 #ifdef __cplusplus
42376 extern "C"
42378 #endif
42379 /* We use char because int might match the return type of a gcc2
42380 builtin and then its argument prototype would still apply. */
42381 char $ac_func ();
42382 /* The GNU C library defines this for functions which it implements
42383 to always fail with ENOSYS. Some functions are actually named
42384 something starting with __ and the normal name is an alias. */
42385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42386 choke me
42387 #else
42388 char (*f) () = $ac_func;
42389 #endif
42390 #ifdef __cplusplus
42392 #endif
42395 main ()
42397 return f != $ac_func;
42399 return 0;
42401 _ACEOF
42402 rm -f conftest.$ac_objext conftest$ac_exeext
42403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42404 (eval $ac_link) 2>conftest.er1
42405 ac_status=$?
42406 grep -v '^ *+' conftest.er1 >conftest.err
42407 rm -f conftest.er1
42408 cat conftest.err >&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); } &&
42411 { ac_try='test -z "$ac_c_werror_flag"
42412 || test ! -s conftest.err'
42413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42414 (eval $ac_try) 2>&5
42415 ac_status=$?
42416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42417 (exit $ac_status); }; } &&
42418 { ac_try='test -s conftest$ac_exeext'
42419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42420 (eval $ac_try) 2>&5
42421 ac_status=$?
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); }; }; then
42424 eval "$as_ac_var=yes"
42425 else
42426 echo "$as_me: failed program was:" >&5
42427 sed 's/^/| /' conftest.$ac_ext >&5
42429 eval "$as_ac_var=no"
42431 rm -f conftest.err conftest.$ac_objext \
42432 conftest$ac_exeext conftest.$ac_ext
42434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42436 if test `eval echo '${'$as_ac_var'}'` = yes; then
42437 cat >>confdefs.h <<_ACEOF
42438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42439 _ACEOF
42442 done
42449 echo "$as_me:$LINENO: checking for expl declaration" >&5
42450 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42451 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42452 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42453 echo $ECHO_N "(cached) $ECHO_C" >&6
42454 else
42458 ac_ext=cc
42459 ac_cpp='$CXXCPP $CPPFLAGS'
42460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42464 cat >conftest.$ac_ext <<_ACEOF
42465 /* confdefs.h. */
42466 _ACEOF
42467 cat confdefs.h >>conftest.$ac_ext
42468 cat >>conftest.$ac_ext <<_ACEOF
42469 /* end confdefs.h. */
42470 #include <math.h>
42471 #ifdef HAVE_IEEEFP_H
42472 #include <ieeefp.h>
42473 #endif
42476 main ()
42478 expl(0);
42480 return 0;
42482 _ACEOF
42483 rm -f conftest.$ac_objext
42484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42485 (eval $ac_compile) 2>conftest.er1
42486 ac_status=$?
42487 grep -v '^ *+' conftest.er1 >conftest.err
42488 rm -f conftest.er1
42489 cat conftest.err >&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); } &&
42492 { ac_try='test -z "$ac_cxx_werror_flag"
42493 || test ! -s conftest.err'
42494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42495 (eval $ac_try) 2>&5
42496 ac_status=$?
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; } &&
42499 { ac_try='test -s conftest.$ac_objext'
42500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42501 (eval $ac_try) 2>&5
42502 ac_status=$?
42503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42504 (exit $ac_status); }; }; then
42505 glibcxx_cv_func_expl_use=yes
42506 else
42507 echo "$as_me: failed program was:" >&5
42508 sed 's/^/| /' conftest.$ac_ext >&5
42510 glibcxx_cv_func_expl_use=no
42512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42524 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42526 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42528 for ac_func in expl
42530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42531 echo "$as_me:$LINENO: checking for $ac_func" >&5
42532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42533 if eval "test \"\${$as_ac_var+set}\" = set"; then
42534 echo $ECHO_N "(cached) $ECHO_C" >&6
42535 else
42536 if test x$gcc_no_link = xyes; then
42537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42539 { (exit 1); exit 1; }; }
42541 cat >conftest.$ac_ext <<_ACEOF
42542 /* confdefs.h. */
42543 _ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42549 #define $ac_func innocuous_$ac_func
42551 /* System header to define __stub macros and hopefully few prototypes,
42552 which can conflict with char $ac_func (); below.
42553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42554 <limits.h> exists even on freestanding compilers. */
42556 #ifdef __STDC__
42557 # include <limits.h>
42558 #else
42559 # include <assert.h>
42560 #endif
42562 #undef $ac_func
42564 /* Override any gcc2 internal prototype to avoid an error. */
42565 #ifdef __cplusplus
42566 extern "C"
42568 #endif
42569 /* We use char because int might match the return type of a gcc2
42570 builtin and then its argument prototype would still apply. */
42571 char $ac_func ();
42572 /* The GNU C library defines this for functions which it implements
42573 to always fail with ENOSYS. Some functions are actually named
42574 something starting with __ and the normal name is an alias. */
42575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42576 choke me
42577 #else
42578 char (*f) () = $ac_func;
42579 #endif
42580 #ifdef __cplusplus
42582 #endif
42585 main ()
42587 return f != $ac_func;
42589 return 0;
42591 _ACEOF
42592 rm -f conftest.$ac_objext conftest$ac_exeext
42593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42594 (eval $ac_link) 2>conftest.er1
42595 ac_status=$?
42596 grep -v '^ *+' conftest.er1 >conftest.err
42597 rm -f conftest.er1
42598 cat conftest.err >&5
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); } &&
42601 { ac_try='test -z "$ac_c_werror_flag"
42602 || test ! -s conftest.err'
42603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42604 (eval $ac_try) 2>&5
42605 ac_status=$?
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); }; } &&
42608 { ac_try='test -s conftest$ac_exeext'
42609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42610 (eval $ac_try) 2>&5
42611 ac_status=$?
42612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613 (exit $ac_status); }; }; then
42614 eval "$as_ac_var=yes"
42615 else
42616 echo "$as_me: failed program was:" >&5
42617 sed 's/^/| /' conftest.$ac_ext >&5
42619 eval "$as_ac_var=no"
42621 rm -f conftest.err conftest.$ac_objext \
42622 conftest$ac_exeext conftest.$ac_ext
42624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42626 if test `eval echo '${'$as_ac_var'}'` = yes; then
42627 cat >>confdefs.h <<_ACEOF
42628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42629 _ACEOF
42632 done
42634 else
42636 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42637 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42638 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42639 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42645 ac_ext=cc
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42651 cat >conftest.$ac_ext <<_ACEOF
42652 /* confdefs.h. */
42653 _ACEOF
42654 cat confdefs.h >>conftest.$ac_ext
42655 cat >>conftest.$ac_ext <<_ACEOF
42656 /* end confdefs.h. */
42657 #include <math.h>
42658 #ifdef HAVE_IEEEFP_H
42659 #include <ieeefp.h>
42660 #endif
42663 main ()
42665 _expl(0);
42667 return 0;
42669 _ACEOF
42670 rm -f conftest.$ac_objext
42671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42672 (eval $ac_compile) 2>conftest.er1
42673 ac_status=$?
42674 grep -v '^ *+' conftest.er1 >conftest.err
42675 rm -f conftest.er1
42676 cat conftest.err >&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); } &&
42679 { ac_try='test -z "$ac_cxx_werror_flag"
42680 || test ! -s conftest.err'
42681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42682 (eval $ac_try) 2>&5
42683 ac_status=$?
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); }; } &&
42686 { ac_try='test -s conftest.$ac_objext'
42687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42688 (eval $ac_try) 2>&5
42689 ac_status=$?
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); }; }; then
42692 glibcxx_cv_func__expl_use=yes
42693 else
42694 echo "$as_me: failed program was:" >&5
42695 sed 's/^/| /' conftest.$ac_ext >&5
42697 glibcxx_cv_func__expl_use=no
42699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42700 ac_ext=c
42701 ac_cpp='$CPP $CPPFLAGS'
42702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42711 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42713 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42715 for ac_func in _expl
42717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42718 echo "$as_me:$LINENO: checking for $ac_func" >&5
42719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42720 if eval "test \"\${$as_ac_var+set}\" = set"; then
42721 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 else
42723 if test x$gcc_no_link = xyes; then
42724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42726 { (exit 1); exit 1; }; }
42728 cat >conftest.$ac_ext <<_ACEOF
42729 /* confdefs.h. */
42730 _ACEOF
42731 cat confdefs.h >>conftest.$ac_ext
42732 cat >>conftest.$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42736 #define $ac_func innocuous_$ac_func
42738 /* System header to define __stub macros and hopefully few prototypes,
42739 which can conflict with char $ac_func (); below.
42740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42741 <limits.h> exists even on freestanding compilers. */
42743 #ifdef __STDC__
42744 # include <limits.h>
42745 #else
42746 # include <assert.h>
42747 #endif
42749 #undef $ac_func
42751 /* Override any gcc2 internal prototype to avoid an error. */
42752 #ifdef __cplusplus
42753 extern "C"
42755 #endif
42756 /* We use char because int might match the return type of a gcc2
42757 builtin and then its argument prototype would still apply. */
42758 char $ac_func ();
42759 /* The GNU C library defines this for functions which it implements
42760 to always fail with ENOSYS. Some functions are actually named
42761 something starting with __ and the normal name is an alias. */
42762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42763 choke me
42764 #else
42765 char (*f) () = $ac_func;
42766 #endif
42767 #ifdef __cplusplus
42769 #endif
42772 main ()
42774 return f != $ac_func;
42776 return 0;
42778 _ACEOF
42779 rm -f conftest.$ac_objext conftest$ac_exeext
42780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42781 (eval $ac_link) 2>conftest.er1
42782 ac_status=$?
42783 grep -v '^ *+' conftest.er1 >conftest.err
42784 rm -f conftest.er1
42785 cat conftest.err >&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } &&
42788 { ac_try='test -z "$ac_c_werror_flag"
42789 || test ! -s conftest.err'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; } &&
42795 { ac_try='test -s conftest$ac_exeext'
42796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42797 (eval $ac_try) 2>&5
42798 ac_status=$?
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); }; }; then
42801 eval "$as_ac_var=yes"
42802 else
42803 echo "$as_me: failed program was:" >&5
42804 sed 's/^/| /' conftest.$ac_ext >&5
42806 eval "$as_ac_var=no"
42808 rm -f conftest.err conftest.$ac_objext \
42809 conftest$ac_exeext conftest.$ac_ext
42811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42813 if test `eval echo '${'$as_ac_var'}'` = yes; then
42814 cat >>confdefs.h <<_ACEOF
42815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42816 _ACEOF
42819 done
42826 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42827 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42828 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42829 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42830 echo $ECHO_N "(cached) $ECHO_C" >&6
42831 else
42835 ac_ext=cc
42836 ac_cpp='$CXXCPP $CPPFLAGS'
42837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841 cat >conftest.$ac_ext <<_ACEOF
42842 /* confdefs.h. */
42843 _ACEOF
42844 cat confdefs.h >>conftest.$ac_ext
42845 cat >>conftest.$ac_ext <<_ACEOF
42846 /* end confdefs.h. */
42847 #include <math.h>
42848 #ifdef HAVE_IEEEFP_H
42849 #include <ieeefp.h>
42850 #endif
42853 main ()
42855 fabsl(0);
42857 return 0;
42859 _ACEOF
42860 rm -f conftest.$ac_objext
42861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42862 (eval $ac_compile) 2>conftest.er1
42863 ac_status=$?
42864 grep -v '^ *+' conftest.er1 >conftest.err
42865 rm -f conftest.er1
42866 cat conftest.err >&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); } &&
42869 { ac_try='test -z "$ac_cxx_werror_flag"
42870 || test ! -s conftest.err'
42871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42872 (eval $ac_try) 2>&5
42873 ac_status=$?
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); }; } &&
42876 { ac_try='test -s conftest.$ac_objext'
42877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878 (eval $ac_try) 2>&5
42879 ac_status=$?
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; }; then
42882 glibcxx_cv_func_fabsl_use=yes
42883 else
42884 echo "$as_me: failed program was:" >&5
42885 sed 's/^/| /' conftest.$ac_ext >&5
42887 glibcxx_cv_func_fabsl_use=no
42889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42890 ac_ext=c
42891 ac_cpp='$CPP $CPPFLAGS'
42892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
42901 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
42903 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42905 for ac_func in fabsl
42907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42908 echo "$as_me:$LINENO: checking for $ac_func" >&5
42909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42910 if eval "test \"\${$as_ac_var+set}\" = set"; then
42911 echo $ECHO_N "(cached) $ECHO_C" >&6
42912 else
42913 if test x$gcc_no_link = xyes; then
42914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42916 { (exit 1); exit 1; }; }
42918 cat >conftest.$ac_ext <<_ACEOF
42919 /* confdefs.h. */
42920 _ACEOF
42921 cat confdefs.h >>conftest.$ac_ext
42922 cat >>conftest.$ac_ext <<_ACEOF
42923 /* end confdefs.h. */
42924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42926 #define $ac_func innocuous_$ac_func
42928 /* System header to define __stub macros and hopefully few prototypes,
42929 which can conflict with char $ac_func (); below.
42930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42931 <limits.h> exists even on freestanding compilers. */
42933 #ifdef __STDC__
42934 # include <limits.h>
42935 #else
42936 # include <assert.h>
42937 #endif
42939 #undef $ac_func
42941 /* Override any gcc2 internal prototype to avoid an error. */
42942 #ifdef __cplusplus
42943 extern "C"
42945 #endif
42946 /* We use char because int might match the return type of a gcc2
42947 builtin and then its argument prototype would still apply. */
42948 char $ac_func ();
42949 /* The GNU C library defines this for functions which it implements
42950 to always fail with ENOSYS. Some functions are actually named
42951 something starting with __ and the normal name is an alias. */
42952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42953 choke me
42954 #else
42955 char (*f) () = $ac_func;
42956 #endif
42957 #ifdef __cplusplus
42959 #endif
42962 main ()
42964 return f != $ac_func;
42966 return 0;
42968 _ACEOF
42969 rm -f conftest.$ac_objext conftest$ac_exeext
42970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42971 (eval $ac_link) 2>conftest.er1
42972 ac_status=$?
42973 grep -v '^ *+' conftest.er1 >conftest.err
42974 rm -f conftest.er1
42975 cat conftest.err >&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } &&
42978 { ac_try='test -z "$ac_c_werror_flag"
42979 || test ! -s conftest.err'
42980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42981 (eval $ac_try) 2>&5
42982 ac_status=$?
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); }; } &&
42985 { ac_try='test -s conftest$ac_exeext'
42986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42987 (eval $ac_try) 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; }; then
42991 eval "$as_ac_var=yes"
42992 else
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42996 eval "$as_ac_var=no"
42998 rm -f conftest.err conftest.$ac_objext \
42999 conftest$ac_exeext conftest.$ac_ext
43001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43003 if test `eval echo '${'$as_ac_var'}'` = yes; then
43004 cat >>confdefs.h <<_ACEOF
43005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43006 _ACEOF
43009 done
43011 else
43013 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43014 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43015 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43016 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43018 else
43022 ac_ext=cc
43023 ac_cpp='$CXXCPP $CPPFLAGS'
43024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43028 cat >conftest.$ac_ext <<_ACEOF
43029 /* confdefs.h. */
43030 _ACEOF
43031 cat confdefs.h >>conftest.$ac_ext
43032 cat >>conftest.$ac_ext <<_ACEOF
43033 /* end confdefs.h. */
43034 #include <math.h>
43035 #ifdef HAVE_IEEEFP_H
43036 #include <ieeefp.h>
43037 #endif
43040 main ()
43042 _fabsl(0);
43044 return 0;
43046 _ACEOF
43047 rm -f conftest.$ac_objext
43048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43049 (eval $ac_compile) 2>conftest.er1
43050 ac_status=$?
43051 grep -v '^ *+' conftest.er1 >conftest.err
43052 rm -f conftest.er1
43053 cat conftest.err >&5
43054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43055 (exit $ac_status); } &&
43056 { ac_try='test -z "$ac_cxx_werror_flag"
43057 || test ! -s conftest.err'
43058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43059 (eval $ac_try) 2>&5
43060 ac_status=$?
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); }; } &&
43063 { ac_try='test -s conftest.$ac_objext'
43064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43065 (eval $ac_try) 2>&5
43066 ac_status=$?
43067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43068 (exit $ac_status); }; }; then
43069 glibcxx_cv_func__fabsl_use=yes
43070 else
43071 echo "$as_me: failed program was:" >&5
43072 sed 's/^/| /' conftest.$ac_ext >&5
43074 glibcxx_cv_func__fabsl_use=no
43076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43077 ac_ext=c
43078 ac_cpp='$CPP $CPPFLAGS'
43079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43088 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43090 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43092 for ac_func in _fabsl
43094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43095 echo "$as_me:$LINENO: checking for $ac_func" >&5
43096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43097 if eval "test \"\${$as_ac_var+set}\" = set"; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 else
43100 if test x$gcc_no_link = xyes; then
43101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43103 { (exit 1); exit 1; }; }
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43113 #define $ac_func innocuous_$ac_func
43115 /* System header to define __stub macros and hopefully few prototypes,
43116 which can conflict with char $ac_func (); below.
43117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43118 <limits.h> exists even on freestanding compilers. */
43120 #ifdef __STDC__
43121 # include <limits.h>
43122 #else
43123 # include <assert.h>
43124 #endif
43126 #undef $ac_func
43128 /* Override any gcc2 internal prototype to avoid an error. */
43129 #ifdef __cplusplus
43130 extern "C"
43132 #endif
43133 /* We use char because int might match the return type of a gcc2
43134 builtin and then its argument prototype would still apply. */
43135 char $ac_func ();
43136 /* The GNU C library defines this for functions which it implements
43137 to always fail with ENOSYS. Some functions are actually named
43138 something starting with __ and the normal name is an alias. */
43139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43140 choke me
43141 #else
43142 char (*f) () = $ac_func;
43143 #endif
43144 #ifdef __cplusplus
43146 #endif
43149 main ()
43151 return f != $ac_func;
43153 return 0;
43155 _ACEOF
43156 rm -f conftest.$ac_objext conftest$ac_exeext
43157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43158 (eval $ac_link) 2>conftest.er1
43159 ac_status=$?
43160 grep -v '^ *+' conftest.er1 >conftest.err
43161 rm -f conftest.er1
43162 cat conftest.err >&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); } &&
43165 { ac_try='test -z "$ac_c_werror_flag"
43166 || test ! -s conftest.err'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43169 ac_status=$?
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; } &&
43172 { ac_try='test -s conftest$ac_exeext'
43173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43174 (eval $ac_try) 2>&5
43175 ac_status=$?
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); }; }; then
43178 eval "$as_ac_var=yes"
43179 else
43180 echo "$as_me: failed program was:" >&5
43181 sed 's/^/| /' conftest.$ac_ext >&5
43183 eval "$as_ac_var=no"
43185 rm -f conftest.err conftest.$ac_objext \
43186 conftest$ac_exeext conftest.$ac_ext
43188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43190 if test `eval echo '${'$as_ac_var'}'` = yes; then
43191 cat >>confdefs.h <<_ACEOF
43192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43193 _ACEOF
43196 done
43203 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43204 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43205 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43206 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43208 else
43212 ac_ext=cc
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43218 cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h. */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224 #include <math.h>
43226 main ()
43228 fmodl(0, 0);
43230 return 0;
43232 _ACEOF
43233 rm -f conftest.$ac_objext
43234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43235 (eval $ac_compile) 2>conftest.er1
43236 ac_status=$?
43237 grep -v '^ *+' conftest.er1 >conftest.err
43238 rm -f conftest.er1
43239 cat conftest.err >&5
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); } &&
43242 { ac_try='test -z "$ac_cxx_werror_flag"
43243 || test ! -s conftest.err'
43244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43245 (eval $ac_try) 2>&5
43246 ac_status=$?
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); }; } &&
43249 { ac_try='test -s conftest.$ac_objext'
43250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251 (eval $ac_try) 2>&5
43252 ac_status=$?
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); }; }; then
43255 glibcxx_cv_func_fmodl_use=yes
43256 else
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43260 glibcxx_cv_func_fmodl_use=no
43262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43263 ac_ext=c
43264 ac_cpp='$CPP $CPPFLAGS'
43265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43274 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43276 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43278 for ac_func in fmodl
43280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43281 echo "$as_me:$LINENO: checking for $ac_func" >&5
43282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43283 if eval "test \"\${$as_ac_var+set}\" = set"; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43285 else
43286 if test x$gcc_no_link = xyes; then
43287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43289 { (exit 1); exit 1; }; }
43291 cat >conftest.$ac_ext <<_ACEOF
43292 /* confdefs.h. */
43293 _ACEOF
43294 cat confdefs.h >>conftest.$ac_ext
43295 cat >>conftest.$ac_ext <<_ACEOF
43296 /* end confdefs.h. */
43297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43299 #define $ac_func innocuous_$ac_func
43301 /* System header to define __stub macros and hopefully few prototypes,
43302 which can conflict with char $ac_func (); below.
43303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43304 <limits.h> exists even on freestanding compilers. */
43306 #ifdef __STDC__
43307 # include <limits.h>
43308 #else
43309 # include <assert.h>
43310 #endif
43312 #undef $ac_func
43314 /* Override any gcc2 internal prototype to avoid an error. */
43315 #ifdef __cplusplus
43316 extern "C"
43318 #endif
43319 /* We use char because int might match the return type of a gcc2
43320 builtin and then its argument prototype would still apply. */
43321 char $ac_func ();
43322 /* The GNU C library defines this for functions which it implements
43323 to always fail with ENOSYS. Some functions are actually named
43324 something starting with __ and the normal name is an alias. */
43325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43326 choke me
43327 #else
43328 char (*f) () = $ac_func;
43329 #endif
43330 #ifdef __cplusplus
43332 #endif
43335 main ()
43337 return f != $ac_func;
43339 return 0;
43341 _ACEOF
43342 rm -f conftest.$ac_objext conftest$ac_exeext
43343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43344 (eval $ac_link) 2>conftest.er1
43345 ac_status=$?
43346 grep -v '^ *+' conftest.er1 >conftest.err
43347 rm -f conftest.er1
43348 cat conftest.err >&5
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); } &&
43351 { ac_try='test -z "$ac_c_werror_flag"
43352 || test ! -s conftest.err'
43353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43354 (eval $ac_try) 2>&5
43355 ac_status=$?
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; } &&
43358 { ac_try='test -s conftest$ac_exeext'
43359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43360 (eval $ac_try) 2>&5
43361 ac_status=$?
43362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363 (exit $ac_status); }; }; then
43364 eval "$as_ac_var=yes"
43365 else
43366 echo "$as_me: failed program was:" >&5
43367 sed 's/^/| /' conftest.$ac_ext >&5
43369 eval "$as_ac_var=no"
43371 rm -f conftest.err conftest.$ac_objext \
43372 conftest$ac_exeext conftest.$ac_ext
43374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43376 if test `eval echo '${'$as_ac_var'}'` = yes; then
43377 cat >>confdefs.h <<_ACEOF
43378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43379 _ACEOF
43382 done
43384 else
43386 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43387 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43388 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43389 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43390 echo $ECHO_N "(cached) $ECHO_C" >&6
43391 else
43395 ac_ext=cc
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401 cat >conftest.$ac_ext <<_ACEOF
43402 /* confdefs.h. */
43403 _ACEOF
43404 cat confdefs.h >>conftest.$ac_ext
43405 cat >>conftest.$ac_ext <<_ACEOF
43406 /* end confdefs.h. */
43407 #include <math.h>
43409 main ()
43411 _fmodl(0, 0);
43413 return 0;
43415 _ACEOF
43416 rm -f conftest.$ac_objext
43417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43418 (eval $ac_compile) 2>conftest.er1
43419 ac_status=$?
43420 grep -v '^ *+' conftest.er1 >conftest.err
43421 rm -f conftest.er1
43422 cat conftest.err >&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); } &&
43425 { ac_try='test -z "$ac_cxx_werror_flag"
43426 || test ! -s conftest.err'
43427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43428 (eval $ac_try) 2>&5
43429 ac_status=$?
43430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431 (exit $ac_status); }; } &&
43432 { ac_try='test -s conftest.$ac_objext'
43433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43434 (eval $ac_try) 2>&5
43435 ac_status=$?
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); }; }; then
43438 glibcxx_cv_func__fmodl_use=yes
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43443 glibcxx_cv_func__fmodl_use=no
43445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43446 ac_ext=c
43447 ac_cpp='$CPP $CPPFLAGS'
43448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43457 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43459 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43461 for ac_func in _fmodl
43463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43464 echo "$as_me:$LINENO: checking for $ac_func" >&5
43465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43466 if eval "test \"\${$as_ac_var+set}\" = set"; then
43467 echo $ECHO_N "(cached) $ECHO_C" >&6
43468 else
43469 if test x$gcc_no_link = xyes; then
43470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43472 { (exit 1); exit 1; }; }
43474 cat >conftest.$ac_ext <<_ACEOF
43475 /* confdefs.h. */
43476 _ACEOF
43477 cat confdefs.h >>conftest.$ac_ext
43478 cat >>conftest.$ac_ext <<_ACEOF
43479 /* end confdefs.h. */
43480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43482 #define $ac_func innocuous_$ac_func
43484 /* System header to define __stub macros and hopefully few prototypes,
43485 which can conflict with char $ac_func (); below.
43486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43487 <limits.h> exists even on freestanding compilers. */
43489 #ifdef __STDC__
43490 # include <limits.h>
43491 #else
43492 # include <assert.h>
43493 #endif
43495 #undef $ac_func
43497 /* Override any gcc2 internal prototype to avoid an error. */
43498 #ifdef __cplusplus
43499 extern "C"
43501 #endif
43502 /* We use char because int might match the return type of a gcc2
43503 builtin and then its argument prototype would still apply. */
43504 char $ac_func ();
43505 /* The GNU C library defines this for functions which it implements
43506 to always fail with ENOSYS. Some functions are actually named
43507 something starting with __ and the normal name is an alias. */
43508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43509 choke me
43510 #else
43511 char (*f) () = $ac_func;
43512 #endif
43513 #ifdef __cplusplus
43515 #endif
43518 main ()
43520 return f != $ac_func;
43522 return 0;
43524 _ACEOF
43525 rm -f conftest.$ac_objext conftest$ac_exeext
43526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43527 (eval $ac_link) 2>conftest.er1
43528 ac_status=$?
43529 grep -v '^ *+' conftest.er1 >conftest.err
43530 rm -f conftest.er1
43531 cat conftest.err >&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } &&
43534 { ac_try='test -z "$ac_c_werror_flag"
43535 || test ! -s conftest.err'
43536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43537 (eval $ac_try) 2>&5
43538 ac_status=$?
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); }; } &&
43541 { ac_try='test -s conftest$ac_exeext'
43542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43543 (eval $ac_try) 2>&5
43544 ac_status=$?
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); }; }; then
43547 eval "$as_ac_var=yes"
43548 else
43549 echo "$as_me: failed program was:" >&5
43550 sed 's/^/| /' conftest.$ac_ext >&5
43552 eval "$as_ac_var=no"
43554 rm -f conftest.err conftest.$ac_objext \
43555 conftest$ac_exeext conftest.$ac_ext
43557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43559 if test `eval echo '${'$as_ac_var'}'` = yes; then
43560 cat >>confdefs.h <<_ACEOF
43561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43562 _ACEOF
43565 done
43572 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43573 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43574 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43575 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43576 echo $ECHO_N "(cached) $ECHO_C" >&6
43577 else
43581 ac_ext=cc
43582 ac_cpp='$CXXCPP $CPPFLAGS'
43583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43587 cat >conftest.$ac_ext <<_ACEOF
43588 /* confdefs.h. */
43589 _ACEOF
43590 cat confdefs.h >>conftest.$ac_ext
43591 cat >>conftest.$ac_ext <<_ACEOF
43592 /* end confdefs.h. */
43593 #include <math.h>
43595 main ()
43597 frexpl(0, 0);
43599 return 0;
43601 _ACEOF
43602 rm -f conftest.$ac_objext
43603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43604 (eval $ac_compile) 2>conftest.er1
43605 ac_status=$?
43606 grep -v '^ *+' conftest.er1 >conftest.err
43607 rm -f conftest.er1
43608 cat conftest.err >&5
43609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43610 (exit $ac_status); } &&
43611 { ac_try='test -z "$ac_cxx_werror_flag"
43612 || test ! -s conftest.err'
43613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43614 (eval $ac_try) 2>&5
43615 ac_status=$?
43616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43617 (exit $ac_status); }; } &&
43618 { ac_try='test -s conftest.$ac_objext'
43619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43620 (eval $ac_try) 2>&5
43621 ac_status=$?
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; }; then
43624 glibcxx_cv_func_frexpl_use=yes
43625 else
43626 echo "$as_me: failed program was:" >&5
43627 sed 's/^/| /' conftest.$ac_ext >&5
43629 glibcxx_cv_func_frexpl_use=no
43631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43632 ac_ext=c
43633 ac_cpp='$CPP $CPPFLAGS'
43634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43643 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43645 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43647 for ac_func in frexpl
43649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43650 echo "$as_me:$LINENO: checking for $ac_func" >&5
43651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43652 if eval "test \"\${$as_ac_var+set}\" = set"; then
43653 echo $ECHO_N "(cached) $ECHO_C" >&6
43654 else
43655 if test x$gcc_no_link = xyes; then
43656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43658 { (exit 1); exit 1; }; }
43660 cat >conftest.$ac_ext <<_ACEOF
43661 /* confdefs.h. */
43662 _ACEOF
43663 cat confdefs.h >>conftest.$ac_ext
43664 cat >>conftest.$ac_ext <<_ACEOF
43665 /* end confdefs.h. */
43666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43668 #define $ac_func innocuous_$ac_func
43670 /* System header to define __stub macros and hopefully few prototypes,
43671 which can conflict with char $ac_func (); below.
43672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43673 <limits.h> exists even on freestanding compilers. */
43675 #ifdef __STDC__
43676 # include <limits.h>
43677 #else
43678 # include <assert.h>
43679 #endif
43681 #undef $ac_func
43683 /* Override any gcc2 internal prototype to avoid an error. */
43684 #ifdef __cplusplus
43685 extern "C"
43687 #endif
43688 /* We use char because int might match the return type of a gcc2
43689 builtin and then its argument prototype would still apply. */
43690 char $ac_func ();
43691 /* The GNU C library defines this for functions which it implements
43692 to always fail with ENOSYS. Some functions are actually named
43693 something starting with __ and the normal name is an alias. */
43694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43695 choke me
43696 #else
43697 char (*f) () = $ac_func;
43698 #endif
43699 #ifdef __cplusplus
43701 #endif
43704 main ()
43706 return f != $ac_func;
43708 return 0;
43710 _ACEOF
43711 rm -f conftest.$ac_objext conftest$ac_exeext
43712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43713 (eval $ac_link) 2>conftest.er1
43714 ac_status=$?
43715 grep -v '^ *+' conftest.er1 >conftest.err
43716 rm -f conftest.er1
43717 cat conftest.err >&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } &&
43720 { ac_try='test -z "$ac_c_werror_flag"
43721 || test ! -s conftest.err'
43722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43723 (eval $ac_try) 2>&5
43724 ac_status=$?
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); }; } &&
43727 { ac_try='test -s conftest$ac_exeext'
43728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43729 (eval $ac_try) 2>&5
43730 ac_status=$?
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); }; }; then
43733 eval "$as_ac_var=yes"
43734 else
43735 echo "$as_me: failed program was:" >&5
43736 sed 's/^/| /' conftest.$ac_ext >&5
43738 eval "$as_ac_var=no"
43740 rm -f conftest.err conftest.$ac_objext \
43741 conftest$ac_exeext conftest.$ac_ext
43743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43745 if test `eval echo '${'$as_ac_var'}'` = yes; then
43746 cat >>confdefs.h <<_ACEOF
43747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43748 _ACEOF
43751 done
43753 else
43755 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43756 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43757 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43758 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43759 echo $ECHO_N "(cached) $ECHO_C" >&6
43760 else
43764 ac_ext=cc
43765 ac_cpp='$CXXCPP $CPPFLAGS'
43766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43770 cat >conftest.$ac_ext <<_ACEOF
43771 /* confdefs.h. */
43772 _ACEOF
43773 cat confdefs.h >>conftest.$ac_ext
43774 cat >>conftest.$ac_ext <<_ACEOF
43775 /* end confdefs.h. */
43776 #include <math.h>
43778 main ()
43780 _frexpl(0, 0);
43782 return 0;
43784 _ACEOF
43785 rm -f conftest.$ac_objext
43786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43787 (eval $ac_compile) 2>conftest.er1
43788 ac_status=$?
43789 grep -v '^ *+' conftest.er1 >conftest.err
43790 rm -f conftest.er1
43791 cat conftest.err >&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); } &&
43794 { ac_try='test -z "$ac_cxx_werror_flag"
43795 || test ! -s conftest.err'
43796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43797 (eval $ac_try) 2>&5
43798 ac_status=$?
43799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43800 (exit $ac_status); }; } &&
43801 { ac_try='test -s conftest.$ac_objext'
43802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43803 (eval $ac_try) 2>&5
43804 ac_status=$?
43805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43806 (exit $ac_status); }; }; then
43807 glibcxx_cv_func__frexpl_use=yes
43808 else
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43812 glibcxx_cv_func__frexpl_use=no
43814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43815 ac_ext=c
43816 ac_cpp='$CPP $CPPFLAGS'
43817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43826 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43828 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43830 for ac_func in _frexpl
43832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43833 echo "$as_me:$LINENO: checking for $ac_func" >&5
43834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43835 if eval "test \"\${$as_ac_var+set}\" = set"; then
43836 echo $ECHO_N "(cached) $ECHO_C" >&6
43837 else
43838 if test x$gcc_no_link = xyes; then
43839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43841 { (exit 1); exit 1; }; }
43843 cat >conftest.$ac_ext <<_ACEOF
43844 /* confdefs.h. */
43845 _ACEOF
43846 cat confdefs.h >>conftest.$ac_ext
43847 cat >>conftest.$ac_ext <<_ACEOF
43848 /* end confdefs.h. */
43849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43851 #define $ac_func innocuous_$ac_func
43853 /* System header to define __stub macros and hopefully few prototypes,
43854 which can conflict with char $ac_func (); below.
43855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43856 <limits.h> exists even on freestanding compilers. */
43858 #ifdef __STDC__
43859 # include <limits.h>
43860 #else
43861 # include <assert.h>
43862 #endif
43864 #undef $ac_func
43866 /* Override any gcc2 internal prototype to avoid an error. */
43867 #ifdef __cplusplus
43868 extern "C"
43870 #endif
43871 /* We use char because int might match the return type of a gcc2
43872 builtin and then its argument prototype would still apply. */
43873 char $ac_func ();
43874 /* The GNU C library defines this for functions which it implements
43875 to always fail with ENOSYS. Some functions are actually named
43876 something starting with __ and the normal name is an alias. */
43877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43878 choke me
43879 #else
43880 char (*f) () = $ac_func;
43881 #endif
43882 #ifdef __cplusplus
43884 #endif
43887 main ()
43889 return f != $ac_func;
43891 return 0;
43893 _ACEOF
43894 rm -f conftest.$ac_objext conftest$ac_exeext
43895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43896 (eval $ac_link) 2>conftest.er1
43897 ac_status=$?
43898 grep -v '^ *+' conftest.er1 >conftest.err
43899 rm -f conftest.er1
43900 cat conftest.err >&5
43901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902 (exit $ac_status); } &&
43903 { ac_try='test -z "$ac_c_werror_flag"
43904 || test ! -s conftest.err'
43905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43906 (eval $ac_try) 2>&5
43907 ac_status=$?
43908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43909 (exit $ac_status); }; } &&
43910 { ac_try='test -s conftest$ac_exeext'
43911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43912 (eval $ac_try) 2>&5
43913 ac_status=$?
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); }; }; then
43916 eval "$as_ac_var=yes"
43917 else
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43921 eval "$as_ac_var=no"
43923 rm -f conftest.err conftest.$ac_objext \
43924 conftest$ac_exeext conftest.$ac_ext
43926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43928 if test `eval echo '${'$as_ac_var'}'` = yes; then
43929 cat >>confdefs.h <<_ACEOF
43930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43931 _ACEOF
43934 done
43941 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
43942 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
43943 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43944 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
43945 echo $ECHO_N "(cached) $ECHO_C" >&6
43946 else
43950 ac_ext=cc
43951 ac_cpp='$CXXCPP $CPPFLAGS'
43952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43956 cat >conftest.$ac_ext <<_ACEOF
43957 /* confdefs.h. */
43958 _ACEOF
43959 cat confdefs.h >>conftest.$ac_ext
43960 cat >>conftest.$ac_ext <<_ACEOF
43961 /* end confdefs.h. */
43962 #include <math.h>
43964 main ()
43966 hypotl(0, 0);
43968 return 0;
43970 _ACEOF
43971 rm -f conftest.$ac_objext
43972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43973 (eval $ac_compile) 2>conftest.er1
43974 ac_status=$?
43975 grep -v '^ *+' conftest.er1 >conftest.err
43976 rm -f conftest.er1
43977 cat conftest.err >&5
43978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43979 (exit $ac_status); } &&
43980 { ac_try='test -z "$ac_cxx_werror_flag"
43981 || test ! -s conftest.err'
43982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43983 (eval $ac_try) 2>&5
43984 ac_status=$?
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); }; } &&
43987 { ac_try='test -s conftest.$ac_objext'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; }; then
43993 glibcxx_cv_func_hypotl_use=yes
43994 else
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43998 glibcxx_cv_func_hypotl_use=no
44000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44012 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44014 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44016 for ac_func in hypotl
44018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44019 echo "$as_me:$LINENO: checking for $ac_func" >&5
44020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44021 if eval "test \"\${$as_ac_var+set}\" = set"; then
44022 echo $ECHO_N "(cached) $ECHO_C" >&6
44023 else
44024 if test x$gcc_no_link = xyes; then
44025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44027 { (exit 1); exit 1; }; }
44029 cat >conftest.$ac_ext <<_ACEOF
44030 /* confdefs.h. */
44031 _ACEOF
44032 cat confdefs.h >>conftest.$ac_ext
44033 cat >>conftest.$ac_ext <<_ACEOF
44034 /* end confdefs.h. */
44035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44037 #define $ac_func innocuous_$ac_func
44039 /* System header to define __stub macros and hopefully few prototypes,
44040 which can conflict with char $ac_func (); below.
44041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44042 <limits.h> exists even on freestanding compilers. */
44044 #ifdef __STDC__
44045 # include <limits.h>
44046 #else
44047 # include <assert.h>
44048 #endif
44050 #undef $ac_func
44052 /* Override any gcc2 internal prototype to avoid an error. */
44053 #ifdef __cplusplus
44054 extern "C"
44056 #endif
44057 /* We use char because int might match the return type of a gcc2
44058 builtin and then its argument prototype would still apply. */
44059 char $ac_func ();
44060 /* The GNU C library defines this for functions which it implements
44061 to always fail with ENOSYS. Some functions are actually named
44062 something starting with __ and the normal name is an alias. */
44063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44064 choke me
44065 #else
44066 char (*f) () = $ac_func;
44067 #endif
44068 #ifdef __cplusplus
44070 #endif
44073 main ()
44075 return f != $ac_func;
44077 return 0;
44079 _ACEOF
44080 rm -f conftest.$ac_objext conftest$ac_exeext
44081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44082 (eval $ac_link) 2>conftest.er1
44083 ac_status=$?
44084 grep -v '^ *+' conftest.er1 >conftest.err
44085 rm -f conftest.er1
44086 cat conftest.err >&5
44087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088 (exit $ac_status); } &&
44089 { ac_try='test -z "$ac_c_werror_flag"
44090 || test ! -s conftest.err'
44091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44092 (eval $ac_try) 2>&5
44093 ac_status=$?
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); }; } &&
44096 { ac_try='test -s conftest$ac_exeext'
44097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44098 (eval $ac_try) 2>&5
44099 ac_status=$?
44100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44101 (exit $ac_status); }; }; then
44102 eval "$as_ac_var=yes"
44103 else
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.$ac_ext >&5
44107 eval "$as_ac_var=no"
44109 rm -f conftest.err conftest.$ac_objext \
44110 conftest$ac_exeext conftest.$ac_ext
44112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44114 if test `eval echo '${'$as_ac_var'}'` = yes; then
44115 cat >>confdefs.h <<_ACEOF
44116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44117 _ACEOF
44120 done
44122 else
44124 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44125 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44126 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44127 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44128 echo $ECHO_N "(cached) $ECHO_C" >&6
44129 else
44133 ac_ext=cc
44134 ac_cpp='$CXXCPP $CPPFLAGS'
44135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44139 cat >conftest.$ac_ext <<_ACEOF
44140 /* confdefs.h. */
44141 _ACEOF
44142 cat confdefs.h >>conftest.$ac_ext
44143 cat >>conftest.$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44145 #include <math.h>
44147 main ()
44149 _hypotl(0, 0);
44151 return 0;
44153 _ACEOF
44154 rm -f conftest.$ac_objext
44155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44156 (eval $ac_compile) 2>conftest.er1
44157 ac_status=$?
44158 grep -v '^ *+' conftest.er1 >conftest.err
44159 rm -f conftest.er1
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } &&
44163 { ac_try='test -z "$ac_cxx_werror_flag"
44164 || test ! -s conftest.err'
44165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44166 (eval $ac_try) 2>&5
44167 ac_status=$?
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); }; } &&
44170 { ac_try='test -s conftest.$ac_objext'
44171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44172 (eval $ac_try) 2>&5
44173 ac_status=$?
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); }; }; then
44176 glibcxx_cv_func__hypotl_use=yes
44177 else
44178 echo "$as_me: failed program was:" >&5
44179 sed 's/^/| /' conftest.$ac_ext >&5
44181 glibcxx_cv_func__hypotl_use=no
44183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44184 ac_ext=c
44185 ac_cpp='$CPP $CPPFLAGS'
44186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44194 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44195 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44197 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44199 for ac_func in _hypotl
44201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44202 echo "$as_me:$LINENO: checking for $ac_func" >&5
44203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44204 if eval "test \"\${$as_ac_var+set}\" = set"; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 else
44207 if test x$gcc_no_link = xyes; then
44208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44210 { (exit 1); exit 1; }; }
44212 cat >conftest.$ac_ext <<_ACEOF
44213 /* confdefs.h. */
44214 _ACEOF
44215 cat confdefs.h >>conftest.$ac_ext
44216 cat >>conftest.$ac_ext <<_ACEOF
44217 /* end confdefs.h. */
44218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44220 #define $ac_func innocuous_$ac_func
44222 /* System header to define __stub macros and hopefully few prototypes,
44223 which can conflict with char $ac_func (); below.
44224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44225 <limits.h> exists even on freestanding compilers. */
44227 #ifdef __STDC__
44228 # include <limits.h>
44229 #else
44230 # include <assert.h>
44231 #endif
44233 #undef $ac_func
44235 /* Override any gcc2 internal prototype to avoid an error. */
44236 #ifdef __cplusplus
44237 extern "C"
44239 #endif
44240 /* We use char because int might match the return type of a gcc2
44241 builtin and then its argument prototype would still apply. */
44242 char $ac_func ();
44243 /* The GNU C library defines this for functions which it implements
44244 to always fail with ENOSYS. Some functions are actually named
44245 something starting with __ and the normal name is an alias. */
44246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44247 choke me
44248 #else
44249 char (*f) () = $ac_func;
44250 #endif
44251 #ifdef __cplusplus
44253 #endif
44256 main ()
44258 return f != $ac_func;
44260 return 0;
44262 _ACEOF
44263 rm -f conftest.$ac_objext conftest$ac_exeext
44264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44265 (eval $ac_link) 2>conftest.er1
44266 ac_status=$?
44267 grep -v '^ *+' conftest.er1 >conftest.err
44268 rm -f conftest.er1
44269 cat conftest.err >&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); } &&
44272 { ac_try='test -z "$ac_c_werror_flag"
44273 || test ! -s conftest.err'
44274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44275 (eval $ac_try) 2>&5
44276 ac_status=$?
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); }; } &&
44279 { ac_try='test -s conftest$ac_exeext'
44280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44281 (eval $ac_try) 2>&5
44282 ac_status=$?
44283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44284 (exit $ac_status); }; }; then
44285 eval "$as_ac_var=yes"
44286 else
44287 echo "$as_me: failed program was:" >&5
44288 sed 's/^/| /' conftest.$ac_ext >&5
44290 eval "$as_ac_var=no"
44292 rm -f conftest.err conftest.$ac_objext \
44293 conftest$ac_exeext conftest.$ac_ext
44295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44297 if test `eval echo '${'$as_ac_var'}'` = yes; then
44298 cat >>confdefs.h <<_ACEOF
44299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44300 _ACEOF
44303 done
44310 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44311 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44312 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44313 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44314 echo $ECHO_N "(cached) $ECHO_C" >&6
44315 else
44319 ac_ext=cc
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325 cat >conftest.$ac_ext <<_ACEOF
44326 /* confdefs.h. */
44327 _ACEOF
44328 cat confdefs.h >>conftest.$ac_ext
44329 cat >>conftest.$ac_ext <<_ACEOF
44330 /* end confdefs.h. */
44331 #include <math.h>
44333 main ()
44335 ldexpl(0, 0);
44337 return 0;
44339 _ACEOF
44340 rm -f conftest.$ac_objext
44341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44342 (eval $ac_compile) 2>conftest.er1
44343 ac_status=$?
44344 grep -v '^ *+' conftest.er1 >conftest.err
44345 rm -f conftest.er1
44346 cat conftest.err >&5
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); } &&
44349 { ac_try='test -z "$ac_cxx_werror_flag"
44350 || test ! -s conftest.err'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44353 ac_status=$?
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; } &&
44356 { ac_try='test -s conftest.$ac_objext'
44357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358 (eval $ac_try) 2>&5
44359 ac_status=$?
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); }; }; then
44362 glibcxx_cv_func_ldexpl_use=yes
44363 else
44364 echo "$as_me: failed program was:" >&5
44365 sed 's/^/| /' conftest.$ac_ext >&5
44367 glibcxx_cv_func_ldexpl_use=no
44369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44370 ac_ext=c
44371 ac_cpp='$CPP $CPPFLAGS'
44372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44381 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44383 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44385 for ac_func in ldexpl
44387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44388 echo "$as_me:$LINENO: checking for $ac_func" >&5
44389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44390 if eval "test \"\${$as_ac_var+set}\" = set"; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 else
44393 if test x$gcc_no_link = xyes; then
44394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44396 { (exit 1); exit 1; }; }
44398 cat >conftest.$ac_ext <<_ACEOF
44399 /* confdefs.h. */
44400 _ACEOF
44401 cat confdefs.h >>conftest.$ac_ext
44402 cat >>conftest.$ac_ext <<_ACEOF
44403 /* end confdefs.h. */
44404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44406 #define $ac_func innocuous_$ac_func
44408 /* System header to define __stub macros and hopefully few prototypes,
44409 which can conflict with char $ac_func (); below.
44410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44411 <limits.h> exists even on freestanding compilers. */
44413 #ifdef __STDC__
44414 # include <limits.h>
44415 #else
44416 # include <assert.h>
44417 #endif
44419 #undef $ac_func
44421 /* Override any gcc2 internal prototype to avoid an error. */
44422 #ifdef __cplusplus
44423 extern "C"
44425 #endif
44426 /* We use char because int might match the return type of a gcc2
44427 builtin and then its argument prototype would still apply. */
44428 char $ac_func ();
44429 /* The GNU C library defines this for functions which it implements
44430 to always fail with ENOSYS. Some functions are actually named
44431 something starting with __ and the normal name is an alias. */
44432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44433 choke me
44434 #else
44435 char (*f) () = $ac_func;
44436 #endif
44437 #ifdef __cplusplus
44439 #endif
44442 main ()
44444 return f != $ac_func;
44446 return 0;
44448 _ACEOF
44449 rm -f conftest.$ac_objext conftest$ac_exeext
44450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44451 (eval $ac_link) 2>conftest.er1
44452 ac_status=$?
44453 grep -v '^ *+' conftest.er1 >conftest.err
44454 rm -f conftest.er1
44455 cat conftest.err >&5
44456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457 (exit $ac_status); } &&
44458 { ac_try='test -z "$ac_c_werror_flag"
44459 || test ! -s conftest.err'
44460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44461 (eval $ac_try) 2>&5
44462 ac_status=$?
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); }; } &&
44465 { ac_try='test -s conftest$ac_exeext'
44466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467 (eval $ac_try) 2>&5
44468 ac_status=$?
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; }; then
44471 eval "$as_ac_var=yes"
44472 else
44473 echo "$as_me: failed program was:" >&5
44474 sed 's/^/| /' conftest.$ac_ext >&5
44476 eval "$as_ac_var=no"
44478 rm -f conftest.err conftest.$ac_objext \
44479 conftest$ac_exeext conftest.$ac_ext
44481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44483 if test `eval echo '${'$as_ac_var'}'` = yes; then
44484 cat >>confdefs.h <<_ACEOF
44485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44486 _ACEOF
44489 done
44491 else
44493 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44494 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44495 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44496 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44497 echo $ECHO_N "(cached) $ECHO_C" >&6
44498 else
44502 ac_ext=cc
44503 ac_cpp='$CXXCPP $CPPFLAGS'
44504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44508 cat >conftest.$ac_ext <<_ACEOF
44509 /* confdefs.h. */
44510 _ACEOF
44511 cat confdefs.h >>conftest.$ac_ext
44512 cat >>conftest.$ac_ext <<_ACEOF
44513 /* end confdefs.h. */
44514 #include <math.h>
44516 main ()
44518 _ldexpl(0, 0);
44520 return 0;
44522 _ACEOF
44523 rm -f conftest.$ac_objext
44524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44525 (eval $ac_compile) 2>conftest.er1
44526 ac_status=$?
44527 grep -v '^ *+' conftest.er1 >conftest.err
44528 rm -f conftest.er1
44529 cat conftest.err >&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } &&
44532 { ac_try='test -z "$ac_cxx_werror_flag"
44533 || test ! -s conftest.err'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44536 ac_status=$?
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; } &&
44539 { ac_try='test -s conftest.$ac_objext'
44540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44541 (eval $ac_try) 2>&5
44542 ac_status=$?
44543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544 (exit $ac_status); }; }; then
44545 glibcxx_cv_func__ldexpl_use=yes
44546 else
44547 echo "$as_me: failed program was:" >&5
44548 sed 's/^/| /' conftest.$ac_ext >&5
44550 glibcxx_cv_func__ldexpl_use=no
44552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44553 ac_ext=c
44554 ac_cpp='$CPP $CPPFLAGS'
44555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44564 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44566 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44568 for ac_func in _ldexpl
44570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44571 echo "$as_me:$LINENO: checking for $ac_func" >&5
44572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44573 if eval "test \"\${$as_ac_var+set}\" = set"; then
44574 echo $ECHO_N "(cached) $ECHO_C" >&6
44575 else
44576 if test x$gcc_no_link = xyes; then
44577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44579 { (exit 1); exit 1; }; }
44581 cat >conftest.$ac_ext <<_ACEOF
44582 /* confdefs.h. */
44583 _ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44589 #define $ac_func innocuous_$ac_func
44591 /* System header to define __stub macros and hopefully few prototypes,
44592 which can conflict with char $ac_func (); below.
44593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44594 <limits.h> exists even on freestanding compilers. */
44596 #ifdef __STDC__
44597 # include <limits.h>
44598 #else
44599 # include <assert.h>
44600 #endif
44602 #undef $ac_func
44604 /* Override any gcc2 internal prototype to avoid an error. */
44605 #ifdef __cplusplus
44606 extern "C"
44608 #endif
44609 /* We use char because int might match the return type of a gcc2
44610 builtin and then its argument prototype would still apply. */
44611 char $ac_func ();
44612 /* The GNU C library defines this for functions which it implements
44613 to always fail with ENOSYS. Some functions are actually named
44614 something starting with __ and the normal name is an alias. */
44615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44616 choke me
44617 #else
44618 char (*f) () = $ac_func;
44619 #endif
44620 #ifdef __cplusplus
44622 #endif
44625 main ()
44627 return f != $ac_func;
44629 return 0;
44631 _ACEOF
44632 rm -f conftest.$ac_objext conftest$ac_exeext
44633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44634 (eval $ac_link) 2>conftest.er1
44635 ac_status=$?
44636 grep -v '^ *+' conftest.er1 >conftest.err
44637 rm -f conftest.er1
44638 cat conftest.err >&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } &&
44641 { ac_try='test -z "$ac_c_werror_flag"
44642 || test ! -s conftest.err'
44643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44644 (eval $ac_try) 2>&5
44645 ac_status=$?
44646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44647 (exit $ac_status); }; } &&
44648 { ac_try='test -s conftest$ac_exeext'
44649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44650 (eval $ac_try) 2>&5
44651 ac_status=$?
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); }; }; then
44654 eval "$as_ac_var=yes"
44655 else
44656 echo "$as_me: failed program was:" >&5
44657 sed 's/^/| /' conftest.$ac_ext >&5
44659 eval "$as_ac_var=no"
44661 rm -f conftest.err conftest.$ac_objext \
44662 conftest$ac_exeext conftest.$ac_ext
44664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44666 if test `eval echo '${'$as_ac_var'}'` = yes; then
44667 cat >>confdefs.h <<_ACEOF
44668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44669 _ACEOF
44672 done
44679 echo "$as_me:$LINENO: checking for logl declaration" >&5
44680 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44681 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44682 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44683 echo $ECHO_N "(cached) $ECHO_C" >&6
44684 else
44688 ac_ext=cc
44689 ac_cpp='$CXXCPP $CPPFLAGS'
44690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44694 cat >conftest.$ac_ext <<_ACEOF
44695 /* confdefs.h. */
44696 _ACEOF
44697 cat confdefs.h >>conftest.$ac_ext
44698 cat >>conftest.$ac_ext <<_ACEOF
44699 /* end confdefs.h. */
44700 #include <math.h>
44701 #ifdef HAVE_IEEEFP_H
44702 #include <ieeefp.h>
44703 #endif
44706 main ()
44708 logl(0);
44710 return 0;
44712 _ACEOF
44713 rm -f conftest.$ac_objext
44714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44715 (eval $ac_compile) 2>conftest.er1
44716 ac_status=$?
44717 grep -v '^ *+' conftest.er1 >conftest.err
44718 rm -f conftest.er1
44719 cat conftest.err >&5
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); } &&
44722 { ac_try='test -z "$ac_cxx_werror_flag"
44723 || test ! -s conftest.err'
44724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44725 (eval $ac_try) 2>&5
44726 ac_status=$?
44727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44728 (exit $ac_status); }; } &&
44729 { ac_try='test -s conftest.$ac_objext'
44730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44731 (eval $ac_try) 2>&5
44732 ac_status=$?
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); }; }; then
44735 glibcxx_cv_func_logl_use=yes
44736 else
44737 echo "$as_me: failed program was:" >&5
44738 sed 's/^/| /' conftest.$ac_ext >&5
44740 glibcxx_cv_func_logl_use=no
44742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44743 ac_ext=c
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44754 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44756 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44758 for ac_func in logl
44760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44761 echo "$as_me:$LINENO: checking for $ac_func" >&5
44762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44763 if eval "test \"\${$as_ac_var+set}\" = set"; then
44764 echo $ECHO_N "(cached) $ECHO_C" >&6
44765 else
44766 if test x$gcc_no_link = xyes; then
44767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44769 { (exit 1); exit 1; }; }
44771 cat >conftest.$ac_ext <<_ACEOF
44772 /* confdefs.h. */
44773 _ACEOF
44774 cat confdefs.h >>conftest.$ac_ext
44775 cat >>conftest.$ac_ext <<_ACEOF
44776 /* end confdefs.h. */
44777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44779 #define $ac_func innocuous_$ac_func
44781 /* System header to define __stub macros and hopefully few prototypes,
44782 which can conflict with char $ac_func (); below.
44783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44784 <limits.h> exists even on freestanding compilers. */
44786 #ifdef __STDC__
44787 # include <limits.h>
44788 #else
44789 # include <assert.h>
44790 #endif
44792 #undef $ac_func
44794 /* Override any gcc2 internal prototype to avoid an error. */
44795 #ifdef __cplusplus
44796 extern "C"
44798 #endif
44799 /* We use char because int might match the return type of a gcc2
44800 builtin and then its argument prototype would still apply. */
44801 char $ac_func ();
44802 /* The GNU C library defines this for functions which it implements
44803 to always fail with ENOSYS. Some functions are actually named
44804 something starting with __ and the normal name is an alias. */
44805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44806 choke me
44807 #else
44808 char (*f) () = $ac_func;
44809 #endif
44810 #ifdef __cplusplus
44812 #endif
44815 main ()
44817 return f != $ac_func;
44819 return 0;
44821 _ACEOF
44822 rm -f conftest.$ac_objext conftest$ac_exeext
44823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44824 (eval $ac_link) 2>conftest.er1
44825 ac_status=$?
44826 grep -v '^ *+' conftest.er1 >conftest.err
44827 rm -f conftest.er1
44828 cat conftest.err >&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); } &&
44831 { ac_try='test -z "$ac_c_werror_flag"
44832 || test ! -s conftest.err'
44833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44834 (eval $ac_try) 2>&5
44835 ac_status=$?
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; } &&
44838 { ac_try='test -s conftest$ac_exeext'
44839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44840 (eval $ac_try) 2>&5
44841 ac_status=$?
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); }; }; then
44844 eval "$as_ac_var=yes"
44845 else
44846 echo "$as_me: failed program was:" >&5
44847 sed 's/^/| /' conftest.$ac_ext >&5
44849 eval "$as_ac_var=no"
44851 rm -f conftest.err conftest.$ac_objext \
44852 conftest$ac_exeext conftest.$ac_ext
44854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44856 if test `eval echo '${'$as_ac_var'}'` = yes; then
44857 cat >>confdefs.h <<_ACEOF
44858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44859 _ACEOF
44862 done
44864 else
44866 echo "$as_me:$LINENO: checking for _logl declaration" >&5
44867 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
44868 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44869 if test "${glibcxx_cv_func__logl_use+set}" = set; then
44870 echo $ECHO_N "(cached) $ECHO_C" >&6
44871 else
44875 ac_ext=cc
44876 ac_cpp='$CXXCPP $CPPFLAGS'
44877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44881 cat >conftest.$ac_ext <<_ACEOF
44882 /* confdefs.h. */
44883 _ACEOF
44884 cat confdefs.h >>conftest.$ac_ext
44885 cat >>conftest.$ac_ext <<_ACEOF
44886 /* end confdefs.h. */
44887 #include <math.h>
44888 #ifdef HAVE_IEEEFP_H
44889 #include <ieeefp.h>
44890 #endif
44893 main ()
44895 _logl(0);
44897 return 0;
44899 _ACEOF
44900 rm -f conftest.$ac_objext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44902 (eval $ac_compile) 2>conftest.er1
44903 ac_status=$?
44904 grep -v '^ *+' conftest.er1 >conftest.err
44905 rm -f conftest.er1
44906 cat conftest.err >&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try='test -z "$ac_cxx_werror_flag"
44910 || test ! -s conftest.err'
44911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44912 (eval $ac_try) 2>&5
44913 ac_status=$?
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); }; } &&
44916 { ac_try='test -s conftest.$ac_objext'
44917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44918 (eval $ac_try) 2>&5
44919 ac_status=$?
44920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44921 (exit $ac_status); }; }; then
44922 glibcxx_cv_func__logl_use=yes
44923 else
44924 echo "$as_me: failed program was:" >&5
44925 sed 's/^/| /' conftest.$ac_ext >&5
44927 glibcxx_cv_func__logl_use=no
44929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44930 ac_ext=c
44931 ac_cpp='$CPP $CPPFLAGS'
44932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
44941 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
44943 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44945 for ac_func in _logl
44947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44948 echo "$as_me:$LINENO: checking for $ac_func" >&5
44949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44950 if eval "test \"\${$as_ac_var+set}\" = set"; then
44951 echo $ECHO_N "(cached) $ECHO_C" >&6
44952 else
44953 if test x$gcc_no_link = xyes; then
44954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44956 { (exit 1); exit 1; }; }
44958 cat >conftest.$ac_ext <<_ACEOF
44959 /* confdefs.h. */
44960 _ACEOF
44961 cat confdefs.h >>conftest.$ac_ext
44962 cat >>conftest.$ac_ext <<_ACEOF
44963 /* end confdefs.h. */
44964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44966 #define $ac_func innocuous_$ac_func
44968 /* System header to define __stub macros and hopefully few prototypes,
44969 which can conflict with char $ac_func (); below.
44970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44971 <limits.h> exists even on freestanding compilers. */
44973 #ifdef __STDC__
44974 # include <limits.h>
44975 #else
44976 # include <assert.h>
44977 #endif
44979 #undef $ac_func
44981 /* Override any gcc2 internal prototype to avoid an error. */
44982 #ifdef __cplusplus
44983 extern "C"
44985 #endif
44986 /* We use char because int might match the return type of a gcc2
44987 builtin and then its argument prototype would still apply. */
44988 char $ac_func ();
44989 /* The GNU C library defines this for functions which it implements
44990 to always fail with ENOSYS. Some functions are actually named
44991 something starting with __ and the normal name is an alias. */
44992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44993 choke me
44994 #else
44995 char (*f) () = $ac_func;
44996 #endif
44997 #ifdef __cplusplus
44999 #endif
45002 main ()
45004 return f != $ac_func;
45006 return 0;
45008 _ACEOF
45009 rm -f conftest.$ac_objext conftest$ac_exeext
45010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45011 (eval $ac_link) 2>conftest.er1
45012 ac_status=$?
45013 grep -v '^ *+' conftest.er1 >conftest.err
45014 rm -f conftest.er1
45015 cat conftest.err >&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); } &&
45018 { ac_try='test -z "$ac_c_werror_flag"
45019 || test ! -s conftest.err'
45020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45021 (eval $ac_try) 2>&5
45022 ac_status=$?
45023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024 (exit $ac_status); }; } &&
45025 { ac_try='test -s conftest$ac_exeext'
45026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45027 (eval $ac_try) 2>&5
45028 ac_status=$?
45029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45030 (exit $ac_status); }; }; then
45031 eval "$as_ac_var=yes"
45032 else
45033 echo "$as_me: failed program was:" >&5
45034 sed 's/^/| /' conftest.$ac_ext >&5
45036 eval "$as_ac_var=no"
45038 rm -f conftest.err conftest.$ac_objext \
45039 conftest$ac_exeext conftest.$ac_ext
45041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45043 if test `eval echo '${'$as_ac_var'}'` = yes; then
45044 cat >>confdefs.h <<_ACEOF
45045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45046 _ACEOF
45049 done
45056 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45057 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45060 echo $ECHO_N "(cached) $ECHO_C" >&6
45061 else
45065 ac_ext=cc
45066 ac_cpp='$CXXCPP $CPPFLAGS'
45067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45071 cat >conftest.$ac_ext <<_ACEOF
45072 /* confdefs.h. */
45073 _ACEOF
45074 cat confdefs.h >>conftest.$ac_ext
45075 cat >>conftest.$ac_ext <<_ACEOF
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 #ifdef HAVE_IEEEFP_H
45079 #include <ieeefp.h>
45080 #endif
45083 main ()
45085 log10l(0);
45087 return 0;
45089 _ACEOF
45090 rm -f conftest.$ac_objext
45091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45092 (eval $ac_compile) 2>conftest.er1
45093 ac_status=$?
45094 grep -v '^ *+' conftest.er1 >conftest.err
45095 rm -f conftest.er1
45096 cat conftest.err >&5
45097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098 (exit $ac_status); } &&
45099 { ac_try='test -z "$ac_cxx_werror_flag"
45100 || test ! -s conftest.err'
45101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45102 (eval $ac_try) 2>&5
45103 ac_status=$?
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); }; } &&
45106 { ac_try='test -s conftest.$ac_objext'
45107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45108 (eval $ac_try) 2>&5
45109 ac_status=$?
45110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45111 (exit $ac_status); }; }; then
45112 glibcxx_cv_func_log10l_use=yes
45113 else
45114 echo "$as_me: failed program was:" >&5
45115 sed 's/^/| /' conftest.$ac_ext >&5
45117 glibcxx_cv_func_log10l_use=no
45119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45131 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45133 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45135 for ac_func in log10l
45137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45138 echo "$as_me:$LINENO: checking for $ac_func" >&5
45139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45140 if eval "test \"\${$as_ac_var+set}\" = set"; then
45141 echo $ECHO_N "(cached) $ECHO_C" >&6
45142 else
45143 if test x$gcc_no_link = xyes; then
45144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45146 { (exit 1); exit 1; }; }
45148 cat >conftest.$ac_ext <<_ACEOF
45149 /* confdefs.h. */
45150 _ACEOF
45151 cat confdefs.h >>conftest.$ac_ext
45152 cat >>conftest.$ac_ext <<_ACEOF
45153 /* end confdefs.h. */
45154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45156 #define $ac_func innocuous_$ac_func
45158 /* System header to define __stub macros and hopefully few prototypes,
45159 which can conflict with char $ac_func (); below.
45160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45161 <limits.h> exists even on freestanding compilers. */
45163 #ifdef __STDC__
45164 # include <limits.h>
45165 #else
45166 # include <assert.h>
45167 #endif
45169 #undef $ac_func
45171 /* Override any gcc2 internal prototype to avoid an error. */
45172 #ifdef __cplusplus
45173 extern "C"
45175 #endif
45176 /* We use char because int might match the return type of a gcc2
45177 builtin and then its argument prototype would still apply. */
45178 char $ac_func ();
45179 /* The GNU C library defines this for functions which it implements
45180 to always fail with ENOSYS. Some functions are actually named
45181 something starting with __ and the normal name is an alias. */
45182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45183 choke me
45184 #else
45185 char (*f) () = $ac_func;
45186 #endif
45187 #ifdef __cplusplus
45189 #endif
45192 main ()
45194 return f != $ac_func;
45196 return 0;
45198 _ACEOF
45199 rm -f conftest.$ac_objext conftest$ac_exeext
45200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45201 (eval $ac_link) 2>conftest.er1
45202 ac_status=$?
45203 grep -v '^ *+' conftest.er1 >conftest.err
45204 rm -f conftest.er1
45205 cat conftest.err >&5
45206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207 (exit $ac_status); } &&
45208 { ac_try='test -z "$ac_c_werror_flag"
45209 || test ! -s conftest.err'
45210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45211 (eval $ac_try) 2>&5
45212 ac_status=$?
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); }; } &&
45215 { ac_try='test -s conftest$ac_exeext'
45216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45217 (eval $ac_try) 2>&5
45218 ac_status=$?
45219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45220 (exit $ac_status); }; }; then
45221 eval "$as_ac_var=yes"
45222 else
45223 echo "$as_me: failed program was:" >&5
45224 sed 's/^/| /' conftest.$ac_ext >&5
45226 eval "$as_ac_var=no"
45228 rm -f conftest.err conftest.$ac_objext \
45229 conftest$ac_exeext conftest.$ac_ext
45231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45233 if test `eval echo '${'$as_ac_var'}'` = yes; then
45234 cat >>confdefs.h <<_ACEOF
45235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45236 _ACEOF
45239 done
45241 else
45243 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45244 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45245 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45246 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45247 echo $ECHO_N "(cached) $ECHO_C" >&6
45248 else
45252 ac_ext=cc
45253 ac_cpp='$CXXCPP $CPPFLAGS'
45254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45258 cat >conftest.$ac_ext <<_ACEOF
45259 /* confdefs.h. */
45260 _ACEOF
45261 cat confdefs.h >>conftest.$ac_ext
45262 cat >>conftest.$ac_ext <<_ACEOF
45263 /* end confdefs.h. */
45264 #include <math.h>
45265 #ifdef HAVE_IEEEFP_H
45266 #include <ieeefp.h>
45267 #endif
45270 main ()
45272 _log10l(0);
45274 return 0;
45276 _ACEOF
45277 rm -f conftest.$ac_objext
45278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45279 (eval $ac_compile) 2>conftest.er1
45280 ac_status=$?
45281 grep -v '^ *+' conftest.er1 >conftest.err
45282 rm -f conftest.er1
45283 cat conftest.err >&5
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); } &&
45286 { ac_try='test -z "$ac_cxx_werror_flag"
45287 || test ! -s conftest.err'
45288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45289 (eval $ac_try) 2>&5
45290 ac_status=$?
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); }; } &&
45293 { ac_try='test -s conftest.$ac_objext'
45294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45295 (eval $ac_try) 2>&5
45296 ac_status=$?
45297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45298 (exit $ac_status); }; }; then
45299 glibcxx_cv_func__log10l_use=yes
45300 else
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.$ac_ext >&5
45304 glibcxx_cv_func__log10l_use=no
45306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45307 ac_ext=c
45308 ac_cpp='$CPP $CPPFLAGS'
45309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45318 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45320 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45322 for ac_func in _log10l
45324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45325 echo "$as_me:$LINENO: checking for $ac_func" >&5
45326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45327 if eval "test \"\${$as_ac_var+set}\" = set"; then
45328 echo $ECHO_N "(cached) $ECHO_C" >&6
45329 else
45330 if test x$gcc_no_link = xyes; then
45331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45333 { (exit 1); exit 1; }; }
45335 cat >conftest.$ac_ext <<_ACEOF
45336 /* confdefs.h. */
45337 _ACEOF
45338 cat confdefs.h >>conftest.$ac_ext
45339 cat >>conftest.$ac_ext <<_ACEOF
45340 /* end confdefs.h. */
45341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45343 #define $ac_func innocuous_$ac_func
45345 /* System header to define __stub macros and hopefully few prototypes,
45346 which can conflict with char $ac_func (); below.
45347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45348 <limits.h> exists even on freestanding compilers. */
45350 #ifdef __STDC__
45351 # include <limits.h>
45352 #else
45353 # include <assert.h>
45354 #endif
45356 #undef $ac_func
45358 /* Override any gcc2 internal prototype to avoid an error. */
45359 #ifdef __cplusplus
45360 extern "C"
45362 #endif
45363 /* We use char because int might match the return type of a gcc2
45364 builtin and then its argument prototype would still apply. */
45365 char $ac_func ();
45366 /* The GNU C library defines this for functions which it implements
45367 to always fail with ENOSYS. Some functions are actually named
45368 something starting with __ and the normal name is an alias. */
45369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45370 choke me
45371 #else
45372 char (*f) () = $ac_func;
45373 #endif
45374 #ifdef __cplusplus
45376 #endif
45379 main ()
45381 return f != $ac_func;
45383 return 0;
45385 _ACEOF
45386 rm -f conftest.$ac_objext conftest$ac_exeext
45387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45388 (eval $ac_link) 2>conftest.er1
45389 ac_status=$?
45390 grep -v '^ *+' conftest.er1 >conftest.err
45391 rm -f conftest.er1
45392 cat conftest.err >&5
45393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45394 (exit $ac_status); } &&
45395 { ac_try='test -z "$ac_c_werror_flag"
45396 || test ! -s conftest.err'
45397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45398 (eval $ac_try) 2>&5
45399 ac_status=$?
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); }; } &&
45402 { ac_try='test -s conftest$ac_exeext'
45403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45404 (eval $ac_try) 2>&5
45405 ac_status=$?
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); }; }; then
45408 eval "$as_ac_var=yes"
45409 else
45410 echo "$as_me: failed program was:" >&5
45411 sed 's/^/| /' conftest.$ac_ext >&5
45413 eval "$as_ac_var=no"
45415 rm -f conftest.err conftest.$ac_objext \
45416 conftest$ac_exeext conftest.$ac_ext
45418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45420 if test `eval echo '${'$as_ac_var'}'` = yes; then
45421 cat >>confdefs.h <<_ACEOF
45422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45423 _ACEOF
45426 done
45433 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45434 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45435 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45436 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45437 echo $ECHO_N "(cached) $ECHO_C" >&6
45438 else
45442 ac_ext=cc
45443 ac_cpp='$CXXCPP $CPPFLAGS'
45444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45448 cat >conftest.$ac_ext <<_ACEOF
45449 /* confdefs.h. */
45450 _ACEOF
45451 cat confdefs.h >>conftest.$ac_ext
45452 cat >>conftest.$ac_ext <<_ACEOF
45453 /* end confdefs.h. */
45454 #include <math.h>
45456 main ()
45458 modfl(0, 0);
45460 return 0;
45462 _ACEOF
45463 rm -f conftest.$ac_objext
45464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45465 (eval $ac_compile) 2>conftest.er1
45466 ac_status=$?
45467 grep -v '^ *+' conftest.er1 >conftest.err
45468 rm -f conftest.er1
45469 cat conftest.err >&5
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); } &&
45472 { ac_try='test -z "$ac_cxx_werror_flag"
45473 || test ! -s conftest.err'
45474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45475 (eval $ac_try) 2>&5
45476 ac_status=$?
45477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45478 (exit $ac_status); }; } &&
45479 { ac_try='test -s conftest.$ac_objext'
45480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45481 (eval $ac_try) 2>&5
45482 ac_status=$?
45483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484 (exit $ac_status); }; }; then
45485 glibcxx_cv_func_modfl_use=yes
45486 else
45487 echo "$as_me: failed program was:" >&5
45488 sed 's/^/| /' conftest.$ac_ext >&5
45490 glibcxx_cv_func_modfl_use=no
45492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45493 ac_ext=c
45494 ac_cpp='$CPP $CPPFLAGS'
45495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45504 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45506 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45508 for ac_func in modfl
45510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45511 echo "$as_me:$LINENO: checking for $ac_func" >&5
45512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45513 if eval "test \"\${$as_ac_var+set}\" = set"; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 else
45516 if test x$gcc_no_link = xyes; then
45517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45519 { (exit 1); exit 1; }; }
45521 cat >conftest.$ac_ext <<_ACEOF
45522 /* confdefs.h. */
45523 _ACEOF
45524 cat confdefs.h >>conftest.$ac_ext
45525 cat >>conftest.$ac_ext <<_ACEOF
45526 /* end confdefs.h. */
45527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45529 #define $ac_func innocuous_$ac_func
45531 /* System header to define __stub macros and hopefully few prototypes,
45532 which can conflict with char $ac_func (); below.
45533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45534 <limits.h> exists even on freestanding compilers. */
45536 #ifdef __STDC__
45537 # include <limits.h>
45538 #else
45539 # include <assert.h>
45540 #endif
45542 #undef $ac_func
45544 /* Override any gcc2 internal prototype to avoid an error. */
45545 #ifdef __cplusplus
45546 extern "C"
45548 #endif
45549 /* We use char because int might match the return type of a gcc2
45550 builtin and then its argument prototype would still apply. */
45551 char $ac_func ();
45552 /* The GNU C library defines this for functions which it implements
45553 to always fail with ENOSYS. Some functions are actually named
45554 something starting with __ and the normal name is an alias. */
45555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45556 choke me
45557 #else
45558 char (*f) () = $ac_func;
45559 #endif
45560 #ifdef __cplusplus
45562 #endif
45565 main ()
45567 return f != $ac_func;
45569 return 0;
45571 _ACEOF
45572 rm -f conftest.$ac_objext conftest$ac_exeext
45573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45574 (eval $ac_link) 2>conftest.er1
45575 ac_status=$?
45576 grep -v '^ *+' conftest.er1 >conftest.err
45577 rm -f conftest.er1
45578 cat conftest.err >&5
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); } &&
45581 { ac_try='test -z "$ac_c_werror_flag"
45582 || test ! -s conftest.err'
45583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45584 (eval $ac_try) 2>&5
45585 ac_status=$?
45586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45587 (exit $ac_status); }; } &&
45588 { ac_try='test -s conftest$ac_exeext'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45591 ac_status=$?
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; }; then
45594 eval "$as_ac_var=yes"
45595 else
45596 echo "$as_me: failed program was:" >&5
45597 sed 's/^/| /' conftest.$ac_ext >&5
45599 eval "$as_ac_var=no"
45601 rm -f conftest.err conftest.$ac_objext \
45602 conftest$ac_exeext conftest.$ac_ext
45604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45606 if test `eval echo '${'$as_ac_var'}'` = yes; then
45607 cat >>confdefs.h <<_ACEOF
45608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45609 _ACEOF
45612 done
45614 else
45616 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45617 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45618 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45619 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45620 echo $ECHO_N "(cached) $ECHO_C" >&6
45621 else
45625 ac_ext=cc
45626 ac_cpp='$CXXCPP $CPPFLAGS'
45627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631 cat >conftest.$ac_ext <<_ACEOF
45632 /* confdefs.h. */
45633 _ACEOF
45634 cat confdefs.h >>conftest.$ac_ext
45635 cat >>conftest.$ac_ext <<_ACEOF
45636 /* end confdefs.h. */
45637 #include <math.h>
45639 main ()
45641 _modfl(0, 0);
45643 return 0;
45645 _ACEOF
45646 rm -f conftest.$ac_objext
45647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45648 (eval $ac_compile) 2>conftest.er1
45649 ac_status=$?
45650 grep -v '^ *+' conftest.er1 >conftest.err
45651 rm -f conftest.er1
45652 cat conftest.err >&5
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); } &&
45655 { ac_try='test -z "$ac_cxx_werror_flag"
45656 || test ! -s conftest.err'
45657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45658 (eval $ac_try) 2>&5
45659 ac_status=$?
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); }; } &&
45662 { ac_try='test -s conftest.$ac_objext'
45663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45664 (eval $ac_try) 2>&5
45665 ac_status=$?
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); }; }; then
45668 glibcxx_cv_func__modfl_use=yes
45669 else
45670 echo "$as_me: failed program was:" >&5
45671 sed 's/^/| /' conftest.$ac_ext >&5
45673 glibcxx_cv_func__modfl_use=no
45675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45676 ac_ext=c
45677 ac_cpp='$CPP $CPPFLAGS'
45678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45687 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45691 for ac_func in _modfl
45693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45694 echo "$as_me:$LINENO: checking for $ac_func" >&5
45695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45696 if eval "test \"\${$as_ac_var+set}\" = set"; then
45697 echo $ECHO_N "(cached) $ECHO_C" >&6
45698 else
45699 if test x$gcc_no_link = xyes; then
45700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45702 { (exit 1); exit 1; }; }
45704 cat >conftest.$ac_ext <<_ACEOF
45705 /* confdefs.h. */
45706 _ACEOF
45707 cat confdefs.h >>conftest.$ac_ext
45708 cat >>conftest.$ac_ext <<_ACEOF
45709 /* end confdefs.h. */
45710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45712 #define $ac_func innocuous_$ac_func
45714 /* System header to define __stub macros and hopefully few prototypes,
45715 which can conflict with char $ac_func (); below.
45716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45717 <limits.h> exists even on freestanding compilers. */
45719 #ifdef __STDC__
45720 # include <limits.h>
45721 #else
45722 # include <assert.h>
45723 #endif
45725 #undef $ac_func
45727 /* Override any gcc2 internal prototype to avoid an error. */
45728 #ifdef __cplusplus
45729 extern "C"
45731 #endif
45732 /* We use char because int might match the return type of a gcc2
45733 builtin and then its argument prototype would still apply. */
45734 char $ac_func ();
45735 /* The GNU C library defines this for functions which it implements
45736 to always fail with ENOSYS. Some functions are actually named
45737 something starting with __ and the normal name is an alias. */
45738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45739 choke me
45740 #else
45741 char (*f) () = $ac_func;
45742 #endif
45743 #ifdef __cplusplus
45745 #endif
45748 main ()
45750 return f != $ac_func;
45752 return 0;
45754 _ACEOF
45755 rm -f conftest.$ac_objext conftest$ac_exeext
45756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45757 (eval $ac_link) 2>conftest.er1
45758 ac_status=$?
45759 grep -v '^ *+' conftest.er1 >conftest.err
45760 rm -f conftest.er1
45761 cat conftest.err >&5
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); } &&
45764 { ac_try='test -z "$ac_c_werror_flag"
45765 || test ! -s conftest.err'
45766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45767 (eval $ac_try) 2>&5
45768 ac_status=$?
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); }; } &&
45771 { ac_try='test -s conftest$ac_exeext'
45772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45773 (eval $ac_try) 2>&5
45774 ac_status=$?
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); }; }; then
45777 eval "$as_ac_var=yes"
45778 else
45779 echo "$as_me: failed program was:" >&5
45780 sed 's/^/| /' conftest.$ac_ext >&5
45782 eval "$as_ac_var=no"
45784 rm -f conftest.err conftest.$ac_objext \
45785 conftest$ac_exeext conftest.$ac_ext
45787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45789 if test `eval echo '${'$as_ac_var'}'` = yes; then
45790 cat >>confdefs.h <<_ACEOF
45791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45792 _ACEOF
45795 done
45802 echo "$as_me:$LINENO: checking for powl declaration" >&5
45803 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45804 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45805 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45806 echo $ECHO_N "(cached) $ECHO_C" >&6
45807 else
45811 ac_ext=cc
45812 ac_cpp='$CXXCPP $CPPFLAGS'
45813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45817 cat >conftest.$ac_ext <<_ACEOF
45818 /* confdefs.h. */
45819 _ACEOF
45820 cat confdefs.h >>conftest.$ac_ext
45821 cat >>conftest.$ac_ext <<_ACEOF
45822 /* end confdefs.h. */
45823 #include <math.h>
45825 main ()
45827 powl(0, 0);
45829 return 0;
45831 _ACEOF
45832 rm -f conftest.$ac_objext
45833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45834 (eval $ac_compile) 2>conftest.er1
45835 ac_status=$?
45836 grep -v '^ *+' conftest.er1 >conftest.err
45837 rm -f conftest.er1
45838 cat conftest.err >&5
45839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45840 (exit $ac_status); } &&
45841 { ac_try='test -z "$ac_cxx_werror_flag"
45842 || test ! -s conftest.err'
45843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45844 (eval $ac_try) 2>&5
45845 ac_status=$?
45846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45847 (exit $ac_status); }; } &&
45848 { ac_try='test -s conftest.$ac_objext'
45849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850 (eval $ac_try) 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; }; then
45854 glibcxx_cv_func_powl_use=yes
45855 else
45856 echo "$as_me: failed program was:" >&5
45857 sed 's/^/| /' conftest.$ac_ext >&5
45859 glibcxx_cv_func_powl_use=no
45861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45862 ac_ext=c
45863 ac_cpp='$CPP $CPPFLAGS'
45864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
45873 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
45875 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45877 for ac_func in powl
45879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45880 echo "$as_me:$LINENO: checking for $ac_func" >&5
45881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45882 if eval "test \"\${$as_ac_var+set}\" = set"; then
45883 echo $ECHO_N "(cached) $ECHO_C" >&6
45884 else
45885 if test x$gcc_no_link = xyes; then
45886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45888 { (exit 1); exit 1; }; }
45890 cat >conftest.$ac_ext <<_ACEOF
45891 /* confdefs.h. */
45892 _ACEOF
45893 cat confdefs.h >>conftest.$ac_ext
45894 cat >>conftest.$ac_ext <<_ACEOF
45895 /* end confdefs.h. */
45896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45898 #define $ac_func innocuous_$ac_func
45900 /* System header to define __stub macros and hopefully few prototypes,
45901 which can conflict with char $ac_func (); below.
45902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45903 <limits.h> exists even on freestanding compilers. */
45905 #ifdef __STDC__
45906 # include <limits.h>
45907 #else
45908 # include <assert.h>
45909 #endif
45911 #undef $ac_func
45913 /* Override any gcc2 internal prototype to avoid an error. */
45914 #ifdef __cplusplus
45915 extern "C"
45917 #endif
45918 /* We use char because int might match the return type of a gcc2
45919 builtin and then its argument prototype would still apply. */
45920 char $ac_func ();
45921 /* The GNU C library defines this for functions which it implements
45922 to always fail with ENOSYS. Some functions are actually named
45923 something starting with __ and the normal name is an alias. */
45924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45925 choke me
45926 #else
45927 char (*f) () = $ac_func;
45928 #endif
45929 #ifdef __cplusplus
45931 #endif
45934 main ()
45936 return f != $ac_func;
45938 return 0;
45940 _ACEOF
45941 rm -f conftest.$ac_objext conftest$ac_exeext
45942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45943 (eval $ac_link) 2>conftest.er1
45944 ac_status=$?
45945 grep -v '^ *+' conftest.er1 >conftest.err
45946 rm -f conftest.er1
45947 cat conftest.err >&5
45948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45949 (exit $ac_status); } &&
45950 { ac_try='test -z "$ac_c_werror_flag"
45951 || test ! -s conftest.err'
45952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45953 (eval $ac_try) 2>&5
45954 ac_status=$?
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); }; } &&
45957 { ac_try='test -s conftest$ac_exeext'
45958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45959 (eval $ac_try) 2>&5
45960 ac_status=$?
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); }; }; then
45963 eval "$as_ac_var=yes"
45964 else
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.$ac_ext >&5
45968 eval "$as_ac_var=no"
45970 rm -f conftest.err conftest.$ac_objext \
45971 conftest$ac_exeext conftest.$ac_ext
45973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45975 if test `eval echo '${'$as_ac_var'}'` = yes; then
45976 cat >>confdefs.h <<_ACEOF
45977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45978 _ACEOF
45981 done
45983 else
45985 echo "$as_me:$LINENO: checking for _powl declaration" >&5
45986 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
45987 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45988 if test "${glibcxx_cv_func__powl_use+set}" = set; then
45989 echo $ECHO_N "(cached) $ECHO_C" >&6
45990 else
45994 ac_ext=cc
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46000 cat >conftest.$ac_ext <<_ACEOF
46001 /* confdefs.h. */
46002 _ACEOF
46003 cat confdefs.h >>conftest.$ac_ext
46004 cat >>conftest.$ac_ext <<_ACEOF
46005 /* end confdefs.h. */
46006 #include <math.h>
46008 main ()
46010 _powl(0, 0);
46012 return 0;
46014 _ACEOF
46015 rm -f conftest.$ac_objext
46016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46017 (eval $ac_compile) 2>conftest.er1
46018 ac_status=$?
46019 grep -v '^ *+' conftest.er1 >conftest.err
46020 rm -f conftest.er1
46021 cat conftest.err >&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); } &&
46024 { ac_try='test -z "$ac_cxx_werror_flag"
46025 || test ! -s conftest.err'
46026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027 (eval $ac_try) 2>&5
46028 ac_status=$?
46029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030 (exit $ac_status); }; } &&
46031 { ac_try='test -s conftest.$ac_objext'
46032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033 (eval $ac_try) 2>&5
46034 ac_status=$?
46035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036 (exit $ac_status); }; }; then
46037 glibcxx_cv_func__powl_use=yes
46038 else
46039 echo "$as_me: failed program was:" >&5
46040 sed 's/^/| /' conftest.$ac_ext >&5
46042 glibcxx_cv_func__powl_use=no
46044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46056 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46058 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46060 for ac_func in _powl
46062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46063 echo "$as_me:$LINENO: checking for $ac_func" >&5
46064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46065 if eval "test \"\${$as_ac_var+set}\" = set"; then
46066 echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068 if test x$gcc_no_link = xyes; then
46069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46071 { (exit 1); exit 1; }; }
46073 cat >conftest.$ac_ext <<_ACEOF
46074 /* confdefs.h. */
46075 _ACEOF
46076 cat confdefs.h >>conftest.$ac_ext
46077 cat >>conftest.$ac_ext <<_ACEOF
46078 /* end confdefs.h. */
46079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46081 #define $ac_func innocuous_$ac_func
46083 /* System header to define __stub macros and hopefully few prototypes,
46084 which can conflict with char $ac_func (); below.
46085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086 <limits.h> exists even on freestanding compilers. */
46088 #ifdef __STDC__
46089 # include <limits.h>
46090 #else
46091 # include <assert.h>
46092 #endif
46094 #undef $ac_func
46096 /* Override any gcc2 internal prototype to avoid an error. */
46097 #ifdef __cplusplus
46098 extern "C"
46100 #endif
46101 /* We use char because int might match the return type of a gcc2
46102 builtin and then its argument prototype would still apply. */
46103 char $ac_func ();
46104 /* The GNU C library defines this for functions which it implements
46105 to always fail with ENOSYS. Some functions are actually named
46106 something starting with __ and the normal name is an alias. */
46107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46108 choke me
46109 #else
46110 char (*f) () = $ac_func;
46111 #endif
46112 #ifdef __cplusplus
46114 #endif
46117 main ()
46119 return f != $ac_func;
46121 return 0;
46123 _ACEOF
46124 rm -f conftest.$ac_objext conftest$ac_exeext
46125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46126 (eval $ac_link) 2>conftest.er1
46127 ac_status=$?
46128 grep -v '^ *+' conftest.er1 >conftest.err
46129 rm -f conftest.er1
46130 cat conftest.err >&5
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); } &&
46133 { ac_try='test -z "$ac_c_werror_flag"
46134 || test ! -s conftest.err'
46135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136 (eval $ac_try) 2>&5
46137 ac_status=$?
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; } &&
46140 { ac_try='test -s conftest$ac_exeext'
46141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46142 (eval $ac_try) 2>&5
46143 ac_status=$?
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); }; }; then
46146 eval "$as_ac_var=yes"
46147 else
46148 echo "$as_me: failed program was:" >&5
46149 sed 's/^/| /' conftest.$ac_ext >&5
46151 eval "$as_ac_var=no"
46153 rm -f conftest.err conftest.$ac_objext \
46154 conftest$ac_exeext conftest.$ac_ext
46156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46158 if test `eval echo '${'$as_ac_var'}'` = yes; then
46159 cat >>confdefs.h <<_ACEOF
46160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46161 _ACEOF
46164 done
46171 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46172 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46173 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46174 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46175 echo $ECHO_N "(cached) $ECHO_C" >&6
46176 else
46180 ac_ext=cc
46181 ac_cpp='$CXXCPP $CPPFLAGS'
46182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46186 cat >conftest.$ac_ext <<_ACEOF
46187 /* confdefs.h. */
46188 _ACEOF
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192 #include <math.h>
46193 #ifdef HAVE_IEEEFP_H
46194 #include <ieeefp.h>
46195 #endif
46198 main ()
46200 sqrtl(0);
46202 return 0;
46204 _ACEOF
46205 rm -f conftest.$ac_objext
46206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46207 (eval $ac_compile) 2>conftest.er1
46208 ac_status=$?
46209 grep -v '^ *+' conftest.er1 >conftest.err
46210 rm -f conftest.er1
46211 cat conftest.err >&5
46212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46213 (exit $ac_status); } &&
46214 { ac_try='test -z "$ac_cxx_werror_flag"
46215 || test ! -s conftest.err'
46216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217 (eval $ac_try) 2>&5
46218 ac_status=$?
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); }; } &&
46221 { ac_try='test -s conftest.$ac_objext'
46222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46223 (eval $ac_try) 2>&5
46224 ac_status=$?
46225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46226 (exit $ac_status); }; }; then
46227 glibcxx_cv_func_sqrtl_use=yes
46228 else
46229 echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.$ac_ext >&5
46232 glibcxx_cv_func_sqrtl_use=no
46234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46235 ac_ext=c
46236 ac_cpp='$CPP $CPPFLAGS'
46237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46246 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46248 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46250 for ac_func in sqrtl
46252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46253 echo "$as_me:$LINENO: checking for $ac_func" >&5
46254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46255 if eval "test \"\${$as_ac_var+set}\" = set"; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 else
46258 if test x$gcc_no_link = xyes; then
46259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46261 { (exit 1); exit 1; }; }
46263 cat >conftest.$ac_ext <<_ACEOF
46264 /* confdefs.h. */
46265 _ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46271 #define $ac_func innocuous_$ac_func
46273 /* System header to define __stub macros and hopefully few prototypes,
46274 which can conflict with char $ac_func (); below.
46275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46276 <limits.h> exists even on freestanding compilers. */
46278 #ifdef __STDC__
46279 # include <limits.h>
46280 #else
46281 # include <assert.h>
46282 #endif
46284 #undef $ac_func
46286 /* Override any gcc2 internal prototype to avoid an error. */
46287 #ifdef __cplusplus
46288 extern "C"
46290 #endif
46291 /* We use char because int might match the return type of a gcc2
46292 builtin and then its argument prototype would still apply. */
46293 char $ac_func ();
46294 /* The GNU C library defines this for functions which it implements
46295 to always fail with ENOSYS. Some functions are actually named
46296 something starting with __ and the normal name is an alias. */
46297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46298 choke me
46299 #else
46300 char (*f) () = $ac_func;
46301 #endif
46302 #ifdef __cplusplus
46304 #endif
46307 main ()
46309 return f != $ac_func;
46311 return 0;
46313 _ACEOF
46314 rm -f conftest.$ac_objext conftest$ac_exeext
46315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46316 (eval $ac_link) 2>conftest.er1
46317 ac_status=$?
46318 grep -v '^ *+' conftest.er1 >conftest.err
46319 rm -f conftest.er1
46320 cat conftest.err >&5
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); } &&
46323 { ac_try='test -z "$ac_c_werror_flag"
46324 || test ! -s conftest.err'
46325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46326 (eval $ac_try) 2>&5
46327 ac_status=$?
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); }; } &&
46330 { ac_try='test -s conftest$ac_exeext'
46331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46332 (eval $ac_try) 2>&5
46333 ac_status=$?
46334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46335 (exit $ac_status); }; }; then
46336 eval "$as_ac_var=yes"
46337 else
46338 echo "$as_me: failed program was:" >&5
46339 sed 's/^/| /' conftest.$ac_ext >&5
46341 eval "$as_ac_var=no"
46343 rm -f conftest.err conftest.$ac_objext \
46344 conftest$ac_exeext conftest.$ac_ext
46346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46348 if test `eval echo '${'$as_ac_var'}'` = yes; then
46349 cat >>confdefs.h <<_ACEOF
46350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46351 _ACEOF
46354 done
46356 else
46358 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46359 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46360 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46361 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46362 echo $ECHO_N "(cached) $ECHO_C" >&6
46363 else
46367 ac_ext=cc
46368 ac_cpp='$CXXCPP $CPPFLAGS'
46369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46373 cat >conftest.$ac_ext <<_ACEOF
46374 /* confdefs.h. */
46375 _ACEOF
46376 cat confdefs.h >>conftest.$ac_ext
46377 cat >>conftest.$ac_ext <<_ACEOF
46378 /* end confdefs.h. */
46379 #include <math.h>
46380 #ifdef HAVE_IEEEFP_H
46381 #include <ieeefp.h>
46382 #endif
46385 main ()
46387 _sqrtl(0);
46389 return 0;
46391 _ACEOF
46392 rm -f conftest.$ac_objext
46393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46394 (eval $ac_compile) 2>conftest.er1
46395 ac_status=$?
46396 grep -v '^ *+' conftest.er1 >conftest.err
46397 rm -f conftest.er1
46398 cat conftest.err >&5
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); } &&
46401 { ac_try='test -z "$ac_cxx_werror_flag"
46402 || test ! -s conftest.err'
46403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404 (eval $ac_try) 2>&5
46405 ac_status=$?
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); }; } &&
46408 { ac_try='test -s conftest.$ac_objext'
46409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46410 (eval $ac_try) 2>&5
46411 ac_status=$?
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); }; }; then
46414 glibcxx_cv_func__sqrtl_use=yes
46415 else
46416 echo "$as_me: failed program was:" >&5
46417 sed 's/^/| /' conftest.$ac_ext >&5
46419 glibcxx_cv_func__sqrtl_use=no
46421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46422 ac_ext=c
46423 ac_cpp='$CPP $CPPFLAGS'
46424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46433 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46435 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46437 for ac_func in _sqrtl
46439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46440 echo "$as_me:$LINENO: checking for $ac_func" >&5
46441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46442 if eval "test \"\${$as_ac_var+set}\" = set"; then
46443 echo $ECHO_N "(cached) $ECHO_C" >&6
46444 else
46445 if test x$gcc_no_link = xyes; then
46446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46448 { (exit 1); exit 1; }; }
46450 cat >conftest.$ac_ext <<_ACEOF
46451 /* confdefs.h. */
46452 _ACEOF
46453 cat confdefs.h >>conftest.$ac_ext
46454 cat >>conftest.$ac_ext <<_ACEOF
46455 /* end confdefs.h. */
46456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46458 #define $ac_func innocuous_$ac_func
46460 /* System header to define __stub macros and hopefully few prototypes,
46461 which can conflict with char $ac_func (); below.
46462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46463 <limits.h> exists even on freestanding compilers. */
46465 #ifdef __STDC__
46466 # include <limits.h>
46467 #else
46468 # include <assert.h>
46469 #endif
46471 #undef $ac_func
46473 /* Override any gcc2 internal prototype to avoid an error. */
46474 #ifdef __cplusplus
46475 extern "C"
46477 #endif
46478 /* We use char because int might match the return type of a gcc2
46479 builtin and then its argument prototype would still apply. */
46480 char $ac_func ();
46481 /* The GNU C library defines this for functions which it implements
46482 to always fail with ENOSYS. Some functions are actually named
46483 something starting with __ and the normal name is an alias. */
46484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46485 choke me
46486 #else
46487 char (*f) () = $ac_func;
46488 #endif
46489 #ifdef __cplusplus
46491 #endif
46494 main ()
46496 return f != $ac_func;
46498 return 0;
46500 _ACEOF
46501 rm -f conftest.$ac_objext conftest$ac_exeext
46502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46503 (eval $ac_link) 2>conftest.er1
46504 ac_status=$?
46505 grep -v '^ *+' conftest.er1 >conftest.err
46506 rm -f conftest.er1
46507 cat conftest.err >&5
46508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509 (exit $ac_status); } &&
46510 { ac_try='test -z "$ac_c_werror_flag"
46511 || test ! -s conftest.err'
46512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513 (eval $ac_try) 2>&5
46514 ac_status=$?
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); }; } &&
46517 { ac_try='test -s conftest$ac_exeext'
46518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46519 (eval $ac_try) 2>&5
46520 ac_status=$?
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); }; }; then
46523 eval "$as_ac_var=yes"
46524 else
46525 echo "$as_me: failed program was:" >&5
46526 sed 's/^/| /' conftest.$ac_ext >&5
46528 eval "$as_ac_var=no"
46530 rm -f conftest.err conftest.$ac_objext \
46531 conftest$ac_exeext conftest.$ac_ext
46533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46535 if test `eval echo '${'$as_ac_var'}'` = yes; then
46536 cat >>confdefs.h <<_ACEOF
46537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46538 _ACEOF
46541 done
46548 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46549 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46550 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46551 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46552 echo $ECHO_N "(cached) $ECHO_C" >&6
46553 else
46557 ac_ext=cc
46558 ac_cpp='$CXXCPP $CPPFLAGS'
46559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46563 cat >conftest.$ac_ext <<_ACEOF
46564 /* confdefs.h. */
46565 _ACEOF
46566 cat confdefs.h >>conftest.$ac_ext
46567 cat >>conftest.$ac_ext <<_ACEOF
46568 /* end confdefs.h. */
46569 #include <math.h>
46571 main ()
46573 sincosl(0, 0, 0);
46575 return 0;
46577 _ACEOF
46578 rm -f conftest.$ac_objext
46579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46580 (eval $ac_compile) 2>conftest.er1
46581 ac_status=$?
46582 grep -v '^ *+' conftest.er1 >conftest.err
46583 rm -f conftest.er1
46584 cat conftest.err >&5
46585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46586 (exit $ac_status); } &&
46587 { ac_try='test -z "$ac_cxx_werror_flag"
46588 || test ! -s conftest.err'
46589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46590 (eval $ac_try) 2>&5
46591 ac_status=$?
46592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46593 (exit $ac_status); }; } &&
46594 { ac_try='test -s conftest.$ac_objext'
46595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46596 (eval $ac_try) 2>&5
46597 ac_status=$?
46598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599 (exit $ac_status); }; }; then
46600 glibcxx_cv_func_sincosl_use=yes
46601 else
46602 echo "$as_me: failed program was:" >&5
46603 sed 's/^/| /' conftest.$ac_ext >&5
46605 glibcxx_cv_func_sincosl_use=no
46607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46608 ac_ext=c
46609 ac_cpp='$CPP $CPPFLAGS'
46610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46619 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46621 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46623 for ac_func in sincosl
46625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46626 echo "$as_me:$LINENO: checking for $ac_func" >&5
46627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46628 if eval "test \"\${$as_ac_var+set}\" = set"; then
46629 echo $ECHO_N "(cached) $ECHO_C" >&6
46630 else
46631 if test x$gcc_no_link = xyes; then
46632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46634 { (exit 1); exit 1; }; }
46636 cat >conftest.$ac_ext <<_ACEOF
46637 /* confdefs.h. */
46638 _ACEOF
46639 cat confdefs.h >>conftest.$ac_ext
46640 cat >>conftest.$ac_ext <<_ACEOF
46641 /* end confdefs.h. */
46642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46644 #define $ac_func innocuous_$ac_func
46646 /* System header to define __stub macros and hopefully few prototypes,
46647 which can conflict with char $ac_func (); below.
46648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46649 <limits.h> exists even on freestanding compilers. */
46651 #ifdef __STDC__
46652 # include <limits.h>
46653 #else
46654 # include <assert.h>
46655 #endif
46657 #undef $ac_func
46659 /* Override any gcc2 internal prototype to avoid an error. */
46660 #ifdef __cplusplus
46661 extern "C"
46663 #endif
46664 /* We use char because int might match the return type of a gcc2
46665 builtin and then its argument prototype would still apply. */
46666 char $ac_func ();
46667 /* The GNU C library defines this for functions which it implements
46668 to always fail with ENOSYS. Some functions are actually named
46669 something starting with __ and the normal name is an alias. */
46670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46671 choke me
46672 #else
46673 char (*f) () = $ac_func;
46674 #endif
46675 #ifdef __cplusplus
46677 #endif
46680 main ()
46682 return f != $ac_func;
46684 return 0;
46686 _ACEOF
46687 rm -f conftest.$ac_objext conftest$ac_exeext
46688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46689 (eval $ac_link) 2>conftest.er1
46690 ac_status=$?
46691 grep -v '^ *+' conftest.er1 >conftest.err
46692 rm -f conftest.er1
46693 cat conftest.err >&5
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); } &&
46696 { ac_try='test -z "$ac_c_werror_flag"
46697 || test ! -s conftest.err'
46698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46699 (eval $ac_try) 2>&5
46700 ac_status=$?
46701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46702 (exit $ac_status); }; } &&
46703 { ac_try='test -s conftest$ac_exeext'
46704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46705 (eval $ac_try) 2>&5
46706 ac_status=$?
46707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46708 (exit $ac_status); }; }; then
46709 eval "$as_ac_var=yes"
46710 else
46711 echo "$as_me: failed program was:" >&5
46712 sed 's/^/| /' conftest.$ac_ext >&5
46714 eval "$as_ac_var=no"
46716 rm -f conftest.err conftest.$ac_objext \
46717 conftest$ac_exeext conftest.$ac_ext
46719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46721 if test `eval echo '${'$as_ac_var'}'` = yes; then
46722 cat >>confdefs.h <<_ACEOF
46723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46724 _ACEOF
46727 done
46729 else
46731 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46732 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46733 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46734 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46735 echo $ECHO_N "(cached) $ECHO_C" >&6
46736 else
46740 ac_ext=cc
46741 ac_cpp='$CXXCPP $CPPFLAGS'
46742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746 cat >conftest.$ac_ext <<_ACEOF
46747 /* confdefs.h. */
46748 _ACEOF
46749 cat confdefs.h >>conftest.$ac_ext
46750 cat >>conftest.$ac_ext <<_ACEOF
46751 /* end confdefs.h. */
46752 #include <math.h>
46754 main ()
46756 _sincosl(0, 0, 0);
46758 return 0;
46760 _ACEOF
46761 rm -f conftest.$ac_objext
46762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46763 (eval $ac_compile) 2>conftest.er1
46764 ac_status=$?
46765 grep -v '^ *+' conftest.er1 >conftest.err
46766 rm -f conftest.er1
46767 cat conftest.err >&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); } &&
46770 { ac_try='test -z "$ac_cxx_werror_flag"
46771 || test ! -s conftest.err'
46772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46773 (eval $ac_try) 2>&5
46774 ac_status=$?
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); }; } &&
46777 { ac_try='test -s conftest.$ac_objext'
46778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46779 (eval $ac_try) 2>&5
46780 ac_status=$?
46781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46782 (exit $ac_status); }; }; then
46783 glibcxx_cv_func__sincosl_use=yes
46784 else
46785 echo "$as_me: failed program was:" >&5
46786 sed 's/^/| /' conftest.$ac_ext >&5
46788 glibcxx_cv_func__sincosl_use=no
46790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46791 ac_ext=c
46792 ac_cpp='$CPP $CPPFLAGS'
46793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46802 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46804 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46806 for ac_func in _sincosl
46808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46809 echo "$as_me:$LINENO: checking for $ac_func" >&5
46810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46811 if eval "test \"\${$as_ac_var+set}\" = set"; then
46812 echo $ECHO_N "(cached) $ECHO_C" >&6
46813 else
46814 if test x$gcc_no_link = xyes; then
46815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46817 { (exit 1); exit 1; }; }
46819 cat >conftest.$ac_ext <<_ACEOF
46820 /* confdefs.h. */
46821 _ACEOF
46822 cat confdefs.h >>conftest.$ac_ext
46823 cat >>conftest.$ac_ext <<_ACEOF
46824 /* end confdefs.h. */
46825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46827 #define $ac_func innocuous_$ac_func
46829 /* System header to define __stub macros and hopefully few prototypes,
46830 which can conflict with char $ac_func (); below.
46831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46832 <limits.h> exists even on freestanding compilers. */
46834 #ifdef __STDC__
46835 # include <limits.h>
46836 #else
46837 # include <assert.h>
46838 #endif
46840 #undef $ac_func
46842 /* Override any gcc2 internal prototype to avoid an error. */
46843 #ifdef __cplusplus
46844 extern "C"
46846 #endif
46847 /* We use char because int might match the return type of a gcc2
46848 builtin and then its argument prototype would still apply. */
46849 char $ac_func ();
46850 /* The GNU C library defines this for functions which it implements
46851 to always fail with ENOSYS. Some functions are actually named
46852 something starting with __ and the normal name is an alias. */
46853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46854 choke me
46855 #else
46856 char (*f) () = $ac_func;
46857 #endif
46858 #ifdef __cplusplus
46860 #endif
46863 main ()
46865 return f != $ac_func;
46867 return 0;
46869 _ACEOF
46870 rm -f conftest.$ac_objext conftest$ac_exeext
46871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46872 (eval $ac_link) 2>conftest.er1
46873 ac_status=$?
46874 grep -v '^ *+' conftest.er1 >conftest.err
46875 rm -f conftest.er1
46876 cat conftest.err >&5
46877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878 (exit $ac_status); } &&
46879 { ac_try='test -z "$ac_c_werror_flag"
46880 || test ! -s conftest.err'
46881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46882 (eval $ac_try) 2>&5
46883 ac_status=$?
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; } &&
46886 { ac_try='test -s conftest$ac_exeext'
46887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46888 (eval $ac_try) 2>&5
46889 ac_status=$?
46890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46891 (exit $ac_status); }; }; then
46892 eval "$as_ac_var=yes"
46893 else
46894 echo "$as_me: failed program was:" >&5
46895 sed 's/^/| /' conftest.$ac_ext >&5
46897 eval "$as_ac_var=no"
46899 rm -f conftest.err conftest.$ac_objext \
46900 conftest$ac_exeext conftest.$ac_ext
46902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46904 if test `eval echo '${'$as_ac_var'}'` = yes; then
46905 cat >>confdefs.h <<_ACEOF
46906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46907 _ACEOF
46910 done
46917 echo "$as_me:$LINENO: checking for finitel declaration" >&5
46918 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
46919 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46920 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
46921 echo $ECHO_N "(cached) $ECHO_C" >&6
46922 else
46926 ac_ext=cc
46927 ac_cpp='$CXXCPP $CPPFLAGS'
46928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46932 cat >conftest.$ac_ext <<_ACEOF
46933 /* confdefs.h. */
46934 _ACEOF
46935 cat confdefs.h >>conftest.$ac_ext
46936 cat >>conftest.$ac_ext <<_ACEOF
46937 /* end confdefs.h. */
46938 #include <math.h>
46939 #ifdef HAVE_IEEEFP_H
46940 #include <ieeefp.h>
46941 #endif
46944 main ()
46946 finitel(0);
46948 return 0;
46950 _ACEOF
46951 rm -f conftest.$ac_objext
46952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46953 (eval $ac_compile) 2>conftest.er1
46954 ac_status=$?
46955 grep -v '^ *+' conftest.er1 >conftest.err
46956 rm -f conftest.er1
46957 cat conftest.err >&5
46958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959 (exit $ac_status); } &&
46960 { ac_try='test -z "$ac_cxx_werror_flag"
46961 || test ! -s conftest.err'
46962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46963 (eval $ac_try) 2>&5
46964 ac_status=$?
46965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966 (exit $ac_status); }; } &&
46967 { ac_try='test -s conftest.$ac_objext'
46968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46969 (eval $ac_try) 2>&5
46970 ac_status=$?
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); }; }; then
46973 glibcxx_cv_func_finitel_use=yes
46974 else
46975 echo "$as_me: failed program was:" >&5
46976 sed 's/^/| /' conftest.$ac_ext >&5
46978 glibcxx_cv_func_finitel_use=no
46980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
46992 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
46994 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46996 for ac_func in finitel
46998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46999 echo "$as_me:$LINENO: checking for $ac_func" >&5
47000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47001 if eval "test \"\${$as_ac_var+set}\" = set"; then
47002 echo $ECHO_N "(cached) $ECHO_C" >&6
47003 else
47004 if test x$gcc_no_link = xyes; then
47005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47007 { (exit 1); exit 1; }; }
47009 cat >conftest.$ac_ext <<_ACEOF
47010 /* confdefs.h. */
47011 _ACEOF
47012 cat confdefs.h >>conftest.$ac_ext
47013 cat >>conftest.$ac_ext <<_ACEOF
47014 /* end confdefs.h. */
47015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47017 #define $ac_func innocuous_$ac_func
47019 /* System header to define __stub macros and hopefully few prototypes,
47020 which can conflict with char $ac_func (); below.
47021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47022 <limits.h> exists even on freestanding compilers. */
47024 #ifdef __STDC__
47025 # include <limits.h>
47026 #else
47027 # include <assert.h>
47028 #endif
47030 #undef $ac_func
47032 /* Override any gcc2 internal prototype to avoid an error. */
47033 #ifdef __cplusplus
47034 extern "C"
47036 #endif
47037 /* We use char because int might match the return type of a gcc2
47038 builtin and then its argument prototype would still apply. */
47039 char $ac_func ();
47040 /* The GNU C library defines this for functions which it implements
47041 to always fail with ENOSYS. Some functions are actually named
47042 something starting with __ and the normal name is an alias. */
47043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47044 choke me
47045 #else
47046 char (*f) () = $ac_func;
47047 #endif
47048 #ifdef __cplusplus
47050 #endif
47053 main ()
47055 return f != $ac_func;
47057 return 0;
47059 _ACEOF
47060 rm -f conftest.$ac_objext conftest$ac_exeext
47061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47062 (eval $ac_link) 2>conftest.er1
47063 ac_status=$?
47064 grep -v '^ *+' conftest.er1 >conftest.err
47065 rm -f conftest.er1
47066 cat conftest.err >&5
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); } &&
47069 { ac_try='test -z "$ac_c_werror_flag"
47070 || test ! -s conftest.err'
47071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47072 (eval $ac_try) 2>&5
47073 ac_status=$?
47074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47075 (exit $ac_status); }; } &&
47076 { ac_try='test -s conftest$ac_exeext'
47077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47078 (eval $ac_try) 2>&5
47079 ac_status=$?
47080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47081 (exit $ac_status); }; }; then
47082 eval "$as_ac_var=yes"
47083 else
47084 echo "$as_me: failed program was:" >&5
47085 sed 's/^/| /' conftest.$ac_ext >&5
47087 eval "$as_ac_var=no"
47089 rm -f conftest.err conftest.$ac_objext \
47090 conftest$ac_exeext conftest.$ac_ext
47092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47094 if test `eval echo '${'$as_ac_var'}'` = yes; then
47095 cat >>confdefs.h <<_ACEOF
47096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47097 _ACEOF
47100 done
47102 else
47104 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47105 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47106 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47107 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47108 echo $ECHO_N "(cached) $ECHO_C" >&6
47109 else
47113 ac_ext=cc
47114 ac_cpp='$CXXCPP $CPPFLAGS'
47115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47119 cat >conftest.$ac_ext <<_ACEOF
47120 /* confdefs.h. */
47121 _ACEOF
47122 cat confdefs.h >>conftest.$ac_ext
47123 cat >>conftest.$ac_ext <<_ACEOF
47124 /* end confdefs.h. */
47125 #include <math.h>
47126 #ifdef HAVE_IEEEFP_H
47127 #include <ieeefp.h>
47128 #endif
47131 main ()
47133 _finitel(0);
47135 return 0;
47137 _ACEOF
47138 rm -f conftest.$ac_objext
47139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47140 (eval $ac_compile) 2>conftest.er1
47141 ac_status=$?
47142 grep -v '^ *+' conftest.er1 >conftest.err
47143 rm -f conftest.er1
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } &&
47147 { ac_try='test -z "$ac_cxx_werror_flag"
47148 || test ! -s conftest.err'
47149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47150 (eval $ac_try) 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; } &&
47154 { ac_try='test -s conftest.$ac_objext'
47155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47156 (eval $ac_try) 2>&5
47157 ac_status=$?
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); }; }; then
47160 glibcxx_cv_func__finitel_use=yes
47161 else
47162 echo "$as_me: failed program was:" >&5
47163 sed 's/^/| /' conftest.$ac_ext >&5
47165 glibcxx_cv_func__finitel_use=no
47167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47179 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47181 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47183 for ac_func in _finitel
47185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47186 echo "$as_me:$LINENO: checking for $ac_func" >&5
47187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47188 if eval "test \"\${$as_ac_var+set}\" = set"; then
47189 echo $ECHO_N "(cached) $ECHO_C" >&6
47190 else
47191 if test x$gcc_no_link = xyes; then
47192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47194 { (exit 1); exit 1; }; }
47196 cat >conftest.$ac_ext <<_ACEOF
47197 /* confdefs.h. */
47198 _ACEOF
47199 cat confdefs.h >>conftest.$ac_ext
47200 cat >>conftest.$ac_ext <<_ACEOF
47201 /* end confdefs.h. */
47202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47204 #define $ac_func innocuous_$ac_func
47206 /* System header to define __stub macros and hopefully few prototypes,
47207 which can conflict with char $ac_func (); below.
47208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47209 <limits.h> exists even on freestanding compilers. */
47211 #ifdef __STDC__
47212 # include <limits.h>
47213 #else
47214 # include <assert.h>
47215 #endif
47217 #undef $ac_func
47219 /* Override any gcc2 internal prototype to avoid an error. */
47220 #ifdef __cplusplus
47221 extern "C"
47223 #endif
47224 /* We use char because int might match the return type of a gcc2
47225 builtin and then its argument prototype would still apply. */
47226 char $ac_func ();
47227 /* The GNU C library defines this for functions which it implements
47228 to always fail with ENOSYS. Some functions are actually named
47229 something starting with __ and the normal name is an alias. */
47230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47231 choke me
47232 #else
47233 char (*f) () = $ac_func;
47234 #endif
47235 #ifdef __cplusplus
47237 #endif
47240 main ()
47242 return f != $ac_func;
47244 return 0;
47246 _ACEOF
47247 rm -f conftest.$ac_objext conftest$ac_exeext
47248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47249 (eval $ac_link) 2>conftest.er1
47250 ac_status=$?
47251 grep -v '^ *+' conftest.er1 >conftest.err
47252 rm -f conftest.er1
47253 cat conftest.err >&5
47254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47255 (exit $ac_status); } &&
47256 { ac_try='test -z "$ac_c_werror_flag"
47257 || test ! -s conftest.err'
47258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47259 (eval $ac_try) 2>&5
47260 ac_status=$?
47261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47262 (exit $ac_status); }; } &&
47263 { ac_try='test -s conftest$ac_exeext'
47264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47265 (eval $ac_try) 2>&5
47266 ac_status=$?
47267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47268 (exit $ac_status); }; }; then
47269 eval "$as_ac_var=yes"
47270 else
47271 echo "$as_me: failed program was:" >&5
47272 sed 's/^/| /' conftest.$ac_ext >&5
47274 eval "$as_ac_var=no"
47276 rm -f conftest.err conftest.$ac_objext \
47277 conftest$ac_exeext conftest.$ac_ext
47279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47281 if test `eval echo '${'$as_ac_var'}'` = yes; then
47282 cat >>confdefs.h <<_ACEOF
47283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47284 _ACEOF
47287 done
47295 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47296 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47297 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47298 echo $ECHO_N "(cached) $ECHO_C" >&6
47299 else
47303 ac_ext=cc
47304 ac_cpp='$CXXCPP $CPPFLAGS'
47305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47309 cat >conftest.$ac_ext <<_ACEOF
47310 /* confdefs.h. */
47311 _ACEOF
47312 cat confdefs.h >>conftest.$ac_ext
47313 cat >>conftest.$ac_ext <<_ACEOF
47314 /* end confdefs.h. */
47315 #include <math.h>
47317 main ()
47319 `for x in _acosf _asinf _atanf \
47320 _cosf _sinf _tanf \
47321 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47323 return 0;
47325 _ACEOF
47326 rm -f conftest.$ac_objext
47327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47328 (eval $ac_compile) 2>conftest.er1
47329 ac_status=$?
47330 grep -v '^ *+' conftest.er1 >conftest.err
47331 rm -f conftest.er1
47332 cat conftest.err >&5
47333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334 (exit $ac_status); } &&
47335 { ac_try='test -z "$ac_cxx_werror_flag"
47336 || test ! -s conftest.err'
47337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47338 (eval $ac_try) 2>&5
47339 ac_status=$?
47340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47341 (exit $ac_status); }; } &&
47342 { ac_try='test -s conftest.$ac_objext'
47343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47344 (eval $ac_try) 2>&5
47345 ac_status=$?
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); }; }; then
47348 glibcxx_cv_func__float_trig_use=yes
47349 else
47350 echo "$as_me: failed program was:" >&5
47351 sed 's/^/| /' conftest.$ac_ext >&5
47353 glibcxx_cv_func__float_trig_use=no
47355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47356 ac_ext=c
47357 ac_cpp='$CPP $CPPFLAGS'
47358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47365 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47366 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47376 for ac_func in _acosf _asinf _atanf \
47377 _cosf _sinf _tanf \
47378 _coshf _sinhf _tanhf
47380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47381 echo "$as_me:$LINENO: checking for $ac_func" >&5
47382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47383 if eval "test \"\${$as_ac_var+set}\" = set"; then
47384 echo $ECHO_N "(cached) $ECHO_C" >&6
47385 else
47386 if test x$gcc_no_link = xyes; then
47387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47389 { (exit 1); exit 1; }; }
47391 cat >conftest.$ac_ext <<_ACEOF
47392 /* confdefs.h. */
47393 _ACEOF
47394 cat confdefs.h >>conftest.$ac_ext
47395 cat >>conftest.$ac_ext <<_ACEOF
47396 /* end confdefs.h. */
47397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47399 #define $ac_func innocuous_$ac_func
47401 /* System header to define __stub macros and hopefully few prototypes,
47402 which can conflict with char $ac_func (); below.
47403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47404 <limits.h> exists even on freestanding compilers. */
47406 #ifdef __STDC__
47407 # include <limits.h>
47408 #else
47409 # include <assert.h>
47410 #endif
47412 #undef $ac_func
47414 /* Override any gcc2 internal prototype to avoid an error. */
47415 #ifdef __cplusplus
47416 extern "C"
47418 #endif
47419 /* We use char because int might match the return type of a gcc2
47420 builtin and then its argument prototype would still apply. */
47421 char $ac_func ();
47422 /* The GNU C library defines this for functions which it implements
47423 to always fail with ENOSYS. Some functions are actually named
47424 something starting with __ and the normal name is an alias. */
47425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47426 choke me
47427 #else
47428 char (*f) () = $ac_func;
47429 #endif
47430 #ifdef __cplusplus
47432 #endif
47435 main ()
47437 return f != $ac_func;
47439 return 0;
47441 _ACEOF
47442 rm -f conftest.$ac_objext conftest$ac_exeext
47443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47444 (eval $ac_link) 2>conftest.er1
47445 ac_status=$?
47446 grep -v '^ *+' conftest.er1 >conftest.err
47447 rm -f conftest.er1
47448 cat conftest.err >&5
47449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450 (exit $ac_status); } &&
47451 { ac_try='test -z "$ac_c_werror_flag"
47452 || test ! -s conftest.err'
47453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47454 (eval $ac_try) 2>&5
47455 ac_status=$?
47456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457 (exit $ac_status); }; } &&
47458 { ac_try='test -s conftest$ac_exeext'
47459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47460 (eval $ac_try) 2>&5
47461 ac_status=$?
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); }; }; then
47464 eval "$as_ac_var=yes"
47465 else
47466 echo "$as_me: failed program was:" >&5
47467 sed 's/^/| /' conftest.$ac_ext >&5
47469 eval "$as_ac_var=no"
47471 rm -f conftest.err conftest.$ac_objext \
47472 conftest$ac_exeext conftest.$ac_ext
47474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47476 if test `eval echo '${'$as_ac_var'}'` = yes; then
47477 cat >>confdefs.h <<_ACEOF
47478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47479 _ACEOF
47482 done
47487 echo "$as_me:$LINENO: checking for _float round functions" >&5
47488 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47489 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47490 echo $ECHO_N "(cached) $ECHO_C" >&6
47491 else
47495 ac_ext=cc
47496 ac_cpp='$CXXCPP $CPPFLAGS'
47497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47501 cat >conftest.$ac_ext <<_ACEOF
47502 /* confdefs.h. */
47503 _ACEOF
47504 cat confdefs.h >>conftest.$ac_ext
47505 cat >>conftest.$ac_ext <<_ACEOF
47506 /* end confdefs.h. */
47507 #include <math.h>
47509 main ()
47511 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47513 return 0;
47515 _ACEOF
47516 rm -f conftest.$ac_objext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47518 (eval $ac_compile) 2>conftest.er1
47519 ac_status=$?
47520 grep -v '^ *+' conftest.er1 >conftest.err
47521 rm -f conftest.er1
47522 cat conftest.err >&5
47523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524 (exit $ac_status); } &&
47525 { ac_try='test -z "$ac_cxx_werror_flag"
47526 || test ! -s conftest.err'
47527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528 (eval $ac_try) 2>&5
47529 ac_status=$?
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); }; } &&
47532 { ac_try='test -s conftest.$ac_objext'
47533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534 (eval $ac_try) 2>&5
47535 ac_status=$?
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); }; }; then
47538 glibcxx_cv_func__float_round_use=yes
47539 else
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47543 glibcxx_cv_func__float_round_use=no
47545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47546 ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47555 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47556 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47559 for ac_func in _ceilf _floorf
47561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47562 echo "$as_me:$LINENO: checking for $ac_func" >&5
47563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47564 if eval "test \"\${$as_ac_var+set}\" = set"; then
47565 echo $ECHO_N "(cached) $ECHO_C" >&6
47566 else
47567 if test x$gcc_no_link = xyes; then
47568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47570 { (exit 1); exit 1; }; }
47572 cat >conftest.$ac_ext <<_ACEOF
47573 /* confdefs.h. */
47574 _ACEOF
47575 cat confdefs.h >>conftest.$ac_ext
47576 cat >>conftest.$ac_ext <<_ACEOF
47577 /* end confdefs.h. */
47578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47580 #define $ac_func innocuous_$ac_func
47582 /* System header to define __stub macros and hopefully few prototypes,
47583 which can conflict with char $ac_func (); below.
47584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47585 <limits.h> exists even on freestanding compilers. */
47587 #ifdef __STDC__
47588 # include <limits.h>
47589 #else
47590 # include <assert.h>
47591 #endif
47593 #undef $ac_func
47595 /* Override any gcc2 internal prototype to avoid an error. */
47596 #ifdef __cplusplus
47597 extern "C"
47599 #endif
47600 /* We use char because int might match the return type of a gcc2
47601 builtin and then its argument prototype would still apply. */
47602 char $ac_func ();
47603 /* The GNU C library defines this for functions which it implements
47604 to always fail with ENOSYS. Some functions are actually named
47605 something starting with __ and the normal name is an alias. */
47606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47607 choke me
47608 #else
47609 char (*f) () = $ac_func;
47610 #endif
47611 #ifdef __cplusplus
47613 #endif
47616 main ()
47618 return f != $ac_func;
47620 return 0;
47622 _ACEOF
47623 rm -f conftest.$ac_objext conftest$ac_exeext
47624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47625 (eval $ac_link) 2>conftest.er1
47626 ac_status=$?
47627 grep -v '^ *+' conftest.er1 >conftest.err
47628 rm -f conftest.er1
47629 cat conftest.err >&5
47630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47631 (exit $ac_status); } &&
47632 { ac_try='test -z "$ac_c_werror_flag"
47633 || test ! -s conftest.err'
47634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47635 (eval $ac_try) 2>&5
47636 ac_status=$?
47637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47638 (exit $ac_status); }; } &&
47639 { ac_try='test -s conftest$ac_exeext'
47640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47641 (eval $ac_try) 2>&5
47642 ac_status=$?
47643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47644 (exit $ac_status); }; }; then
47645 eval "$as_ac_var=yes"
47646 else
47647 echo "$as_me: failed program was:" >&5
47648 sed 's/^/| /' conftest.$ac_ext >&5
47650 eval "$as_ac_var=no"
47652 rm -f conftest.err conftest.$ac_objext \
47653 conftest$ac_exeext conftest.$ac_ext
47655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47657 if test `eval echo '${'$as_ac_var'}'` = yes; then
47658 cat >>confdefs.h <<_ACEOF
47659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47660 _ACEOF
47663 done
47669 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47670 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47671 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47673 else
47677 ac_ext=cc
47678 ac_cpp='$CXXCPP $CPPFLAGS'
47679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47683 cat >conftest.$ac_ext <<_ACEOF
47684 /* confdefs.h. */
47685 _ACEOF
47686 cat confdefs.h >>conftest.$ac_ext
47687 cat >>conftest.$ac_ext <<_ACEOF
47688 /* end confdefs.h. */
47689 #include <math.h>
47691 main ()
47693 `for x in _acosl _asinl _atanl \
47694 _cosl _sinl _tanl \
47695 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47697 return 0;
47699 _ACEOF
47700 rm -f conftest.$ac_objext
47701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47702 (eval $ac_compile) 2>conftest.er1
47703 ac_status=$?
47704 grep -v '^ *+' conftest.er1 >conftest.err
47705 rm -f conftest.er1
47706 cat conftest.err >&5
47707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47708 (exit $ac_status); } &&
47709 { ac_try='test -z "$ac_cxx_werror_flag"
47710 || test ! -s conftest.err'
47711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47712 (eval $ac_try) 2>&5
47713 ac_status=$?
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); }; } &&
47716 { ac_try='test -s conftest.$ac_objext'
47717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47718 (eval $ac_try) 2>&5
47719 ac_status=$?
47720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47721 (exit $ac_status); }; }; then
47722 glibcxx_cv_func__long_double_trig_use=yes
47723 else
47724 echo "$as_me: failed program was:" >&5
47725 sed 's/^/| /' conftest.$ac_ext >&5
47727 glibcxx_cv_func__long_double_trig_use=no
47729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47739 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47740 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47750 for ac_func in _acosl _asinl _atanl \
47751 _cosl _sinl _tanl \
47752 _coshl _sinhl _tanhl
47754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47755 echo "$as_me:$LINENO: checking for $ac_func" >&5
47756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47757 if eval "test \"\${$as_ac_var+set}\" = set"; then
47758 echo $ECHO_N "(cached) $ECHO_C" >&6
47759 else
47760 if test x$gcc_no_link = xyes; then
47761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47763 { (exit 1); exit 1; }; }
47765 cat >conftest.$ac_ext <<_ACEOF
47766 /* confdefs.h. */
47767 _ACEOF
47768 cat confdefs.h >>conftest.$ac_ext
47769 cat >>conftest.$ac_ext <<_ACEOF
47770 /* end confdefs.h. */
47771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47773 #define $ac_func innocuous_$ac_func
47775 /* System header to define __stub macros and hopefully few prototypes,
47776 which can conflict with char $ac_func (); below.
47777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47778 <limits.h> exists even on freestanding compilers. */
47780 #ifdef __STDC__
47781 # include <limits.h>
47782 #else
47783 # include <assert.h>
47784 #endif
47786 #undef $ac_func
47788 /* Override any gcc2 internal prototype to avoid an error. */
47789 #ifdef __cplusplus
47790 extern "C"
47792 #endif
47793 /* We use char because int might match the return type of a gcc2
47794 builtin and then its argument prototype would still apply. */
47795 char $ac_func ();
47796 /* The GNU C library defines this for functions which it implements
47797 to always fail with ENOSYS. Some functions are actually named
47798 something starting with __ and the normal name is an alias. */
47799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47800 choke me
47801 #else
47802 char (*f) () = $ac_func;
47803 #endif
47804 #ifdef __cplusplus
47806 #endif
47809 main ()
47811 return f != $ac_func;
47813 return 0;
47815 _ACEOF
47816 rm -f conftest.$ac_objext conftest$ac_exeext
47817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47818 (eval $ac_link) 2>conftest.er1
47819 ac_status=$?
47820 grep -v '^ *+' conftest.er1 >conftest.err
47821 rm -f conftest.er1
47822 cat conftest.err >&5
47823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47824 (exit $ac_status); } &&
47825 { ac_try='test -z "$ac_c_werror_flag"
47826 || test ! -s conftest.err'
47827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47828 (eval $ac_try) 2>&5
47829 ac_status=$?
47830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47831 (exit $ac_status); }; } &&
47832 { ac_try='test -s conftest$ac_exeext'
47833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47834 (eval $ac_try) 2>&5
47835 ac_status=$?
47836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47837 (exit $ac_status); }; }; then
47838 eval "$as_ac_var=yes"
47839 else
47840 echo "$as_me: failed program was:" >&5
47841 sed 's/^/| /' conftest.$ac_ext >&5
47843 eval "$as_ac_var=no"
47845 rm -f conftest.err conftest.$ac_objext \
47846 conftest$ac_exeext conftest.$ac_ext
47848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47850 if test `eval echo '${'$as_ac_var'}'` = yes; then
47851 cat >>confdefs.h <<_ACEOF
47852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47853 _ACEOF
47856 done
47861 echo "$as_me:$LINENO: checking for _long double round functions" >&5
47862 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
47863 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
47864 echo $ECHO_N "(cached) $ECHO_C" >&6
47865 else
47869 ac_ext=cc
47870 ac_cpp='$CXXCPP $CPPFLAGS'
47871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47875 cat >conftest.$ac_ext <<_ACEOF
47876 /* confdefs.h. */
47877 _ACEOF
47878 cat confdefs.h >>conftest.$ac_ext
47879 cat >>conftest.$ac_ext <<_ACEOF
47880 /* end confdefs.h. */
47881 #include <math.h>
47883 main ()
47885 `for x in _ceill _floorl; do echo "$x (0);"; done`
47887 return 0;
47889 _ACEOF
47890 rm -f conftest.$ac_objext
47891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47892 (eval $ac_compile) 2>conftest.er1
47893 ac_status=$?
47894 grep -v '^ *+' conftest.er1 >conftest.err
47895 rm -f conftest.er1
47896 cat conftest.err >&5
47897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47898 (exit $ac_status); } &&
47899 { ac_try='test -z "$ac_cxx_werror_flag"
47900 || test ! -s conftest.err'
47901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47902 (eval $ac_try) 2>&5
47903 ac_status=$?
47904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47905 (exit $ac_status); }; } &&
47906 { ac_try='test -s conftest.$ac_objext'
47907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47908 (eval $ac_try) 2>&5
47909 ac_status=$?
47910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47911 (exit $ac_status); }; }; then
47912 glibcxx_cv_func__long_double_round_use=yes
47913 else
47914 echo "$as_me: failed program was:" >&5
47915 sed 's/^/| /' conftest.$ac_ext >&5
47917 glibcxx_cv_func__long_double_round_use=no
47919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47920 ac_ext=c
47921 ac_cpp='$CPP $CPPFLAGS'
47922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47928 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
47929 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
47930 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
47933 for ac_func in _ceill _floorl
47935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47936 echo "$as_me:$LINENO: checking for $ac_func" >&5
47937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47938 if eval "test \"\${$as_ac_var+set}\" = set"; then
47939 echo $ECHO_N "(cached) $ECHO_C" >&6
47940 else
47941 if test x$gcc_no_link = xyes; then
47942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47944 { (exit 1); exit 1; }; }
47946 cat >conftest.$ac_ext <<_ACEOF
47947 /* confdefs.h. */
47948 _ACEOF
47949 cat confdefs.h >>conftest.$ac_ext
47950 cat >>conftest.$ac_ext <<_ACEOF
47951 /* end confdefs.h. */
47952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47954 #define $ac_func innocuous_$ac_func
47956 /* System header to define __stub macros and hopefully few prototypes,
47957 which can conflict with char $ac_func (); below.
47958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47959 <limits.h> exists even on freestanding compilers. */
47961 #ifdef __STDC__
47962 # include <limits.h>
47963 #else
47964 # include <assert.h>
47965 #endif
47967 #undef $ac_func
47969 /* Override any gcc2 internal prototype to avoid an error. */
47970 #ifdef __cplusplus
47971 extern "C"
47973 #endif
47974 /* We use char because int might match the return type of a gcc2
47975 builtin and then its argument prototype would still apply. */
47976 char $ac_func ();
47977 /* The GNU C library defines this for functions which it implements
47978 to always fail with ENOSYS. Some functions are actually named
47979 something starting with __ and the normal name is an alias. */
47980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47981 choke me
47982 #else
47983 char (*f) () = $ac_func;
47984 #endif
47985 #ifdef __cplusplus
47987 #endif
47990 main ()
47992 return f != $ac_func;
47994 return 0;
47996 _ACEOF
47997 rm -f conftest.$ac_objext conftest$ac_exeext
47998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47999 (eval $ac_link) 2>conftest.er1
48000 ac_status=$?
48001 grep -v '^ *+' conftest.er1 >conftest.err
48002 rm -f conftest.er1
48003 cat conftest.err >&5
48004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48005 (exit $ac_status); } &&
48006 { ac_try='test -z "$ac_c_werror_flag"
48007 || test ! -s conftest.err'
48008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48009 (eval $ac_try) 2>&5
48010 ac_status=$?
48011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48012 (exit $ac_status); }; } &&
48013 { ac_try='test -s conftest$ac_exeext'
48014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48015 (eval $ac_try) 2>&5
48016 ac_status=$?
48017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48018 (exit $ac_status); }; }; then
48019 eval "$as_ac_var=yes"
48020 else
48021 echo "$as_me: failed program was:" >&5
48022 sed 's/^/| /' conftest.$ac_ext >&5
48024 eval "$as_ac_var=no"
48026 rm -f conftest.err conftest.$ac_objext \
48027 conftest$ac_exeext conftest.$ac_ext
48029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48031 if test `eval echo '${'$as_ac_var'}'` = yes; then
48032 cat >>confdefs.h <<_ACEOF
48033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48034 _ACEOF
48037 done
48042 LIBS="$ac_save_LIBS"
48043 CXXFLAGS="$ac_save_CXXFLAGS"
48047 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48048 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48049 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48050 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48051 echo $ECHO_N "(cached) $ECHO_C" >&6
48052 else
48056 ac_ext=cc
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48062 cat >conftest.$ac_ext <<_ACEOF
48063 /* confdefs.h. */
48064 _ACEOF
48065 cat confdefs.h >>conftest.$ac_ext
48066 cat >>conftest.$ac_ext <<_ACEOF
48067 /* end confdefs.h. */
48068 #include <math.h>
48070 main ()
48072 __builtin_abs(0);
48074 return 0;
48076 _ACEOF
48077 rm -f conftest.$ac_objext
48078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48079 (eval $ac_compile) 2>conftest.er1
48080 ac_status=$?
48081 grep -v '^ *+' conftest.er1 >conftest.err
48082 rm -f conftest.er1
48083 cat conftest.err >&5
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); } &&
48086 { ac_try='test -z "$ac_cxx_werror_flag"
48087 || test ! -s conftest.err'
48088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48089 (eval $ac_try) 2>&5
48090 ac_status=$?
48091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48092 (exit $ac_status); }; } &&
48093 { ac_try='test -s conftest.$ac_objext'
48094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48095 (eval $ac_try) 2>&5
48096 ac_status=$?
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; }; then
48099 glibcxx_cv_func___builtin_abs_use=yes
48100 else
48101 echo "$as_me: failed program was:" >&5
48102 sed 's/^/| /' conftest.$ac_ext >&5
48104 glibcxx_cv_func___builtin_abs_use=no
48106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48107 ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48118 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48119 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48120 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48121 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48122 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48123 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48124 echo $ECHO_N "(cached) $ECHO_C" >&6
48125 else
48127 if test x$gcc_no_link = xyes; then
48128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48130 { (exit 1); exit 1; }; }
48132 cat >conftest.$ac_ext <<_ACEOF
48133 /* confdefs.h. */
48134 _ACEOF
48135 cat confdefs.h >>conftest.$ac_ext
48136 cat >>conftest.$ac_ext <<_ACEOF
48137 /* end confdefs.h. */
48138 #include <math.h>
48140 main ()
48142 __builtin_abs(0);
48144 return 0;
48146 _ACEOF
48147 rm -f conftest.$ac_objext conftest$ac_exeext
48148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48149 (eval $ac_link) 2>conftest.er1
48150 ac_status=$?
48151 grep -v '^ *+' conftest.er1 >conftest.err
48152 rm -f conftest.er1
48153 cat conftest.err >&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); } &&
48156 { ac_try='test -z "$ac_c_werror_flag"
48157 || test ! -s conftest.err'
48158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48159 (eval $ac_try) 2>&5
48160 ac_status=$?
48161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48162 (exit $ac_status); }; } &&
48163 { ac_try='test -s conftest$ac_exeext'
48164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48165 (eval $ac_try) 2>&5
48166 ac_status=$?
48167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48168 (exit $ac_status); }; }; then
48169 glibcxx_cv_func___builtin_abs_link=yes
48170 else
48171 echo "$as_me: failed program was:" >&5
48172 sed 's/^/| /' conftest.$ac_ext >&5
48174 glibcxx_cv_func___builtin_abs_link=no
48176 rm -f conftest.err conftest.$ac_objext \
48177 conftest$ac_exeext conftest.$ac_ext
48182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48183 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48185 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define HAVE___BUILTIN_ABS 1
48189 _ACEOF
48196 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48197 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48198 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48199 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48200 echo $ECHO_N "(cached) $ECHO_C" >&6
48201 else
48205 ac_ext=cc
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48211 cat >conftest.$ac_ext <<_ACEOF
48212 /* confdefs.h. */
48213 _ACEOF
48214 cat confdefs.h >>conftest.$ac_ext
48215 cat >>conftest.$ac_ext <<_ACEOF
48216 /* end confdefs.h. */
48217 #include <math.h>
48219 main ()
48221 __builtin_fabsf(0);
48223 return 0;
48225 _ACEOF
48226 rm -f conftest.$ac_objext
48227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48228 (eval $ac_compile) 2>conftest.er1
48229 ac_status=$?
48230 grep -v '^ *+' conftest.er1 >conftest.err
48231 rm -f conftest.er1
48232 cat conftest.err >&5
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); } &&
48235 { ac_try='test -z "$ac_cxx_werror_flag"
48236 || test ! -s conftest.err'
48237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48238 (eval $ac_try) 2>&5
48239 ac_status=$?
48240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48241 (exit $ac_status); }; } &&
48242 { ac_try='test -s conftest.$ac_objext'
48243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244 (eval $ac_try) 2>&5
48245 ac_status=$?
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; }; then
48248 glibcxx_cv_func___builtin_fabsf_use=yes
48249 else
48250 echo "$as_me: failed program was:" >&5
48251 sed 's/^/| /' conftest.$ac_ext >&5
48253 glibcxx_cv_func___builtin_fabsf_use=no
48255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48256 ac_ext=c
48257 ac_cpp='$CPP $CPPFLAGS'
48258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48268 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48269 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48270 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48271 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48272 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48273 echo $ECHO_N "(cached) $ECHO_C" >&6
48274 else
48276 if test x$gcc_no_link = xyes; then
48277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48279 { (exit 1); exit 1; }; }
48281 cat >conftest.$ac_ext <<_ACEOF
48282 /* confdefs.h. */
48283 _ACEOF
48284 cat confdefs.h >>conftest.$ac_ext
48285 cat >>conftest.$ac_ext <<_ACEOF
48286 /* end confdefs.h. */
48287 #include <math.h>
48289 main ()
48291 __builtin_fabsf(0);
48293 return 0;
48295 _ACEOF
48296 rm -f conftest.$ac_objext conftest$ac_exeext
48297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48298 (eval $ac_link) 2>conftest.er1
48299 ac_status=$?
48300 grep -v '^ *+' conftest.er1 >conftest.err
48301 rm -f conftest.er1
48302 cat conftest.err >&5
48303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48304 (exit $ac_status); } &&
48305 { ac_try='test -z "$ac_c_werror_flag"
48306 || test ! -s conftest.err'
48307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48308 (eval $ac_try) 2>&5
48309 ac_status=$?
48310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48311 (exit $ac_status); }; } &&
48312 { ac_try='test -s conftest$ac_exeext'
48313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48314 (eval $ac_try) 2>&5
48315 ac_status=$?
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; }; then
48318 glibcxx_cv_func___builtin_fabsf_link=yes
48319 else
48320 echo "$as_me: failed program was:" >&5
48321 sed 's/^/| /' conftest.$ac_ext >&5
48323 glibcxx_cv_func___builtin_fabsf_link=no
48325 rm -f conftest.err conftest.$ac_objext \
48326 conftest$ac_exeext conftest.$ac_ext
48331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48332 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48334 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define HAVE___BUILTIN_FABSF 1
48338 _ACEOF
48345 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48346 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48347 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48348 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48349 echo $ECHO_N "(cached) $ECHO_C" >&6
48350 else
48354 ac_ext=cc
48355 ac_cpp='$CXXCPP $CPPFLAGS'
48356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48360 cat >conftest.$ac_ext <<_ACEOF
48361 /* confdefs.h. */
48362 _ACEOF
48363 cat confdefs.h >>conftest.$ac_ext
48364 cat >>conftest.$ac_ext <<_ACEOF
48365 /* end confdefs.h. */
48366 #include <math.h>
48368 main ()
48370 __builtin_fabs(0);
48372 return 0;
48374 _ACEOF
48375 rm -f conftest.$ac_objext
48376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48377 (eval $ac_compile) 2>conftest.er1
48378 ac_status=$?
48379 grep -v '^ *+' conftest.er1 >conftest.err
48380 rm -f conftest.er1
48381 cat conftest.err >&5
48382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383 (exit $ac_status); } &&
48384 { ac_try='test -z "$ac_cxx_werror_flag"
48385 || test ! -s conftest.err'
48386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48387 (eval $ac_try) 2>&5
48388 ac_status=$?
48389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48390 (exit $ac_status); }; } &&
48391 { ac_try='test -s conftest.$ac_objext'
48392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48393 (eval $ac_try) 2>&5
48394 ac_status=$?
48395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48396 (exit $ac_status); }; }; then
48397 glibcxx_cv_func___builtin_fabs_use=yes
48398 else
48399 echo "$as_me: failed program was:" >&5
48400 sed 's/^/| /' conftest.$ac_ext >&5
48402 glibcxx_cv_func___builtin_fabs_use=no
48404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48405 ac_ext=c
48406 ac_cpp='$CPP $CPPFLAGS'
48407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48417 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48418 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48419 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48420 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48421 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48422 echo $ECHO_N "(cached) $ECHO_C" >&6
48423 else
48425 if test x$gcc_no_link = xyes; then
48426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48428 { (exit 1); exit 1; }; }
48430 cat >conftest.$ac_ext <<_ACEOF
48431 /* confdefs.h. */
48432 _ACEOF
48433 cat confdefs.h >>conftest.$ac_ext
48434 cat >>conftest.$ac_ext <<_ACEOF
48435 /* end confdefs.h. */
48436 #include <math.h>
48438 main ()
48440 __builtin_fabs(0);
48442 return 0;
48444 _ACEOF
48445 rm -f conftest.$ac_objext conftest$ac_exeext
48446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48447 (eval $ac_link) 2>conftest.er1
48448 ac_status=$?
48449 grep -v '^ *+' conftest.er1 >conftest.err
48450 rm -f conftest.er1
48451 cat conftest.err >&5
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); } &&
48454 { ac_try='test -z "$ac_c_werror_flag"
48455 || test ! -s conftest.err'
48456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48457 (eval $ac_try) 2>&5
48458 ac_status=$?
48459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48460 (exit $ac_status); }; } &&
48461 { ac_try='test -s conftest$ac_exeext'
48462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48463 (eval $ac_try) 2>&5
48464 ac_status=$?
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); }; }; then
48467 glibcxx_cv_func___builtin_fabs_link=yes
48468 else
48469 echo "$as_me: failed program was:" >&5
48470 sed 's/^/| /' conftest.$ac_ext >&5
48472 glibcxx_cv_func___builtin_fabs_link=no
48474 rm -f conftest.err conftest.$ac_objext \
48475 conftest$ac_exeext conftest.$ac_ext
48480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48481 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48483 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define HAVE___BUILTIN_FABS 1
48487 _ACEOF
48494 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48495 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48496 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48497 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48498 echo $ECHO_N "(cached) $ECHO_C" >&6
48499 else
48503 ac_ext=cc
48504 ac_cpp='$CXXCPP $CPPFLAGS'
48505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48509 cat >conftest.$ac_ext <<_ACEOF
48510 /* confdefs.h. */
48511 _ACEOF
48512 cat confdefs.h >>conftest.$ac_ext
48513 cat >>conftest.$ac_ext <<_ACEOF
48514 /* end confdefs.h. */
48515 #include <math.h>
48517 main ()
48519 __builtin_fabsl(0);
48521 return 0;
48523 _ACEOF
48524 rm -f conftest.$ac_objext
48525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48526 (eval $ac_compile) 2>conftest.er1
48527 ac_status=$?
48528 grep -v '^ *+' conftest.er1 >conftest.err
48529 rm -f conftest.er1
48530 cat conftest.err >&5
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); } &&
48533 { ac_try='test -z "$ac_cxx_werror_flag"
48534 || test ! -s conftest.err'
48535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48536 (eval $ac_try) 2>&5
48537 ac_status=$?
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); }; } &&
48540 { ac_try='test -s conftest.$ac_objext'
48541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48542 (eval $ac_try) 2>&5
48543 ac_status=$?
48544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48545 (exit $ac_status); }; }; then
48546 glibcxx_cv_func___builtin_fabsl_use=yes
48547 else
48548 echo "$as_me: failed program was:" >&5
48549 sed 's/^/| /' conftest.$ac_ext >&5
48551 glibcxx_cv_func___builtin_fabsl_use=no
48553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48554 ac_ext=c
48555 ac_cpp='$CPP $CPPFLAGS'
48556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48565 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48566 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48567 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48568 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48569 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48570 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48571 echo $ECHO_N "(cached) $ECHO_C" >&6
48572 else
48574 if test x$gcc_no_link = xyes; then
48575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48577 { (exit 1); exit 1; }; }
48579 cat >conftest.$ac_ext <<_ACEOF
48580 /* confdefs.h. */
48581 _ACEOF
48582 cat confdefs.h >>conftest.$ac_ext
48583 cat >>conftest.$ac_ext <<_ACEOF
48584 /* end confdefs.h. */
48585 #include <math.h>
48587 main ()
48589 __builtin_fabsl(0);
48591 return 0;
48593 _ACEOF
48594 rm -f conftest.$ac_objext conftest$ac_exeext
48595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48596 (eval $ac_link) 2>conftest.er1
48597 ac_status=$?
48598 grep -v '^ *+' conftest.er1 >conftest.err
48599 rm -f conftest.er1
48600 cat conftest.err >&5
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); } &&
48603 { ac_try='test -z "$ac_c_werror_flag"
48604 || test ! -s conftest.err'
48605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48606 (eval $ac_try) 2>&5
48607 ac_status=$?
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); }; } &&
48610 { ac_try='test -s conftest$ac_exeext'
48611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48612 (eval $ac_try) 2>&5
48613 ac_status=$?
48614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48615 (exit $ac_status); }; }; then
48616 glibcxx_cv_func___builtin_fabsl_link=yes
48617 else
48618 echo "$as_me: failed program was:" >&5
48619 sed 's/^/| /' conftest.$ac_ext >&5
48621 glibcxx_cv_func___builtin_fabsl_link=no
48623 rm -f conftest.err conftest.$ac_objext \
48624 conftest$ac_exeext conftest.$ac_ext
48629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48630 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48632 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48634 cat >>confdefs.h <<\_ACEOF
48635 #define HAVE___BUILTIN_FABSL 1
48636 _ACEOF
48643 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48644 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48645 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48646 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48647 echo $ECHO_N "(cached) $ECHO_C" >&6
48648 else
48652 ac_ext=cc
48653 ac_cpp='$CXXCPP $CPPFLAGS'
48654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658 cat >conftest.$ac_ext <<_ACEOF
48659 /* confdefs.h. */
48660 _ACEOF
48661 cat confdefs.h >>conftest.$ac_ext
48662 cat >>conftest.$ac_ext <<_ACEOF
48663 /* end confdefs.h. */
48664 #include <math.h>
48666 main ()
48668 __builtin_labs(0);
48670 return 0;
48672 _ACEOF
48673 rm -f conftest.$ac_objext
48674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48675 (eval $ac_compile) 2>conftest.er1
48676 ac_status=$?
48677 grep -v '^ *+' conftest.er1 >conftest.err
48678 rm -f conftest.er1
48679 cat conftest.err >&5
48680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48681 (exit $ac_status); } &&
48682 { ac_try='test -z "$ac_cxx_werror_flag"
48683 || test ! -s conftest.err'
48684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48685 (eval $ac_try) 2>&5
48686 ac_status=$?
48687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688 (exit $ac_status); }; } &&
48689 { ac_try='test -s conftest.$ac_objext'
48690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48691 (eval $ac_try) 2>&5
48692 ac_status=$?
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); }; }; then
48695 glibcxx_cv_func___builtin_labs_use=yes
48696 else
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48700 glibcxx_cv_func___builtin_labs_use=no
48702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48703 ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48714 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48715 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48716 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48717 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48718 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48719 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48720 echo $ECHO_N "(cached) $ECHO_C" >&6
48721 else
48723 if test x$gcc_no_link = xyes; then
48724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48726 { (exit 1); exit 1; }; }
48728 cat >conftest.$ac_ext <<_ACEOF
48729 /* confdefs.h. */
48730 _ACEOF
48731 cat confdefs.h >>conftest.$ac_ext
48732 cat >>conftest.$ac_ext <<_ACEOF
48733 /* end confdefs.h. */
48734 #include <math.h>
48736 main ()
48738 __builtin_labs(0);
48740 return 0;
48742 _ACEOF
48743 rm -f conftest.$ac_objext conftest$ac_exeext
48744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48745 (eval $ac_link) 2>conftest.er1
48746 ac_status=$?
48747 grep -v '^ *+' conftest.er1 >conftest.err
48748 rm -f conftest.er1
48749 cat conftest.err >&5
48750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48751 (exit $ac_status); } &&
48752 { ac_try='test -z "$ac_c_werror_flag"
48753 || test ! -s conftest.err'
48754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48755 (eval $ac_try) 2>&5
48756 ac_status=$?
48757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48758 (exit $ac_status); }; } &&
48759 { ac_try='test -s conftest$ac_exeext'
48760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48761 (eval $ac_try) 2>&5
48762 ac_status=$?
48763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48764 (exit $ac_status); }; }; then
48765 glibcxx_cv_func___builtin_labs_link=yes
48766 else
48767 echo "$as_me: failed program was:" >&5
48768 sed 's/^/| /' conftest.$ac_ext >&5
48770 glibcxx_cv_func___builtin_labs_link=no
48772 rm -f conftest.err conftest.$ac_objext \
48773 conftest$ac_exeext conftest.$ac_ext
48778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48779 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48781 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define HAVE___BUILTIN_LABS 1
48785 _ACEOF
48793 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48794 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48795 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48796 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48797 echo $ECHO_N "(cached) $ECHO_C" >&6
48798 else
48802 ac_ext=cc
48803 ac_cpp='$CXXCPP $CPPFLAGS'
48804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48808 cat >conftest.$ac_ext <<_ACEOF
48809 /* confdefs.h. */
48810 _ACEOF
48811 cat confdefs.h >>conftest.$ac_ext
48812 cat >>conftest.$ac_ext <<_ACEOF
48813 /* end confdefs.h. */
48814 #include <math.h>
48816 main ()
48818 __builtin_sqrtf(0);
48820 return 0;
48822 _ACEOF
48823 rm -f conftest.$ac_objext
48824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48825 (eval $ac_compile) 2>conftest.er1
48826 ac_status=$?
48827 grep -v '^ *+' conftest.er1 >conftest.err
48828 rm -f conftest.er1
48829 cat conftest.err >&5
48830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48831 (exit $ac_status); } &&
48832 { ac_try='test -z "$ac_cxx_werror_flag"
48833 || test ! -s conftest.err'
48834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48835 (eval $ac_try) 2>&5
48836 ac_status=$?
48837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838 (exit $ac_status); }; } &&
48839 { ac_try='test -s conftest.$ac_objext'
48840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48841 (eval $ac_try) 2>&5
48842 ac_status=$?
48843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48844 (exit $ac_status); }; }; then
48845 glibcxx_cv_func___builtin_sqrtf_use=yes
48846 else
48847 echo "$as_me: failed program was:" >&5
48848 sed 's/^/| /' conftest.$ac_ext >&5
48850 glibcxx_cv_func___builtin_sqrtf_use=no
48852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
48864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
48865 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
48866 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
48867 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
48868 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
48869 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
48870 echo $ECHO_N "(cached) $ECHO_C" >&6
48871 else
48873 if test x$gcc_no_link = xyes; then
48874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48876 { (exit 1); exit 1; }; }
48878 cat >conftest.$ac_ext <<_ACEOF
48879 /* confdefs.h. */
48880 _ACEOF
48881 cat confdefs.h >>conftest.$ac_ext
48882 cat >>conftest.$ac_ext <<_ACEOF
48883 /* end confdefs.h. */
48884 #include <math.h>
48886 main ()
48888 __builtin_sqrtf(0);
48890 return 0;
48892 _ACEOF
48893 rm -f conftest.$ac_objext conftest$ac_exeext
48894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48895 (eval $ac_link) 2>conftest.er1
48896 ac_status=$?
48897 grep -v '^ *+' conftest.er1 >conftest.err
48898 rm -f conftest.er1
48899 cat conftest.err >&5
48900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901 (exit $ac_status); } &&
48902 { ac_try='test -z "$ac_c_werror_flag"
48903 || test ! -s conftest.err'
48904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48905 (eval $ac_try) 2>&5
48906 ac_status=$?
48907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48908 (exit $ac_status); }; } &&
48909 { ac_try='test -s conftest$ac_exeext'
48910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48911 (eval $ac_try) 2>&5
48912 ac_status=$?
48913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914 (exit $ac_status); }; }; then
48915 glibcxx_cv_func___builtin_sqrtf_link=yes
48916 else
48917 echo "$as_me: failed program was:" >&5
48918 sed 's/^/| /' conftest.$ac_ext >&5
48920 glibcxx_cv_func___builtin_sqrtf_link=no
48922 rm -f conftest.err conftest.$ac_objext \
48923 conftest$ac_exeext conftest.$ac_ext
48928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
48929 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
48931 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define HAVE___BUILTIN_SQRTF 1
48935 _ACEOF
48942 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
48943 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
48944 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
48945 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
48946 echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48951 ac_ext=cc
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48957 cat >conftest.$ac_ext <<_ACEOF
48958 /* confdefs.h. */
48959 _ACEOF
48960 cat confdefs.h >>conftest.$ac_ext
48961 cat >>conftest.$ac_ext <<_ACEOF
48962 /* end confdefs.h. */
48963 #include <math.h>
48965 main ()
48967 __builtin_sqrt(0);
48969 return 0;
48971 _ACEOF
48972 rm -f conftest.$ac_objext
48973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48974 (eval $ac_compile) 2>conftest.er1
48975 ac_status=$?
48976 grep -v '^ *+' conftest.er1 >conftest.err
48977 rm -f conftest.er1
48978 cat conftest.err >&5
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); } &&
48981 { ac_try='test -z "$ac_cxx_werror_flag"
48982 || test ! -s conftest.err'
48983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48984 (eval $ac_try) 2>&5
48985 ac_status=$?
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); }; } &&
48988 { ac_try='test -s conftest.$ac_objext'
48989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48990 (eval $ac_try) 2>&5
48991 ac_status=$?
48992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48993 (exit $ac_status); }; }; then
48994 glibcxx_cv_func___builtin_sqrt_use=yes
48995 else
48996 echo "$as_me: failed program was:" >&5
48997 sed 's/^/| /' conftest.$ac_ext >&5
48999 glibcxx_cv_func___builtin_sqrt_use=no
49001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49002 ac_ext=c
49003 ac_cpp='$CPP $CPPFLAGS'
49004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49014 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49015 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49016 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49017 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49018 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49019 echo $ECHO_N "(cached) $ECHO_C" >&6
49020 else
49022 if test x$gcc_no_link = xyes; then
49023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49025 { (exit 1); exit 1; }; }
49027 cat >conftest.$ac_ext <<_ACEOF
49028 /* confdefs.h. */
49029 _ACEOF
49030 cat confdefs.h >>conftest.$ac_ext
49031 cat >>conftest.$ac_ext <<_ACEOF
49032 /* end confdefs.h. */
49033 #include <math.h>
49035 main ()
49037 __builtin_sqrt(0);
49039 return 0;
49041 _ACEOF
49042 rm -f conftest.$ac_objext conftest$ac_exeext
49043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49044 (eval $ac_link) 2>conftest.er1
49045 ac_status=$?
49046 grep -v '^ *+' conftest.er1 >conftest.err
49047 rm -f conftest.er1
49048 cat conftest.err >&5
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); } &&
49051 { ac_try='test -z "$ac_c_werror_flag"
49052 || test ! -s conftest.err'
49053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49054 (eval $ac_try) 2>&5
49055 ac_status=$?
49056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49057 (exit $ac_status); }; } &&
49058 { ac_try='test -s conftest$ac_exeext'
49059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49060 (eval $ac_try) 2>&5
49061 ac_status=$?
49062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49063 (exit $ac_status); }; }; then
49064 glibcxx_cv_func___builtin_sqrt_link=yes
49065 else
49066 echo "$as_me: failed program was:" >&5
49067 sed 's/^/| /' conftest.$ac_ext >&5
49069 glibcxx_cv_func___builtin_sqrt_link=no
49071 rm -f conftest.err conftest.$ac_objext \
49072 conftest$ac_exeext conftest.$ac_ext
49077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49078 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49080 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49082 cat >>confdefs.h <<\_ACEOF
49083 #define HAVE___BUILTIN_SQRT 1
49084 _ACEOF
49091 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49092 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49093 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49094 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49095 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 else
49100 ac_ext=cc
49101 ac_cpp='$CXXCPP $CPPFLAGS'
49102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49106 cat >conftest.$ac_ext <<_ACEOF
49107 /* confdefs.h. */
49108 _ACEOF
49109 cat confdefs.h >>conftest.$ac_ext
49110 cat >>conftest.$ac_ext <<_ACEOF
49111 /* end confdefs.h. */
49112 #include <math.h>
49114 main ()
49116 __builtin_sqrtl(0);
49118 return 0;
49120 _ACEOF
49121 rm -f conftest.$ac_objext
49122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49123 (eval $ac_compile) 2>conftest.er1
49124 ac_status=$?
49125 grep -v '^ *+' conftest.er1 >conftest.err
49126 rm -f conftest.er1
49127 cat conftest.err >&5
49128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49129 (exit $ac_status); } &&
49130 { ac_try='test -z "$ac_cxx_werror_flag"
49131 || test ! -s conftest.err'
49132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49133 (eval $ac_try) 2>&5
49134 ac_status=$?
49135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49136 (exit $ac_status); }; } &&
49137 { ac_try='test -s conftest.$ac_objext'
49138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49139 (eval $ac_try) 2>&5
49140 ac_status=$?
49141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49142 (exit $ac_status); }; }; then
49143 glibcxx_cv_func___builtin_sqrtl_use=yes
49144 else
49145 echo "$as_me: failed program was:" >&5
49146 sed 's/^/| /' conftest.$ac_ext >&5
49148 glibcxx_cv_func___builtin_sqrtl_use=no
49150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49151 ac_ext=c
49152 ac_cpp='$CPP $CPPFLAGS'
49153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49162 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49163 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49164 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49165 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49166 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49167 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49168 echo $ECHO_N "(cached) $ECHO_C" >&6
49169 else
49171 if test x$gcc_no_link = xyes; then
49172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49174 { (exit 1); exit 1; }; }
49176 cat >conftest.$ac_ext <<_ACEOF
49177 /* confdefs.h. */
49178 _ACEOF
49179 cat confdefs.h >>conftest.$ac_ext
49180 cat >>conftest.$ac_ext <<_ACEOF
49181 /* end confdefs.h. */
49182 #include <math.h>
49184 main ()
49186 __builtin_sqrtl(0);
49188 return 0;
49190 _ACEOF
49191 rm -f conftest.$ac_objext conftest$ac_exeext
49192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49193 (eval $ac_link) 2>conftest.er1
49194 ac_status=$?
49195 grep -v '^ *+' conftest.er1 >conftest.err
49196 rm -f conftest.er1
49197 cat conftest.err >&5
49198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49199 (exit $ac_status); } &&
49200 { ac_try='test -z "$ac_c_werror_flag"
49201 || test ! -s conftest.err'
49202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49203 (eval $ac_try) 2>&5
49204 ac_status=$?
49205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49206 (exit $ac_status); }; } &&
49207 { ac_try='test -s conftest$ac_exeext'
49208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49209 (eval $ac_try) 2>&5
49210 ac_status=$?
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; }; then
49213 glibcxx_cv_func___builtin_sqrtl_link=yes
49214 else
49215 echo "$as_me: failed program was:" >&5
49216 sed 's/^/| /' conftest.$ac_ext >&5
49218 glibcxx_cv_func___builtin_sqrtl_link=no
49220 rm -f conftest.err conftest.$ac_objext \
49221 conftest$ac_exeext conftest.$ac_ext
49226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49227 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49229 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49231 cat >>confdefs.h <<\_ACEOF
49232 #define HAVE___BUILTIN_SQRTL 1
49233 _ACEOF
49241 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49242 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49243 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49244 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49245 echo $ECHO_N "(cached) $ECHO_C" >&6
49246 else
49250 ac_ext=cc
49251 ac_cpp='$CXXCPP $CPPFLAGS'
49252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49256 cat >conftest.$ac_ext <<_ACEOF
49257 /* confdefs.h. */
49258 _ACEOF
49259 cat confdefs.h >>conftest.$ac_ext
49260 cat >>conftest.$ac_ext <<_ACEOF
49261 /* end confdefs.h. */
49262 #include <math.h>
49264 main ()
49266 __builtin_sinf(0);
49268 return 0;
49270 _ACEOF
49271 rm -f conftest.$ac_objext
49272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49273 (eval $ac_compile) 2>conftest.er1
49274 ac_status=$?
49275 grep -v '^ *+' conftest.er1 >conftest.err
49276 rm -f conftest.er1
49277 cat conftest.err >&5
49278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279 (exit $ac_status); } &&
49280 { ac_try='test -z "$ac_cxx_werror_flag"
49281 || test ! -s conftest.err'
49282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49283 (eval $ac_try) 2>&5
49284 ac_status=$?
49285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49286 (exit $ac_status); }; } &&
49287 { ac_try='test -s conftest.$ac_objext'
49288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49289 (eval $ac_try) 2>&5
49290 ac_status=$?
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); }; }; then
49293 glibcxx_cv_func___builtin_sinf_use=yes
49294 else
49295 echo "$as_me: failed program was:" >&5
49296 sed 's/^/| /' conftest.$ac_ext >&5
49298 glibcxx_cv_func___builtin_sinf_use=no
49300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49301 ac_ext=c
49302 ac_cpp='$CPP $CPPFLAGS'
49303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49313 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49314 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49315 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49316 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49317 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49318 echo $ECHO_N "(cached) $ECHO_C" >&6
49319 else
49321 if test x$gcc_no_link = xyes; then
49322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49324 { (exit 1); exit 1; }; }
49326 cat >conftest.$ac_ext <<_ACEOF
49327 /* confdefs.h. */
49328 _ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49332 #include <math.h>
49334 main ()
49336 __builtin_sinf(0);
49338 return 0;
49340 _ACEOF
49341 rm -f conftest.$ac_objext conftest$ac_exeext
49342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49343 (eval $ac_link) 2>conftest.er1
49344 ac_status=$?
49345 grep -v '^ *+' conftest.er1 >conftest.err
49346 rm -f conftest.er1
49347 cat conftest.err >&5
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); } &&
49350 { ac_try='test -z "$ac_c_werror_flag"
49351 || test ! -s conftest.err'
49352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49353 (eval $ac_try) 2>&5
49354 ac_status=$?
49355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356 (exit $ac_status); }; } &&
49357 { ac_try='test -s conftest$ac_exeext'
49358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49359 (eval $ac_try) 2>&5
49360 ac_status=$?
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); }; }; then
49363 glibcxx_cv_func___builtin_sinf_link=yes
49364 else
49365 echo "$as_me: failed program was:" >&5
49366 sed 's/^/| /' conftest.$ac_ext >&5
49368 glibcxx_cv_func___builtin_sinf_link=no
49370 rm -f conftest.err conftest.$ac_objext \
49371 conftest$ac_exeext conftest.$ac_ext
49376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49377 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49379 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49381 cat >>confdefs.h <<\_ACEOF
49382 #define HAVE___BUILTIN_SINF 1
49383 _ACEOF
49390 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49391 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49392 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49393 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49394 echo $ECHO_N "(cached) $ECHO_C" >&6
49395 else
49399 ac_ext=cc
49400 ac_cpp='$CXXCPP $CPPFLAGS'
49401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405 cat >conftest.$ac_ext <<_ACEOF
49406 /* confdefs.h. */
49407 _ACEOF
49408 cat confdefs.h >>conftest.$ac_ext
49409 cat >>conftest.$ac_ext <<_ACEOF
49410 /* end confdefs.h. */
49411 #include <math.h>
49413 main ()
49415 __builtin_sin(0);
49417 return 0;
49419 _ACEOF
49420 rm -f conftest.$ac_objext
49421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49422 (eval $ac_compile) 2>conftest.er1
49423 ac_status=$?
49424 grep -v '^ *+' conftest.er1 >conftest.err
49425 rm -f conftest.er1
49426 cat conftest.err >&5
49427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49428 (exit $ac_status); } &&
49429 { ac_try='test -z "$ac_cxx_werror_flag"
49430 || test ! -s conftest.err'
49431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49432 (eval $ac_try) 2>&5
49433 ac_status=$?
49434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49435 (exit $ac_status); }; } &&
49436 { ac_try='test -s conftest.$ac_objext'
49437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49438 (eval $ac_try) 2>&5
49439 ac_status=$?
49440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49441 (exit $ac_status); }; }; then
49442 glibcxx_cv_func___builtin_sin_use=yes
49443 else
49444 echo "$as_me: failed program was:" >&5
49445 sed 's/^/| /' conftest.$ac_ext >&5
49447 glibcxx_cv_func___builtin_sin_use=no
49449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49450 ac_ext=c
49451 ac_cpp='$CPP $CPPFLAGS'
49452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49462 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49463 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49464 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49465 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49466 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49467 echo $ECHO_N "(cached) $ECHO_C" >&6
49468 else
49470 if test x$gcc_no_link = xyes; then
49471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49473 { (exit 1); exit 1; }; }
49475 cat >conftest.$ac_ext <<_ACEOF
49476 /* confdefs.h. */
49477 _ACEOF
49478 cat confdefs.h >>conftest.$ac_ext
49479 cat >>conftest.$ac_ext <<_ACEOF
49480 /* end confdefs.h. */
49481 #include <math.h>
49483 main ()
49485 __builtin_sin(0);
49487 return 0;
49489 _ACEOF
49490 rm -f conftest.$ac_objext conftest$ac_exeext
49491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49492 (eval $ac_link) 2>conftest.er1
49493 ac_status=$?
49494 grep -v '^ *+' conftest.er1 >conftest.err
49495 rm -f conftest.er1
49496 cat conftest.err >&5
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); } &&
49499 { ac_try='test -z "$ac_c_werror_flag"
49500 || test ! -s conftest.err'
49501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49502 (eval $ac_try) 2>&5
49503 ac_status=$?
49504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49505 (exit $ac_status); }; } &&
49506 { ac_try='test -s conftest$ac_exeext'
49507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49508 (eval $ac_try) 2>&5
49509 ac_status=$?
49510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49511 (exit $ac_status); }; }; then
49512 glibcxx_cv_func___builtin_sin_link=yes
49513 else
49514 echo "$as_me: failed program was:" >&5
49515 sed 's/^/| /' conftest.$ac_ext >&5
49517 glibcxx_cv_func___builtin_sin_link=no
49519 rm -f conftest.err conftest.$ac_objext \
49520 conftest$ac_exeext conftest.$ac_ext
49525 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49526 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49528 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49530 cat >>confdefs.h <<\_ACEOF
49531 #define HAVE___BUILTIN_SIN 1
49532 _ACEOF
49539 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49540 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49541 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49542 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49543 echo $ECHO_N "(cached) $ECHO_C" >&6
49544 else
49548 ac_ext=cc
49549 ac_cpp='$CXXCPP $CPPFLAGS'
49550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49554 cat >conftest.$ac_ext <<_ACEOF
49555 /* confdefs.h. */
49556 _ACEOF
49557 cat confdefs.h >>conftest.$ac_ext
49558 cat >>conftest.$ac_ext <<_ACEOF
49559 /* end confdefs.h. */
49560 #include <math.h>
49562 main ()
49564 __builtin_sinl(0);
49566 return 0;
49568 _ACEOF
49569 rm -f conftest.$ac_objext
49570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49571 (eval $ac_compile) 2>conftest.er1
49572 ac_status=$?
49573 grep -v '^ *+' conftest.er1 >conftest.err
49574 rm -f conftest.er1
49575 cat conftest.err >&5
49576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49577 (exit $ac_status); } &&
49578 { ac_try='test -z "$ac_cxx_werror_flag"
49579 || test ! -s conftest.err'
49580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49581 (eval $ac_try) 2>&5
49582 ac_status=$?
49583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49584 (exit $ac_status); }; } &&
49585 { ac_try='test -s conftest.$ac_objext'
49586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49587 (eval $ac_try) 2>&5
49588 ac_status=$?
49589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49590 (exit $ac_status); }; }; then
49591 glibcxx_cv_func___builtin_sinl_use=yes
49592 else
49593 echo "$as_me: failed program was:" >&5
49594 sed 's/^/| /' conftest.$ac_ext >&5
49596 glibcxx_cv_func___builtin_sinl_use=no
49598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49599 ac_ext=c
49600 ac_cpp='$CPP $CPPFLAGS'
49601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49609 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49610 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49611 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49612 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49613 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49614 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49615 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49616 echo $ECHO_N "(cached) $ECHO_C" >&6
49617 else
49619 if test x$gcc_no_link = xyes; then
49620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49622 { (exit 1); exit 1; }; }
49624 cat >conftest.$ac_ext <<_ACEOF
49625 /* confdefs.h. */
49626 _ACEOF
49627 cat confdefs.h >>conftest.$ac_ext
49628 cat >>conftest.$ac_ext <<_ACEOF
49629 /* end confdefs.h. */
49630 #include <math.h>
49632 main ()
49634 __builtin_sinl(0);
49636 return 0;
49638 _ACEOF
49639 rm -f conftest.$ac_objext conftest$ac_exeext
49640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49641 (eval $ac_link) 2>conftest.er1
49642 ac_status=$?
49643 grep -v '^ *+' conftest.er1 >conftest.err
49644 rm -f conftest.er1
49645 cat conftest.err >&5
49646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49647 (exit $ac_status); } &&
49648 { ac_try='test -z "$ac_c_werror_flag"
49649 || test ! -s conftest.err'
49650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49651 (eval $ac_try) 2>&5
49652 ac_status=$?
49653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49654 (exit $ac_status); }; } &&
49655 { ac_try='test -s conftest$ac_exeext'
49656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49657 (eval $ac_try) 2>&5
49658 ac_status=$?
49659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49660 (exit $ac_status); }; }; then
49661 glibcxx_cv_func___builtin_sinl_link=yes
49662 else
49663 echo "$as_me: failed program was:" >&5
49664 sed 's/^/| /' conftest.$ac_ext >&5
49666 glibcxx_cv_func___builtin_sinl_link=no
49668 rm -f conftest.err conftest.$ac_objext \
49669 conftest$ac_exeext conftest.$ac_ext
49674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49675 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49677 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49679 cat >>confdefs.h <<\_ACEOF
49680 #define HAVE___BUILTIN_SINL 1
49681 _ACEOF
49689 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49690 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49691 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49692 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49698 ac_ext=cc
49699 ac_cpp='$CXXCPP $CPPFLAGS'
49700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49704 cat >conftest.$ac_ext <<_ACEOF
49705 /* confdefs.h. */
49706 _ACEOF
49707 cat confdefs.h >>conftest.$ac_ext
49708 cat >>conftest.$ac_ext <<_ACEOF
49709 /* end confdefs.h. */
49710 #include <math.h>
49712 main ()
49714 __builtin_cosf(0);
49716 return 0;
49718 _ACEOF
49719 rm -f conftest.$ac_objext
49720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49721 (eval $ac_compile) 2>conftest.er1
49722 ac_status=$?
49723 grep -v '^ *+' conftest.er1 >conftest.err
49724 rm -f conftest.er1
49725 cat conftest.err >&5
49726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49727 (exit $ac_status); } &&
49728 { ac_try='test -z "$ac_cxx_werror_flag"
49729 || test ! -s conftest.err'
49730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49731 (eval $ac_try) 2>&5
49732 ac_status=$?
49733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49734 (exit $ac_status); }; } &&
49735 { ac_try='test -s conftest.$ac_objext'
49736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49737 (eval $ac_try) 2>&5
49738 ac_status=$?
49739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49740 (exit $ac_status); }; }; then
49741 glibcxx_cv_func___builtin_cosf_use=yes
49742 else
49743 echo "$as_me: failed program was:" >&5
49744 sed 's/^/| /' conftest.$ac_ext >&5
49746 glibcxx_cv_func___builtin_cosf_use=no
49748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49749 ac_ext=c
49750 ac_cpp='$CPP $CPPFLAGS'
49751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49761 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49762 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49763 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49764 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49765 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49766 echo $ECHO_N "(cached) $ECHO_C" >&6
49767 else
49769 if test x$gcc_no_link = xyes; then
49770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49772 { (exit 1); exit 1; }; }
49774 cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h. */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h. */
49780 #include <math.h>
49782 main ()
49784 __builtin_cosf(0);
49786 return 0;
49788 _ACEOF
49789 rm -f conftest.$ac_objext conftest$ac_exeext
49790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49791 (eval $ac_link) 2>conftest.er1
49792 ac_status=$?
49793 grep -v '^ *+' conftest.er1 >conftest.err
49794 rm -f conftest.er1
49795 cat conftest.err >&5
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); } &&
49798 { ac_try='test -z "$ac_c_werror_flag"
49799 || test ! -s conftest.err'
49800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49801 (eval $ac_try) 2>&5
49802 ac_status=$?
49803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804 (exit $ac_status); }; } &&
49805 { ac_try='test -s conftest$ac_exeext'
49806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807 (eval $ac_try) 2>&5
49808 ac_status=$?
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); }; }; then
49811 glibcxx_cv_func___builtin_cosf_link=yes
49812 else
49813 echo "$as_me: failed program was:" >&5
49814 sed 's/^/| /' conftest.$ac_ext >&5
49816 glibcxx_cv_func___builtin_cosf_link=no
49818 rm -f conftest.err conftest.$ac_objext \
49819 conftest$ac_exeext conftest.$ac_ext
49824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49825 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49827 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49829 cat >>confdefs.h <<\_ACEOF
49830 #define HAVE___BUILTIN_COSF 1
49831 _ACEOF
49838 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49839 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49840 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49841 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49842 echo $ECHO_N "(cached) $ECHO_C" >&6
49843 else
49847 ac_ext=cc
49848 ac_cpp='$CXXCPP $CPPFLAGS'
49849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49853 cat >conftest.$ac_ext <<_ACEOF
49854 /* confdefs.h. */
49855 _ACEOF
49856 cat confdefs.h >>conftest.$ac_ext
49857 cat >>conftest.$ac_ext <<_ACEOF
49858 /* end confdefs.h. */
49859 #include <math.h>
49861 main ()
49863 __builtin_cos(0);
49865 return 0;
49867 _ACEOF
49868 rm -f conftest.$ac_objext
49869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49870 (eval $ac_compile) 2>conftest.er1
49871 ac_status=$?
49872 grep -v '^ *+' conftest.er1 >conftest.err
49873 rm -f conftest.er1
49874 cat conftest.err >&5
49875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49876 (exit $ac_status); } &&
49877 { ac_try='test -z "$ac_cxx_werror_flag"
49878 || test ! -s conftest.err'
49879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49880 (eval $ac_try) 2>&5
49881 ac_status=$?
49882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49883 (exit $ac_status); }; } &&
49884 { ac_try='test -s conftest.$ac_objext'
49885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49886 (eval $ac_try) 2>&5
49887 ac_status=$?
49888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889 (exit $ac_status); }; }; then
49890 glibcxx_cv_func___builtin_cos_use=yes
49891 else
49892 echo "$as_me: failed program was:" >&5
49893 sed 's/^/| /' conftest.$ac_ext >&5
49895 glibcxx_cv_func___builtin_cos_use=no
49897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49898 ac_ext=c
49899 ac_cpp='$CPP $CPPFLAGS'
49900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
49909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
49910 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
49911 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
49912 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
49913 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
49914 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
49915 echo $ECHO_N "(cached) $ECHO_C" >&6
49916 else
49918 if test x$gcc_no_link = xyes; then
49919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49921 { (exit 1); exit 1; }; }
49923 cat >conftest.$ac_ext <<_ACEOF
49924 /* confdefs.h. */
49925 _ACEOF
49926 cat confdefs.h >>conftest.$ac_ext
49927 cat >>conftest.$ac_ext <<_ACEOF
49928 /* end confdefs.h. */
49929 #include <math.h>
49931 main ()
49933 __builtin_cos(0);
49935 return 0;
49937 _ACEOF
49938 rm -f conftest.$ac_objext conftest$ac_exeext
49939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49940 (eval $ac_link) 2>conftest.er1
49941 ac_status=$?
49942 grep -v '^ *+' conftest.er1 >conftest.err
49943 rm -f conftest.er1
49944 cat conftest.err >&5
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); } &&
49947 { ac_try='test -z "$ac_c_werror_flag"
49948 || test ! -s conftest.err'
49949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49950 (eval $ac_try) 2>&5
49951 ac_status=$?
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); }; } &&
49954 { ac_try='test -s conftest$ac_exeext'
49955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49956 (eval $ac_try) 2>&5
49957 ac_status=$?
49958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959 (exit $ac_status); }; }; then
49960 glibcxx_cv_func___builtin_cos_link=yes
49961 else
49962 echo "$as_me: failed program was:" >&5
49963 sed 's/^/| /' conftest.$ac_ext >&5
49965 glibcxx_cv_func___builtin_cos_link=no
49967 rm -f conftest.err conftest.$ac_objext \
49968 conftest$ac_exeext conftest.$ac_ext
49973 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
49974 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
49976 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
49978 cat >>confdefs.h <<\_ACEOF
49979 #define HAVE___BUILTIN_COS 1
49980 _ACEOF
49987 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
49988 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
49989 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
49990 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
49991 echo $ECHO_N "(cached) $ECHO_C" >&6
49992 else
49996 ac_ext=cc
49997 ac_cpp='$CXXCPP $CPPFLAGS'
49998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50002 cat >conftest.$ac_ext <<_ACEOF
50003 /* confdefs.h. */
50004 _ACEOF
50005 cat confdefs.h >>conftest.$ac_ext
50006 cat >>conftest.$ac_ext <<_ACEOF
50007 /* end confdefs.h. */
50008 #include <math.h>
50010 main ()
50012 __builtin_cosl(0);
50014 return 0;
50016 _ACEOF
50017 rm -f conftest.$ac_objext
50018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50019 (eval $ac_compile) 2>conftest.er1
50020 ac_status=$?
50021 grep -v '^ *+' conftest.er1 >conftest.err
50022 rm -f conftest.er1
50023 cat conftest.err >&5
50024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50025 (exit $ac_status); } &&
50026 { ac_try='test -z "$ac_cxx_werror_flag"
50027 || test ! -s conftest.err'
50028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50029 (eval $ac_try) 2>&5
50030 ac_status=$?
50031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50032 (exit $ac_status); }; } &&
50033 { ac_try='test -s conftest.$ac_objext'
50034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50035 (eval $ac_try) 2>&5
50036 ac_status=$?
50037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50038 (exit $ac_status); }; }; then
50039 glibcxx_cv_func___builtin_cosl_use=yes
50040 else
50041 echo "$as_me: failed program was:" >&5
50042 sed 's/^/| /' conftest.$ac_ext >&5
50044 glibcxx_cv_func___builtin_cosl_use=no
50046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50047 ac_ext=c
50048 ac_cpp='$CPP $CPPFLAGS'
50049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50057 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50058 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50059 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50060 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50061 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50062 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50063 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50064 echo $ECHO_N "(cached) $ECHO_C" >&6
50065 else
50067 if test x$gcc_no_link = xyes; then
50068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50070 { (exit 1); exit 1; }; }
50072 cat >conftest.$ac_ext <<_ACEOF
50073 /* confdefs.h. */
50074 _ACEOF
50075 cat confdefs.h >>conftest.$ac_ext
50076 cat >>conftest.$ac_ext <<_ACEOF
50077 /* end confdefs.h. */
50078 #include <math.h>
50080 main ()
50082 __builtin_cosl(0);
50084 return 0;
50086 _ACEOF
50087 rm -f conftest.$ac_objext conftest$ac_exeext
50088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50089 (eval $ac_link) 2>conftest.er1
50090 ac_status=$?
50091 grep -v '^ *+' conftest.er1 >conftest.err
50092 rm -f conftest.er1
50093 cat conftest.err >&5
50094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095 (exit $ac_status); } &&
50096 { ac_try='test -z "$ac_c_werror_flag"
50097 || test ! -s conftest.err'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; } &&
50103 { ac_try='test -s conftest$ac_exeext'
50104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50105 (eval $ac_try) 2>&5
50106 ac_status=$?
50107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108 (exit $ac_status); }; }; then
50109 glibcxx_cv_func___builtin_cosl_link=yes
50110 else
50111 echo "$as_me: failed program was:" >&5
50112 sed 's/^/| /' conftest.$ac_ext >&5
50114 glibcxx_cv_func___builtin_cosl_link=no
50116 rm -f conftest.err conftest.$ac_objext \
50117 conftest$ac_exeext conftest.$ac_ext
50122 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50123 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50125 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50127 cat >>confdefs.h <<\_ACEOF
50128 #define HAVE___BUILTIN_COSL 1
50129 _ACEOF
50138 echo "$as_me:$LINENO: checking for main in -lm" >&5
50139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50140 if test "${ac_cv_lib_m_main+set}" = set; then
50141 echo $ECHO_N "(cached) $ECHO_C" >&6
50142 else
50143 ac_check_lib_save_LIBS=$LIBS
50144 LIBS="-lm $LIBS"
50145 if test x$gcc_no_link = xyes; then
50146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50148 { (exit 1); exit 1; }; }
50150 cat >conftest.$ac_ext <<_ACEOF
50151 /* confdefs.h. */
50152 _ACEOF
50153 cat confdefs.h >>conftest.$ac_ext
50154 cat >>conftest.$ac_ext <<_ACEOF
50155 /* end confdefs.h. */
50159 main ()
50161 main ();
50163 return 0;
50165 _ACEOF
50166 rm -f conftest.$ac_objext conftest$ac_exeext
50167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50168 (eval $ac_link) 2>conftest.er1
50169 ac_status=$?
50170 grep -v '^ *+' conftest.er1 >conftest.err
50171 rm -f conftest.er1
50172 cat conftest.err >&5
50173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50174 (exit $ac_status); } &&
50175 { ac_try='test -z "$ac_c_werror_flag"
50176 || test ! -s conftest.err'
50177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50178 (eval $ac_try) 2>&5
50179 ac_status=$?
50180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50181 (exit $ac_status); }; } &&
50182 { ac_try='test -s conftest$ac_exeext'
50183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50184 (eval $ac_try) 2>&5
50185 ac_status=$?
50186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50187 (exit $ac_status); }; }; then
50188 ac_cv_lib_m_main=yes
50189 else
50190 echo "$as_me: failed program was:" >&5
50191 sed 's/^/| /' conftest.$ac_ext >&5
50193 ac_cv_lib_m_main=no
50195 rm -f conftest.err conftest.$ac_objext \
50196 conftest$ac_exeext conftest.$ac_ext
50197 LIBS=$ac_check_lib_save_LIBS
50199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50201 if test $ac_cv_lib_m_main = yes; then
50202 cat >>confdefs.h <<_ACEOF
50203 #define HAVE_LIBM 1
50204 _ACEOF
50206 LIBS="-lm $LIBS"
50211 for ac_func in copysignf
50213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50214 echo "$as_me:$LINENO: checking for $ac_func" >&5
50215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50216 if eval "test \"\${$as_ac_var+set}\" = set"; then
50217 echo $ECHO_N "(cached) $ECHO_C" >&6
50218 else
50219 if test x$gcc_no_link = xyes; then
50220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50222 { (exit 1); exit 1; }; }
50224 cat >conftest.$ac_ext <<_ACEOF
50225 /* confdefs.h. */
50226 _ACEOF
50227 cat confdefs.h >>conftest.$ac_ext
50228 cat >>conftest.$ac_ext <<_ACEOF
50229 /* end confdefs.h. */
50230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50232 #define $ac_func innocuous_$ac_func
50234 /* System header to define __stub macros and hopefully few prototypes,
50235 which can conflict with char $ac_func (); below.
50236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50237 <limits.h> exists even on freestanding compilers. */
50239 #ifdef __STDC__
50240 # include <limits.h>
50241 #else
50242 # include <assert.h>
50243 #endif
50245 #undef $ac_func
50247 /* Override any gcc2 internal prototype to avoid an error. */
50248 #ifdef __cplusplus
50249 extern "C"
50251 #endif
50252 /* We use char because int might match the return type of a gcc2
50253 builtin and then its argument prototype would still apply. */
50254 char $ac_func ();
50255 /* The GNU C library defines this for functions which it implements
50256 to always fail with ENOSYS. Some functions are actually named
50257 something starting with __ and the normal name is an alias. */
50258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50259 choke me
50260 #else
50261 char (*f) () = $ac_func;
50262 #endif
50263 #ifdef __cplusplus
50265 #endif
50268 main ()
50270 return f != $ac_func;
50272 return 0;
50274 _ACEOF
50275 rm -f conftest.$ac_objext conftest$ac_exeext
50276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50277 (eval $ac_link) 2>conftest.er1
50278 ac_status=$?
50279 grep -v '^ *+' conftest.er1 >conftest.err
50280 rm -f conftest.er1
50281 cat conftest.err >&5
50282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50283 (exit $ac_status); } &&
50284 { ac_try='test -z "$ac_c_werror_flag"
50285 || test ! -s conftest.err'
50286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50287 (eval $ac_try) 2>&5
50288 ac_status=$?
50289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50290 (exit $ac_status); }; } &&
50291 { ac_try='test -s conftest$ac_exeext'
50292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50293 (eval $ac_try) 2>&5
50294 ac_status=$?
50295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50296 (exit $ac_status); }; }; then
50297 eval "$as_ac_var=yes"
50298 else
50299 echo "$as_me: failed program was:" >&5
50300 sed 's/^/| /' conftest.$ac_ext >&5
50302 eval "$as_ac_var=no"
50304 rm -f conftest.err conftest.$ac_objext \
50305 conftest$ac_exeext conftest.$ac_ext
50307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50309 if test `eval echo '${'$as_ac_var'}'` = yes; then
50310 cat >>confdefs.h <<_ACEOF
50311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50312 _ACEOF
50314 else
50315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50317 done
50321 for ac_func in __signbit
50323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50324 echo "$as_me:$LINENO: checking for $ac_func" >&5
50325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50326 if eval "test \"\${$as_ac_var+set}\" = set"; then
50327 echo $ECHO_N "(cached) $ECHO_C" >&6
50328 else
50329 if test x$gcc_no_link = xyes; then
50330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50332 { (exit 1); exit 1; }; }
50334 cat >conftest.$ac_ext <<_ACEOF
50335 /* confdefs.h. */
50336 _ACEOF
50337 cat confdefs.h >>conftest.$ac_ext
50338 cat >>conftest.$ac_ext <<_ACEOF
50339 /* end confdefs.h. */
50340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50342 #define $ac_func innocuous_$ac_func
50344 /* System header to define __stub macros and hopefully few prototypes,
50345 which can conflict with char $ac_func (); below.
50346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50347 <limits.h> exists even on freestanding compilers. */
50349 #ifdef __STDC__
50350 # include <limits.h>
50351 #else
50352 # include <assert.h>
50353 #endif
50355 #undef $ac_func
50357 /* Override any gcc2 internal prototype to avoid an error. */
50358 #ifdef __cplusplus
50359 extern "C"
50361 #endif
50362 /* We use char because int might match the return type of a gcc2
50363 builtin and then its argument prototype would still apply. */
50364 char $ac_func ();
50365 /* The GNU C library defines this for functions which it implements
50366 to always fail with ENOSYS. Some functions are actually named
50367 something starting with __ and the normal name is an alias. */
50368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50369 choke me
50370 #else
50371 char (*f) () = $ac_func;
50372 #endif
50373 #ifdef __cplusplus
50375 #endif
50378 main ()
50380 return f != $ac_func;
50382 return 0;
50384 _ACEOF
50385 rm -f conftest.$ac_objext conftest$ac_exeext
50386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50387 (eval $ac_link) 2>conftest.er1
50388 ac_status=$?
50389 grep -v '^ *+' conftest.er1 >conftest.err
50390 rm -f conftest.er1
50391 cat conftest.err >&5
50392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393 (exit $ac_status); } &&
50394 { ac_try='test -z "$ac_c_werror_flag"
50395 || test ! -s conftest.err'
50396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397 (eval $ac_try) 2>&5
50398 ac_status=$?
50399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400 (exit $ac_status); }; } &&
50401 { ac_try='test -s conftest$ac_exeext'
50402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50403 (eval $ac_try) 2>&5
50404 ac_status=$?
50405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50406 (exit $ac_status); }; }; then
50407 eval "$as_ac_var=yes"
50408 else
50409 echo "$as_me: failed program was:" >&5
50410 sed 's/^/| /' conftest.$ac_ext >&5
50412 eval "$as_ac_var=no"
50414 rm -f conftest.err conftest.$ac_objext \
50415 conftest$ac_exeext conftest.$ac_ext
50417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50419 if test `eval echo '${'$as_ac_var'}'` = yes; then
50420 cat >>confdefs.h <<_ACEOF
50421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50422 _ACEOF
50424 else
50425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50427 done
50431 for ac_func in __signbitf
50433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50434 echo "$as_me:$LINENO: checking for $ac_func" >&5
50435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50436 if eval "test \"\${$as_ac_var+set}\" = set"; then
50437 echo $ECHO_N "(cached) $ECHO_C" >&6
50438 else
50439 if test x$gcc_no_link = xyes; then
50440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50442 { (exit 1); exit 1; }; }
50444 cat >conftest.$ac_ext <<_ACEOF
50445 /* confdefs.h. */
50446 _ACEOF
50447 cat confdefs.h >>conftest.$ac_ext
50448 cat >>conftest.$ac_ext <<_ACEOF
50449 /* end confdefs.h. */
50450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50452 #define $ac_func innocuous_$ac_func
50454 /* System header to define __stub macros and hopefully few prototypes,
50455 which can conflict with char $ac_func (); below.
50456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50457 <limits.h> exists even on freestanding compilers. */
50459 #ifdef __STDC__
50460 # include <limits.h>
50461 #else
50462 # include <assert.h>
50463 #endif
50465 #undef $ac_func
50467 /* Override any gcc2 internal prototype to avoid an error. */
50468 #ifdef __cplusplus
50469 extern "C"
50471 #endif
50472 /* We use char because int might match the return type of a gcc2
50473 builtin and then its argument prototype would still apply. */
50474 char $ac_func ();
50475 /* The GNU C library defines this for functions which it implements
50476 to always fail with ENOSYS. Some functions are actually named
50477 something starting with __ and the normal name is an alias. */
50478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50479 choke me
50480 #else
50481 char (*f) () = $ac_func;
50482 #endif
50483 #ifdef __cplusplus
50485 #endif
50488 main ()
50490 return f != $ac_func;
50492 return 0;
50494 _ACEOF
50495 rm -f conftest.$ac_objext conftest$ac_exeext
50496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50497 (eval $ac_link) 2>conftest.er1
50498 ac_status=$?
50499 grep -v '^ *+' conftest.er1 >conftest.err
50500 rm -f conftest.er1
50501 cat conftest.err >&5
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); } &&
50504 { ac_try='test -z "$ac_c_werror_flag"
50505 || test ! -s conftest.err'
50506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507 (eval $ac_try) 2>&5
50508 ac_status=$?
50509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510 (exit $ac_status); }; } &&
50511 { ac_try='test -s conftest$ac_exeext'
50512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513 (eval $ac_try) 2>&5
50514 ac_status=$?
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); }; }; then
50517 eval "$as_ac_var=yes"
50518 else
50519 echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50522 eval "$as_ac_var=no"
50524 rm -f conftest.err conftest.$ac_objext \
50525 conftest$ac_exeext conftest.$ac_ext
50527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50529 if test `eval echo '${'$as_ac_var'}'` = yes; then
50530 cat >>confdefs.h <<_ACEOF
50531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50532 _ACEOF
50534 else
50535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50537 done
50540 if test x$ac_cv_func_copysignl = x"yes"; then
50542 for ac_func in __signbitl
50544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50545 echo "$as_me:$LINENO: checking for $ac_func" >&5
50546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50547 if eval "test \"\${$as_ac_var+set}\" = set"; then
50548 echo $ECHO_N "(cached) $ECHO_C" >&6
50549 else
50550 if test x$gcc_no_link = xyes; then
50551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50553 { (exit 1); exit 1; }; }
50555 cat >conftest.$ac_ext <<_ACEOF
50556 /* confdefs.h. */
50557 _ACEOF
50558 cat confdefs.h >>conftest.$ac_ext
50559 cat >>conftest.$ac_ext <<_ACEOF
50560 /* end confdefs.h. */
50561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50563 #define $ac_func innocuous_$ac_func
50565 /* System header to define __stub macros and hopefully few prototypes,
50566 which can conflict with char $ac_func (); below.
50567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50568 <limits.h> exists even on freestanding compilers. */
50570 #ifdef __STDC__
50571 # include <limits.h>
50572 #else
50573 # include <assert.h>
50574 #endif
50576 #undef $ac_func
50578 /* Override any gcc2 internal prototype to avoid an error. */
50579 #ifdef __cplusplus
50580 extern "C"
50582 #endif
50583 /* We use char because int might match the return type of a gcc2
50584 builtin and then its argument prototype would still apply. */
50585 char $ac_func ();
50586 /* The GNU C library defines this for functions which it implements
50587 to always fail with ENOSYS. Some functions are actually named
50588 something starting with __ and the normal name is an alias. */
50589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50590 choke me
50591 #else
50592 char (*f) () = $ac_func;
50593 #endif
50594 #ifdef __cplusplus
50596 #endif
50599 main ()
50601 return f != $ac_func;
50603 return 0;
50605 _ACEOF
50606 rm -f conftest.$ac_objext conftest$ac_exeext
50607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50608 (eval $ac_link) 2>conftest.er1
50609 ac_status=$?
50610 grep -v '^ *+' conftest.er1 >conftest.err
50611 rm -f conftest.er1
50612 cat conftest.err >&5
50613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50614 (exit $ac_status); } &&
50615 { ac_try='test -z "$ac_c_werror_flag"
50616 || test ! -s conftest.err'
50617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50618 (eval $ac_try) 2>&5
50619 ac_status=$?
50620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50621 (exit $ac_status); }; } &&
50622 { ac_try='test -s conftest$ac_exeext'
50623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50624 (eval $ac_try) 2>&5
50625 ac_status=$?
50626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50627 (exit $ac_status); }; }; then
50628 eval "$as_ac_var=yes"
50629 else
50630 echo "$as_me: failed program was:" >&5
50631 sed 's/^/| /' conftest.$ac_ext >&5
50633 eval "$as_ac_var=no"
50635 rm -f conftest.err conftest.$ac_objext \
50636 conftest$ac_exeext conftest.$ac_ext
50638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50640 if test `eval echo '${'$as_ac_var'}'` = yes; then
50641 cat >>confdefs.h <<_ACEOF
50642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50643 _ACEOF
50645 else
50646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50648 done
50652 # Used in libmath/Makefile.am.
50653 if test -n "$LIBMATHOBJS"; then
50654 need_libmath=yes
50660 enable_iconv=no
50661 # Only continue checking if the ISO C99 headers exist and support is on.
50662 if test x"$enable_wchar_t" = xyes; then
50664 # Use iconv for wchar_t to char conversions. As such, check for
50665 # X/Open Portability Guide, version 2 features (XPG2).
50666 if test "${ac_cv_header_iconv_h+set}" = set; then
50667 echo "$as_me:$LINENO: checking for iconv.h" >&5
50668 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50669 if test "${ac_cv_header_iconv_h+set}" = set; then
50670 echo $ECHO_N "(cached) $ECHO_C" >&6
50672 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50673 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50674 else
50675 # Is the header compilable?
50676 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50677 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50678 cat >conftest.$ac_ext <<_ACEOF
50679 /* confdefs.h. */
50680 _ACEOF
50681 cat confdefs.h >>conftest.$ac_ext
50682 cat >>conftest.$ac_ext <<_ACEOF
50683 /* end confdefs.h. */
50684 $ac_includes_default
50685 #include <iconv.h>
50686 _ACEOF
50687 rm -f conftest.$ac_objext
50688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50689 (eval $ac_compile) 2>conftest.er1
50690 ac_status=$?
50691 grep -v '^ *+' conftest.er1 >conftest.err
50692 rm -f conftest.er1
50693 cat conftest.err >&5
50694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50695 (exit $ac_status); } &&
50696 { ac_try='test -z "$ac_c_werror_flag"
50697 || test ! -s conftest.err'
50698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50699 (eval $ac_try) 2>&5
50700 ac_status=$?
50701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50702 (exit $ac_status); }; } &&
50703 { ac_try='test -s conftest.$ac_objext'
50704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50705 (eval $ac_try) 2>&5
50706 ac_status=$?
50707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50708 (exit $ac_status); }; }; then
50709 ac_header_compiler=yes
50710 else
50711 echo "$as_me: failed program was:" >&5
50712 sed 's/^/| /' conftest.$ac_ext >&5
50714 ac_header_compiler=no
50716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50718 echo "${ECHO_T}$ac_header_compiler" >&6
50720 # Is the header present?
50721 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50722 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50723 cat >conftest.$ac_ext <<_ACEOF
50724 /* confdefs.h. */
50725 _ACEOF
50726 cat confdefs.h >>conftest.$ac_ext
50727 cat >>conftest.$ac_ext <<_ACEOF
50728 /* end confdefs.h. */
50729 #include <iconv.h>
50730 _ACEOF
50731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50733 ac_status=$?
50734 grep -v '^ *+' conftest.er1 >conftest.err
50735 rm -f conftest.er1
50736 cat conftest.err >&5
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); } >/dev/null; then
50739 if test -s conftest.err; then
50740 ac_cpp_err=$ac_c_preproc_warn_flag
50741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50742 else
50743 ac_cpp_err=
50745 else
50746 ac_cpp_err=yes
50748 if test -z "$ac_cpp_err"; then
50749 ac_header_preproc=yes
50750 else
50751 echo "$as_me: failed program was:" >&5
50752 sed 's/^/| /' conftest.$ac_ext >&5
50754 ac_header_preproc=no
50756 rm -f conftest.err conftest.$ac_ext
50757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50758 echo "${ECHO_T}$ac_header_preproc" >&6
50760 # So? What about this header?
50761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50762 yes:no: )
50763 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50764 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50765 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
50766 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
50767 ac_header_preproc=yes
50769 no:yes:* )
50770 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50771 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50772 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50773 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50774 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
50775 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
50776 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
50777 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
50778 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50779 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50780 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
50781 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
50783 cat <<\_ASBOX
50784 ## ----------------------------------------- ##
50785 ## Report this to the package-unused lists. ##
50786 ## ----------------------------------------- ##
50787 _ASBOX
50789 sed "s/^/$as_me: WARNING: /" >&2
50791 esac
50792 echo "$as_me:$LINENO: checking for iconv.h" >&5
50793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50794 if test "${ac_cv_header_iconv_h+set}" = set; then
50795 echo $ECHO_N "(cached) $ECHO_C" >&6
50796 else
50797 ac_cv_header_iconv_h=$ac_header_preproc
50799 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50800 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50803 if test $ac_cv_header_iconv_h = yes; then
50804 ac_has_iconv_h=yes
50805 else
50806 ac_has_iconv_h=no
50810 if test "${ac_cv_header_langinfo_h+set}" = set; then
50811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50813 if test "${ac_cv_header_langinfo_h+set}" = set; then
50814 echo $ECHO_N "(cached) $ECHO_C" >&6
50816 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50817 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50818 else
50819 # Is the header compilable?
50820 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50821 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50822 cat >conftest.$ac_ext <<_ACEOF
50823 /* confdefs.h. */
50824 _ACEOF
50825 cat confdefs.h >>conftest.$ac_ext
50826 cat >>conftest.$ac_ext <<_ACEOF
50827 /* end confdefs.h. */
50828 $ac_includes_default
50829 #include <langinfo.h>
50830 _ACEOF
50831 rm -f conftest.$ac_objext
50832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50833 (eval $ac_compile) 2>conftest.er1
50834 ac_status=$?
50835 grep -v '^ *+' conftest.er1 >conftest.err
50836 rm -f conftest.er1
50837 cat conftest.err >&5
50838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50839 (exit $ac_status); } &&
50840 { ac_try='test -z "$ac_c_werror_flag"
50841 || test ! -s conftest.err'
50842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50843 (eval $ac_try) 2>&5
50844 ac_status=$?
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); }; } &&
50847 { ac_try='test -s conftest.$ac_objext'
50848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50849 (eval $ac_try) 2>&5
50850 ac_status=$?
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); }; }; then
50853 ac_header_compiler=yes
50854 else
50855 echo "$as_me: failed program was:" >&5
50856 sed 's/^/| /' conftest.$ac_ext >&5
50858 ac_header_compiler=no
50860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50862 echo "${ECHO_T}$ac_header_compiler" >&6
50864 # Is the header present?
50865 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50866 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50867 cat >conftest.$ac_ext <<_ACEOF
50868 /* confdefs.h. */
50869 _ACEOF
50870 cat confdefs.h >>conftest.$ac_ext
50871 cat >>conftest.$ac_ext <<_ACEOF
50872 /* end confdefs.h. */
50873 #include <langinfo.h>
50874 _ACEOF
50875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50877 ac_status=$?
50878 grep -v '^ *+' conftest.er1 >conftest.err
50879 rm -f conftest.er1
50880 cat conftest.err >&5
50881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50882 (exit $ac_status); } >/dev/null; then
50883 if test -s conftest.err; then
50884 ac_cpp_err=$ac_c_preproc_warn_flag
50885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50886 else
50887 ac_cpp_err=
50889 else
50890 ac_cpp_err=yes
50892 if test -z "$ac_cpp_err"; then
50893 ac_header_preproc=yes
50894 else
50895 echo "$as_me: failed program was:" >&5
50896 sed 's/^/| /' conftest.$ac_ext >&5
50898 ac_header_preproc=no
50900 rm -f conftest.err conftest.$ac_ext
50901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50902 echo "${ECHO_T}$ac_header_preproc" >&6
50904 # So? What about this header?
50905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50906 yes:no: )
50907 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50908 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50909 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
50910 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
50911 ac_header_preproc=yes
50913 no:yes:* )
50914 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50915 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50916 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50917 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50918 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
50919 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
50920 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
50921 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
50922 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50923 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50924 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
50925 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
50927 cat <<\_ASBOX
50928 ## ----------------------------------------- ##
50929 ## Report this to the package-unused lists. ##
50930 ## ----------------------------------------- ##
50931 _ASBOX
50933 sed "s/^/$as_me: WARNING: /" >&2
50935 esac
50936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50938 if test "${ac_cv_header_langinfo_h+set}" = set; then
50939 echo $ECHO_N "(cached) $ECHO_C" >&6
50940 else
50941 ac_cv_header_langinfo_h=$ac_header_preproc
50943 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50944 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50947 if test $ac_cv_header_langinfo_h = yes; then
50948 ac_has_langinfo_h=yes
50949 else
50950 ac_has_langinfo_h=no
50955 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50956 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50957 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50958 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50959 echo $ECHO_N "(cached) $ECHO_C" >&6
50960 else
50961 ac_check_lib_save_LIBS=$LIBS
50962 LIBS="-liconv $LIBS"
50963 if test x$gcc_no_link = xyes; then
50964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50966 { (exit 1); exit 1; }; }
50968 cat >conftest.$ac_ext <<_ACEOF
50969 /* confdefs.h. */
50970 _ACEOF
50971 cat confdefs.h >>conftest.$ac_ext
50972 cat >>conftest.$ac_ext <<_ACEOF
50973 /* end confdefs.h. */
50975 /* Override any gcc2 internal prototype to avoid an error. */
50976 #ifdef __cplusplus
50977 extern "C"
50978 #endif
50979 /* We use char because int might match the return type of a gcc2
50980 builtin and then its argument prototype would still apply. */
50981 char iconv ();
50983 main ()
50985 iconv ();
50987 return 0;
50989 _ACEOF
50990 rm -f conftest.$ac_objext conftest$ac_exeext
50991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50992 (eval $ac_link) 2>conftest.er1
50993 ac_status=$?
50994 grep -v '^ *+' conftest.er1 >conftest.err
50995 rm -f conftest.er1
50996 cat conftest.err >&5
50997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50998 (exit $ac_status); } &&
50999 { ac_try='test -z "$ac_c_werror_flag"
51000 || test ! -s conftest.err'
51001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51002 (eval $ac_try) 2>&5
51003 ac_status=$?
51004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51005 (exit $ac_status); }; } &&
51006 { ac_try='test -s conftest$ac_exeext'
51007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51008 (eval $ac_try) 2>&5
51009 ac_status=$?
51010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51011 (exit $ac_status); }; }; then
51012 ac_cv_lib_iconv_iconv=yes
51013 else
51014 echo "$as_me: failed program was:" >&5
51015 sed 's/^/| /' conftest.$ac_ext >&5
51017 ac_cv_lib_iconv_iconv=no
51019 rm -f conftest.err conftest.$ac_objext \
51020 conftest$ac_exeext conftest.$ac_ext
51021 LIBS=$ac_check_lib_save_LIBS
51023 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51024 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51025 if test $ac_cv_lib_iconv_iconv = yes; then
51026 LIBICONV="-liconv"
51029 ac_save_LIBS="$LIBS"
51030 LIBS="$LIBS $LIBICONV"
51037 for ac_func in iconv_open iconv_close iconv nl_langinfo
51039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51040 echo "$as_me:$LINENO: checking for $ac_func" >&5
51041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51042 if eval "test \"\${$as_ac_var+set}\" = set"; then
51043 echo $ECHO_N "(cached) $ECHO_C" >&6
51044 else
51045 if test x$gcc_no_link = xyes; then
51046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51048 { (exit 1); exit 1; }; }
51050 cat >conftest.$ac_ext <<_ACEOF
51051 /* confdefs.h. */
51052 _ACEOF
51053 cat confdefs.h >>conftest.$ac_ext
51054 cat >>conftest.$ac_ext <<_ACEOF
51055 /* end confdefs.h. */
51056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51058 #define $ac_func innocuous_$ac_func
51060 /* System header to define __stub macros and hopefully few prototypes,
51061 which can conflict with char $ac_func (); below.
51062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51063 <limits.h> exists even on freestanding compilers. */
51065 #ifdef __STDC__
51066 # include <limits.h>
51067 #else
51068 # include <assert.h>
51069 #endif
51071 #undef $ac_func
51073 /* Override any gcc2 internal prototype to avoid an error. */
51074 #ifdef __cplusplus
51075 extern "C"
51077 #endif
51078 /* We use char because int might match the return type of a gcc2
51079 builtin and then its argument prototype would still apply. */
51080 char $ac_func ();
51081 /* The GNU C library defines this for functions which it implements
51082 to always fail with ENOSYS. Some functions are actually named
51083 something starting with __ and the normal name is an alias. */
51084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51085 choke me
51086 #else
51087 char (*f) () = $ac_func;
51088 #endif
51089 #ifdef __cplusplus
51091 #endif
51094 main ()
51096 return f != $ac_func;
51098 return 0;
51100 _ACEOF
51101 rm -f conftest.$ac_objext conftest$ac_exeext
51102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51103 (eval $ac_link) 2>conftest.er1
51104 ac_status=$?
51105 grep -v '^ *+' conftest.er1 >conftest.err
51106 rm -f conftest.er1
51107 cat conftest.err >&5
51108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109 (exit $ac_status); } &&
51110 { ac_try='test -z "$ac_c_werror_flag"
51111 || test ! -s conftest.err'
51112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51113 (eval $ac_try) 2>&5
51114 ac_status=$?
51115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51116 (exit $ac_status); }; } &&
51117 { ac_try='test -s conftest$ac_exeext'
51118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51119 (eval $ac_try) 2>&5
51120 ac_status=$?
51121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51122 (exit $ac_status); }; }; then
51123 eval "$as_ac_var=yes"
51124 else
51125 echo "$as_me: failed program was:" >&5
51126 sed 's/^/| /' conftest.$ac_ext >&5
51128 eval "$as_ac_var=no"
51130 rm -f conftest.err conftest.$ac_objext \
51131 conftest$ac_exeext conftest.$ac_ext
51133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51135 if test `eval echo '${'$as_ac_var'}'` = yes; then
51136 cat >>confdefs.h <<_ACEOF
51137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51138 _ACEOF
51139 ac_XPG2funcs=yes
51140 else
51141 ac_XPG2funcs=no
51143 done
51146 LIBS="$ac_save_LIBS"
51148 if test x"$ac_has_iconv_h" = xyes &&
51149 test x"$ac_has_langinfo_h" = xyes &&
51150 test x"$ac_XPG2funcs" = xyes;
51151 then
51153 cat >>confdefs.h <<\_ACEOF
51154 #define _GLIBCXX_USE_ICONV 1
51155 _ACEOF
51157 enable_iconv=yes
51160 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51161 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51162 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51163 echo "${ECHO_T}$enable_iconv" >&6
51166 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51167 ac_save_CXXFLAGS="$CXXFLAGS"
51168 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51171 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51172 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51173 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51174 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51175 echo $ECHO_N "(cached) $ECHO_C" >&6
51176 else
51180 ac_ext=cc
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186 cat >conftest.$ac_ext <<_ACEOF
51187 /* confdefs.h. */
51188 _ACEOF
51189 cat confdefs.h >>conftest.$ac_ext
51190 cat >>conftest.$ac_ext <<_ACEOF
51191 /* end confdefs.h. */
51192 #include <stdlib.h>
51194 main ()
51196 strtold(0, 0);
51198 return 0;
51200 _ACEOF
51201 rm -f conftest.$ac_objext
51202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51203 (eval $ac_compile) 2>conftest.er1
51204 ac_status=$?
51205 grep -v '^ *+' conftest.er1 >conftest.err
51206 rm -f conftest.er1
51207 cat conftest.err >&5
51208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51209 (exit $ac_status); } &&
51210 { ac_try='test -z "$ac_cxx_werror_flag"
51211 || test ! -s conftest.err'
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); }; } &&
51217 { ac_try='test -s conftest.$ac_objext'
51218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51219 (eval $ac_try) 2>&5
51220 ac_status=$?
51221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51222 (exit $ac_status); }; }; then
51223 glibcxx_cv_func_strtold_use=yes
51224 else
51225 echo "$as_me: failed program was:" >&5
51226 sed 's/^/| /' conftest.$ac_ext >&5
51228 glibcxx_cv_func_strtold_use=no
51230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51231 ac_ext=c
51232 ac_cpp='$CPP $CPPFLAGS'
51233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51242 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51243 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51245 for ac_func in strtold
51247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51248 echo "$as_me:$LINENO: checking for $ac_func" >&5
51249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51250 if eval "test \"\${$as_ac_var+set}\" = set"; then
51251 echo $ECHO_N "(cached) $ECHO_C" >&6
51252 else
51253 if test x$gcc_no_link = xyes; then
51254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51256 { (exit 1); exit 1; }; }
51258 cat >conftest.$ac_ext <<_ACEOF
51259 /* confdefs.h. */
51260 _ACEOF
51261 cat confdefs.h >>conftest.$ac_ext
51262 cat >>conftest.$ac_ext <<_ACEOF
51263 /* end confdefs.h. */
51264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51266 #define $ac_func innocuous_$ac_func
51268 /* System header to define __stub macros and hopefully few prototypes,
51269 which can conflict with char $ac_func (); below.
51270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51271 <limits.h> exists even on freestanding compilers. */
51273 #ifdef __STDC__
51274 # include <limits.h>
51275 #else
51276 # include <assert.h>
51277 #endif
51279 #undef $ac_func
51281 /* Override any gcc2 internal prototype to avoid an error. */
51282 #ifdef __cplusplus
51283 extern "C"
51285 #endif
51286 /* We use char because int might match the return type of a gcc2
51287 builtin and then its argument prototype would still apply. */
51288 char $ac_func ();
51289 /* The GNU C library defines this for functions which it implements
51290 to always fail with ENOSYS. Some functions are actually named
51291 something starting with __ and the normal name is an alias. */
51292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51293 choke me
51294 #else
51295 char (*f) () = $ac_func;
51296 #endif
51297 #ifdef __cplusplus
51299 #endif
51302 main ()
51304 return f != $ac_func;
51306 return 0;
51308 _ACEOF
51309 rm -f conftest.$ac_objext conftest$ac_exeext
51310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51311 (eval $ac_link) 2>conftest.er1
51312 ac_status=$?
51313 grep -v '^ *+' conftest.er1 >conftest.err
51314 rm -f conftest.er1
51315 cat conftest.err >&5
51316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51317 (exit $ac_status); } &&
51318 { ac_try='test -z "$ac_c_werror_flag"
51319 || test ! -s conftest.err'
51320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51321 (eval $ac_try) 2>&5
51322 ac_status=$?
51323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51324 (exit $ac_status); }; } &&
51325 { ac_try='test -s conftest$ac_exeext'
51326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51327 (eval $ac_try) 2>&5
51328 ac_status=$?
51329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51330 (exit $ac_status); }; }; then
51331 eval "$as_ac_var=yes"
51332 else
51333 echo "$as_me: failed program was:" >&5
51334 sed 's/^/| /' conftest.$ac_ext >&5
51336 eval "$as_ac_var=no"
51338 rm -f conftest.err conftest.$ac_objext \
51339 conftest$ac_exeext conftest.$ac_ext
51341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51343 if test `eval echo '${'$as_ac_var'}'` = yes; then
51344 cat >>confdefs.h <<_ACEOF
51345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51346 _ACEOF
51349 done
51354 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51355 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51356 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51357 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51358 echo $ECHO_N "(cached) $ECHO_C" >&6
51359 else
51363 ac_ext=cc
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369 cat >conftest.$ac_ext <<_ACEOF
51370 /* confdefs.h. */
51371 _ACEOF
51372 cat confdefs.h >>conftest.$ac_ext
51373 cat >>conftest.$ac_ext <<_ACEOF
51374 /* end confdefs.h. */
51375 #include <stdlib.h>
51377 main ()
51379 strtof(0, 0);
51381 return 0;
51383 _ACEOF
51384 rm -f conftest.$ac_objext
51385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51386 (eval $ac_compile) 2>conftest.er1
51387 ac_status=$?
51388 grep -v '^ *+' conftest.er1 >conftest.err
51389 rm -f conftest.er1
51390 cat conftest.err >&5
51391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392 (exit $ac_status); } &&
51393 { ac_try='test -z "$ac_cxx_werror_flag"
51394 || test ! -s conftest.err'
51395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51396 (eval $ac_try) 2>&5
51397 ac_status=$?
51398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399 (exit $ac_status); }; } &&
51400 { ac_try='test -s conftest.$ac_objext'
51401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51402 (eval $ac_try) 2>&5
51403 ac_status=$?
51404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51405 (exit $ac_status); }; }; then
51406 glibcxx_cv_func_strtof_use=yes
51407 else
51408 echo "$as_me: failed program was:" >&5
51409 sed 's/^/| /' conftest.$ac_ext >&5
51411 glibcxx_cv_func_strtof_use=no
51413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51414 ac_ext=c
51415 ac_cpp='$CPP $CPPFLAGS'
51416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51425 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51426 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51428 for ac_func in strtof
51430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51431 echo "$as_me:$LINENO: checking for $ac_func" >&5
51432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51433 if eval "test \"\${$as_ac_var+set}\" = set"; then
51434 echo $ECHO_N "(cached) $ECHO_C" >&6
51435 else
51436 if test x$gcc_no_link = xyes; then
51437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51439 { (exit 1); exit 1; }; }
51441 cat >conftest.$ac_ext <<_ACEOF
51442 /* confdefs.h. */
51443 _ACEOF
51444 cat confdefs.h >>conftest.$ac_ext
51445 cat >>conftest.$ac_ext <<_ACEOF
51446 /* end confdefs.h. */
51447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51449 #define $ac_func innocuous_$ac_func
51451 /* System header to define __stub macros and hopefully few prototypes,
51452 which can conflict with char $ac_func (); below.
51453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51454 <limits.h> exists even on freestanding compilers. */
51456 #ifdef __STDC__
51457 # include <limits.h>
51458 #else
51459 # include <assert.h>
51460 #endif
51462 #undef $ac_func
51464 /* Override any gcc2 internal prototype to avoid an error. */
51465 #ifdef __cplusplus
51466 extern "C"
51468 #endif
51469 /* We use char because int might match the return type of a gcc2
51470 builtin and then its argument prototype would still apply. */
51471 char $ac_func ();
51472 /* The GNU C library defines this for functions which it implements
51473 to always fail with ENOSYS. Some functions are actually named
51474 something starting with __ and the normal name is an alias. */
51475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51476 choke me
51477 #else
51478 char (*f) () = $ac_func;
51479 #endif
51480 #ifdef __cplusplus
51482 #endif
51485 main ()
51487 return f != $ac_func;
51489 return 0;
51491 _ACEOF
51492 rm -f conftest.$ac_objext conftest$ac_exeext
51493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51494 (eval $ac_link) 2>conftest.er1
51495 ac_status=$?
51496 grep -v '^ *+' conftest.er1 >conftest.err
51497 rm -f conftest.er1
51498 cat conftest.err >&5
51499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51500 (exit $ac_status); } &&
51501 { ac_try='test -z "$ac_c_werror_flag"
51502 || test ! -s conftest.err'
51503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51504 (eval $ac_try) 2>&5
51505 ac_status=$?
51506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51507 (exit $ac_status); }; } &&
51508 { ac_try='test -s conftest$ac_exeext'
51509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51510 (eval $ac_try) 2>&5
51511 ac_status=$?
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); }; }; then
51514 eval "$as_ac_var=yes"
51515 else
51516 echo "$as_me: failed program was:" >&5
51517 sed 's/^/| /' conftest.$ac_ext >&5
51519 eval "$as_ac_var=no"
51521 rm -f conftest.err conftest.$ac_objext \
51522 conftest$ac_exeext conftest.$ac_ext
51524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51526 if test `eval echo '${'$as_ac_var'}'` = yes; then
51527 cat >>confdefs.h <<_ACEOF
51528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51529 _ACEOF
51532 done
51537 CXXFLAGS="$ac_save_CXXFLAGS"
51540 # For showmanyc_helper().
51543 for ac_header in sys/ioctl.h sys/filio.h
51545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51547 echo "$as_me:$LINENO: checking for $ac_header" >&5
51548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51550 echo $ECHO_N "(cached) $ECHO_C" >&6
51552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51554 else
51555 # Is the header compilable?
51556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
51565 #include <$ac_header>
51566 _ACEOF
51567 rm -f conftest.$ac_objext
51568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51569 (eval $ac_compile) 2>conftest.er1
51570 ac_status=$?
51571 grep -v '^ *+' conftest.er1 >conftest.err
51572 rm -f conftest.er1
51573 cat conftest.err >&5
51574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575 (exit $ac_status); } &&
51576 { ac_try='test -z "$ac_c_werror_flag"
51577 || test ! -s conftest.err'
51578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51579 (eval $ac_try) 2>&5
51580 ac_status=$?
51581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582 (exit $ac_status); }; } &&
51583 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
51589 ac_header_compiler=yes
51590 else
51591 echo "$as_me: failed program was:" >&5
51592 sed 's/^/| /' conftest.$ac_ext >&5
51594 ac_header_compiler=no
51596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51598 echo "${ECHO_T}$ac_header_compiler" >&6
51600 # Is the header present?
51601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51603 cat >conftest.$ac_ext <<_ACEOF
51604 /* confdefs.h. */
51605 _ACEOF
51606 cat confdefs.h >>conftest.$ac_ext
51607 cat >>conftest.$ac_ext <<_ACEOF
51608 /* end confdefs.h. */
51609 #include <$ac_header>
51610 _ACEOF
51611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51613 ac_status=$?
51614 grep -v '^ *+' conftest.er1 >conftest.err
51615 rm -f conftest.er1
51616 cat conftest.err >&5
51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618 (exit $ac_status); } >/dev/null; then
51619 if test -s conftest.err; then
51620 ac_cpp_err=$ac_c_preproc_warn_flag
51621 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51622 else
51623 ac_cpp_err=
51625 else
51626 ac_cpp_err=yes
51628 if test -z "$ac_cpp_err"; then
51629 ac_header_preproc=yes
51630 else
51631 echo "$as_me: failed program was:" >&5
51632 sed 's/^/| /' conftest.$ac_ext >&5
51634 ac_header_preproc=no
51636 rm -f conftest.err conftest.$ac_ext
51637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51638 echo "${ECHO_T}$ac_header_preproc" >&6
51640 # So? What about this header?
51641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51642 yes:no: )
51643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51647 ac_header_preproc=yes
51649 no:yes:* )
51650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51663 cat <<\_ASBOX
51664 ## ----------------------------------------- ##
51665 ## Report this to the package-unused lists. ##
51666 ## ----------------------------------------- ##
51667 _ASBOX
51669 sed "s/^/$as_me: WARNING: /" >&2
51671 esac
51672 echo "$as_me:$LINENO: checking for $ac_header" >&5
51673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51675 echo $ECHO_N "(cached) $ECHO_C" >&6
51676 else
51677 eval "$as_ac_Header=\$ac_header_preproc"
51679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51684 cat >>confdefs.h <<_ACEOF
51685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51686 _ACEOF
51690 done
51693 if test "${glibcxx_cv_POLL+set}" = set; then
51694 echo $ECHO_N "(cached) $ECHO_C" >&6
51695 else
51697 if test x$gcc_no_link = xyes; then
51698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51700 { (exit 1); exit 1; }; }
51702 cat >conftest.$ac_ext <<_ACEOF
51703 /* confdefs.h. */
51704 _ACEOF
51705 cat confdefs.h >>conftest.$ac_ext
51706 cat >>conftest.$ac_ext <<_ACEOF
51707 /* end confdefs.h. */
51708 #include <poll.h>
51710 main ()
51712 struct pollfd pfd[1];
51713 pfd[0].events = POLLIN;
51714 poll(pfd, 1, 0);
51716 return 0;
51718 _ACEOF
51719 rm -f conftest.$ac_objext conftest$ac_exeext
51720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51721 (eval $ac_link) 2>conftest.er1
51722 ac_status=$?
51723 grep -v '^ *+' conftest.er1 >conftest.err
51724 rm -f conftest.er1
51725 cat conftest.err >&5
51726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51727 (exit $ac_status); } &&
51728 { ac_try='test -z "$ac_c_werror_flag"
51729 || test ! -s conftest.err'
51730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51731 (eval $ac_try) 2>&5
51732 ac_status=$?
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; } &&
51735 { ac_try='test -s conftest$ac_exeext'
51736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51737 (eval $ac_try) 2>&5
51738 ac_status=$?
51739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51740 (exit $ac_status); }; }; then
51741 glibcxx_cv_POLL=yes
51742 else
51743 echo "$as_me: failed program was:" >&5
51744 sed 's/^/| /' conftest.$ac_ext >&5
51746 glibcxx_cv_POLL=no
51748 rm -f conftest.err conftest.$ac_objext \
51749 conftest$ac_exeext conftest.$ac_ext
51753 if test $glibcxx_cv_POLL = yes; then
51754 cat >>confdefs.h <<\_ACEOF
51755 #define HAVE_POLL 1
51756 _ACEOF
51761 if test "${glibcxx_cv_S_ISREG+set}" = set; then
51762 echo $ECHO_N "(cached) $ECHO_C" >&6
51763 else
51765 if test x$gcc_no_link = xyes; then
51766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51768 { (exit 1); exit 1; }; }
51770 cat >conftest.$ac_ext <<_ACEOF
51771 /* confdefs.h. */
51772 _ACEOF
51773 cat confdefs.h >>conftest.$ac_ext
51774 cat >>conftest.$ac_ext <<_ACEOF
51775 /* end confdefs.h. */
51776 #include <sys/stat.h>
51778 main ()
51780 struct stat buffer;
51781 fstat(0, &buffer);
51782 S_ISREG(buffer.st_mode);
51784 return 0;
51786 _ACEOF
51787 rm -f conftest.$ac_objext conftest$ac_exeext
51788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51789 (eval $ac_link) 2>conftest.er1
51790 ac_status=$?
51791 grep -v '^ *+' conftest.er1 >conftest.err
51792 rm -f conftest.er1
51793 cat conftest.err >&5
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); } &&
51796 { ac_try='test -z "$ac_c_werror_flag"
51797 || test ! -s conftest.err'
51798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51799 (eval $ac_try) 2>&5
51800 ac_status=$?
51801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51802 (exit $ac_status); }; } &&
51803 { ac_try='test -s conftest$ac_exeext'
51804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51805 (eval $ac_try) 2>&5
51806 ac_status=$?
51807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51808 (exit $ac_status); }; }; then
51809 glibcxx_cv_S_ISREG=yes
51810 else
51811 echo "$as_me: failed program was:" >&5
51812 sed 's/^/| /' conftest.$ac_ext >&5
51814 glibcxx_cv_S_ISREG=no
51816 rm -f conftest.err conftest.$ac_objext \
51817 conftest$ac_exeext conftest.$ac_ext
51821 if test "${glibcxx_cv_S_IFREG+set}" = set; then
51822 echo $ECHO_N "(cached) $ECHO_C" >&6
51823 else
51825 if test x$gcc_no_link = xyes; then
51826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51828 { (exit 1); exit 1; }; }
51830 cat >conftest.$ac_ext <<_ACEOF
51831 /* confdefs.h. */
51832 _ACEOF
51833 cat confdefs.h >>conftest.$ac_ext
51834 cat >>conftest.$ac_ext <<_ACEOF
51835 /* end confdefs.h. */
51836 #include <sys/stat.h>
51838 main ()
51840 struct stat buffer;
51841 fstat(0, &buffer);
51842 S_IFREG & buffer.st_mode;
51844 return 0;
51846 _ACEOF
51847 rm -f conftest.$ac_objext conftest$ac_exeext
51848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51849 (eval $ac_link) 2>conftest.er1
51850 ac_status=$?
51851 grep -v '^ *+' conftest.er1 >conftest.err
51852 rm -f conftest.er1
51853 cat conftest.err >&5
51854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51855 (exit $ac_status); } &&
51856 { ac_try='test -z "$ac_c_werror_flag"
51857 || test ! -s conftest.err'
51858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51859 (eval $ac_try) 2>&5
51860 ac_status=$?
51861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51862 (exit $ac_status); }; } &&
51863 { ac_try='test -s conftest$ac_exeext'
51864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51865 (eval $ac_try) 2>&5
51866 ac_status=$?
51867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51868 (exit $ac_status); }; }; then
51869 glibcxx_cv_S_IFREG=yes
51870 else
51871 echo "$as_me: failed program was:" >&5
51872 sed 's/^/| /' conftest.$ac_ext >&5
51874 glibcxx_cv_S_IFREG=no
51876 rm -f conftest.err conftest.$ac_objext \
51877 conftest$ac_exeext conftest.$ac_ext
51881 if test $glibcxx_cv_S_ISREG = yes; then
51882 cat >>confdefs.h <<\_ACEOF
51883 #define HAVE_S_ISREG 1
51884 _ACEOF
51886 elif test $glibcxx_cv_S_IFREG = yes; then
51887 cat >>confdefs.h <<\_ACEOF
51888 #define HAVE_S_IFREG 1
51889 _ACEOF
51894 # For xsputn_2().
51896 for ac_header in sys/uio.h
51898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51900 echo "$as_me:$LINENO: checking for $ac_header" >&5
51901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51903 echo $ECHO_N "(cached) $ECHO_C" >&6
51905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51907 else
51908 # Is the header compilable?
51909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51911 cat >conftest.$ac_ext <<_ACEOF
51912 /* confdefs.h. */
51913 _ACEOF
51914 cat confdefs.h >>conftest.$ac_ext
51915 cat >>conftest.$ac_ext <<_ACEOF
51916 /* end confdefs.h. */
51917 $ac_includes_default
51918 #include <$ac_header>
51919 _ACEOF
51920 rm -f conftest.$ac_objext
51921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51922 (eval $ac_compile) 2>conftest.er1
51923 ac_status=$?
51924 grep -v '^ *+' conftest.er1 >conftest.err
51925 rm -f conftest.er1
51926 cat conftest.err >&5
51927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51928 (exit $ac_status); } &&
51929 { ac_try='test -z "$ac_c_werror_flag"
51930 || test ! -s conftest.err'
51931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51932 (eval $ac_try) 2>&5
51933 ac_status=$?
51934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51935 (exit $ac_status); }; } &&
51936 { ac_try='test -s conftest.$ac_objext'
51937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51938 (eval $ac_try) 2>&5
51939 ac_status=$?
51940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941 (exit $ac_status); }; }; then
51942 ac_header_compiler=yes
51943 else
51944 echo "$as_me: failed program was:" >&5
51945 sed 's/^/| /' conftest.$ac_ext >&5
51947 ac_header_compiler=no
51949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51951 echo "${ECHO_T}$ac_header_compiler" >&6
51953 # Is the header present?
51954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51956 cat >conftest.$ac_ext <<_ACEOF
51957 /* confdefs.h. */
51958 _ACEOF
51959 cat confdefs.h >>conftest.$ac_ext
51960 cat >>conftest.$ac_ext <<_ACEOF
51961 /* end confdefs.h. */
51962 #include <$ac_header>
51963 _ACEOF
51964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51966 ac_status=$?
51967 grep -v '^ *+' conftest.er1 >conftest.err
51968 rm -f conftest.er1
51969 cat conftest.err >&5
51970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51971 (exit $ac_status); } >/dev/null; then
51972 if test -s conftest.err; then
51973 ac_cpp_err=$ac_c_preproc_warn_flag
51974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51975 else
51976 ac_cpp_err=
51978 else
51979 ac_cpp_err=yes
51981 if test -z "$ac_cpp_err"; then
51982 ac_header_preproc=yes
51983 else
51984 echo "$as_me: failed program was:" >&5
51985 sed 's/^/| /' conftest.$ac_ext >&5
51987 ac_header_preproc=no
51989 rm -f conftest.err conftest.$ac_ext
51990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51991 echo "${ECHO_T}$ac_header_preproc" >&6
51993 # So? What about this header?
51994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51995 yes:no: )
51996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52000 ac_header_preproc=yes
52002 no:yes:* )
52003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52016 cat <<\_ASBOX
52017 ## ----------------------------------------- ##
52018 ## Report this to the package-unused lists. ##
52019 ## ----------------------------------------- ##
52020 _ASBOX
52022 sed "s/^/$as_me: WARNING: /" >&2
52024 esac
52025 echo "$as_me:$LINENO: checking for $ac_header" >&5
52026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52028 echo $ECHO_N "(cached) $ECHO_C" >&6
52029 else
52030 eval "$as_ac_Header=\$ac_header_preproc"
52032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52037 cat >>confdefs.h <<_ACEOF
52038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52039 _ACEOF
52043 done
52046 if test "${glibcxx_cv_WRITEV+set}" = set; then
52047 echo $ECHO_N "(cached) $ECHO_C" >&6
52048 else
52050 if test x$gcc_no_link = xyes; then
52051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52053 { (exit 1); exit 1; }; }
52055 cat >conftest.$ac_ext <<_ACEOF
52056 /* confdefs.h. */
52057 _ACEOF
52058 cat confdefs.h >>conftest.$ac_ext
52059 cat >>conftest.$ac_ext <<_ACEOF
52060 /* end confdefs.h. */
52061 #include <sys/uio.h>
52063 main ()
52065 struct iovec iov[2];
52066 writev(0, iov, 0);
52068 return 0;
52070 _ACEOF
52071 rm -f conftest.$ac_objext conftest$ac_exeext
52072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52073 (eval $ac_link) 2>conftest.er1
52074 ac_status=$?
52075 grep -v '^ *+' conftest.er1 >conftest.err
52076 rm -f conftest.er1
52077 cat conftest.err >&5
52078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52079 (exit $ac_status); } &&
52080 { ac_try='test -z "$ac_c_werror_flag"
52081 || test ! -s conftest.err'
52082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52083 (eval $ac_try) 2>&5
52084 ac_status=$?
52085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52086 (exit $ac_status); }; } &&
52087 { ac_try='test -s conftest$ac_exeext'
52088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52089 (eval $ac_try) 2>&5
52090 ac_status=$?
52091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52092 (exit $ac_status); }; }; then
52093 glibcxx_cv_WRITEV=yes
52094 else
52095 echo "$as_me: failed program was:" >&5
52096 sed 's/^/| /' conftest.$ac_ext >&5
52098 glibcxx_cv_WRITEV=no
52100 rm -f conftest.err conftest.$ac_objext \
52101 conftest$ac_exeext conftest.$ac_ext
52105 if test $glibcxx_cv_WRITEV = yes; then
52106 cat >>confdefs.h <<\_ACEOF
52107 #define HAVE_WRITEV 1
52108 _ACEOF
52113 cat >>confdefs.h <<\_ACEOF
52114 #define HAVE_LC_MESSAGES 1
52115 _ACEOF
52118 cat >conftest.$ac_ext <<_ACEOF
52119 /* confdefs.h. */
52120 _ACEOF
52121 cat confdefs.h >>conftest.$ac_ext
52122 cat >>conftest.$ac_ext <<_ACEOF
52123 /* end confdefs.h. */
52124 #include <setjmp.h>
52126 main ()
52128 sigjmp_buf env;
52129 while (! sigsetjmp (env, 1))
52130 siglongjmp (env, 1);
52133 return 0;
52135 _ACEOF
52136 rm -f conftest.$ac_objext
52137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52138 (eval $ac_compile) 2>conftest.er1
52139 ac_status=$?
52140 grep -v '^ *+' conftest.er1 >conftest.err
52141 rm -f conftest.er1
52142 cat conftest.err >&5
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); } &&
52145 { ac_try='test -z "$ac_c_werror_flag"
52146 || test ! -s conftest.err'
52147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52148 (eval $ac_try) 2>&5
52149 ac_status=$?
52150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52151 (exit $ac_status); }; } &&
52152 { ac_try='test -s conftest.$ac_objext'
52153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52154 (eval $ac_try) 2>&5
52155 ac_status=$?
52156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52157 (exit $ac_status); }; }; then
52159 cat >>confdefs.h <<\_ACEOF
52160 #define HAVE_SIGSETJMP 1
52161 _ACEOF
52163 else
52164 echo "$as_me: failed program was:" >&5
52165 sed 's/^/| /' conftest.$ac_ext >&5
52168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52170 cat >>confdefs.h <<\_ACEOF
52171 #define HAVE_MMAP 1
52172 _ACEOF
52176 *djgpp)
52197 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52198 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52199 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52200 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52204 echo "$as_me:$LINENO: checking for $ac_header" >&5
52205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52207 echo $ECHO_N "(cached) $ECHO_C" >&6
52209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52211 else
52212 # Is the header compilable?
52213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52215 cat >conftest.$ac_ext <<_ACEOF
52216 /* confdefs.h. */
52217 _ACEOF
52218 cat confdefs.h >>conftest.$ac_ext
52219 cat >>conftest.$ac_ext <<_ACEOF
52220 /* end confdefs.h. */
52221 $ac_includes_default
52222 #include <$ac_header>
52223 _ACEOF
52224 rm -f conftest.$ac_objext
52225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52226 (eval $ac_compile) 2>conftest.er1
52227 ac_status=$?
52228 grep -v '^ *+' conftest.er1 >conftest.err
52229 rm -f conftest.er1
52230 cat conftest.err >&5
52231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52232 (exit $ac_status); } &&
52233 { ac_try='test -z "$ac_c_werror_flag"
52234 || test ! -s conftest.err'
52235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52236 (eval $ac_try) 2>&5
52237 ac_status=$?
52238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52239 (exit $ac_status); }; } &&
52240 { ac_try='test -s conftest.$ac_objext'
52241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52242 (eval $ac_try) 2>&5
52243 ac_status=$?
52244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52245 (exit $ac_status); }; }; then
52246 ac_header_compiler=yes
52247 else
52248 echo "$as_me: failed program was:" >&5
52249 sed 's/^/| /' conftest.$ac_ext >&5
52251 ac_header_compiler=no
52253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52255 echo "${ECHO_T}$ac_header_compiler" >&6
52257 # Is the header present?
52258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52260 cat >conftest.$ac_ext <<_ACEOF
52261 /* confdefs.h. */
52262 _ACEOF
52263 cat confdefs.h >>conftest.$ac_ext
52264 cat >>conftest.$ac_ext <<_ACEOF
52265 /* end confdefs.h. */
52266 #include <$ac_header>
52267 _ACEOF
52268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52270 ac_status=$?
52271 grep -v '^ *+' conftest.er1 >conftest.err
52272 rm -f conftest.er1
52273 cat conftest.err >&5
52274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52275 (exit $ac_status); } >/dev/null; then
52276 if test -s conftest.err; then
52277 ac_cpp_err=$ac_c_preproc_warn_flag
52278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52279 else
52280 ac_cpp_err=
52282 else
52283 ac_cpp_err=yes
52285 if test -z "$ac_cpp_err"; then
52286 ac_header_preproc=yes
52287 else
52288 echo "$as_me: failed program was:" >&5
52289 sed 's/^/| /' conftest.$ac_ext >&5
52291 ac_header_preproc=no
52293 rm -f conftest.err conftest.$ac_ext
52294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52295 echo "${ECHO_T}$ac_header_preproc" >&6
52297 # So? What about this header?
52298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52299 yes:no: )
52300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52304 ac_header_preproc=yes
52306 no:yes:* )
52307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52311 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52313 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52314 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52317 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52320 cat <<\_ASBOX
52321 ## ----------------------------------------- ##
52322 ## Report this to the package-unused lists. ##
52323 ## ----------------------------------------- ##
52324 _ASBOX
52326 sed "s/^/$as_me: WARNING: /" >&2
52328 esac
52329 echo "$as_me:$LINENO: checking for $ac_header" >&5
52330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52332 echo $ECHO_N "(cached) $ECHO_C" >&6
52333 else
52334 eval "$as_ac_Header=\$ac_header_preproc"
52336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52341 cat >>confdefs.h <<_ACEOF
52342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52343 _ACEOF
52347 done
52350 # All these tests are for C++; save the language and the compiler flags.
52351 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52352 # found in GLIBCXX_CONFIGURE.
52355 ac_ext=cc
52356 ac_cpp='$CXXCPP $CPPFLAGS'
52357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52361 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52362 ac_save_CXXFLAGS="$CXXFLAGS"
52364 # Check for maintainer-mode bits.
52365 if test x"$USE_MAINTAINER_MODE" = xno; then
52366 WERROR=''
52367 else
52368 WERROR='-Werror'
52371 # Check for -ffunction-sections -fdata-sections
52372 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52373 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52374 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52375 cat >conftest.$ac_ext <<_ACEOF
52376 /* confdefs.h. */
52377 _ACEOF
52378 cat confdefs.h >>conftest.$ac_ext
52379 cat >>conftest.$ac_ext <<_ACEOF
52380 /* end confdefs.h. */
52383 main ()
52385 int foo;
52387 return 0;
52389 _ACEOF
52390 rm -f conftest.$ac_objext
52391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52392 (eval $ac_compile) 2>conftest.er1
52393 ac_status=$?
52394 grep -v '^ *+' conftest.er1 >conftest.err
52395 rm -f conftest.er1
52396 cat conftest.err >&5
52397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52398 (exit $ac_status); } &&
52399 { ac_try='test -z "$ac_cxx_werror_flag"
52400 || test ! -s conftest.err'
52401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52402 (eval $ac_try) 2>&5
52403 ac_status=$?
52404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52405 (exit $ac_status); }; } &&
52406 { ac_try='test -s conftest.$ac_objext'
52407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52408 (eval $ac_try) 2>&5
52409 ac_status=$?
52410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52411 (exit $ac_status); }; }; then
52412 ac_fdsections=yes
52413 else
52414 echo "$as_me: failed program was:" >&5
52415 sed 's/^/| /' conftest.$ac_ext >&5
52417 ac_fdsections=no
52419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52420 if test "$ac_test_CXXFLAGS" = set; then
52421 CXXFLAGS="$ac_save_CXXFLAGS"
52422 else
52423 # this is the suspicious part
52424 CXXFLAGS=''
52426 if test x"$ac_fdsections" = x"yes"; then
52427 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52429 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52430 echo "${ECHO_T}$ac_fdsections" >&6
52432 ac_ext=c
52433 ac_cpp='$CPP $CPPFLAGS'
52434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52442 # If we're not using GNU ld, then there's no point in even trying these
52443 # tests. Check for that first. We should have already tested for gld
52444 # by now (in libtool), but require it now just to be safe...
52445 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52446 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52450 # The name set by libtool depends on the version of libtool. Shame on us
52451 # for depending on an impl detail, but c'est la vie. Older versions used
52452 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52453 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52454 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52455 # set (hence we're using an older libtool), then set it.
52456 if test x${with_gnu_ld+set} != xset; then
52457 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52458 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52459 with_gnu_ld=no
52460 else
52461 with_gnu_ld=$ac_cv_prog_gnu_ld
52465 # Start by getting the version number. I think the libtool test already
52466 # does some of this, but throws away the result.
52468 ldver=`$LD --version 2>/dev/null | head -1 | \
52469 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52471 glibcxx_gnu_ld_version=`echo $ldver | \
52472 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52474 # Set --gc-sections.
52475 if test "$with_gnu_ld" = "notbroken"; then
52476 # GNU ld it is! Joy and bunny rabbits!
52478 # All these tests are for C++; save the language and the compiler flags.
52479 # Need to do this so that g++ won't try to link in libstdc++
52480 ac_test_CFLAGS="${CFLAGS+set}"
52481 ac_save_CFLAGS="$CFLAGS"
52482 CFLAGS='-x c++ -Wl,--gc-sections'
52484 # Check for -Wl,--gc-sections
52485 # XXX This test is broken at the moment, as symbols required for linking
52486 # are now in libsupc++ (not built yet). In addition, this test has
52487 # cored on solaris in the past. In addition, --gc-sections doesn't
52488 # really work at the moment (keeps on discarding used sections, first
52489 # .eh_frame and now some of the glibc sections for iconv).
52490 # Bzzzzt. Thanks for playing, maybe next time.
52491 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52492 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52493 if test "$cross_compiling" = yes; then
52494 ac_sectionLDflags=yes
52495 else
52496 cat >conftest.$ac_ext <<_ACEOF
52497 /* confdefs.h. */
52498 _ACEOF
52499 cat confdefs.h >>conftest.$ac_ext
52500 cat >>conftest.$ac_ext <<_ACEOF
52501 /* end confdefs.h. */
52503 int main(void)
52505 try { throw 1; }
52506 catch (...) { };
52507 return 0;
52510 _ACEOF
52511 rm -f conftest$ac_exeext
52512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52513 (eval $ac_link) 2>&5
52514 ac_status=$?
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52518 (eval $ac_try) 2>&5
52519 ac_status=$?
52520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52521 (exit $ac_status); }; }; then
52522 ac_sectionLDflags=yes
52523 else
52524 echo "$as_me: program exited with status $ac_status" >&5
52525 echo "$as_me: failed program was:" >&5
52526 sed 's/^/| /' conftest.$ac_ext >&5
52528 ( exit $ac_status )
52529 ac_sectionLDflags=no
52531 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52533 if test "$ac_test_CFLAGS" = set; then
52534 CFLAGS="$ac_save_CFLAGS"
52535 else
52536 # this is the suspicious part
52537 CFLAGS=''
52539 if test "$ac_sectionLDflags" = "yes"; then
52540 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52542 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52543 echo "${ECHO_T}$ac_sectionLDflags" >&6
52546 # Set linker optimization flags.
52547 if test x"$with_gnu_ld" = x"yes"; then
52548 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52555 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52556 ac_save_CXXFLAGS="$CXXFLAGS"
52557 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52559 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52560 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52561 if test "${ac_cv_lib_m_sin+set}" = set; then
52562 echo $ECHO_N "(cached) $ECHO_C" >&6
52563 else
52564 ac_check_lib_save_LIBS=$LIBS
52565 LIBS="-lm $LIBS"
52566 if test x$gcc_no_link = xyes; then
52567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52569 { (exit 1); exit 1; }; }
52571 cat >conftest.$ac_ext <<_ACEOF
52572 /* confdefs.h. */
52573 _ACEOF
52574 cat confdefs.h >>conftest.$ac_ext
52575 cat >>conftest.$ac_ext <<_ACEOF
52576 /* end confdefs.h. */
52578 /* Override any gcc2 internal prototype to avoid an error. */
52579 #ifdef __cplusplus
52580 extern "C"
52581 #endif
52582 /* We use char because int might match the return type of a gcc2
52583 builtin and then its argument prototype would still apply. */
52584 char sin ();
52586 main ()
52588 sin ();
52590 return 0;
52592 _ACEOF
52593 rm -f conftest.$ac_objext conftest$ac_exeext
52594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52595 (eval $ac_link) 2>conftest.er1
52596 ac_status=$?
52597 grep -v '^ *+' conftest.er1 >conftest.err
52598 rm -f conftest.er1
52599 cat conftest.err >&5
52600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52601 (exit $ac_status); } &&
52602 { ac_try='test -z "$ac_c_werror_flag"
52603 || test ! -s conftest.err'
52604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52605 (eval $ac_try) 2>&5
52606 ac_status=$?
52607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52608 (exit $ac_status); }; } &&
52609 { ac_try='test -s conftest$ac_exeext'
52610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52611 (eval $ac_try) 2>&5
52612 ac_status=$?
52613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52614 (exit $ac_status); }; }; then
52615 ac_cv_lib_m_sin=yes
52616 else
52617 echo "$as_me: failed program was:" >&5
52618 sed 's/^/| /' conftest.$ac_ext >&5
52620 ac_cv_lib_m_sin=no
52622 rm -f conftest.err conftest.$ac_objext \
52623 conftest$ac_exeext conftest.$ac_ext
52624 LIBS=$ac_check_lib_save_LIBS
52626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
52627 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
52628 if test $ac_cv_lib_m_sin = yes; then
52629 libm="-lm"
52632 ac_save_LIBS="$LIBS"
52633 LIBS="$LIBS $libm"
52637 echo "$as_me:$LINENO: checking for isinf declaration" >&5
52638 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
52639 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52640 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
52641 echo $ECHO_N "(cached) $ECHO_C" >&6
52642 else
52646 ac_ext=cc
52647 ac_cpp='$CXXCPP $CPPFLAGS'
52648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52652 cat >conftest.$ac_ext <<_ACEOF
52653 /* confdefs.h. */
52654 _ACEOF
52655 cat confdefs.h >>conftest.$ac_ext
52656 cat >>conftest.$ac_ext <<_ACEOF
52657 /* end confdefs.h. */
52658 #include <math.h>
52659 #ifdef HAVE_IEEEFP_H
52660 #include <ieeefp.h>
52661 #endif
52664 main ()
52666 isinf(0);
52668 return 0;
52670 _ACEOF
52671 rm -f conftest.$ac_objext
52672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52673 (eval $ac_compile) 2>conftest.er1
52674 ac_status=$?
52675 grep -v '^ *+' conftest.er1 >conftest.err
52676 rm -f conftest.er1
52677 cat conftest.err >&5
52678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52679 (exit $ac_status); } &&
52680 { ac_try='test -z "$ac_cxx_werror_flag"
52681 || test ! -s conftest.err'
52682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52683 (eval $ac_try) 2>&5
52684 ac_status=$?
52685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52686 (exit $ac_status); }; } &&
52687 { ac_try='test -s conftest.$ac_objext'
52688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52689 (eval $ac_try) 2>&5
52690 ac_status=$?
52691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692 (exit $ac_status); }; }; then
52693 glibcxx_cv_func_isinf_use=yes
52694 else
52695 echo "$as_me: failed program was:" >&5
52696 sed 's/^/| /' conftest.$ac_ext >&5
52698 glibcxx_cv_func_isinf_use=no
52700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52701 ac_ext=c
52702 ac_cpp='$CPP $CPPFLAGS'
52703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
52712 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
52714 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52716 for ac_func in isinf
52718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52719 echo "$as_me:$LINENO: checking for $ac_func" >&5
52720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52721 if eval "test \"\${$as_ac_var+set}\" = set"; then
52722 echo $ECHO_N "(cached) $ECHO_C" >&6
52723 else
52724 if test x$gcc_no_link = xyes; then
52725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52727 { (exit 1); exit 1; }; }
52729 cat >conftest.$ac_ext <<_ACEOF
52730 /* confdefs.h. */
52731 _ACEOF
52732 cat confdefs.h >>conftest.$ac_ext
52733 cat >>conftest.$ac_ext <<_ACEOF
52734 /* end confdefs.h. */
52735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52737 #define $ac_func innocuous_$ac_func
52739 /* System header to define __stub macros and hopefully few prototypes,
52740 which can conflict with char $ac_func (); below.
52741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52742 <limits.h> exists even on freestanding compilers. */
52744 #ifdef __STDC__
52745 # include <limits.h>
52746 #else
52747 # include <assert.h>
52748 #endif
52750 #undef $ac_func
52752 /* Override any gcc2 internal prototype to avoid an error. */
52753 #ifdef __cplusplus
52754 extern "C"
52756 #endif
52757 /* We use char because int might match the return type of a gcc2
52758 builtin and then its argument prototype would still apply. */
52759 char $ac_func ();
52760 /* The GNU C library defines this for functions which it implements
52761 to always fail with ENOSYS. Some functions are actually named
52762 something starting with __ and the normal name is an alias. */
52763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52764 choke me
52765 #else
52766 char (*f) () = $ac_func;
52767 #endif
52768 #ifdef __cplusplus
52770 #endif
52773 main ()
52775 return f != $ac_func;
52777 return 0;
52779 _ACEOF
52780 rm -f conftest.$ac_objext conftest$ac_exeext
52781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52782 (eval $ac_link) 2>conftest.er1
52783 ac_status=$?
52784 grep -v '^ *+' conftest.er1 >conftest.err
52785 rm -f conftest.er1
52786 cat conftest.err >&5
52787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788 (exit $ac_status); } &&
52789 { ac_try='test -z "$ac_c_werror_flag"
52790 || test ! -s conftest.err'
52791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52792 (eval $ac_try) 2>&5
52793 ac_status=$?
52794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52795 (exit $ac_status); }; } &&
52796 { ac_try='test -s conftest$ac_exeext'
52797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52798 (eval $ac_try) 2>&5
52799 ac_status=$?
52800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801 (exit $ac_status); }; }; then
52802 eval "$as_ac_var=yes"
52803 else
52804 echo "$as_me: failed program was:" >&5
52805 sed 's/^/| /' conftest.$ac_ext >&5
52807 eval "$as_ac_var=no"
52809 rm -f conftest.err conftest.$ac_objext \
52810 conftest$ac_exeext conftest.$ac_ext
52812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52814 if test `eval echo '${'$as_ac_var'}'` = yes; then
52815 cat >>confdefs.h <<_ACEOF
52816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52817 _ACEOF
52820 done
52822 else
52824 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
52825 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
52826 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52827 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
52828 echo $ECHO_N "(cached) $ECHO_C" >&6
52829 else
52833 ac_ext=cc
52834 ac_cpp='$CXXCPP $CPPFLAGS'
52835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52839 cat >conftest.$ac_ext <<_ACEOF
52840 /* confdefs.h. */
52841 _ACEOF
52842 cat confdefs.h >>conftest.$ac_ext
52843 cat >>conftest.$ac_ext <<_ACEOF
52844 /* end confdefs.h. */
52845 #include <math.h>
52846 #ifdef HAVE_IEEEFP_H
52847 #include <ieeefp.h>
52848 #endif
52851 main ()
52853 _isinf(0);
52855 return 0;
52857 _ACEOF
52858 rm -f conftest.$ac_objext
52859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52860 (eval $ac_compile) 2>conftest.er1
52861 ac_status=$?
52862 grep -v '^ *+' conftest.er1 >conftest.err
52863 rm -f conftest.er1
52864 cat conftest.err >&5
52865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866 (exit $ac_status); } &&
52867 { ac_try='test -z "$ac_cxx_werror_flag"
52868 || test ! -s conftest.err'
52869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52870 (eval $ac_try) 2>&5
52871 ac_status=$?
52872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52873 (exit $ac_status); }; } &&
52874 { ac_try='test -s conftest.$ac_objext'
52875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876 (eval $ac_try) 2>&5
52877 ac_status=$?
52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879 (exit $ac_status); }; }; then
52880 glibcxx_cv_func__isinf_use=yes
52881 else
52882 echo "$as_me: failed program was:" >&5
52883 sed 's/^/| /' conftest.$ac_ext >&5
52885 glibcxx_cv_func__isinf_use=no
52887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52888 ac_ext=c
52889 ac_cpp='$CPP $CPPFLAGS'
52890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
52899 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
52901 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52903 for ac_func in _isinf
52905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52906 echo "$as_me:$LINENO: checking for $ac_func" >&5
52907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52908 if eval "test \"\${$as_ac_var+set}\" = set"; then
52909 echo $ECHO_N "(cached) $ECHO_C" >&6
52910 else
52911 if test x$gcc_no_link = xyes; then
52912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52914 { (exit 1); exit 1; }; }
52916 cat >conftest.$ac_ext <<_ACEOF
52917 /* confdefs.h. */
52918 _ACEOF
52919 cat confdefs.h >>conftest.$ac_ext
52920 cat >>conftest.$ac_ext <<_ACEOF
52921 /* end confdefs.h. */
52922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52924 #define $ac_func innocuous_$ac_func
52926 /* System header to define __stub macros and hopefully few prototypes,
52927 which can conflict with char $ac_func (); below.
52928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52929 <limits.h> exists even on freestanding compilers. */
52931 #ifdef __STDC__
52932 # include <limits.h>
52933 #else
52934 # include <assert.h>
52935 #endif
52937 #undef $ac_func
52939 /* Override any gcc2 internal prototype to avoid an error. */
52940 #ifdef __cplusplus
52941 extern "C"
52943 #endif
52944 /* We use char because int might match the return type of a gcc2
52945 builtin and then its argument prototype would still apply. */
52946 char $ac_func ();
52947 /* The GNU C library defines this for functions which it implements
52948 to always fail with ENOSYS. Some functions are actually named
52949 something starting with __ and the normal name is an alias. */
52950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52951 choke me
52952 #else
52953 char (*f) () = $ac_func;
52954 #endif
52955 #ifdef __cplusplus
52957 #endif
52960 main ()
52962 return f != $ac_func;
52964 return 0;
52966 _ACEOF
52967 rm -f conftest.$ac_objext conftest$ac_exeext
52968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52969 (eval $ac_link) 2>conftest.er1
52970 ac_status=$?
52971 grep -v '^ *+' conftest.er1 >conftest.err
52972 rm -f conftest.er1
52973 cat conftest.err >&5
52974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52975 (exit $ac_status); } &&
52976 { ac_try='test -z "$ac_c_werror_flag"
52977 || test ! -s conftest.err'
52978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52979 (eval $ac_try) 2>&5
52980 ac_status=$?
52981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52982 (exit $ac_status); }; } &&
52983 { ac_try='test -s conftest$ac_exeext'
52984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52985 (eval $ac_try) 2>&5
52986 ac_status=$?
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); }; }; then
52989 eval "$as_ac_var=yes"
52990 else
52991 echo "$as_me: failed program was:" >&5
52992 sed 's/^/| /' conftest.$ac_ext >&5
52994 eval "$as_ac_var=no"
52996 rm -f conftest.err conftest.$ac_objext \
52997 conftest$ac_exeext conftest.$ac_ext
52999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53001 if test `eval echo '${'$as_ac_var'}'` = yes; then
53002 cat >>confdefs.h <<_ACEOF
53003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53004 _ACEOF
53007 done
53014 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53015 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53016 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53017 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53018 echo $ECHO_N "(cached) $ECHO_C" >&6
53019 else
53023 ac_ext=cc
53024 ac_cpp='$CXXCPP $CPPFLAGS'
53025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53029 cat >conftest.$ac_ext <<_ACEOF
53030 /* confdefs.h. */
53031 _ACEOF
53032 cat confdefs.h >>conftest.$ac_ext
53033 cat >>conftest.$ac_ext <<_ACEOF
53034 /* end confdefs.h. */
53035 #include <math.h>
53036 #ifdef HAVE_IEEEFP_H
53037 #include <ieeefp.h>
53038 #endif
53041 main ()
53043 isnan(0);
53045 return 0;
53047 _ACEOF
53048 rm -f conftest.$ac_objext
53049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53050 (eval $ac_compile) 2>conftest.er1
53051 ac_status=$?
53052 grep -v '^ *+' conftest.er1 >conftest.err
53053 rm -f conftest.er1
53054 cat conftest.err >&5
53055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53056 (exit $ac_status); } &&
53057 { ac_try='test -z "$ac_cxx_werror_flag"
53058 || test ! -s conftest.err'
53059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53060 (eval $ac_try) 2>&5
53061 ac_status=$?
53062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53063 (exit $ac_status); }; } &&
53064 { ac_try='test -s conftest.$ac_objext'
53065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53066 (eval $ac_try) 2>&5
53067 ac_status=$?
53068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53069 (exit $ac_status); }; }; then
53070 glibcxx_cv_func_isnan_use=yes
53071 else
53072 echo "$as_me: failed program was:" >&5
53073 sed 's/^/| /' conftest.$ac_ext >&5
53075 glibcxx_cv_func_isnan_use=no
53077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53078 ac_ext=c
53079 ac_cpp='$CPP $CPPFLAGS'
53080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53089 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53091 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53093 for ac_func in isnan
53095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53096 echo "$as_me:$LINENO: checking for $ac_func" >&5
53097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53098 if eval "test \"\${$as_ac_var+set}\" = set"; then
53099 echo $ECHO_N "(cached) $ECHO_C" >&6
53100 else
53101 if test x$gcc_no_link = xyes; then
53102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53104 { (exit 1); exit 1; }; }
53106 cat >conftest.$ac_ext <<_ACEOF
53107 /* confdefs.h. */
53108 _ACEOF
53109 cat confdefs.h >>conftest.$ac_ext
53110 cat >>conftest.$ac_ext <<_ACEOF
53111 /* end confdefs.h. */
53112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53114 #define $ac_func innocuous_$ac_func
53116 /* System header to define __stub macros and hopefully few prototypes,
53117 which can conflict with char $ac_func (); below.
53118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53119 <limits.h> exists even on freestanding compilers. */
53121 #ifdef __STDC__
53122 # include <limits.h>
53123 #else
53124 # include <assert.h>
53125 #endif
53127 #undef $ac_func
53129 /* Override any gcc2 internal prototype to avoid an error. */
53130 #ifdef __cplusplus
53131 extern "C"
53133 #endif
53134 /* We use char because int might match the return type of a gcc2
53135 builtin and then its argument prototype would still apply. */
53136 char $ac_func ();
53137 /* The GNU C library defines this for functions which it implements
53138 to always fail with ENOSYS. Some functions are actually named
53139 something starting with __ and the normal name is an alias. */
53140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53141 choke me
53142 #else
53143 char (*f) () = $ac_func;
53144 #endif
53145 #ifdef __cplusplus
53147 #endif
53150 main ()
53152 return f != $ac_func;
53154 return 0;
53156 _ACEOF
53157 rm -f conftest.$ac_objext conftest$ac_exeext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53159 (eval $ac_link) 2>conftest.er1
53160 ac_status=$?
53161 grep -v '^ *+' conftest.er1 >conftest.err
53162 rm -f conftest.er1
53163 cat conftest.err >&5
53164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165 (exit $ac_status); } &&
53166 { ac_try='test -z "$ac_c_werror_flag"
53167 || test ! -s conftest.err'
53168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169 (eval $ac_try) 2>&5
53170 ac_status=$?
53171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172 (exit $ac_status); }; } &&
53173 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53179 eval "$as_ac_var=yes"
53180 else
53181 echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53184 eval "$as_ac_var=no"
53186 rm -f conftest.err conftest.$ac_objext \
53187 conftest$ac_exeext conftest.$ac_ext
53189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53191 if test `eval echo '${'$as_ac_var'}'` = yes; then
53192 cat >>confdefs.h <<_ACEOF
53193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53194 _ACEOF
53197 done
53199 else
53201 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53202 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53203 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53204 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53205 echo $ECHO_N "(cached) $ECHO_C" >&6
53206 else
53210 ac_ext=cc
53211 ac_cpp='$CXXCPP $CPPFLAGS'
53212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53216 cat >conftest.$ac_ext <<_ACEOF
53217 /* confdefs.h. */
53218 _ACEOF
53219 cat confdefs.h >>conftest.$ac_ext
53220 cat >>conftest.$ac_ext <<_ACEOF
53221 /* end confdefs.h. */
53222 #include <math.h>
53223 #ifdef HAVE_IEEEFP_H
53224 #include <ieeefp.h>
53225 #endif
53228 main ()
53230 _isnan(0);
53232 return 0;
53234 _ACEOF
53235 rm -f conftest.$ac_objext
53236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53237 (eval $ac_compile) 2>conftest.er1
53238 ac_status=$?
53239 grep -v '^ *+' conftest.er1 >conftest.err
53240 rm -f conftest.er1
53241 cat conftest.err >&5
53242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53243 (exit $ac_status); } &&
53244 { ac_try='test -z "$ac_cxx_werror_flag"
53245 || test ! -s conftest.err'
53246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53247 (eval $ac_try) 2>&5
53248 ac_status=$?
53249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53250 (exit $ac_status); }; } &&
53251 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
53257 glibcxx_cv_func__isnan_use=yes
53258 else
53259 echo "$as_me: failed program was:" >&5
53260 sed 's/^/| /' conftest.$ac_ext >&5
53262 glibcxx_cv_func__isnan_use=no
53264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53265 ac_ext=c
53266 ac_cpp='$CPP $CPPFLAGS'
53267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53276 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53278 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53280 for ac_func in _isnan
53282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53283 echo "$as_me:$LINENO: checking for $ac_func" >&5
53284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53285 if eval "test \"\${$as_ac_var+set}\" = set"; then
53286 echo $ECHO_N "(cached) $ECHO_C" >&6
53287 else
53288 if test x$gcc_no_link = xyes; then
53289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53291 { (exit 1); exit 1; }; }
53293 cat >conftest.$ac_ext <<_ACEOF
53294 /* confdefs.h. */
53295 _ACEOF
53296 cat confdefs.h >>conftest.$ac_ext
53297 cat >>conftest.$ac_ext <<_ACEOF
53298 /* end confdefs.h. */
53299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53301 #define $ac_func innocuous_$ac_func
53303 /* System header to define __stub macros and hopefully few prototypes,
53304 which can conflict with char $ac_func (); below.
53305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53306 <limits.h> exists even on freestanding compilers. */
53308 #ifdef __STDC__
53309 # include <limits.h>
53310 #else
53311 # include <assert.h>
53312 #endif
53314 #undef $ac_func
53316 /* Override any gcc2 internal prototype to avoid an error. */
53317 #ifdef __cplusplus
53318 extern "C"
53320 #endif
53321 /* We use char because int might match the return type of a gcc2
53322 builtin and then its argument prototype would still apply. */
53323 char $ac_func ();
53324 /* The GNU C library defines this for functions which it implements
53325 to always fail with ENOSYS. Some functions are actually named
53326 something starting with __ and the normal name is an alias. */
53327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53328 choke me
53329 #else
53330 char (*f) () = $ac_func;
53331 #endif
53332 #ifdef __cplusplus
53334 #endif
53337 main ()
53339 return f != $ac_func;
53341 return 0;
53343 _ACEOF
53344 rm -f conftest.$ac_objext conftest$ac_exeext
53345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53346 (eval $ac_link) 2>conftest.er1
53347 ac_status=$?
53348 grep -v '^ *+' conftest.er1 >conftest.err
53349 rm -f conftest.er1
53350 cat conftest.err >&5
53351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352 (exit $ac_status); } &&
53353 { ac_try='test -z "$ac_c_werror_flag"
53354 || test ! -s conftest.err'
53355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53356 (eval $ac_try) 2>&5
53357 ac_status=$?
53358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53359 (exit $ac_status); }; } &&
53360 { ac_try='test -s conftest$ac_exeext'
53361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53362 (eval $ac_try) 2>&5
53363 ac_status=$?
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); }; }; then
53366 eval "$as_ac_var=yes"
53367 else
53368 echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53371 eval "$as_ac_var=no"
53373 rm -f conftest.err conftest.$ac_objext \
53374 conftest$ac_exeext conftest.$ac_ext
53376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53378 if test `eval echo '${'$as_ac_var'}'` = yes; then
53379 cat >>confdefs.h <<_ACEOF
53380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53381 _ACEOF
53384 done
53391 echo "$as_me:$LINENO: checking for finite declaration" >&5
53392 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53393 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53394 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53395 echo $ECHO_N "(cached) $ECHO_C" >&6
53396 else
53400 ac_ext=cc
53401 ac_cpp='$CXXCPP $CPPFLAGS'
53402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53406 cat >conftest.$ac_ext <<_ACEOF
53407 /* confdefs.h. */
53408 _ACEOF
53409 cat confdefs.h >>conftest.$ac_ext
53410 cat >>conftest.$ac_ext <<_ACEOF
53411 /* end confdefs.h. */
53412 #include <math.h>
53413 #ifdef HAVE_IEEEFP_H
53414 #include <ieeefp.h>
53415 #endif
53418 main ()
53420 finite(0);
53422 return 0;
53424 _ACEOF
53425 rm -f conftest.$ac_objext
53426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53427 (eval $ac_compile) 2>conftest.er1
53428 ac_status=$?
53429 grep -v '^ *+' conftest.er1 >conftest.err
53430 rm -f conftest.er1
53431 cat conftest.err >&5
53432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53433 (exit $ac_status); } &&
53434 { ac_try='test -z "$ac_cxx_werror_flag"
53435 || test ! -s conftest.err'
53436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53437 (eval $ac_try) 2>&5
53438 ac_status=$?
53439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53440 (exit $ac_status); }; } &&
53441 { ac_try='test -s conftest.$ac_objext'
53442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53443 (eval $ac_try) 2>&5
53444 ac_status=$?
53445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53446 (exit $ac_status); }; }; then
53447 glibcxx_cv_func_finite_use=yes
53448 else
53449 echo "$as_me: failed program was:" >&5
53450 sed 's/^/| /' conftest.$ac_ext >&5
53452 glibcxx_cv_func_finite_use=no
53454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53455 ac_ext=c
53456 ac_cpp='$CPP $CPPFLAGS'
53457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53466 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53468 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53470 for ac_func in finite
53472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53473 echo "$as_me:$LINENO: checking for $ac_func" >&5
53474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53475 if eval "test \"\${$as_ac_var+set}\" = set"; then
53476 echo $ECHO_N "(cached) $ECHO_C" >&6
53477 else
53478 if test x$gcc_no_link = xyes; then
53479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53481 { (exit 1); exit 1; }; }
53483 cat >conftest.$ac_ext <<_ACEOF
53484 /* confdefs.h. */
53485 _ACEOF
53486 cat confdefs.h >>conftest.$ac_ext
53487 cat >>conftest.$ac_ext <<_ACEOF
53488 /* end confdefs.h. */
53489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53491 #define $ac_func innocuous_$ac_func
53493 /* System header to define __stub macros and hopefully few prototypes,
53494 which can conflict with char $ac_func (); below.
53495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53496 <limits.h> exists even on freestanding compilers. */
53498 #ifdef __STDC__
53499 # include <limits.h>
53500 #else
53501 # include <assert.h>
53502 #endif
53504 #undef $ac_func
53506 /* Override any gcc2 internal prototype to avoid an error. */
53507 #ifdef __cplusplus
53508 extern "C"
53510 #endif
53511 /* We use char because int might match the return type of a gcc2
53512 builtin and then its argument prototype would still apply. */
53513 char $ac_func ();
53514 /* The GNU C library defines this for functions which it implements
53515 to always fail with ENOSYS. Some functions are actually named
53516 something starting with __ and the normal name is an alias. */
53517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53518 choke me
53519 #else
53520 char (*f) () = $ac_func;
53521 #endif
53522 #ifdef __cplusplus
53524 #endif
53527 main ()
53529 return f != $ac_func;
53531 return 0;
53533 _ACEOF
53534 rm -f conftest.$ac_objext conftest$ac_exeext
53535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53536 (eval $ac_link) 2>conftest.er1
53537 ac_status=$?
53538 grep -v '^ *+' conftest.er1 >conftest.err
53539 rm -f conftest.er1
53540 cat conftest.err >&5
53541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53542 (exit $ac_status); } &&
53543 { ac_try='test -z "$ac_c_werror_flag"
53544 || test ! -s conftest.err'
53545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53546 (eval $ac_try) 2>&5
53547 ac_status=$?
53548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53549 (exit $ac_status); }; } &&
53550 { ac_try='test -s conftest$ac_exeext'
53551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53552 (eval $ac_try) 2>&5
53553 ac_status=$?
53554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53555 (exit $ac_status); }; }; then
53556 eval "$as_ac_var=yes"
53557 else
53558 echo "$as_me: failed program was:" >&5
53559 sed 's/^/| /' conftest.$ac_ext >&5
53561 eval "$as_ac_var=no"
53563 rm -f conftest.err conftest.$ac_objext \
53564 conftest$ac_exeext conftest.$ac_ext
53566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53568 if test `eval echo '${'$as_ac_var'}'` = yes; then
53569 cat >>confdefs.h <<_ACEOF
53570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53571 _ACEOF
53574 done
53576 else
53578 echo "$as_me:$LINENO: checking for _finite declaration" >&5
53579 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53580 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53581 if test "${glibcxx_cv_func__finite_use+set}" = set; then
53582 echo $ECHO_N "(cached) $ECHO_C" >&6
53583 else
53587 ac_ext=cc
53588 ac_cpp='$CXXCPP $CPPFLAGS'
53589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53593 cat >conftest.$ac_ext <<_ACEOF
53594 /* confdefs.h. */
53595 _ACEOF
53596 cat confdefs.h >>conftest.$ac_ext
53597 cat >>conftest.$ac_ext <<_ACEOF
53598 /* end confdefs.h. */
53599 #include <math.h>
53600 #ifdef HAVE_IEEEFP_H
53601 #include <ieeefp.h>
53602 #endif
53605 main ()
53607 _finite(0);
53609 return 0;
53611 _ACEOF
53612 rm -f conftest.$ac_objext
53613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53614 (eval $ac_compile) 2>conftest.er1
53615 ac_status=$?
53616 grep -v '^ *+' conftest.er1 >conftest.err
53617 rm -f conftest.er1
53618 cat conftest.err >&5
53619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53620 (exit $ac_status); } &&
53621 { ac_try='test -z "$ac_cxx_werror_flag"
53622 || test ! -s conftest.err'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; } &&
53628 { ac_try='test -s conftest.$ac_objext'
53629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53630 (eval $ac_try) 2>&5
53631 ac_status=$?
53632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633 (exit $ac_status); }; }; then
53634 glibcxx_cv_func__finite_use=yes
53635 else
53636 echo "$as_me: failed program was:" >&5
53637 sed 's/^/| /' conftest.$ac_ext >&5
53639 glibcxx_cv_func__finite_use=no
53641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53642 ac_ext=c
53643 ac_cpp='$CPP $CPPFLAGS'
53644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
53653 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
53655 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53657 for ac_func in _finite
53659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53660 echo "$as_me:$LINENO: checking for $ac_func" >&5
53661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53662 if eval "test \"\${$as_ac_var+set}\" = set"; then
53663 echo $ECHO_N "(cached) $ECHO_C" >&6
53664 else
53665 if test x$gcc_no_link = xyes; then
53666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53668 { (exit 1); exit 1; }; }
53670 cat >conftest.$ac_ext <<_ACEOF
53671 /* confdefs.h. */
53672 _ACEOF
53673 cat confdefs.h >>conftest.$ac_ext
53674 cat >>conftest.$ac_ext <<_ACEOF
53675 /* end confdefs.h. */
53676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53678 #define $ac_func innocuous_$ac_func
53680 /* System header to define __stub macros and hopefully few prototypes,
53681 which can conflict with char $ac_func (); below.
53682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53683 <limits.h> exists even on freestanding compilers. */
53685 #ifdef __STDC__
53686 # include <limits.h>
53687 #else
53688 # include <assert.h>
53689 #endif
53691 #undef $ac_func
53693 /* Override any gcc2 internal prototype to avoid an error. */
53694 #ifdef __cplusplus
53695 extern "C"
53697 #endif
53698 /* We use char because int might match the return type of a gcc2
53699 builtin and then its argument prototype would still apply. */
53700 char $ac_func ();
53701 /* The GNU C library defines this for functions which it implements
53702 to always fail with ENOSYS. Some functions are actually named
53703 something starting with __ and the normal name is an alias. */
53704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53705 choke me
53706 #else
53707 char (*f) () = $ac_func;
53708 #endif
53709 #ifdef __cplusplus
53711 #endif
53714 main ()
53716 return f != $ac_func;
53718 return 0;
53720 _ACEOF
53721 rm -f conftest.$ac_objext conftest$ac_exeext
53722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53723 (eval $ac_link) 2>conftest.er1
53724 ac_status=$?
53725 grep -v '^ *+' conftest.er1 >conftest.err
53726 rm -f conftest.er1
53727 cat conftest.err >&5
53728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53729 (exit $ac_status); } &&
53730 { ac_try='test -z "$ac_c_werror_flag"
53731 || test ! -s conftest.err'
53732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733 (eval $ac_try) 2>&5
53734 ac_status=$?
53735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736 (exit $ac_status); }; } &&
53737 { ac_try='test -s conftest$ac_exeext'
53738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53739 (eval $ac_try) 2>&5
53740 ac_status=$?
53741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53742 (exit $ac_status); }; }; then
53743 eval "$as_ac_var=yes"
53744 else
53745 echo "$as_me: failed program was:" >&5
53746 sed 's/^/| /' conftest.$ac_ext >&5
53748 eval "$as_ac_var=no"
53750 rm -f conftest.err conftest.$ac_objext \
53751 conftest$ac_exeext conftest.$ac_ext
53753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53755 if test `eval echo '${'$as_ac_var'}'` = yes; then
53756 cat >>confdefs.h <<_ACEOF
53757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53758 _ACEOF
53761 done
53768 echo "$as_me:$LINENO: checking for copysign declaration" >&5
53769 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
53770 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
53771 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
53772 echo $ECHO_N "(cached) $ECHO_C" >&6
53773 else
53777 ac_ext=cc
53778 ac_cpp='$CXXCPP $CPPFLAGS'
53779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53783 cat >conftest.$ac_ext <<_ACEOF
53784 /* confdefs.h. */
53785 _ACEOF
53786 cat confdefs.h >>conftest.$ac_ext
53787 cat >>conftest.$ac_ext <<_ACEOF
53788 /* end confdefs.h. */
53789 #include <math.h>
53791 main ()
53793 copysign(0, 0);
53795 return 0;
53797 _ACEOF
53798 rm -f conftest.$ac_objext
53799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53800 (eval $ac_compile) 2>conftest.er1
53801 ac_status=$?
53802 grep -v '^ *+' conftest.er1 >conftest.err
53803 rm -f conftest.er1
53804 cat conftest.err >&5
53805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53806 (exit $ac_status); } &&
53807 { ac_try='test -z "$ac_cxx_werror_flag"
53808 || test ! -s conftest.err'
53809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53810 (eval $ac_try) 2>&5
53811 ac_status=$?
53812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53813 (exit $ac_status); }; } &&
53814 { ac_try='test -s conftest.$ac_objext'
53815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53816 (eval $ac_try) 2>&5
53817 ac_status=$?
53818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53819 (exit $ac_status); }; }; then
53820 glibcxx_cv_func_copysign_use=yes
53821 else
53822 echo "$as_me: failed program was:" >&5
53823 sed 's/^/| /' conftest.$ac_ext >&5
53825 glibcxx_cv_func_copysign_use=no
53827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53828 ac_ext=c
53829 ac_cpp='$CPP $CPPFLAGS'
53830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53838 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
53839 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
53841 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
53843 for ac_func in copysign
53845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53846 echo "$as_me:$LINENO: checking for $ac_func" >&5
53847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53848 if eval "test \"\${$as_ac_var+set}\" = set"; then
53849 echo $ECHO_N "(cached) $ECHO_C" >&6
53850 else
53851 if test x$gcc_no_link = xyes; then
53852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53854 { (exit 1); exit 1; }; }
53856 cat >conftest.$ac_ext <<_ACEOF
53857 /* confdefs.h. */
53858 _ACEOF
53859 cat confdefs.h >>conftest.$ac_ext
53860 cat >>conftest.$ac_ext <<_ACEOF
53861 /* end confdefs.h. */
53862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53864 #define $ac_func innocuous_$ac_func
53866 /* System header to define __stub macros and hopefully few prototypes,
53867 which can conflict with char $ac_func (); below.
53868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53869 <limits.h> exists even on freestanding compilers. */
53871 #ifdef __STDC__
53872 # include <limits.h>
53873 #else
53874 # include <assert.h>
53875 #endif
53877 #undef $ac_func
53879 /* Override any gcc2 internal prototype to avoid an error. */
53880 #ifdef __cplusplus
53881 extern "C"
53883 #endif
53884 /* We use char because int might match the return type of a gcc2
53885 builtin and then its argument prototype would still apply. */
53886 char $ac_func ();
53887 /* The GNU C library defines this for functions which it implements
53888 to always fail with ENOSYS. Some functions are actually named
53889 something starting with __ and the normal name is an alias. */
53890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53891 choke me
53892 #else
53893 char (*f) () = $ac_func;
53894 #endif
53895 #ifdef __cplusplus
53897 #endif
53900 main ()
53902 return f != $ac_func;
53904 return 0;
53906 _ACEOF
53907 rm -f conftest.$ac_objext conftest$ac_exeext
53908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53909 (eval $ac_link) 2>conftest.er1
53910 ac_status=$?
53911 grep -v '^ *+' conftest.er1 >conftest.err
53912 rm -f conftest.er1
53913 cat conftest.err >&5
53914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915 (exit $ac_status); } &&
53916 { ac_try='test -z "$ac_c_werror_flag"
53917 || test ! -s conftest.err'
53918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919 (eval $ac_try) 2>&5
53920 ac_status=$?
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); }; } &&
53923 { ac_try='test -s conftest$ac_exeext'
53924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53925 (eval $ac_try) 2>&5
53926 ac_status=$?
53927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53928 (exit $ac_status); }; }; then
53929 eval "$as_ac_var=yes"
53930 else
53931 echo "$as_me: failed program was:" >&5
53932 sed 's/^/| /' conftest.$ac_ext >&5
53934 eval "$as_ac_var=no"
53936 rm -f conftest.err conftest.$ac_objext \
53937 conftest$ac_exeext conftest.$ac_ext
53939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53941 if test `eval echo '${'$as_ac_var'}'` = yes; then
53942 cat >>confdefs.h <<_ACEOF
53943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53944 _ACEOF
53947 done
53949 else
53951 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
53952 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
53953 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
53954 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
53955 echo $ECHO_N "(cached) $ECHO_C" >&6
53956 else
53960 ac_ext=cc
53961 ac_cpp='$CXXCPP $CPPFLAGS'
53962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53966 cat >conftest.$ac_ext <<_ACEOF
53967 /* confdefs.h. */
53968 _ACEOF
53969 cat confdefs.h >>conftest.$ac_ext
53970 cat >>conftest.$ac_ext <<_ACEOF
53971 /* end confdefs.h. */
53972 #include <math.h>
53974 main ()
53976 _copysign(0, 0);
53978 return 0;
53980 _ACEOF
53981 rm -f conftest.$ac_objext
53982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53983 (eval $ac_compile) 2>conftest.er1
53984 ac_status=$?
53985 grep -v '^ *+' conftest.er1 >conftest.err
53986 rm -f conftest.er1
53987 cat conftest.err >&5
53988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53989 (exit $ac_status); } &&
53990 { ac_try='test -z "$ac_cxx_werror_flag"
53991 || test ! -s conftest.err'
53992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53993 (eval $ac_try) 2>&5
53994 ac_status=$?
53995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996 (exit $ac_status); }; } &&
53997 { ac_try='test -s conftest.$ac_objext'
53998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53999 (eval $ac_try) 2>&5
54000 ac_status=$?
54001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54002 (exit $ac_status); }; }; then
54003 glibcxx_cv_func__copysign_use=yes
54004 else
54005 echo "$as_me: failed program was:" >&5
54006 sed 's/^/| /' conftest.$ac_ext >&5
54008 glibcxx_cv_func__copysign_use=no
54010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54011 ac_ext=c
54012 ac_cpp='$CPP $CPPFLAGS'
54013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54022 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54024 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54026 for ac_func in _copysign
54028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54029 echo "$as_me:$LINENO: checking for $ac_func" >&5
54030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54031 if eval "test \"\${$as_ac_var+set}\" = set"; then
54032 echo $ECHO_N "(cached) $ECHO_C" >&6
54033 else
54034 if test x$gcc_no_link = xyes; then
54035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54037 { (exit 1); exit 1; }; }
54039 cat >conftest.$ac_ext <<_ACEOF
54040 /* confdefs.h. */
54041 _ACEOF
54042 cat confdefs.h >>conftest.$ac_ext
54043 cat >>conftest.$ac_ext <<_ACEOF
54044 /* end confdefs.h. */
54045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54047 #define $ac_func innocuous_$ac_func
54049 /* System header to define __stub macros and hopefully few prototypes,
54050 which can conflict with char $ac_func (); below.
54051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54052 <limits.h> exists even on freestanding compilers. */
54054 #ifdef __STDC__
54055 # include <limits.h>
54056 #else
54057 # include <assert.h>
54058 #endif
54060 #undef $ac_func
54062 /* Override any gcc2 internal prototype to avoid an error. */
54063 #ifdef __cplusplus
54064 extern "C"
54066 #endif
54067 /* We use char because int might match the return type of a gcc2
54068 builtin and then its argument prototype would still apply. */
54069 char $ac_func ();
54070 /* The GNU C library defines this for functions which it implements
54071 to always fail with ENOSYS. Some functions are actually named
54072 something starting with __ and the normal name is an alias. */
54073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54074 choke me
54075 #else
54076 char (*f) () = $ac_func;
54077 #endif
54078 #ifdef __cplusplus
54080 #endif
54083 main ()
54085 return f != $ac_func;
54087 return 0;
54089 _ACEOF
54090 rm -f conftest.$ac_objext conftest$ac_exeext
54091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54092 (eval $ac_link) 2>conftest.er1
54093 ac_status=$?
54094 grep -v '^ *+' conftest.er1 >conftest.err
54095 rm -f conftest.er1
54096 cat conftest.err >&5
54097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54098 (exit $ac_status); } &&
54099 { ac_try='test -z "$ac_c_werror_flag"
54100 || test ! -s conftest.err'
54101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54102 (eval $ac_try) 2>&5
54103 ac_status=$?
54104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54105 (exit $ac_status); }; } &&
54106 { ac_try='test -s conftest$ac_exeext'
54107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54108 (eval $ac_try) 2>&5
54109 ac_status=$?
54110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111 (exit $ac_status); }; }; then
54112 eval "$as_ac_var=yes"
54113 else
54114 echo "$as_me: failed program was:" >&5
54115 sed 's/^/| /' conftest.$ac_ext >&5
54117 eval "$as_ac_var=no"
54119 rm -f conftest.err conftest.$ac_objext \
54120 conftest$ac_exeext conftest.$ac_ext
54122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54124 if test `eval echo '${'$as_ac_var'}'` = yes; then
54125 cat >>confdefs.h <<_ACEOF
54126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54127 _ACEOF
54130 done
54137 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54138 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54139 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54140 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54141 echo $ECHO_N "(cached) $ECHO_C" >&6
54142 else
54146 ac_ext=cc
54147 ac_cpp='$CXXCPP $CPPFLAGS'
54148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54152 cat >conftest.$ac_ext <<_ACEOF
54153 /* confdefs.h. */
54154 _ACEOF
54155 cat confdefs.h >>conftest.$ac_ext
54156 cat >>conftest.$ac_ext <<_ACEOF
54157 /* end confdefs.h. */
54158 #include <math.h>
54160 main ()
54162 sincos(0, 0, 0);
54164 return 0;
54166 _ACEOF
54167 rm -f conftest.$ac_objext
54168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54169 (eval $ac_compile) 2>conftest.er1
54170 ac_status=$?
54171 grep -v '^ *+' conftest.er1 >conftest.err
54172 rm -f conftest.er1
54173 cat conftest.err >&5
54174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54175 (exit $ac_status); } &&
54176 { ac_try='test -z "$ac_cxx_werror_flag"
54177 || test ! -s conftest.err'
54178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54179 (eval $ac_try) 2>&5
54180 ac_status=$?
54181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54182 (exit $ac_status); }; } &&
54183 { ac_try='test -s conftest.$ac_objext'
54184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54185 (eval $ac_try) 2>&5
54186 ac_status=$?
54187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54188 (exit $ac_status); }; }; then
54189 glibcxx_cv_func_sincos_use=yes
54190 else
54191 echo "$as_me: failed program was:" >&5
54192 sed 's/^/| /' conftest.$ac_ext >&5
54194 glibcxx_cv_func_sincos_use=no
54196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54197 ac_ext=c
54198 ac_cpp='$CPP $CPPFLAGS'
54199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54208 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54210 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54212 for ac_func in sincos
54214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54215 echo "$as_me:$LINENO: checking for $ac_func" >&5
54216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54217 if eval "test \"\${$as_ac_var+set}\" = set"; then
54218 echo $ECHO_N "(cached) $ECHO_C" >&6
54219 else
54220 if test x$gcc_no_link = xyes; then
54221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54223 { (exit 1); exit 1; }; }
54225 cat >conftest.$ac_ext <<_ACEOF
54226 /* confdefs.h. */
54227 _ACEOF
54228 cat confdefs.h >>conftest.$ac_ext
54229 cat >>conftest.$ac_ext <<_ACEOF
54230 /* end confdefs.h. */
54231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54233 #define $ac_func innocuous_$ac_func
54235 /* System header to define __stub macros and hopefully few prototypes,
54236 which can conflict with char $ac_func (); below.
54237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54238 <limits.h> exists even on freestanding compilers. */
54240 #ifdef __STDC__
54241 # include <limits.h>
54242 #else
54243 # include <assert.h>
54244 #endif
54246 #undef $ac_func
54248 /* Override any gcc2 internal prototype to avoid an error. */
54249 #ifdef __cplusplus
54250 extern "C"
54252 #endif
54253 /* We use char because int might match the return type of a gcc2
54254 builtin and then its argument prototype would still apply. */
54255 char $ac_func ();
54256 /* The GNU C library defines this for functions which it implements
54257 to always fail with ENOSYS. Some functions are actually named
54258 something starting with __ and the normal name is an alias. */
54259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54260 choke me
54261 #else
54262 char (*f) () = $ac_func;
54263 #endif
54264 #ifdef __cplusplus
54266 #endif
54269 main ()
54271 return f != $ac_func;
54273 return 0;
54275 _ACEOF
54276 rm -f conftest.$ac_objext conftest$ac_exeext
54277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54278 (eval $ac_link) 2>conftest.er1
54279 ac_status=$?
54280 grep -v '^ *+' conftest.er1 >conftest.err
54281 rm -f conftest.er1
54282 cat conftest.err >&5
54283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54284 (exit $ac_status); } &&
54285 { ac_try='test -z "$ac_c_werror_flag"
54286 || test ! -s conftest.err'
54287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54288 (eval $ac_try) 2>&5
54289 ac_status=$?
54290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54291 (exit $ac_status); }; } &&
54292 { ac_try='test -s conftest$ac_exeext'
54293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54294 (eval $ac_try) 2>&5
54295 ac_status=$?
54296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54297 (exit $ac_status); }; }; then
54298 eval "$as_ac_var=yes"
54299 else
54300 echo "$as_me: failed program was:" >&5
54301 sed 's/^/| /' conftest.$ac_ext >&5
54303 eval "$as_ac_var=no"
54305 rm -f conftest.err conftest.$ac_objext \
54306 conftest$ac_exeext conftest.$ac_ext
54308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54310 if test `eval echo '${'$as_ac_var'}'` = yes; then
54311 cat >>confdefs.h <<_ACEOF
54312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54313 _ACEOF
54316 done
54318 else
54320 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54321 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54322 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54323 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54324 echo $ECHO_N "(cached) $ECHO_C" >&6
54325 else
54329 ac_ext=cc
54330 ac_cpp='$CXXCPP $CPPFLAGS'
54331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54335 cat >conftest.$ac_ext <<_ACEOF
54336 /* confdefs.h. */
54337 _ACEOF
54338 cat confdefs.h >>conftest.$ac_ext
54339 cat >>conftest.$ac_ext <<_ACEOF
54340 /* end confdefs.h. */
54341 #include <math.h>
54343 main ()
54345 _sincos(0, 0, 0);
54347 return 0;
54349 _ACEOF
54350 rm -f conftest.$ac_objext
54351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54352 (eval $ac_compile) 2>conftest.er1
54353 ac_status=$?
54354 grep -v '^ *+' conftest.er1 >conftest.err
54355 rm -f conftest.er1
54356 cat conftest.err >&5
54357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54358 (exit $ac_status); } &&
54359 { ac_try='test -z "$ac_cxx_werror_flag"
54360 || test ! -s conftest.err'
54361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54362 (eval $ac_try) 2>&5
54363 ac_status=$?
54364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365 (exit $ac_status); }; } &&
54366 { ac_try='test -s conftest.$ac_objext'
54367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54368 (eval $ac_try) 2>&5
54369 ac_status=$?
54370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54371 (exit $ac_status); }; }; then
54372 glibcxx_cv_func__sincos_use=yes
54373 else
54374 echo "$as_me: failed program was:" >&5
54375 sed 's/^/| /' conftest.$ac_ext >&5
54377 glibcxx_cv_func__sincos_use=no
54379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54380 ac_ext=c
54381 ac_cpp='$CPP $CPPFLAGS'
54382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54391 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54393 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54395 for ac_func in _sincos
54397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54398 echo "$as_me:$LINENO: checking for $ac_func" >&5
54399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54400 if eval "test \"\${$as_ac_var+set}\" = set"; then
54401 echo $ECHO_N "(cached) $ECHO_C" >&6
54402 else
54403 if test x$gcc_no_link = xyes; then
54404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54406 { (exit 1); exit 1; }; }
54408 cat >conftest.$ac_ext <<_ACEOF
54409 /* confdefs.h. */
54410 _ACEOF
54411 cat confdefs.h >>conftest.$ac_ext
54412 cat >>conftest.$ac_ext <<_ACEOF
54413 /* end confdefs.h. */
54414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54416 #define $ac_func innocuous_$ac_func
54418 /* System header to define __stub macros and hopefully few prototypes,
54419 which can conflict with char $ac_func (); below.
54420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54421 <limits.h> exists even on freestanding compilers. */
54423 #ifdef __STDC__
54424 # include <limits.h>
54425 #else
54426 # include <assert.h>
54427 #endif
54429 #undef $ac_func
54431 /* Override any gcc2 internal prototype to avoid an error. */
54432 #ifdef __cplusplus
54433 extern "C"
54435 #endif
54436 /* We use char because int might match the return type of a gcc2
54437 builtin and then its argument prototype would still apply. */
54438 char $ac_func ();
54439 /* The GNU C library defines this for functions which it implements
54440 to always fail with ENOSYS. Some functions are actually named
54441 something starting with __ and the normal name is an alias. */
54442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54443 choke me
54444 #else
54445 char (*f) () = $ac_func;
54446 #endif
54447 #ifdef __cplusplus
54449 #endif
54452 main ()
54454 return f != $ac_func;
54456 return 0;
54458 _ACEOF
54459 rm -f conftest.$ac_objext conftest$ac_exeext
54460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54461 (eval $ac_link) 2>conftest.er1
54462 ac_status=$?
54463 grep -v '^ *+' conftest.er1 >conftest.err
54464 rm -f conftest.er1
54465 cat conftest.err >&5
54466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54467 (exit $ac_status); } &&
54468 { ac_try='test -z "$ac_c_werror_flag"
54469 || test ! -s conftest.err'
54470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54471 (eval $ac_try) 2>&5
54472 ac_status=$?
54473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54474 (exit $ac_status); }; } &&
54475 { ac_try='test -s conftest$ac_exeext'
54476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54477 (eval $ac_try) 2>&5
54478 ac_status=$?
54479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54480 (exit $ac_status); }; }; then
54481 eval "$as_ac_var=yes"
54482 else
54483 echo "$as_me: failed program was:" >&5
54484 sed 's/^/| /' conftest.$ac_ext >&5
54486 eval "$as_ac_var=no"
54488 rm -f conftest.err conftest.$ac_objext \
54489 conftest$ac_exeext conftest.$ac_ext
54491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54493 if test `eval echo '${'$as_ac_var'}'` = yes; then
54494 cat >>confdefs.h <<_ACEOF
54495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54496 _ACEOF
54499 done
54506 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54507 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54508 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54509 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54510 echo $ECHO_N "(cached) $ECHO_C" >&6
54511 else
54515 ac_ext=cc
54516 ac_cpp='$CXXCPP $CPPFLAGS'
54517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54521 cat >conftest.$ac_ext <<_ACEOF
54522 /* confdefs.h. */
54523 _ACEOF
54524 cat confdefs.h >>conftest.$ac_ext
54525 cat >>conftest.$ac_ext <<_ACEOF
54526 /* end confdefs.h. */
54527 #include <math.h>
54528 #ifdef HAVE_IEEEFP_H
54529 #include <ieeefp.h>
54530 #endif
54533 main ()
54535 fpclass(0);
54537 return 0;
54539 _ACEOF
54540 rm -f conftest.$ac_objext
54541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54542 (eval $ac_compile) 2>conftest.er1
54543 ac_status=$?
54544 grep -v '^ *+' conftest.er1 >conftest.err
54545 rm -f conftest.er1
54546 cat conftest.err >&5
54547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54548 (exit $ac_status); } &&
54549 { ac_try='test -z "$ac_cxx_werror_flag"
54550 || test ! -s conftest.err'
54551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54552 (eval $ac_try) 2>&5
54553 ac_status=$?
54554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54555 (exit $ac_status); }; } &&
54556 { ac_try='test -s conftest.$ac_objext'
54557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54558 (eval $ac_try) 2>&5
54559 ac_status=$?
54560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54561 (exit $ac_status); }; }; then
54562 glibcxx_cv_func_fpclass_use=yes
54563 else
54564 echo "$as_me: failed program was:" >&5
54565 sed 's/^/| /' conftest.$ac_ext >&5
54567 glibcxx_cv_func_fpclass_use=no
54569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54570 ac_ext=c
54571 ac_cpp='$CPP $CPPFLAGS'
54572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
54581 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
54583 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54585 for ac_func in fpclass
54587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54588 echo "$as_me:$LINENO: checking for $ac_func" >&5
54589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54590 if eval "test \"\${$as_ac_var+set}\" = set"; then
54591 echo $ECHO_N "(cached) $ECHO_C" >&6
54592 else
54593 if test x$gcc_no_link = xyes; then
54594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54596 { (exit 1); exit 1; }; }
54598 cat >conftest.$ac_ext <<_ACEOF
54599 /* confdefs.h. */
54600 _ACEOF
54601 cat confdefs.h >>conftest.$ac_ext
54602 cat >>conftest.$ac_ext <<_ACEOF
54603 /* end confdefs.h. */
54604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54606 #define $ac_func innocuous_$ac_func
54608 /* System header to define __stub macros and hopefully few prototypes,
54609 which can conflict with char $ac_func (); below.
54610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54611 <limits.h> exists even on freestanding compilers. */
54613 #ifdef __STDC__
54614 # include <limits.h>
54615 #else
54616 # include <assert.h>
54617 #endif
54619 #undef $ac_func
54621 /* Override any gcc2 internal prototype to avoid an error. */
54622 #ifdef __cplusplus
54623 extern "C"
54625 #endif
54626 /* We use char because int might match the return type of a gcc2
54627 builtin and then its argument prototype would still apply. */
54628 char $ac_func ();
54629 /* The GNU C library defines this for functions which it implements
54630 to always fail with ENOSYS. Some functions are actually named
54631 something starting with __ and the normal name is an alias. */
54632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54633 choke me
54634 #else
54635 char (*f) () = $ac_func;
54636 #endif
54637 #ifdef __cplusplus
54639 #endif
54642 main ()
54644 return f != $ac_func;
54646 return 0;
54648 _ACEOF
54649 rm -f conftest.$ac_objext conftest$ac_exeext
54650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54651 (eval $ac_link) 2>conftest.er1
54652 ac_status=$?
54653 grep -v '^ *+' conftest.er1 >conftest.err
54654 rm -f conftest.er1
54655 cat conftest.err >&5
54656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54657 (exit $ac_status); } &&
54658 { ac_try='test -z "$ac_c_werror_flag"
54659 || test ! -s conftest.err'
54660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54661 (eval $ac_try) 2>&5
54662 ac_status=$?
54663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54664 (exit $ac_status); }; } &&
54665 { ac_try='test -s conftest$ac_exeext'
54666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54667 (eval $ac_try) 2>&5
54668 ac_status=$?
54669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54670 (exit $ac_status); }; }; then
54671 eval "$as_ac_var=yes"
54672 else
54673 echo "$as_me: failed program was:" >&5
54674 sed 's/^/| /' conftest.$ac_ext >&5
54676 eval "$as_ac_var=no"
54678 rm -f conftest.err conftest.$ac_objext \
54679 conftest$ac_exeext conftest.$ac_ext
54681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54683 if test `eval echo '${'$as_ac_var'}'` = yes; then
54684 cat >>confdefs.h <<_ACEOF
54685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54686 _ACEOF
54689 done
54691 else
54693 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
54694 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
54695 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54696 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
54697 echo $ECHO_N "(cached) $ECHO_C" >&6
54698 else
54702 ac_ext=cc
54703 ac_cpp='$CXXCPP $CPPFLAGS'
54704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54708 cat >conftest.$ac_ext <<_ACEOF
54709 /* confdefs.h. */
54710 _ACEOF
54711 cat confdefs.h >>conftest.$ac_ext
54712 cat >>conftest.$ac_ext <<_ACEOF
54713 /* end confdefs.h. */
54714 #include <math.h>
54715 #ifdef HAVE_IEEEFP_H
54716 #include <ieeefp.h>
54717 #endif
54720 main ()
54722 _fpclass(0);
54724 return 0;
54726 _ACEOF
54727 rm -f conftest.$ac_objext
54728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54729 (eval $ac_compile) 2>conftest.er1
54730 ac_status=$?
54731 grep -v '^ *+' conftest.er1 >conftest.err
54732 rm -f conftest.er1
54733 cat conftest.err >&5
54734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54735 (exit $ac_status); } &&
54736 { ac_try='test -z "$ac_cxx_werror_flag"
54737 || test ! -s conftest.err'
54738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54739 (eval $ac_try) 2>&5
54740 ac_status=$?
54741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54742 (exit $ac_status); }; } &&
54743 { ac_try='test -s conftest.$ac_objext'
54744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54745 (eval $ac_try) 2>&5
54746 ac_status=$?
54747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54748 (exit $ac_status); }; }; then
54749 glibcxx_cv_func__fpclass_use=yes
54750 else
54751 echo "$as_me: failed program was:" >&5
54752 sed 's/^/| /' conftest.$ac_ext >&5
54754 glibcxx_cv_func__fpclass_use=no
54756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54757 ac_ext=c
54758 ac_cpp='$CPP $CPPFLAGS'
54759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
54768 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
54770 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54772 for ac_func in _fpclass
54774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54775 echo "$as_me:$LINENO: checking for $ac_func" >&5
54776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54777 if eval "test \"\${$as_ac_var+set}\" = set"; then
54778 echo $ECHO_N "(cached) $ECHO_C" >&6
54779 else
54780 if test x$gcc_no_link = xyes; then
54781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54783 { (exit 1); exit 1; }; }
54785 cat >conftest.$ac_ext <<_ACEOF
54786 /* confdefs.h. */
54787 _ACEOF
54788 cat confdefs.h >>conftest.$ac_ext
54789 cat >>conftest.$ac_ext <<_ACEOF
54790 /* end confdefs.h. */
54791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54793 #define $ac_func innocuous_$ac_func
54795 /* System header to define __stub macros and hopefully few prototypes,
54796 which can conflict with char $ac_func (); below.
54797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54798 <limits.h> exists even on freestanding compilers. */
54800 #ifdef __STDC__
54801 # include <limits.h>
54802 #else
54803 # include <assert.h>
54804 #endif
54806 #undef $ac_func
54808 /* Override any gcc2 internal prototype to avoid an error. */
54809 #ifdef __cplusplus
54810 extern "C"
54812 #endif
54813 /* We use char because int might match the return type of a gcc2
54814 builtin and then its argument prototype would still apply. */
54815 char $ac_func ();
54816 /* The GNU C library defines this for functions which it implements
54817 to always fail with ENOSYS. Some functions are actually named
54818 something starting with __ and the normal name is an alias. */
54819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54820 choke me
54821 #else
54822 char (*f) () = $ac_func;
54823 #endif
54824 #ifdef __cplusplus
54826 #endif
54829 main ()
54831 return f != $ac_func;
54833 return 0;
54835 _ACEOF
54836 rm -f conftest.$ac_objext conftest$ac_exeext
54837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54838 (eval $ac_link) 2>conftest.er1
54839 ac_status=$?
54840 grep -v '^ *+' conftest.er1 >conftest.err
54841 rm -f conftest.er1
54842 cat conftest.err >&5
54843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54844 (exit $ac_status); } &&
54845 { ac_try='test -z "$ac_c_werror_flag"
54846 || test ! -s conftest.err'
54847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54848 (eval $ac_try) 2>&5
54849 ac_status=$?
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); }; } &&
54852 { ac_try='test -s conftest$ac_exeext'
54853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54854 (eval $ac_try) 2>&5
54855 ac_status=$?
54856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54857 (exit $ac_status); }; }; then
54858 eval "$as_ac_var=yes"
54859 else
54860 echo "$as_me: failed program was:" >&5
54861 sed 's/^/| /' conftest.$ac_ext >&5
54863 eval "$as_ac_var=no"
54865 rm -f conftest.err conftest.$ac_objext \
54866 conftest$ac_exeext conftest.$ac_ext
54868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54870 if test `eval echo '${'$as_ac_var'}'` = yes; then
54871 cat >>confdefs.h <<_ACEOF
54872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54873 _ACEOF
54876 done
54883 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
54884 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
54885 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54886 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
54887 echo $ECHO_N "(cached) $ECHO_C" >&6
54888 else
54892 ac_ext=cc
54893 ac_cpp='$CXXCPP $CPPFLAGS'
54894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54898 cat >conftest.$ac_ext <<_ACEOF
54899 /* confdefs.h. */
54900 _ACEOF
54901 cat confdefs.h >>conftest.$ac_ext
54902 cat >>conftest.$ac_ext <<_ACEOF
54903 /* end confdefs.h. */
54904 #include <math.h>
54905 #ifdef HAVE_IEEEFP_H
54906 #include <ieeefp.h>
54907 #endif
54910 main ()
54912 qfpclass(0);
54914 return 0;
54916 _ACEOF
54917 rm -f conftest.$ac_objext
54918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54919 (eval $ac_compile) 2>conftest.er1
54920 ac_status=$?
54921 grep -v '^ *+' conftest.er1 >conftest.err
54922 rm -f conftest.er1
54923 cat conftest.err >&5
54924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54925 (exit $ac_status); } &&
54926 { ac_try='test -z "$ac_cxx_werror_flag"
54927 || test ! -s conftest.err'
54928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54929 (eval $ac_try) 2>&5
54930 ac_status=$?
54931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54932 (exit $ac_status); }; } &&
54933 { ac_try='test -s conftest.$ac_objext'
54934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54935 (eval $ac_try) 2>&5
54936 ac_status=$?
54937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938 (exit $ac_status); }; }; then
54939 glibcxx_cv_func_qfpclass_use=yes
54940 else
54941 echo "$as_me: failed program was:" >&5
54942 sed 's/^/| /' conftest.$ac_ext >&5
54944 glibcxx_cv_func_qfpclass_use=no
54946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54947 ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
54958 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
54960 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54962 for ac_func in qfpclass
54964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54965 echo "$as_me:$LINENO: checking for $ac_func" >&5
54966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54967 if eval "test \"\${$as_ac_var+set}\" = set"; then
54968 echo $ECHO_N "(cached) $ECHO_C" >&6
54969 else
54970 if test x$gcc_no_link = xyes; then
54971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54973 { (exit 1); exit 1; }; }
54975 cat >conftest.$ac_ext <<_ACEOF
54976 /* confdefs.h. */
54977 _ACEOF
54978 cat confdefs.h >>conftest.$ac_ext
54979 cat >>conftest.$ac_ext <<_ACEOF
54980 /* end confdefs.h. */
54981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54983 #define $ac_func innocuous_$ac_func
54985 /* System header to define __stub macros and hopefully few prototypes,
54986 which can conflict with char $ac_func (); below.
54987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54988 <limits.h> exists even on freestanding compilers. */
54990 #ifdef __STDC__
54991 # include <limits.h>
54992 #else
54993 # include <assert.h>
54994 #endif
54996 #undef $ac_func
54998 /* Override any gcc2 internal prototype to avoid an error. */
54999 #ifdef __cplusplus
55000 extern "C"
55002 #endif
55003 /* We use char because int might match the return type of a gcc2
55004 builtin and then its argument prototype would still apply. */
55005 char $ac_func ();
55006 /* The GNU C library defines this for functions which it implements
55007 to always fail with ENOSYS. Some functions are actually named
55008 something starting with __ and the normal name is an alias. */
55009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55010 choke me
55011 #else
55012 char (*f) () = $ac_func;
55013 #endif
55014 #ifdef __cplusplus
55016 #endif
55019 main ()
55021 return f != $ac_func;
55023 return 0;
55025 _ACEOF
55026 rm -f conftest.$ac_objext conftest$ac_exeext
55027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55028 (eval $ac_link) 2>conftest.er1
55029 ac_status=$?
55030 grep -v '^ *+' conftest.er1 >conftest.err
55031 rm -f conftest.er1
55032 cat conftest.err >&5
55033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034 (exit $ac_status); } &&
55035 { ac_try='test -z "$ac_c_werror_flag"
55036 || test ! -s conftest.err'
55037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55038 (eval $ac_try) 2>&5
55039 ac_status=$?
55040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55041 (exit $ac_status); }; } &&
55042 { ac_try='test -s conftest$ac_exeext'
55043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55044 (eval $ac_try) 2>&5
55045 ac_status=$?
55046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55047 (exit $ac_status); }; }; then
55048 eval "$as_ac_var=yes"
55049 else
55050 echo "$as_me: failed program was:" >&5
55051 sed 's/^/| /' conftest.$ac_ext >&5
55053 eval "$as_ac_var=no"
55055 rm -f conftest.err conftest.$ac_objext \
55056 conftest$ac_exeext conftest.$ac_ext
55058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55060 if test `eval echo '${'$as_ac_var'}'` = yes; then
55061 cat >>confdefs.h <<_ACEOF
55062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55063 _ACEOF
55066 done
55068 else
55070 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55071 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55072 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55073 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55074 echo $ECHO_N "(cached) $ECHO_C" >&6
55075 else
55079 ac_ext=cc
55080 ac_cpp='$CXXCPP $CPPFLAGS'
55081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55085 cat >conftest.$ac_ext <<_ACEOF
55086 /* confdefs.h. */
55087 _ACEOF
55088 cat confdefs.h >>conftest.$ac_ext
55089 cat >>conftest.$ac_ext <<_ACEOF
55090 /* end confdefs.h. */
55091 #include <math.h>
55092 #ifdef HAVE_IEEEFP_H
55093 #include <ieeefp.h>
55094 #endif
55097 main ()
55099 _qfpclass(0);
55101 return 0;
55103 _ACEOF
55104 rm -f conftest.$ac_objext
55105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55106 (eval $ac_compile) 2>conftest.er1
55107 ac_status=$?
55108 grep -v '^ *+' conftest.er1 >conftest.err
55109 rm -f conftest.er1
55110 cat conftest.err >&5
55111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55112 (exit $ac_status); } &&
55113 { ac_try='test -z "$ac_cxx_werror_flag"
55114 || test ! -s conftest.err'
55115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55116 (eval $ac_try) 2>&5
55117 ac_status=$?
55118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55119 (exit $ac_status); }; } &&
55120 { ac_try='test -s conftest.$ac_objext'
55121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55122 (eval $ac_try) 2>&5
55123 ac_status=$?
55124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125 (exit $ac_status); }; }; then
55126 glibcxx_cv_func__qfpclass_use=yes
55127 else
55128 echo "$as_me: failed program was:" >&5
55129 sed 's/^/| /' conftest.$ac_ext >&5
55131 glibcxx_cv_func__qfpclass_use=no
55133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55134 ac_ext=c
55135 ac_cpp='$CPP $CPPFLAGS'
55136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55145 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55147 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55149 for ac_func in _qfpclass
55151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55152 echo "$as_me:$LINENO: checking for $ac_func" >&5
55153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55154 if eval "test \"\${$as_ac_var+set}\" = set"; then
55155 echo $ECHO_N "(cached) $ECHO_C" >&6
55156 else
55157 if test x$gcc_no_link = xyes; then
55158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55160 { (exit 1); exit 1; }; }
55162 cat >conftest.$ac_ext <<_ACEOF
55163 /* confdefs.h. */
55164 _ACEOF
55165 cat confdefs.h >>conftest.$ac_ext
55166 cat >>conftest.$ac_ext <<_ACEOF
55167 /* end confdefs.h. */
55168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55170 #define $ac_func innocuous_$ac_func
55172 /* System header to define __stub macros and hopefully few prototypes,
55173 which can conflict with char $ac_func (); below.
55174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55175 <limits.h> exists even on freestanding compilers. */
55177 #ifdef __STDC__
55178 # include <limits.h>
55179 #else
55180 # include <assert.h>
55181 #endif
55183 #undef $ac_func
55185 /* Override any gcc2 internal prototype to avoid an error. */
55186 #ifdef __cplusplus
55187 extern "C"
55189 #endif
55190 /* We use char because int might match the return type of a gcc2
55191 builtin and then its argument prototype would still apply. */
55192 char $ac_func ();
55193 /* The GNU C library defines this for functions which it implements
55194 to always fail with ENOSYS. Some functions are actually named
55195 something starting with __ and the normal name is an alias. */
55196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55197 choke me
55198 #else
55199 char (*f) () = $ac_func;
55200 #endif
55201 #ifdef __cplusplus
55203 #endif
55206 main ()
55208 return f != $ac_func;
55210 return 0;
55212 _ACEOF
55213 rm -f conftest.$ac_objext conftest$ac_exeext
55214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55215 (eval $ac_link) 2>conftest.er1
55216 ac_status=$?
55217 grep -v '^ *+' conftest.er1 >conftest.err
55218 rm -f conftest.er1
55219 cat conftest.err >&5
55220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55221 (exit $ac_status); } &&
55222 { ac_try='test -z "$ac_c_werror_flag"
55223 || test ! -s conftest.err'
55224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55225 (eval $ac_try) 2>&5
55226 ac_status=$?
55227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55228 (exit $ac_status); }; } &&
55229 { ac_try='test -s conftest$ac_exeext'
55230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55231 (eval $ac_try) 2>&5
55232 ac_status=$?
55233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55234 (exit $ac_status); }; }; then
55235 eval "$as_ac_var=yes"
55236 else
55237 echo "$as_me: failed program was:" >&5
55238 sed 's/^/| /' conftest.$ac_ext >&5
55240 eval "$as_ac_var=no"
55242 rm -f conftest.err conftest.$ac_objext \
55243 conftest$ac_exeext conftest.$ac_ext
55245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55247 if test `eval echo '${'$as_ac_var'}'` = yes; then
55248 cat >>confdefs.h <<_ACEOF
55249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55250 _ACEOF
55253 done
55260 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55261 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55262 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55263 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55264 echo $ECHO_N "(cached) $ECHO_C" >&6
55265 else
55269 ac_ext=cc
55270 ac_cpp='$CXXCPP $CPPFLAGS'
55271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55275 cat >conftest.$ac_ext <<_ACEOF
55276 /* confdefs.h. */
55277 _ACEOF
55278 cat confdefs.h >>conftest.$ac_ext
55279 cat >>conftest.$ac_ext <<_ACEOF
55280 /* end confdefs.h. */
55281 #include <math.h>
55283 main ()
55285 hypot(0, 0);
55287 return 0;
55289 _ACEOF
55290 rm -f conftest.$ac_objext
55291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55292 (eval $ac_compile) 2>conftest.er1
55293 ac_status=$?
55294 grep -v '^ *+' conftest.er1 >conftest.err
55295 rm -f conftest.er1
55296 cat conftest.err >&5
55297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55298 (exit $ac_status); } &&
55299 { ac_try='test -z "$ac_cxx_werror_flag"
55300 || test ! -s conftest.err'
55301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55302 (eval $ac_try) 2>&5
55303 ac_status=$?
55304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55305 (exit $ac_status); }; } &&
55306 { ac_try='test -s conftest.$ac_objext'
55307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55308 (eval $ac_try) 2>&5
55309 ac_status=$?
55310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55311 (exit $ac_status); }; }; then
55312 glibcxx_cv_func_hypot_use=yes
55313 else
55314 echo "$as_me: failed program was:" >&5
55315 sed 's/^/| /' conftest.$ac_ext >&5
55317 glibcxx_cv_func_hypot_use=no
55319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55320 ac_ext=c
55321 ac_cpp='$CPP $CPPFLAGS'
55322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55331 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55333 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55335 for ac_func in hypot
55337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55338 echo "$as_me:$LINENO: checking for $ac_func" >&5
55339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55340 if eval "test \"\${$as_ac_var+set}\" = set"; then
55341 echo $ECHO_N "(cached) $ECHO_C" >&6
55342 else
55343 if test x$gcc_no_link = xyes; then
55344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55346 { (exit 1); exit 1; }; }
55348 cat >conftest.$ac_ext <<_ACEOF
55349 /* confdefs.h. */
55350 _ACEOF
55351 cat confdefs.h >>conftest.$ac_ext
55352 cat >>conftest.$ac_ext <<_ACEOF
55353 /* end confdefs.h. */
55354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55356 #define $ac_func innocuous_$ac_func
55358 /* System header to define __stub macros and hopefully few prototypes,
55359 which can conflict with char $ac_func (); below.
55360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55361 <limits.h> exists even on freestanding compilers. */
55363 #ifdef __STDC__
55364 # include <limits.h>
55365 #else
55366 # include <assert.h>
55367 #endif
55369 #undef $ac_func
55371 /* Override any gcc2 internal prototype to avoid an error. */
55372 #ifdef __cplusplus
55373 extern "C"
55375 #endif
55376 /* We use char because int might match the return type of a gcc2
55377 builtin and then its argument prototype would still apply. */
55378 char $ac_func ();
55379 /* The GNU C library defines this for functions which it implements
55380 to always fail with ENOSYS. Some functions are actually named
55381 something starting with __ and the normal name is an alias. */
55382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55383 choke me
55384 #else
55385 char (*f) () = $ac_func;
55386 #endif
55387 #ifdef __cplusplus
55389 #endif
55392 main ()
55394 return f != $ac_func;
55396 return 0;
55398 _ACEOF
55399 rm -f conftest.$ac_objext conftest$ac_exeext
55400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55401 (eval $ac_link) 2>conftest.er1
55402 ac_status=$?
55403 grep -v '^ *+' conftest.er1 >conftest.err
55404 rm -f conftest.er1
55405 cat conftest.err >&5
55406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55407 (exit $ac_status); } &&
55408 { ac_try='test -z "$ac_c_werror_flag"
55409 || test ! -s conftest.err'
55410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55411 (eval $ac_try) 2>&5
55412 ac_status=$?
55413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55414 (exit $ac_status); }; } &&
55415 { ac_try='test -s conftest$ac_exeext'
55416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55417 (eval $ac_try) 2>&5
55418 ac_status=$?
55419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55420 (exit $ac_status); }; }; then
55421 eval "$as_ac_var=yes"
55422 else
55423 echo "$as_me: failed program was:" >&5
55424 sed 's/^/| /' conftest.$ac_ext >&5
55426 eval "$as_ac_var=no"
55428 rm -f conftest.err conftest.$ac_objext \
55429 conftest$ac_exeext conftest.$ac_ext
55431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55433 if test `eval echo '${'$as_ac_var'}'` = yes; then
55434 cat >>confdefs.h <<_ACEOF
55435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55436 _ACEOF
55439 done
55441 else
55443 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55444 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55445 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55446 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55447 echo $ECHO_N "(cached) $ECHO_C" >&6
55448 else
55452 ac_ext=cc
55453 ac_cpp='$CXXCPP $CPPFLAGS'
55454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55458 cat >conftest.$ac_ext <<_ACEOF
55459 /* confdefs.h. */
55460 _ACEOF
55461 cat confdefs.h >>conftest.$ac_ext
55462 cat >>conftest.$ac_ext <<_ACEOF
55463 /* end confdefs.h. */
55464 #include <math.h>
55466 main ()
55468 _hypot(0, 0);
55470 return 0;
55472 _ACEOF
55473 rm -f conftest.$ac_objext
55474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55475 (eval $ac_compile) 2>conftest.er1
55476 ac_status=$?
55477 grep -v '^ *+' conftest.er1 >conftest.err
55478 rm -f conftest.er1
55479 cat conftest.err >&5
55480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481 (exit $ac_status); } &&
55482 { ac_try='test -z "$ac_cxx_werror_flag"
55483 || test ! -s conftest.err'
55484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55485 (eval $ac_try) 2>&5
55486 ac_status=$?
55487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55488 (exit $ac_status); }; } &&
55489 { ac_try='test -s conftest.$ac_objext'
55490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55491 (eval $ac_try) 2>&5
55492 ac_status=$?
55493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55494 (exit $ac_status); }; }; then
55495 glibcxx_cv_func__hypot_use=yes
55496 else
55497 echo "$as_me: failed program was:" >&5
55498 sed 's/^/| /' conftest.$ac_ext >&5
55500 glibcxx_cv_func__hypot_use=no
55502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55503 ac_ext=c
55504 ac_cpp='$CPP $CPPFLAGS'
55505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55513 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55514 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55516 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55518 for ac_func in _hypot
55520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55521 echo "$as_me:$LINENO: checking for $ac_func" >&5
55522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55523 if eval "test \"\${$as_ac_var+set}\" = set"; then
55524 echo $ECHO_N "(cached) $ECHO_C" >&6
55525 else
55526 if test x$gcc_no_link = xyes; then
55527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55529 { (exit 1); exit 1; }; }
55531 cat >conftest.$ac_ext <<_ACEOF
55532 /* confdefs.h. */
55533 _ACEOF
55534 cat confdefs.h >>conftest.$ac_ext
55535 cat >>conftest.$ac_ext <<_ACEOF
55536 /* end confdefs.h. */
55537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55539 #define $ac_func innocuous_$ac_func
55541 /* System header to define __stub macros and hopefully few prototypes,
55542 which can conflict with char $ac_func (); below.
55543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55544 <limits.h> exists even on freestanding compilers. */
55546 #ifdef __STDC__
55547 # include <limits.h>
55548 #else
55549 # include <assert.h>
55550 #endif
55552 #undef $ac_func
55554 /* Override any gcc2 internal prototype to avoid an error. */
55555 #ifdef __cplusplus
55556 extern "C"
55558 #endif
55559 /* We use char because int might match the return type of a gcc2
55560 builtin and then its argument prototype would still apply. */
55561 char $ac_func ();
55562 /* The GNU C library defines this for functions which it implements
55563 to always fail with ENOSYS. Some functions are actually named
55564 something starting with __ and the normal name is an alias. */
55565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55566 choke me
55567 #else
55568 char (*f) () = $ac_func;
55569 #endif
55570 #ifdef __cplusplus
55572 #endif
55575 main ()
55577 return f != $ac_func;
55579 return 0;
55581 _ACEOF
55582 rm -f conftest.$ac_objext conftest$ac_exeext
55583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55584 (eval $ac_link) 2>conftest.er1
55585 ac_status=$?
55586 grep -v '^ *+' conftest.er1 >conftest.err
55587 rm -f conftest.er1
55588 cat conftest.err >&5
55589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590 (exit $ac_status); } &&
55591 { ac_try='test -z "$ac_c_werror_flag"
55592 || test ! -s conftest.err'
55593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55594 (eval $ac_try) 2>&5
55595 ac_status=$?
55596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55597 (exit $ac_status); }; } &&
55598 { ac_try='test -s conftest$ac_exeext'
55599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55600 (eval $ac_try) 2>&5
55601 ac_status=$?
55602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55603 (exit $ac_status); }; }; then
55604 eval "$as_ac_var=yes"
55605 else
55606 echo "$as_me: failed program was:" >&5
55607 sed 's/^/| /' conftest.$ac_ext >&5
55609 eval "$as_ac_var=no"
55611 rm -f conftest.err conftest.$ac_objext \
55612 conftest$ac_exeext conftest.$ac_ext
55614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55616 if test `eval echo '${'$as_ac_var'}'` = yes; then
55617 cat >>confdefs.h <<_ACEOF
55618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55619 _ACEOF
55622 done
55629 echo "$as_me:$LINENO: checking for float trig functions" >&5
55630 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
55631 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
55632 echo $ECHO_N "(cached) $ECHO_C" >&6
55633 else
55637 ac_ext=cc
55638 ac_cpp='$CXXCPP $CPPFLAGS'
55639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55643 cat >conftest.$ac_ext <<_ACEOF
55644 /* confdefs.h. */
55645 _ACEOF
55646 cat confdefs.h >>conftest.$ac_ext
55647 cat >>conftest.$ac_ext <<_ACEOF
55648 /* end confdefs.h. */
55649 #include <math.h>
55651 main ()
55653 `for x in acosf asinf atanf \
55654 cosf sinf tanf \
55655 coshf sinhf tanhf; do echo "$x (0);"; done`
55657 return 0;
55659 _ACEOF
55660 rm -f conftest.$ac_objext
55661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55662 (eval $ac_compile) 2>conftest.er1
55663 ac_status=$?
55664 grep -v '^ *+' conftest.er1 >conftest.err
55665 rm -f conftest.er1
55666 cat conftest.err >&5
55667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55668 (exit $ac_status); } &&
55669 { ac_try='test -z "$ac_cxx_werror_flag"
55670 || test ! -s conftest.err'
55671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55672 (eval $ac_try) 2>&5
55673 ac_status=$?
55674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55675 (exit $ac_status); }; } &&
55676 { ac_try='test -s conftest.$ac_objext'
55677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55678 (eval $ac_try) 2>&5
55679 ac_status=$?
55680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55681 (exit $ac_status); }; }; then
55682 glibcxx_cv_func_float_trig_use=yes
55683 else
55684 echo "$as_me: failed program was:" >&5
55685 sed 's/^/| /' conftest.$ac_ext >&5
55687 glibcxx_cv_func_float_trig_use=no
55689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55690 ac_ext=c
55691 ac_cpp='$CPP $CPPFLAGS'
55692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
55699 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
55700 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55710 for ac_func in acosf asinf atanf \
55711 cosf sinf tanf \
55712 coshf sinhf tanhf
55714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55715 echo "$as_me:$LINENO: checking for $ac_func" >&5
55716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55717 if eval "test \"\${$as_ac_var+set}\" = set"; then
55718 echo $ECHO_N "(cached) $ECHO_C" >&6
55719 else
55720 if test x$gcc_no_link = xyes; then
55721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55723 { (exit 1); exit 1; }; }
55725 cat >conftest.$ac_ext <<_ACEOF
55726 /* confdefs.h. */
55727 _ACEOF
55728 cat confdefs.h >>conftest.$ac_ext
55729 cat >>conftest.$ac_ext <<_ACEOF
55730 /* end confdefs.h. */
55731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55733 #define $ac_func innocuous_$ac_func
55735 /* System header to define __stub macros and hopefully few prototypes,
55736 which can conflict with char $ac_func (); below.
55737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55738 <limits.h> exists even on freestanding compilers. */
55740 #ifdef __STDC__
55741 # include <limits.h>
55742 #else
55743 # include <assert.h>
55744 #endif
55746 #undef $ac_func
55748 /* Override any gcc2 internal prototype to avoid an error. */
55749 #ifdef __cplusplus
55750 extern "C"
55752 #endif
55753 /* We use char because int might match the return type of a gcc2
55754 builtin and then its argument prototype would still apply. */
55755 char $ac_func ();
55756 /* The GNU C library defines this for functions which it implements
55757 to always fail with ENOSYS. Some functions are actually named
55758 something starting with __ and the normal name is an alias. */
55759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55760 choke me
55761 #else
55762 char (*f) () = $ac_func;
55763 #endif
55764 #ifdef __cplusplus
55766 #endif
55769 main ()
55771 return f != $ac_func;
55773 return 0;
55775 _ACEOF
55776 rm -f conftest.$ac_objext conftest$ac_exeext
55777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55778 (eval $ac_link) 2>conftest.er1
55779 ac_status=$?
55780 grep -v '^ *+' conftest.er1 >conftest.err
55781 rm -f conftest.er1
55782 cat conftest.err >&5
55783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55784 (exit $ac_status); } &&
55785 { ac_try='test -z "$ac_c_werror_flag"
55786 || test ! -s conftest.err'
55787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55788 (eval $ac_try) 2>&5
55789 ac_status=$?
55790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55791 (exit $ac_status); }; } &&
55792 { ac_try='test -s conftest$ac_exeext'
55793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55794 (eval $ac_try) 2>&5
55795 ac_status=$?
55796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797 (exit $ac_status); }; }; then
55798 eval "$as_ac_var=yes"
55799 else
55800 echo "$as_me: failed program was:" >&5
55801 sed 's/^/| /' conftest.$ac_ext >&5
55803 eval "$as_ac_var=no"
55805 rm -f conftest.err conftest.$ac_objext \
55806 conftest$ac_exeext conftest.$ac_ext
55808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55810 if test `eval echo '${'$as_ac_var'}'` = yes; then
55811 cat >>confdefs.h <<_ACEOF
55812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55813 _ACEOF
55816 done
55821 echo "$as_me:$LINENO: checking for float round functions" >&5
55822 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
55823 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
55824 echo $ECHO_N "(cached) $ECHO_C" >&6
55825 else
55829 ac_ext=cc
55830 ac_cpp='$CXXCPP $CPPFLAGS'
55831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55835 cat >conftest.$ac_ext <<_ACEOF
55836 /* confdefs.h. */
55837 _ACEOF
55838 cat confdefs.h >>conftest.$ac_ext
55839 cat >>conftest.$ac_ext <<_ACEOF
55840 /* end confdefs.h. */
55841 #include <math.h>
55843 main ()
55845 `for x in ceilf floorf; do echo "$x (0);"; done`
55847 return 0;
55849 _ACEOF
55850 rm -f conftest.$ac_objext
55851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55852 (eval $ac_compile) 2>conftest.er1
55853 ac_status=$?
55854 grep -v '^ *+' conftest.er1 >conftest.err
55855 rm -f conftest.er1
55856 cat conftest.err >&5
55857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55858 (exit $ac_status); } &&
55859 { ac_try='test -z "$ac_cxx_werror_flag"
55860 || test ! -s conftest.err'
55861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55862 (eval $ac_try) 2>&5
55863 ac_status=$?
55864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55865 (exit $ac_status); }; } &&
55866 { ac_try='test -s conftest.$ac_objext'
55867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55868 (eval $ac_try) 2>&5
55869 ac_status=$?
55870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55871 (exit $ac_status); }; }; then
55872 glibcxx_cv_func_float_round_use=yes
55873 else
55874 echo "$as_me: failed program was:" >&5
55875 sed 's/^/| /' conftest.$ac_ext >&5
55877 glibcxx_cv_func_float_round_use=no
55879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55880 ac_ext=c
55881 ac_cpp='$CPP $CPPFLAGS'
55882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
55889 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
55890 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55893 for ac_func in ceilf floorf
55895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55896 echo "$as_me:$LINENO: checking for $ac_func" >&5
55897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55898 if eval "test \"\${$as_ac_var+set}\" = set"; then
55899 echo $ECHO_N "(cached) $ECHO_C" >&6
55900 else
55901 if test x$gcc_no_link = xyes; then
55902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55904 { (exit 1); exit 1; }; }
55906 cat >conftest.$ac_ext <<_ACEOF
55907 /* confdefs.h. */
55908 _ACEOF
55909 cat confdefs.h >>conftest.$ac_ext
55910 cat >>conftest.$ac_ext <<_ACEOF
55911 /* end confdefs.h. */
55912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55914 #define $ac_func innocuous_$ac_func
55916 /* System header to define __stub macros and hopefully few prototypes,
55917 which can conflict with char $ac_func (); below.
55918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55919 <limits.h> exists even on freestanding compilers. */
55921 #ifdef __STDC__
55922 # include <limits.h>
55923 #else
55924 # include <assert.h>
55925 #endif
55927 #undef $ac_func
55929 /* Override any gcc2 internal prototype to avoid an error. */
55930 #ifdef __cplusplus
55931 extern "C"
55933 #endif
55934 /* We use char because int might match the return type of a gcc2
55935 builtin and then its argument prototype would still apply. */
55936 char $ac_func ();
55937 /* The GNU C library defines this for functions which it implements
55938 to always fail with ENOSYS. Some functions are actually named
55939 something starting with __ and the normal name is an alias. */
55940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55941 choke me
55942 #else
55943 char (*f) () = $ac_func;
55944 #endif
55945 #ifdef __cplusplus
55947 #endif
55950 main ()
55952 return f != $ac_func;
55954 return 0;
55956 _ACEOF
55957 rm -f conftest.$ac_objext conftest$ac_exeext
55958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55959 (eval $ac_link) 2>conftest.er1
55960 ac_status=$?
55961 grep -v '^ *+' conftest.er1 >conftest.err
55962 rm -f conftest.er1
55963 cat conftest.err >&5
55964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55965 (exit $ac_status); } &&
55966 { ac_try='test -z "$ac_c_werror_flag"
55967 || test ! -s conftest.err'
55968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55969 (eval $ac_try) 2>&5
55970 ac_status=$?
55971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55972 (exit $ac_status); }; } &&
55973 { ac_try='test -s conftest$ac_exeext'
55974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55975 (eval $ac_try) 2>&5
55976 ac_status=$?
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); }; }; then
55979 eval "$as_ac_var=yes"
55980 else
55981 echo "$as_me: failed program was:" >&5
55982 sed 's/^/| /' conftest.$ac_ext >&5
55984 eval "$as_ac_var=no"
55986 rm -f conftest.err conftest.$ac_objext \
55987 conftest$ac_exeext conftest.$ac_ext
55989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55991 if test `eval echo '${'$as_ac_var'}'` = yes; then
55992 cat >>confdefs.h <<_ACEOF
55993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55994 _ACEOF
55997 done
56003 echo "$as_me:$LINENO: checking for expf declaration" >&5
56004 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56005 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56006 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56007 echo $ECHO_N "(cached) $ECHO_C" >&6
56008 else
56012 ac_ext=cc
56013 ac_cpp='$CXXCPP $CPPFLAGS'
56014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56018 cat >conftest.$ac_ext <<_ACEOF
56019 /* confdefs.h. */
56020 _ACEOF
56021 cat confdefs.h >>conftest.$ac_ext
56022 cat >>conftest.$ac_ext <<_ACEOF
56023 /* end confdefs.h. */
56024 #include <math.h>
56025 #ifdef HAVE_IEEEFP_H
56026 #include <ieeefp.h>
56027 #endif
56030 main ()
56032 expf(0);
56034 return 0;
56036 _ACEOF
56037 rm -f conftest.$ac_objext
56038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56039 (eval $ac_compile) 2>conftest.er1
56040 ac_status=$?
56041 grep -v '^ *+' conftest.er1 >conftest.err
56042 rm -f conftest.er1
56043 cat conftest.err >&5
56044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045 (exit $ac_status); } &&
56046 { ac_try='test -z "$ac_cxx_werror_flag"
56047 || test ! -s conftest.err'
56048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56049 (eval $ac_try) 2>&5
56050 ac_status=$?
56051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56052 (exit $ac_status); }; } &&
56053 { ac_try='test -s conftest.$ac_objext'
56054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56055 (eval $ac_try) 2>&5
56056 ac_status=$?
56057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56058 (exit $ac_status); }; }; then
56059 glibcxx_cv_func_expf_use=yes
56060 else
56061 echo "$as_me: failed program was:" >&5
56062 sed 's/^/| /' conftest.$ac_ext >&5
56064 glibcxx_cv_func_expf_use=no
56066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56067 ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56078 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56080 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56082 for ac_func in expf
56084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56085 echo "$as_me:$LINENO: checking for $ac_func" >&5
56086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56087 if eval "test \"\${$as_ac_var+set}\" = set"; then
56088 echo $ECHO_N "(cached) $ECHO_C" >&6
56089 else
56090 if test x$gcc_no_link = xyes; then
56091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56093 { (exit 1); exit 1; }; }
56095 cat >conftest.$ac_ext <<_ACEOF
56096 /* confdefs.h. */
56097 _ACEOF
56098 cat confdefs.h >>conftest.$ac_ext
56099 cat >>conftest.$ac_ext <<_ACEOF
56100 /* end confdefs.h. */
56101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56103 #define $ac_func innocuous_$ac_func
56105 /* System header to define __stub macros and hopefully few prototypes,
56106 which can conflict with char $ac_func (); below.
56107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56108 <limits.h> exists even on freestanding compilers. */
56110 #ifdef __STDC__
56111 # include <limits.h>
56112 #else
56113 # include <assert.h>
56114 #endif
56116 #undef $ac_func
56118 /* Override any gcc2 internal prototype to avoid an error. */
56119 #ifdef __cplusplus
56120 extern "C"
56122 #endif
56123 /* We use char because int might match the return type of a gcc2
56124 builtin and then its argument prototype would still apply. */
56125 char $ac_func ();
56126 /* The GNU C library defines this for functions which it implements
56127 to always fail with ENOSYS. Some functions are actually named
56128 something starting with __ and the normal name is an alias. */
56129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56130 choke me
56131 #else
56132 char (*f) () = $ac_func;
56133 #endif
56134 #ifdef __cplusplus
56136 #endif
56139 main ()
56141 return f != $ac_func;
56143 return 0;
56145 _ACEOF
56146 rm -f conftest.$ac_objext conftest$ac_exeext
56147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56148 (eval $ac_link) 2>conftest.er1
56149 ac_status=$?
56150 grep -v '^ *+' conftest.er1 >conftest.err
56151 rm -f conftest.er1
56152 cat conftest.err >&5
56153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154 (exit $ac_status); } &&
56155 { ac_try='test -z "$ac_c_werror_flag"
56156 || test ! -s conftest.err'
56157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56158 (eval $ac_try) 2>&5
56159 ac_status=$?
56160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161 (exit $ac_status); }; } &&
56162 { ac_try='test -s conftest$ac_exeext'
56163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56164 (eval $ac_try) 2>&5
56165 ac_status=$?
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); }; }; then
56168 eval "$as_ac_var=yes"
56169 else
56170 echo "$as_me: failed program was:" >&5
56171 sed 's/^/| /' conftest.$ac_ext >&5
56173 eval "$as_ac_var=no"
56175 rm -f conftest.err conftest.$ac_objext \
56176 conftest$ac_exeext conftest.$ac_ext
56178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56180 if test `eval echo '${'$as_ac_var'}'` = yes; then
56181 cat >>confdefs.h <<_ACEOF
56182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56183 _ACEOF
56186 done
56188 else
56190 echo "$as_me:$LINENO: checking for _expf declaration" >&5
56191 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56192 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56193 if test "${glibcxx_cv_func__expf_use+set}" = set; then
56194 echo $ECHO_N "(cached) $ECHO_C" >&6
56195 else
56199 ac_ext=cc
56200 ac_cpp='$CXXCPP $CPPFLAGS'
56201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56205 cat >conftest.$ac_ext <<_ACEOF
56206 /* confdefs.h. */
56207 _ACEOF
56208 cat confdefs.h >>conftest.$ac_ext
56209 cat >>conftest.$ac_ext <<_ACEOF
56210 /* end confdefs.h. */
56211 #include <math.h>
56212 #ifdef HAVE_IEEEFP_H
56213 #include <ieeefp.h>
56214 #endif
56217 main ()
56219 _expf(0);
56221 return 0;
56223 _ACEOF
56224 rm -f conftest.$ac_objext
56225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56226 (eval $ac_compile) 2>conftest.er1
56227 ac_status=$?
56228 grep -v '^ *+' conftest.er1 >conftest.err
56229 rm -f conftest.er1
56230 cat conftest.err >&5
56231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56232 (exit $ac_status); } &&
56233 { ac_try='test -z "$ac_cxx_werror_flag"
56234 || test ! -s conftest.err'
56235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56236 (eval $ac_try) 2>&5
56237 ac_status=$?
56238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56239 (exit $ac_status); }; } &&
56240 { ac_try='test -s conftest.$ac_objext'
56241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56242 (eval $ac_try) 2>&5
56243 ac_status=$?
56244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56245 (exit $ac_status); }; }; then
56246 glibcxx_cv_func__expf_use=yes
56247 else
56248 echo "$as_me: failed program was:" >&5
56249 sed 's/^/| /' conftest.$ac_ext >&5
56251 glibcxx_cv_func__expf_use=no
56253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56254 ac_ext=c
56255 ac_cpp='$CPP $CPPFLAGS'
56256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
56265 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
56267 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56269 for ac_func in _expf
56271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56272 echo "$as_me:$LINENO: checking for $ac_func" >&5
56273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56274 if eval "test \"\${$as_ac_var+set}\" = set"; then
56275 echo $ECHO_N "(cached) $ECHO_C" >&6
56276 else
56277 if test x$gcc_no_link = xyes; then
56278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56280 { (exit 1); exit 1; }; }
56282 cat >conftest.$ac_ext <<_ACEOF
56283 /* confdefs.h. */
56284 _ACEOF
56285 cat confdefs.h >>conftest.$ac_ext
56286 cat >>conftest.$ac_ext <<_ACEOF
56287 /* end confdefs.h. */
56288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56290 #define $ac_func innocuous_$ac_func
56292 /* System header to define __stub macros and hopefully few prototypes,
56293 which can conflict with char $ac_func (); below.
56294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56295 <limits.h> exists even on freestanding compilers. */
56297 #ifdef __STDC__
56298 # include <limits.h>
56299 #else
56300 # include <assert.h>
56301 #endif
56303 #undef $ac_func
56305 /* Override any gcc2 internal prototype to avoid an error. */
56306 #ifdef __cplusplus
56307 extern "C"
56309 #endif
56310 /* We use char because int might match the return type of a gcc2
56311 builtin and then its argument prototype would still apply. */
56312 char $ac_func ();
56313 /* The GNU C library defines this for functions which it implements
56314 to always fail with ENOSYS. Some functions are actually named
56315 something starting with __ and the normal name is an alias. */
56316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56317 choke me
56318 #else
56319 char (*f) () = $ac_func;
56320 #endif
56321 #ifdef __cplusplus
56323 #endif
56326 main ()
56328 return f != $ac_func;
56330 return 0;
56332 _ACEOF
56333 rm -f conftest.$ac_objext conftest$ac_exeext
56334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56335 (eval $ac_link) 2>conftest.er1
56336 ac_status=$?
56337 grep -v '^ *+' conftest.er1 >conftest.err
56338 rm -f conftest.er1
56339 cat conftest.err >&5
56340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56341 (exit $ac_status); } &&
56342 { ac_try='test -z "$ac_c_werror_flag"
56343 || test ! -s conftest.err'
56344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56345 (eval $ac_try) 2>&5
56346 ac_status=$?
56347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56348 (exit $ac_status); }; } &&
56349 { ac_try='test -s conftest$ac_exeext'
56350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56351 (eval $ac_try) 2>&5
56352 ac_status=$?
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); }; }; then
56355 eval "$as_ac_var=yes"
56356 else
56357 echo "$as_me: failed program was:" >&5
56358 sed 's/^/| /' conftest.$ac_ext >&5
56360 eval "$as_ac_var=no"
56362 rm -f conftest.err conftest.$ac_objext \
56363 conftest$ac_exeext conftest.$ac_ext
56365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56367 if test `eval echo '${'$as_ac_var'}'` = yes; then
56368 cat >>confdefs.h <<_ACEOF
56369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56370 _ACEOF
56373 done
56380 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
56381 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
56382 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56383 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
56384 echo $ECHO_N "(cached) $ECHO_C" >&6
56385 else
56389 ac_ext=cc
56390 ac_cpp='$CXXCPP $CPPFLAGS'
56391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56395 cat >conftest.$ac_ext <<_ACEOF
56396 /* confdefs.h. */
56397 _ACEOF
56398 cat confdefs.h >>conftest.$ac_ext
56399 cat >>conftest.$ac_ext <<_ACEOF
56400 /* end confdefs.h. */
56401 #include <math.h>
56402 #ifdef HAVE_IEEEFP_H
56403 #include <ieeefp.h>
56404 #endif
56407 main ()
56409 isnanf(0);
56411 return 0;
56413 _ACEOF
56414 rm -f conftest.$ac_objext
56415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56416 (eval $ac_compile) 2>conftest.er1
56417 ac_status=$?
56418 grep -v '^ *+' conftest.er1 >conftest.err
56419 rm -f conftest.er1
56420 cat conftest.err >&5
56421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56422 (exit $ac_status); } &&
56423 { ac_try='test -z "$ac_cxx_werror_flag"
56424 || test ! -s conftest.err'
56425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56426 (eval $ac_try) 2>&5
56427 ac_status=$?
56428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56429 (exit $ac_status); }; } &&
56430 { ac_try='test -s conftest.$ac_objext'
56431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56432 (eval $ac_try) 2>&5
56433 ac_status=$?
56434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56435 (exit $ac_status); }; }; then
56436 glibcxx_cv_func_isnanf_use=yes
56437 else
56438 echo "$as_me: failed program was:" >&5
56439 sed 's/^/| /' conftest.$ac_ext >&5
56441 glibcxx_cv_func_isnanf_use=no
56443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56444 ac_ext=c
56445 ac_cpp='$CPP $CPPFLAGS'
56446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
56455 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
56457 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56459 for ac_func in isnanf
56461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56462 echo "$as_me:$LINENO: checking for $ac_func" >&5
56463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56464 if eval "test \"\${$as_ac_var+set}\" = set"; then
56465 echo $ECHO_N "(cached) $ECHO_C" >&6
56466 else
56467 if test x$gcc_no_link = xyes; then
56468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56470 { (exit 1); exit 1; }; }
56472 cat >conftest.$ac_ext <<_ACEOF
56473 /* confdefs.h. */
56474 _ACEOF
56475 cat confdefs.h >>conftest.$ac_ext
56476 cat >>conftest.$ac_ext <<_ACEOF
56477 /* end confdefs.h. */
56478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56480 #define $ac_func innocuous_$ac_func
56482 /* System header to define __stub macros and hopefully few prototypes,
56483 which can conflict with char $ac_func (); below.
56484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56485 <limits.h> exists even on freestanding compilers. */
56487 #ifdef __STDC__
56488 # include <limits.h>
56489 #else
56490 # include <assert.h>
56491 #endif
56493 #undef $ac_func
56495 /* Override any gcc2 internal prototype to avoid an error. */
56496 #ifdef __cplusplus
56497 extern "C"
56499 #endif
56500 /* We use char because int might match the return type of a gcc2
56501 builtin and then its argument prototype would still apply. */
56502 char $ac_func ();
56503 /* The GNU C library defines this for functions which it implements
56504 to always fail with ENOSYS. Some functions are actually named
56505 something starting with __ and the normal name is an alias. */
56506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56507 choke me
56508 #else
56509 char (*f) () = $ac_func;
56510 #endif
56511 #ifdef __cplusplus
56513 #endif
56516 main ()
56518 return f != $ac_func;
56520 return 0;
56522 _ACEOF
56523 rm -f conftest.$ac_objext conftest$ac_exeext
56524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56525 (eval $ac_link) 2>conftest.er1
56526 ac_status=$?
56527 grep -v '^ *+' conftest.er1 >conftest.err
56528 rm -f conftest.er1
56529 cat conftest.err >&5
56530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56531 (exit $ac_status); } &&
56532 { ac_try='test -z "$ac_c_werror_flag"
56533 || test ! -s conftest.err'
56534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56535 (eval $ac_try) 2>&5
56536 ac_status=$?
56537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56538 (exit $ac_status); }; } &&
56539 { ac_try='test -s conftest$ac_exeext'
56540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56541 (eval $ac_try) 2>&5
56542 ac_status=$?
56543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56544 (exit $ac_status); }; }; then
56545 eval "$as_ac_var=yes"
56546 else
56547 echo "$as_me: failed program was:" >&5
56548 sed 's/^/| /' conftest.$ac_ext >&5
56550 eval "$as_ac_var=no"
56552 rm -f conftest.err conftest.$ac_objext \
56553 conftest$ac_exeext conftest.$ac_ext
56555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56557 if test `eval echo '${'$as_ac_var'}'` = yes; then
56558 cat >>confdefs.h <<_ACEOF
56559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56560 _ACEOF
56563 done
56565 else
56567 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
56568 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
56569 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56570 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
56571 echo $ECHO_N "(cached) $ECHO_C" >&6
56572 else
56576 ac_ext=cc
56577 ac_cpp='$CXXCPP $CPPFLAGS'
56578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56582 cat >conftest.$ac_ext <<_ACEOF
56583 /* confdefs.h. */
56584 _ACEOF
56585 cat confdefs.h >>conftest.$ac_ext
56586 cat >>conftest.$ac_ext <<_ACEOF
56587 /* end confdefs.h. */
56588 #include <math.h>
56589 #ifdef HAVE_IEEEFP_H
56590 #include <ieeefp.h>
56591 #endif
56594 main ()
56596 _isnanf(0);
56598 return 0;
56600 _ACEOF
56601 rm -f conftest.$ac_objext
56602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56603 (eval $ac_compile) 2>conftest.er1
56604 ac_status=$?
56605 grep -v '^ *+' conftest.er1 >conftest.err
56606 rm -f conftest.er1
56607 cat conftest.err >&5
56608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56609 (exit $ac_status); } &&
56610 { ac_try='test -z "$ac_cxx_werror_flag"
56611 || test ! -s conftest.err'
56612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56613 (eval $ac_try) 2>&5
56614 ac_status=$?
56615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56616 (exit $ac_status); }; } &&
56617 { ac_try='test -s conftest.$ac_objext'
56618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56619 (eval $ac_try) 2>&5
56620 ac_status=$?
56621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56622 (exit $ac_status); }; }; then
56623 glibcxx_cv_func__isnanf_use=yes
56624 else
56625 echo "$as_me: failed program was:" >&5
56626 sed 's/^/| /' conftest.$ac_ext >&5
56628 glibcxx_cv_func__isnanf_use=no
56630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56631 ac_ext=c
56632 ac_cpp='$CPP $CPPFLAGS'
56633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
56642 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
56644 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56646 for ac_func in _isnanf
56648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56649 echo "$as_me:$LINENO: checking for $ac_func" >&5
56650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56651 if eval "test \"\${$as_ac_var+set}\" = set"; then
56652 echo $ECHO_N "(cached) $ECHO_C" >&6
56653 else
56654 if test x$gcc_no_link = xyes; then
56655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56657 { (exit 1); exit 1; }; }
56659 cat >conftest.$ac_ext <<_ACEOF
56660 /* confdefs.h. */
56661 _ACEOF
56662 cat confdefs.h >>conftest.$ac_ext
56663 cat >>conftest.$ac_ext <<_ACEOF
56664 /* end confdefs.h. */
56665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56667 #define $ac_func innocuous_$ac_func
56669 /* System header to define __stub macros and hopefully few prototypes,
56670 which can conflict with char $ac_func (); below.
56671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56672 <limits.h> exists even on freestanding compilers. */
56674 #ifdef __STDC__
56675 # include <limits.h>
56676 #else
56677 # include <assert.h>
56678 #endif
56680 #undef $ac_func
56682 /* Override any gcc2 internal prototype to avoid an error. */
56683 #ifdef __cplusplus
56684 extern "C"
56686 #endif
56687 /* We use char because int might match the return type of a gcc2
56688 builtin and then its argument prototype would still apply. */
56689 char $ac_func ();
56690 /* The GNU C library defines this for functions which it implements
56691 to always fail with ENOSYS. Some functions are actually named
56692 something starting with __ and the normal name is an alias. */
56693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56694 choke me
56695 #else
56696 char (*f) () = $ac_func;
56697 #endif
56698 #ifdef __cplusplus
56700 #endif
56703 main ()
56705 return f != $ac_func;
56707 return 0;
56709 _ACEOF
56710 rm -f conftest.$ac_objext conftest$ac_exeext
56711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56712 (eval $ac_link) 2>conftest.er1
56713 ac_status=$?
56714 grep -v '^ *+' conftest.er1 >conftest.err
56715 rm -f conftest.er1
56716 cat conftest.err >&5
56717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56718 (exit $ac_status); } &&
56719 { ac_try='test -z "$ac_c_werror_flag"
56720 || test ! -s conftest.err'
56721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56722 (eval $ac_try) 2>&5
56723 ac_status=$?
56724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56725 (exit $ac_status); }; } &&
56726 { ac_try='test -s conftest$ac_exeext'
56727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56728 (eval $ac_try) 2>&5
56729 ac_status=$?
56730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56731 (exit $ac_status); }; }; then
56732 eval "$as_ac_var=yes"
56733 else
56734 echo "$as_me: failed program was:" >&5
56735 sed 's/^/| /' conftest.$ac_ext >&5
56737 eval "$as_ac_var=no"
56739 rm -f conftest.err conftest.$ac_objext \
56740 conftest$ac_exeext conftest.$ac_ext
56742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56744 if test `eval echo '${'$as_ac_var'}'` = yes; then
56745 cat >>confdefs.h <<_ACEOF
56746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56747 _ACEOF
56750 done
56757 echo "$as_me:$LINENO: checking for isinff declaration" >&5
56758 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
56759 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56760 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
56761 echo $ECHO_N "(cached) $ECHO_C" >&6
56762 else
56766 ac_ext=cc
56767 ac_cpp='$CXXCPP $CPPFLAGS'
56768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56772 cat >conftest.$ac_ext <<_ACEOF
56773 /* confdefs.h. */
56774 _ACEOF
56775 cat confdefs.h >>conftest.$ac_ext
56776 cat >>conftest.$ac_ext <<_ACEOF
56777 /* end confdefs.h. */
56778 #include <math.h>
56779 #ifdef HAVE_IEEEFP_H
56780 #include <ieeefp.h>
56781 #endif
56784 main ()
56786 isinff(0);
56788 return 0;
56790 _ACEOF
56791 rm -f conftest.$ac_objext
56792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56793 (eval $ac_compile) 2>conftest.er1
56794 ac_status=$?
56795 grep -v '^ *+' conftest.er1 >conftest.err
56796 rm -f conftest.er1
56797 cat conftest.err >&5
56798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56799 (exit $ac_status); } &&
56800 { ac_try='test -z "$ac_cxx_werror_flag"
56801 || test ! -s conftest.err'
56802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56803 (eval $ac_try) 2>&5
56804 ac_status=$?
56805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56806 (exit $ac_status); }; } &&
56807 { ac_try='test -s conftest.$ac_objext'
56808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56809 (eval $ac_try) 2>&5
56810 ac_status=$?
56811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56812 (exit $ac_status); }; }; then
56813 glibcxx_cv_func_isinff_use=yes
56814 else
56815 echo "$as_me: failed program was:" >&5
56816 sed 's/^/| /' conftest.$ac_ext >&5
56818 glibcxx_cv_func_isinff_use=no
56820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56821 ac_ext=c
56822 ac_cpp='$CPP $CPPFLAGS'
56823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
56832 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
56834 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56836 for ac_func in isinff
56838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56839 echo "$as_me:$LINENO: checking for $ac_func" >&5
56840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56841 if eval "test \"\${$as_ac_var+set}\" = set"; then
56842 echo $ECHO_N "(cached) $ECHO_C" >&6
56843 else
56844 if test x$gcc_no_link = xyes; then
56845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56847 { (exit 1); exit 1; }; }
56849 cat >conftest.$ac_ext <<_ACEOF
56850 /* confdefs.h. */
56851 _ACEOF
56852 cat confdefs.h >>conftest.$ac_ext
56853 cat >>conftest.$ac_ext <<_ACEOF
56854 /* end confdefs.h. */
56855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56857 #define $ac_func innocuous_$ac_func
56859 /* System header to define __stub macros and hopefully few prototypes,
56860 which can conflict with char $ac_func (); below.
56861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56862 <limits.h> exists even on freestanding compilers. */
56864 #ifdef __STDC__
56865 # include <limits.h>
56866 #else
56867 # include <assert.h>
56868 #endif
56870 #undef $ac_func
56872 /* Override any gcc2 internal prototype to avoid an error. */
56873 #ifdef __cplusplus
56874 extern "C"
56876 #endif
56877 /* We use char because int might match the return type of a gcc2
56878 builtin and then its argument prototype would still apply. */
56879 char $ac_func ();
56880 /* The GNU C library defines this for functions which it implements
56881 to always fail with ENOSYS. Some functions are actually named
56882 something starting with __ and the normal name is an alias. */
56883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56884 choke me
56885 #else
56886 char (*f) () = $ac_func;
56887 #endif
56888 #ifdef __cplusplus
56890 #endif
56893 main ()
56895 return f != $ac_func;
56897 return 0;
56899 _ACEOF
56900 rm -f conftest.$ac_objext conftest$ac_exeext
56901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56902 (eval $ac_link) 2>conftest.er1
56903 ac_status=$?
56904 grep -v '^ *+' conftest.er1 >conftest.err
56905 rm -f conftest.er1
56906 cat conftest.err >&5
56907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56908 (exit $ac_status); } &&
56909 { ac_try='test -z "$ac_c_werror_flag"
56910 || test ! -s conftest.err'
56911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56912 (eval $ac_try) 2>&5
56913 ac_status=$?
56914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56915 (exit $ac_status); }; } &&
56916 { ac_try='test -s conftest$ac_exeext'
56917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56918 (eval $ac_try) 2>&5
56919 ac_status=$?
56920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56921 (exit $ac_status); }; }; then
56922 eval "$as_ac_var=yes"
56923 else
56924 echo "$as_me: failed program was:" >&5
56925 sed 's/^/| /' conftest.$ac_ext >&5
56927 eval "$as_ac_var=no"
56929 rm -f conftest.err conftest.$ac_objext \
56930 conftest$ac_exeext conftest.$ac_ext
56932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56934 if test `eval echo '${'$as_ac_var'}'` = yes; then
56935 cat >>confdefs.h <<_ACEOF
56936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56937 _ACEOF
56940 done
56942 else
56944 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
56945 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
56946 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56947 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
56948 echo $ECHO_N "(cached) $ECHO_C" >&6
56949 else
56953 ac_ext=cc
56954 ac_cpp='$CXXCPP $CPPFLAGS'
56955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56959 cat >conftest.$ac_ext <<_ACEOF
56960 /* confdefs.h. */
56961 _ACEOF
56962 cat confdefs.h >>conftest.$ac_ext
56963 cat >>conftest.$ac_ext <<_ACEOF
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 #ifdef HAVE_IEEEFP_H
56967 #include <ieeefp.h>
56968 #endif
56971 main ()
56973 _isinff(0);
56975 return 0;
56977 _ACEOF
56978 rm -f conftest.$ac_objext
56979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56980 (eval $ac_compile) 2>conftest.er1
56981 ac_status=$?
56982 grep -v '^ *+' conftest.er1 >conftest.err
56983 rm -f conftest.er1
56984 cat conftest.err >&5
56985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56986 (exit $ac_status); } &&
56987 { ac_try='test -z "$ac_cxx_werror_flag"
56988 || test ! -s conftest.err'
56989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56990 (eval $ac_try) 2>&5
56991 ac_status=$?
56992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56993 (exit $ac_status); }; } &&
56994 { ac_try='test -s conftest.$ac_objext'
56995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56996 (eval $ac_try) 2>&5
56997 ac_status=$?
56998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56999 (exit $ac_status); }; }; then
57000 glibcxx_cv_func__isinff_use=yes
57001 else
57002 echo "$as_me: failed program was:" >&5
57003 sed 's/^/| /' conftest.$ac_ext >&5
57005 glibcxx_cv_func__isinff_use=no
57007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57008 ac_ext=c
57009 ac_cpp='$CPP $CPPFLAGS'
57010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57019 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57021 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57023 for ac_func in _isinff
57025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57026 echo "$as_me:$LINENO: checking for $ac_func" >&5
57027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57028 if eval "test \"\${$as_ac_var+set}\" = set"; then
57029 echo $ECHO_N "(cached) $ECHO_C" >&6
57030 else
57031 if test x$gcc_no_link = xyes; then
57032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57034 { (exit 1); exit 1; }; }
57036 cat >conftest.$ac_ext <<_ACEOF
57037 /* confdefs.h. */
57038 _ACEOF
57039 cat confdefs.h >>conftest.$ac_ext
57040 cat >>conftest.$ac_ext <<_ACEOF
57041 /* end confdefs.h. */
57042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57044 #define $ac_func innocuous_$ac_func
57046 /* System header to define __stub macros and hopefully few prototypes,
57047 which can conflict with char $ac_func (); below.
57048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57049 <limits.h> exists even on freestanding compilers. */
57051 #ifdef __STDC__
57052 # include <limits.h>
57053 #else
57054 # include <assert.h>
57055 #endif
57057 #undef $ac_func
57059 /* Override any gcc2 internal prototype to avoid an error. */
57060 #ifdef __cplusplus
57061 extern "C"
57063 #endif
57064 /* We use char because int might match the return type of a gcc2
57065 builtin and then its argument prototype would still apply. */
57066 char $ac_func ();
57067 /* The GNU C library defines this for functions which it implements
57068 to always fail with ENOSYS. Some functions are actually named
57069 something starting with __ and the normal name is an alias. */
57070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57071 choke me
57072 #else
57073 char (*f) () = $ac_func;
57074 #endif
57075 #ifdef __cplusplus
57077 #endif
57080 main ()
57082 return f != $ac_func;
57084 return 0;
57086 _ACEOF
57087 rm -f conftest.$ac_objext conftest$ac_exeext
57088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57089 (eval $ac_link) 2>conftest.er1
57090 ac_status=$?
57091 grep -v '^ *+' conftest.er1 >conftest.err
57092 rm -f conftest.er1
57093 cat conftest.err >&5
57094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57095 (exit $ac_status); } &&
57096 { ac_try='test -z "$ac_c_werror_flag"
57097 || test ! -s conftest.err'
57098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57099 (eval $ac_try) 2>&5
57100 ac_status=$?
57101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57102 (exit $ac_status); }; } &&
57103 { ac_try='test -s conftest$ac_exeext'
57104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57105 (eval $ac_try) 2>&5
57106 ac_status=$?
57107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57108 (exit $ac_status); }; }; then
57109 eval "$as_ac_var=yes"
57110 else
57111 echo "$as_me: failed program was:" >&5
57112 sed 's/^/| /' conftest.$ac_ext >&5
57114 eval "$as_ac_var=no"
57116 rm -f conftest.err conftest.$ac_objext \
57117 conftest$ac_exeext conftest.$ac_ext
57119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57121 if test `eval echo '${'$as_ac_var'}'` = yes; then
57122 cat >>confdefs.h <<_ACEOF
57123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57124 _ACEOF
57127 done
57134 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57135 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57136 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57137 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57138 echo $ECHO_N "(cached) $ECHO_C" >&6
57139 else
57143 ac_ext=cc
57144 ac_cpp='$CXXCPP $CPPFLAGS'
57145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57149 cat >conftest.$ac_ext <<_ACEOF
57150 /* confdefs.h. */
57151 _ACEOF
57152 cat confdefs.h >>conftest.$ac_ext
57153 cat >>conftest.$ac_ext <<_ACEOF
57154 /* end confdefs.h. */
57155 #include <math.h>
57157 main ()
57159 atan2f(0, 0);
57161 return 0;
57163 _ACEOF
57164 rm -f conftest.$ac_objext
57165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57166 (eval $ac_compile) 2>conftest.er1
57167 ac_status=$?
57168 grep -v '^ *+' conftest.er1 >conftest.err
57169 rm -f conftest.er1
57170 cat conftest.err >&5
57171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57172 (exit $ac_status); } &&
57173 { ac_try='test -z "$ac_cxx_werror_flag"
57174 || test ! -s conftest.err'
57175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57176 (eval $ac_try) 2>&5
57177 ac_status=$?
57178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57179 (exit $ac_status); }; } &&
57180 { ac_try='test -s conftest.$ac_objext'
57181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57182 (eval $ac_try) 2>&5
57183 ac_status=$?
57184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57185 (exit $ac_status); }; }; then
57186 glibcxx_cv_func_atan2f_use=yes
57187 else
57188 echo "$as_me: failed program was:" >&5
57189 sed 's/^/| /' conftest.$ac_ext >&5
57191 glibcxx_cv_func_atan2f_use=no
57193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57194 ac_ext=c
57195 ac_cpp='$CPP $CPPFLAGS'
57196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57205 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57207 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57209 for ac_func in atan2f
57211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57212 echo "$as_me:$LINENO: checking for $ac_func" >&5
57213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57214 if eval "test \"\${$as_ac_var+set}\" = set"; then
57215 echo $ECHO_N "(cached) $ECHO_C" >&6
57216 else
57217 if test x$gcc_no_link = xyes; then
57218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57220 { (exit 1); exit 1; }; }
57222 cat >conftest.$ac_ext <<_ACEOF
57223 /* confdefs.h. */
57224 _ACEOF
57225 cat confdefs.h >>conftest.$ac_ext
57226 cat >>conftest.$ac_ext <<_ACEOF
57227 /* end confdefs.h. */
57228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57230 #define $ac_func innocuous_$ac_func
57232 /* System header to define __stub macros and hopefully few prototypes,
57233 which can conflict with char $ac_func (); below.
57234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57235 <limits.h> exists even on freestanding compilers. */
57237 #ifdef __STDC__
57238 # include <limits.h>
57239 #else
57240 # include <assert.h>
57241 #endif
57243 #undef $ac_func
57245 /* Override any gcc2 internal prototype to avoid an error. */
57246 #ifdef __cplusplus
57247 extern "C"
57249 #endif
57250 /* We use char because int might match the return type of a gcc2
57251 builtin and then its argument prototype would still apply. */
57252 char $ac_func ();
57253 /* The GNU C library defines this for functions which it implements
57254 to always fail with ENOSYS. Some functions are actually named
57255 something starting with __ and the normal name is an alias. */
57256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57257 choke me
57258 #else
57259 char (*f) () = $ac_func;
57260 #endif
57261 #ifdef __cplusplus
57263 #endif
57266 main ()
57268 return f != $ac_func;
57270 return 0;
57272 _ACEOF
57273 rm -f conftest.$ac_objext conftest$ac_exeext
57274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57275 (eval $ac_link) 2>conftest.er1
57276 ac_status=$?
57277 grep -v '^ *+' conftest.er1 >conftest.err
57278 rm -f conftest.er1
57279 cat conftest.err >&5
57280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57281 (exit $ac_status); } &&
57282 { ac_try='test -z "$ac_c_werror_flag"
57283 || test ! -s conftest.err'
57284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57285 (eval $ac_try) 2>&5
57286 ac_status=$?
57287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57288 (exit $ac_status); }; } &&
57289 { ac_try='test -s conftest$ac_exeext'
57290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57291 (eval $ac_try) 2>&5
57292 ac_status=$?
57293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294 (exit $ac_status); }; }; then
57295 eval "$as_ac_var=yes"
57296 else
57297 echo "$as_me: failed program was:" >&5
57298 sed 's/^/| /' conftest.$ac_ext >&5
57300 eval "$as_ac_var=no"
57302 rm -f conftest.err conftest.$ac_objext \
57303 conftest$ac_exeext conftest.$ac_ext
57305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57307 if test `eval echo '${'$as_ac_var'}'` = yes; then
57308 cat >>confdefs.h <<_ACEOF
57309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57310 _ACEOF
57313 done
57315 else
57317 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
57318 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
57319 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
57320 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
57321 echo $ECHO_N "(cached) $ECHO_C" >&6
57322 else
57326 ac_ext=cc
57327 ac_cpp='$CXXCPP $CPPFLAGS'
57328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57332 cat >conftest.$ac_ext <<_ACEOF
57333 /* confdefs.h. */
57334 _ACEOF
57335 cat confdefs.h >>conftest.$ac_ext
57336 cat >>conftest.$ac_ext <<_ACEOF
57337 /* end confdefs.h. */
57338 #include <math.h>
57340 main ()
57342 _atan2f(0, 0);
57344 return 0;
57346 _ACEOF
57347 rm -f conftest.$ac_objext
57348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57349 (eval $ac_compile) 2>conftest.er1
57350 ac_status=$?
57351 grep -v '^ *+' conftest.er1 >conftest.err
57352 rm -f conftest.er1
57353 cat conftest.err >&5
57354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57355 (exit $ac_status); } &&
57356 { ac_try='test -z "$ac_cxx_werror_flag"
57357 || test ! -s conftest.err'
57358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57359 (eval $ac_try) 2>&5
57360 ac_status=$?
57361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57362 (exit $ac_status); }; } &&
57363 { ac_try='test -s conftest.$ac_objext'
57364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57365 (eval $ac_try) 2>&5
57366 ac_status=$?
57367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57368 (exit $ac_status); }; }; then
57369 glibcxx_cv_func__atan2f_use=yes
57370 else
57371 echo "$as_me: failed program was:" >&5
57372 sed 's/^/| /' conftest.$ac_ext >&5
57374 glibcxx_cv_func__atan2f_use=no
57376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57377 ac_ext=c
57378 ac_cpp='$CPP $CPPFLAGS'
57379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
57388 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
57390 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
57392 for ac_func in _atan2f
57394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57395 echo "$as_me:$LINENO: checking for $ac_func" >&5
57396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57397 if eval "test \"\${$as_ac_var+set}\" = set"; then
57398 echo $ECHO_N "(cached) $ECHO_C" >&6
57399 else
57400 if test x$gcc_no_link = xyes; then
57401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57403 { (exit 1); exit 1; }; }
57405 cat >conftest.$ac_ext <<_ACEOF
57406 /* confdefs.h. */
57407 _ACEOF
57408 cat confdefs.h >>conftest.$ac_ext
57409 cat >>conftest.$ac_ext <<_ACEOF
57410 /* end confdefs.h. */
57411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57413 #define $ac_func innocuous_$ac_func
57415 /* System header to define __stub macros and hopefully few prototypes,
57416 which can conflict with char $ac_func (); below.
57417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57418 <limits.h> exists even on freestanding compilers. */
57420 #ifdef __STDC__
57421 # include <limits.h>
57422 #else
57423 # include <assert.h>
57424 #endif
57426 #undef $ac_func
57428 /* Override any gcc2 internal prototype to avoid an error. */
57429 #ifdef __cplusplus
57430 extern "C"
57432 #endif
57433 /* We use char because int might match the return type of a gcc2
57434 builtin and then its argument prototype would still apply. */
57435 char $ac_func ();
57436 /* The GNU C library defines this for functions which it implements
57437 to always fail with ENOSYS. Some functions are actually named
57438 something starting with __ and the normal name is an alias. */
57439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57440 choke me
57441 #else
57442 char (*f) () = $ac_func;
57443 #endif
57444 #ifdef __cplusplus
57446 #endif
57449 main ()
57451 return f != $ac_func;
57453 return 0;
57455 _ACEOF
57456 rm -f conftest.$ac_objext conftest$ac_exeext
57457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57458 (eval $ac_link) 2>conftest.er1
57459 ac_status=$?
57460 grep -v '^ *+' conftest.er1 >conftest.err
57461 rm -f conftest.er1
57462 cat conftest.err >&5
57463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57464 (exit $ac_status); } &&
57465 { ac_try='test -z "$ac_c_werror_flag"
57466 || test ! -s conftest.err'
57467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57468 (eval $ac_try) 2>&5
57469 ac_status=$?
57470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57471 (exit $ac_status); }; } &&
57472 { ac_try='test -s conftest$ac_exeext'
57473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57474 (eval $ac_try) 2>&5
57475 ac_status=$?
57476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57477 (exit $ac_status); }; }; then
57478 eval "$as_ac_var=yes"
57479 else
57480 echo "$as_me: failed program was:" >&5
57481 sed 's/^/| /' conftest.$ac_ext >&5
57483 eval "$as_ac_var=no"
57485 rm -f conftest.err conftest.$ac_objext \
57486 conftest$ac_exeext conftest.$ac_ext
57488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57490 if test `eval echo '${'$as_ac_var'}'` = yes; then
57491 cat >>confdefs.h <<_ACEOF
57492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57493 _ACEOF
57496 done
57503 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
57504 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
57505 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
57506 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
57507 echo $ECHO_N "(cached) $ECHO_C" >&6
57508 else
57512 ac_ext=cc
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518 cat >conftest.$ac_ext <<_ACEOF
57519 /* confdefs.h. */
57520 _ACEOF
57521 cat confdefs.h >>conftest.$ac_ext
57522 cat >>conftest.$ac_ext <<_ACEOF
57523 /* end confdefs.h. */
57524 #include <math.h>
57525 #ifdef HAVE_IEEEFP_H
57526 #include <ieeefp.h>
57527 #endif
57530 main ()
57532 fabsf(0);
57534 return 0;
57536 _ACEOF
57537 rm -f conftest.$ac_objext
57538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57539 (eval $ac_compile) 2>conftest.er1
57540 ac_status=$?
57541 grep -v '^ *+' conftest.er1 >conftest.err
57542 rm -f conftest.er1
57543 cat conftest.err >&5
57544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57545 (exit $ac_status); } &&
57546 { ac_try='test -z "$ac_cxx_werror_flag"
57547 || test ! -s conftest.err'
57548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57549 (eval $ac_try) 2>&5
57550 ac_status=$?
57551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57552 (exit $ac_status); }; } &&
57553 { ac_try='test -s conftest.$ac_objext'
57554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57555 (eval $ac_try) 2>&5
57556 ac_status=$?
57557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57558 (exit $ac_status); }; }; then
57559 glibcxx_cv_func_fabsf_use=yes
57560 else
57561 echo "$as_me: failed program was:" >&5
57562 sed 's/^/| /' conftest.$ac_ext >&5
57564 glibcxx_cv_func_fabsf_use=no
57566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57567 ac_ext=c
57568 ac_cpp='$CPP $CPPFLAGS'
57569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
57578 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
57580 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
57582 for ac_func in fabsf
57584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57585 echo "$as_me:$LINENO: checking for $ac_func" >&5
57586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57587 if eval "test \"\${$as_ac_var+set}\" = set"; then
57588 echo $ECHO_N "(cached) $ECHO_C" >&6
57589 else
57590 if test x$gcc_no_link = xyes; then
57591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57593 { (exit 1); exit 1; }; }
57595 cat >conftest.$ac_ext <<_ACEOF
57596 /* confdefs.h. */
57597 _ACEOF
57598 cat confdefs.h >>conftest.$ac_ext
57599 cat >>conftest.$ac_ext <<_ACEOF
57600 /* end confdefs.h. */
57601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57603 #define $ac_func innocuous_$ac_func
57605 /* System header to define __stub macros and hopefully few prototypes,
57606 which can conflict with char $ac_func (); below.
57607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57608 <limits.h> exists even on freestanding compilers. */
57610 #ifdef __STDC__
57611 # include <limits.h>
57612 #else
57613 # include <assert.h>
57614 #endif
57616 #undef $ac_func
57618 /* Override any gcc2 internal prototype to avoid an error. */
57619 #ifdef __cplusplus
57620 extern "C"
57622 #endif
57623 /* We use char because int might match the return type of a gcc2
57624 builtin and then its argument prototype would still apply. */
57625 char $ac_func ();
57626 /* The GNU C library defines this for functions which it implements
57627 to always fail with ENOSYS. Some functions are actually named
57628 something starting with __ and the normal name is an alias. */
57629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57630 choke me
57631 #else
57632 char (*f) () = $ac_func;
57633 #endif
57634 #ifdef __cplusplus
57636 #endif
57639 main ()
57641 return f != $ac_func;
57643 return 0;
57645 _ACEOF
57646 rm -f conftest.$ac_objext conftest$ac_exeext
57647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57648 (eval $ac_link) 2>conftest.er1
57649 ac_status=$?
57650 grep -v '^ *+' conftest.er1 >conftest.err
57651 rm -f conftest.er1
57652 cat conftest.err >&5
57653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57654 (exit $ac_status); } &&
57655 { ac_try='test -z "$ac_c_werror_flag"
57656 || test ! -s conftest.err'
57657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57658 (eval $ac_try) 2>&5
57659 ac_status=$?
57660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57661 (exit $ac_status); }; } &&
57662 { ac_try='test -s conftest$ac_exeext'
57663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57664 (eval $ac_try) 2>&5
57665 ac_status=$?
57666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57667 (exit $ac_status); }; }; then
57668 eval "$as_ac_var=yes"
57669 else
57670 echo "$as_me: failed program was:" >&5
57671 sed 's/^/| /' conftest.$ac_ext >&5
57673 eval "$as_ac_var=no"
57675 rm -f conftest.err conftest.$ac_objext \
57676 conftest$ac_exeext conftest.$ac_ext
57678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57680 if test `eval echo '${'$as_ac_var'}'` = yes; then
57681 cat >>confdefs.h <<_ACEOF
57682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57683 _ACEOF
57686 done
57688 else
57690 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
57691 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
57692 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
57693 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
57694 echo $ECHO_N "(cached) $ECHO_C" >&6
57695 else
57699 ac_ext=cc
57700 ac_cpp='$CXXCPP $CPPFLAGS'
57701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57705 cat >conftest.$ac_ext <<_ACEOF
57706 /* confdefs.h. */
57707 _ACEOF
57708 cat confdefs.h >>conftest.$ac_ext
57709 cat >>conftest.$ac_ext <<_ACEOF
57710 /* end confdefs.h. */
57711 #include <math.h>
57712 #ifdef HAVE_IEEEFP_H
57713 #include <ieeefp.h>
57714 #endif
57717 main ()
57719 _fabsf(0);
57721 return 0;
57723 _ACEOF
57724 rm -f conftest.$ac_objext
57725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57726 (eval $ac_compile) 2>conftest.er1
57727 ac_status=$?
57728 grep -v '^ *+' conftest.er1 >conftest.err
57729 rm -f conftest.er1
57730 cat conftest.err >&5
57731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57732 (exit $ac_status); } &&
57733 { ac_try='test -z "$ac_cxx_werror_flag"
57734 || test ! -s conftest.err'
57735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57736 (eval $ac_try) 2>&5
57737 ac_status=$?
57738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57739 (exit $ac_status); }; } &&
57740 { ac_try='test -s conftest.$ac_objext'
57741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57742 (eval $ac_try) 2>&5
57743 ac_status=$?
57744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57745 (exit $ac_status); }; }; then
57746 glibcxx_cv_func__fabsf_use=yes
57747 else
57748 echo "$as_me: failed program was:" >&5
57749 sed 's/^/| /' conftest.$ac_ext >&5
57751 glibcxx_cv_func__fabsf_use=no
57753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57754 ac_ext=c
57755 ac_cpp='$CPP $CPPFLAGS'
57756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
57765 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
57767 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
57769 for ac_func in _fabsf
57771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57772 echo "$as_me:$LINENO: checking for $ac_func" >&5
57773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57774 if eval "test \"\${$as_ac_var+set}\" = set"; then
57775 echo $ECHO_N "(cached) $ECHO_C" >&6
57776 else
57777 if test x$gcc_no_link = xyes; then
57778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57780 { (exit 1); exit 1; }; }
57782 cat >conftest.$ac_ext <<_ACEOF
57783 /* confdefs.h. */
57784 _ACEOF
57785 cat confdefs.h >>conftest.$ac_ext
57786 cat >>conftest.$ac_ext <<_ACEOF
57787 /* end confdefs.h. */
57788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57790 #define $ac_func innocuous_$ac_func
57792 /* System header to define __stub macros and hopefully few prototypes,
57793 which can conflict with char $ac_func (); below.
57794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57795 <limits.h> exists even on freestanding compilers. */
57797 #ifdef __STDC__
57798 # include <limits.h>
57799 #else
57800 # include <assert.h>
57801 #endif
57803 #undef $ac_func
57805 /* Override any gcc2 internal prototype to avoid an error. */
57806 #ifdef __cplusplus
57807 extern "C"
57809 #endif
57810 /* We use char because int might match the return type of a gcc2
57811 builtin and then its argument prototype would still apply. */
57812 char $ac_func ();
57813 /* The GNU C library defines this for functions which it implements
57814 to always fail with ENOSYS. Some functions are actually named
57815 something starting with __ and the normal name is an alias. */
57816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57817 choke me
57818 #else
57819 char (*f) () = $ac_func;
57820 #endif
57821 #ifdef __cplusplus
57823 #endif
57826 main ()
57828 return f != $ac_func;
57830 return 0;
57832 _ACEOF
57833 rm -f conftest.$ac_objext conftest$ac_exeext
57834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57835 (eval $ac_link) 2>conftest.er1
57836 ac_status=$?
57837 grep -v '^ *+' conftest.er1 >conftest.err
57838 rm -f conftest.er1
57839 cat conftest.err >&5
57840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57841 (exit $ac_status); } &&
57842 { ac_try='test -z "$ac_c_werror_flag"
57843 || test ! -s conftest.err'
57844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57845 (eval $ac_try) 2>&5
57846 ac_status=$?
57847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57848 (exit $ac_status); }; } &&
57849 { ac_try='test -s conftest$ac_exeext'
57850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57851 (eval $ac_try) 2>&5
57852 ac_status=$?
57853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57854 (exit $ac_status); }; }; then
57855 eval "$as_ac_var=yes"
57856 else
57857 echo "$as_me: failed program was:" >&5
57858 sed 's/^/| /' conftest.$ac_ext >&5
57860 eval "$as_ac_var=no"
57862 rm -f conftest.err conftest.$ac_objext \
57863 conftest$ac_exeext conftest.$ac_ext
57865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57867 if test `eval echo '${'$as_ac_var'}'` = yes; then
57868 cat >>confdefs.h <<_ACEOF
57869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57870 _ACEOF
57873 done
57880 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
57881 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
57882 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
57883 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
57884 echo $ECHO_N "(cached) $ECHO_C" >&6
57885 else
57889 ac_ext=cc
57890 ac_cpp='$CXXCPP $CPPFLAGS'
57891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57895 cat >conftest.$ac_ext <<_ACEOF
57896 /* confdefs.h. */
57897 _ACEOF
57898 cat confdefs.h >>conftest.$ac_ext
57899 cat >>conftest.$ac_ext <<_ACEOF
57900 /* end confdefs.h. */
57901 #include <math.h>
57903 main ()
57905 fmodf(0, 0);
57907 return 0;
57909 _ACEOF
57910 rm -f conftest.$ac_objext
57911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57912 (eval $ac_compile) 2>conftest.er1
57913 ac_status=$?
57914 grep -v '^ *+' conftest.er1 >conftest.err
57915 rm -f conftest.er1
57916 cat conftest.err >&5
57917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57918 (exit $ac_status); } &&
57919 { ac_try='test -z "$ac_cxx_werror_flag"
57920 || test ! -s conftest.err'
57921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57922 (eval $ac_try) 2>&5
57923 ac_status=$?
57924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57925 (exit $ac_status); }; } &&
57926 { ac_try='test -s conftest.$ac_objext'
57927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57928 (eval $ac_try) 2>&5
57929 ac_status=$?
57930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57931 (exit $ac_status); }; }; then
57932 glibcxx_cv_func_fmodf_use=yes
57933 else
57934 echo "$as_me: failed program was:" >&5
57935 sed 's/^/| /' conftest.$ac_ext >&5
57937 glibcxx_cv_func_fmodf_use=no
57939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57940 ac_ext=c
57941 ac_cpp='$CPP $CPPFLAGS'
57942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
57951 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
57953 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
57955 for ac_func in fmodf
57957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57958 echo "$as_me:$LINENO: checking for $ac_func" >&5
57959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57960 if eval "test \"\${$as_ac_var+set}\" = set"; then
57961 echo $ECHO_N "(cached) $ECHO_C" >&6
57962 else
57963 if test x$gcc_no_link = xyes; then
57964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57966 { (exit 1); exit 1; }; }
57968 cat >conftest.$ac_ext <<_ACEOF
57969 /* confdefs.h. */
57970 _ACEOF
57971 cat confdefs.h >>conftest.$ac_ext
57972 cat >>conftest.$ac_ext <<_ACEOF
57973 /* end confdefs.h. */
57974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57976 #define $ac_func innocuous_$ac_func
57978 /* System header to define __stub macros and hopefully few prototypes,
57979 which can conflict with char $ac_func (); below.
57980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57981 <limits.h> exists even on freestanding compilers. */
57983 #ifdef __STDC__
57984 # include <limits.h>
57985 #else
57986 # include <assert.h>
57987 #endif
57989 #undef $ac_func
57991 /* Override any gcc2 internal prototype to avoid an error. */
57992 #ifdef __cplusplus
57993 extern "C"
57995 #endif
57996 /* We use char because int might match the return type of a gcc2
57997 builtin and then its argument prototype would still apply. */
57998 char $ac_func ();
57999 /* The GNU C library defines this for functions which it implements
58000 to always fail with ENOSYS. Some functions are actually named
58001 something starting with __ and the normal name is an alias. */
58002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58003 choke me
58004 #else
58005 char (*f) () = $ac_func;
58006 #endif
58007 #ifdef __cplusplus
58009 #endif
58012 main ()
58014 return f != $ac_func;
58016 return 0;
58018 _ACEOF
58019 rm -f conftest.$ac_objext conftest$ac_exeext
58020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58021 (eval $ac_link) 2>conftest.er1
58022 ac_status=$?
58023 grep -v '^ *+' conftest.er1 >conftest.err
58024 rm -f conftest.er1
58025 cat conftest.err >&5
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); } &&
58028 { ac_try='test -z "$ac_c_werror_flag"
58029 || test ! -s conftest.err'
58030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58031 (eval $ac_try) 2>&5
58032 ac_status=$?
58033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58034 (exit $ac_status); }; } &&
58035 { ac_try='test -s conftest$ac_exeext'
58036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58037 (eval $ac_try) 2>&5
58038 ac_status=$?
58039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58040 (exit $ac_status); }; }; then
58041 eval "$as_ac_var=yes"
58042 else
58043 echo "$as_me: failed program was:" >&5
58044 sed 's/^/| /' conftest.$ac_ext >&5
58046 eval "$as_ac_var=no"
58048 rm -f conftest.err conftest.$ac_objext \
58049 conftest$ac_exeext conftest.$ac_ext
58051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58053 if test `eval echo '${'$as_ac_var'}'` = yes; then
58054 cat >>confdefs.h <<_ACEOF
58055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58056 _ACEOF
58059 done
58061 else
58063 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58064 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58065 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58066 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58067 echo $ECHO_N "(cached) $ECHO_C" >&6
58068 else
58072 ac_ext=cc
58073 ac_cpp='$CXXCPP $CPPFLAGS'
58074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58078 cat >conftest.$ac_ext <<_ACEOF
58079 /* confdefs.h. */
58080 _ACEOF
58081 cat confdefs.h >>conftest.$ac_ext
58082 cat >>conftest.$ac_ext <<_ACEOF
58083 /* end confdefs.h. */
58084 #include <math.h>
58086 main ()
58088 _fmodf(0, 0);
58090 return 0;
58092 _ACEOF
58093 rm -f conftest.$ac_objext
58094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58095 (eval $ac_compile) 2>conftest.er1
58096 ac_status=$?
58097 grep -v '^ *+' conftest.er1 >conftest.err
58098 rm -f conftest.er1
58099 cat conftest.err >&5
58100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58101 (exit $ac_status); } &&
58102 { ac_try='test -z "$ac_cxx_werror_flag"
58103 || test ! -s conftest.err'
58104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58105 (eval $ac_try) 2>&5
58106 ac_status=$?
58107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108 (exit $ac_status); }; } &&
58109 { ac_try='test -s conftest.$ac_objext'
58110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58111 (eval $ac_try) 2>&5
58112 ac_status=$?
58113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58114 (exit $ac_status); }; }; then
58115 glibcxx_cv_func__fmodf_use=yes
58116 else
58117 echo "$as_me: failed program was:" >&5
58118 sed 's/^/| /' conftest.$ac_ext >&5
58120 glibcxx_cv_func__fmodf_use=no
58122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58123 ac_ext=c
58124 ac_cpp='$CPP $CPPFLAGS'
58125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58134 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58136 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58138 for ac_func in _fmodf
58140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58141 echo "$as_me:$LINENO: checking for $ac_func" >&5
58142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58143 if eval "test \"\${$as_ac_var+set}\" = set"; then
58144 echo $ECHO_N "(cached) $ECHO_C" >&6
58145 else
58146 if test x$gcc_no_link = xyes; then
58147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58149 { (exit 1); exit 1; }; }
58151 cat >conftest.$ac_ext <<_ACEOF
58152 /* confdefs.h. */
58153 _ACEOF
58154 cat confdefs.h >>conftest.$ac_ext
58155 cat >>conftest.$ac_ext <<_ACEOF
58156 /* end confdefs.h. */
58157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58159 #define $ac_func innocuous_$ac_func
58161 /* System header to define __stub macros and hopefully few prototypes,
58162 which can conflict with char $ac_func (); below.
58163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58164 <limits.h> exists even on freestanding compilers. */
58166 #ifdef __STDC__
58167 # include <limits.h>
58168 #else
58169 # include <assert.h>
58170 #endif
58172 #undef $ac_func
58174 /* Override any gcc2 internal prototype to avoid an error. */
58175 #ifdef __cplusplus
58176 extern "C"
58178 #endif
58179 /* We use char because int might match the return type of a gcc2
58180 builtin and then its argument prototype would still apply. */
58181 char $ac_func ();
58182 /* The GNU C library defines this for functions which it implements
58183 to always fail with ENOSYS. Some functions are actually named
58184 something starting with __ and the normal name is an alias. */
58185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58186 choke me
58187 #else
58188 char (*f) () = $ac_func;
58189 #endif
58190 #ifdef __cplusplus
58192 #endif
58195 main ()
58197 return f != $ac_func;
58199 return 0;
58201 _ACEOF
58202 rm -f conftest.$ac_objext conftest$ac_exeext
58203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58204 (eval $ac_link) 2>conftest.er1
58205 ac_status=$?
58206 grep -v '^ *+' conftest.er1 >conftest.err
58207 rm -f conftest.er1
58208 cat conftest.err >&5
58209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210 (exit $ac_status); } &&
58211 { ac_try='test -z "$ac_c_werror_flag"
58212 || test ! -s conftest.err'
58213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58214 (eval $ac_try) 2>&5
58215 ac_status=$?
58216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58217 (exit $ac_status); }; } &&
58218 { ac_try='test -s conftest$ac_exeext'
58219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58220 (eval $ac_try) 2>&5
58221 ac_status=$?
58222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58223 (exit $ac_status); }; }; then
58224 eval "$as_ac_var=yes"
58225 else
58226 echo "$as_me: failed program was:" >&5
58227 sed 's/^/| /' conftest.$ac_ext >&5
58229 eval "$as_ac_var=no"
58231 rm -f conftest.err conftest.$ac_objext \
58232 conftest$ac_exeext conftest.$ac_ext
58234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58236 if test `eval echo '${'$as_ac_var'}'` = yes; then
58237 cat >>confdefs.h <<_ACEOF
58238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58239 _ACEOF
58242 done
58249 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
58250 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
58251 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58252 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
58253 echo $ECHO_N "(cached) $ECHO_C" >&6
58254 else
58258 ac_ext=cc
58259 ac_cpp='$CXXCPP $CPPFLAGS'
58260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58264 cat >conftest.$ac_ext <<_ACEOF
58265 /* confdefs.h. */
58266 _ACEOF
58267 cat confdefs.h >>conftest.$ac_ext
58268 cat >>conftest.$ac_ext <<_ACEOF
58269 /* end confdefs.h. */
58270 #include <math.h>
58272 main ()
58274 frexpf(0, 0);
58276 return 0;
58278 _ACEOF
58279 rm -f conftest.$ac_objext
58280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58281 (eval $ac_compile) 2>conftest.er1
58282 ac_status=$?
58283 grep -v '^ *+' conftest.er1 >conftest.err
58284 rm -f conftest.er1
58285 cat conftest.err >&5
58286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58287 (exit $ac_status); } &&
58288 { ac_try='test -z "$ac_cxx_werror_flag"
58289 || test ! -s conftest.err'
58290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58291 (eval $ac_try) 2>&5
58292 ac_status=$?
58293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58294 (exit $ac_status); }; } &&
58295 { ac_try='test -s conftest.$ac_objext'
58296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58297 (eval $ac_try) 2>&5
58298 ac_status=$?
58299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58300 (exit $ac_status); }; }; then
58301 glibcxx_cv_func_frexpf_use=yes
58302 else
58303 echo "$as_me: failed program was:" >&5
58304 sed 's/^/| /' conftest.$ac_ext >&5
58306 glibcxx_cv_func_frexpf_use=no
58308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58309 ac_ext=c
58310 ac_cpp='$CPP $CPPFLAGS'
58311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
58320 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
58322 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58324 for ac_func in frexpf
58326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58327 echo "$as_me:$LINENO: checking for $ac_func" >&5
58328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58329 if eval "test \"\${$as_ac_var+set}\" = set"; then
58330 echo $ECHO_N "(cached) $ECHO_C" >&6
58331 else
58332 if test x$gcc_no_link = xyes; then
58333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58335 { (exit 1); exit 1; }; }
58337 cat >conftest.$ac_ext <<_ACEOF
58338 /* confdefs.h. */
58339 _ACEOF
58340 cat confdefs.h >>conftest.$ac_ext
58341 cat >>conftest.$ac_ext <<_ACEOF
58342 /* end confdefs.h. */
58343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58345 #define $ac_func innocuous_$ac_func
58347 /* System header to define __stub macros and hopefully few prototypes,
58348 which can conflict with char $ac_func (); below.
58349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58350 <limits.h> exists even on freestanding compilers. */
58352 #ifdef __STDC__
58353 # include <limits.h>
58354 #else
58355 # include <assert.h>
58356 #endif
58358 #undef $ac_func
58360 /* Override any gcc2 internal prototype to avoid an error. */
58361 #ifdef __cplusplus
58362 extern "C"
58364 #endif
58365 /* We use char because int might match the return type of a gcc2
58366 builtin and then its argument prototype would still apply. */
58367 char $ac_func ();
58368 /* The GNU C library defines this for functions which it implements
58369 to always fail with ENOSYS. Some functions are actually named
58370 something starting with __ and the normal name is an alias. */
58371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58372 choke me
58373 #else
58374 char (*f) () = $ac_func;
58375 #endif
58376 #ifdef __cplusplus
58378 #endif
58381 main ()
58383 return f != $ac_func;
58385 return 0;
58387 _ACEOF
58388 rm -f conftest.$ac_objext conftest$ac_exeext
58389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58390 (eval $ac_link) 2>conftest.er1
58391 ac_status=$?
58392 grep -v '^ *+' conftest.er1 >conftest.err
58393 rm -f conftest.er1
58394 cat conftest.err >&5
58395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396 (exit $ac_status); } &&
58397 { ac_try='test -z "$ac_c_werror_flag"
58398 || test ! -s conftest.err'
58399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58400 (eval $ac_try) 2>&5
58401 ac_status=$?
58402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58403 (exit $ac_status); }; } &&
58404 { ac_try='test -s conftest$ac_exeext'
58405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58406 (eval $ac_try) 2>&5
58407 ac_status=$?
58408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409 (exit $ac_status); }; }; then
58410 eval "$as_ac_var=yes"
58411 else
58412 echo "$as_me: failed program was:" >&5
58413 sed 's/^/| /' conftest.$ac_ext >&5
58415 eval "$as_ac_var=no"
58417 rm -f conftest.err conftest.$ac_objext \
58418 conftest$ac_exeext conftest.$ac_ext
58420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58422 if test `eval echo '${'$as_ac_var'}'` = yes; then
58423 cat >>confdefs.h <<_ACEOF
58424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58425 _ACEOF
58428 done
58430 else
58432 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
58433 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
58434 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58435 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
58436 echo $ECHO_N "(cached) $ECHO_C" >&6
58437 else
58441 ac_ext=cc
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447 cat >conftest.$ac_ext <<_ACEOF
58448 /* confdefs.h. */
58449 _ACEOF
58450 cat confdefs.h >>conftest.$ac_ext
58451 cat >>conftest.$ac_ext <<_ACEOF
58452 /* end confdefs.h. */
58453 #include <math.h>
58455 main ()
58457 _frexpf(0, 0);
58459 return 0;
58461 _ACEOF
58462 rm -f conftest.$ac_objext
58463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58464 (eval $ac_compile) 2>conftest.er1
58465 ac_status=$?
58466 grep -v '^ *+' conftest.er1 >conftest.err
58467 rm -f conftest.er1
58468 cat conftest.err >&5
58469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58470 (exit $ac_status); } &&
58471 { ac_try='test -z "$ac_cxx_werror_flag"
58472 || test ! -s conftest.err'
58473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58474 (eval $ac_try) 2>&5
58475 ac_status=$?
58476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58477 (exit $ac_status); }; } &&
58478 { ac_try='test -s conftest.$ac_objext'
58479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58480 (eval $ac_try) 2>&5
58481 ac_status=$?
58482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58483 (exit $ac_status); }; }; then
58484 glibcxx_cv_func__frexpf_use=yes
58485 else
58486 echo "$as_me: failed program was:" >&5
58487 sed 's/^/| /' conftest.$ac_ext >&5
58489 glibcxx_cv_func__frexpf_use=no
58491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58492 ac_ext=c
58493 ac_cpp='$CPP $CPPFLAGS'
58494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
58503 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
58505 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58507 for ac_func in _frexpf
58509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58510 echo "$as_me:$LINENO: checking for $ac_func" >&5
58511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58512 if eval "test \"\${$as_ac_var+set}\" = set"; then
58513 echo $ECHO_N "(cached) $ECHO_C" >&6
58514 else
58515 if test x$gcc_no_link = xyes; then
58516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58518 { (exit 1); exit 1; }; }
58520 cat >conftest.$ac_ext <<_ACEOF
58521 /* confdefs.h. */
58522 _ACEOF
58523 cat confdefs.h >>conftest.$ac_ext
58524 cat >>conftest.$ac_ext <<_ACEOF
58525 /* end confdefs.h. */
58526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58528 #define $ac_func innocuous_$ac_func
58530 /* System header to define __stub macros and hopefully few prototypes,
58531 which can conflict with char $ac_func (); below.
58532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58533 <limits.h> exists even on freestanding compilers. */
58535 #ifdef __STDC__
58536 # include <limits.h>
58537 #else
58538 # include <assert.h>
58539 #endif
58541 #undef $ac_func
58543 /* Override any gcc2 internal prototype to avoid an error. */
58544 #ifdef __cplusplus
58545 extern "C"
58547 #endif
58548 /* We use char because int might match the return type of a gcc2
58549 builtin and then its argument prototype would still apply. */
58550 char $ac_func ();
58551 /* The GNU C library defines this for functions which it implements
58552 to always fail with ENOSYS. Some functions are actually named
58553 something starting with __ and the normal name is an alias. */
58554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58555 choke me
58556 #else
58557 char (*f) () = $ac_func;
58558 #endif
58559 #ifdef __cplusplus
58561 #endif
58564 main ()
58566 return f != $ac_func;
58568 return 0;
58570 _ACEOF
58571 rm -f conftest.$ac_objext conftest$ac_exeext
58572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58573 (eval $ac_link) 2>conftest.er1
58574 ac_status=$?
58575 grep -v '^ *+' conftest.er1 >conftest.err
58576 rm -f conftest.er1
58577 cat conftest.err >&5
58578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58579 (exit $ac_status); } &&
58580 { ac_try='test -z "$ac_c_werror_flag"
58581 || test ! -s conftest.err'
58582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58583 (eval $ac_try) 2>&5
58584 ac_status=$?
58585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58586 (exit $ac_status); }; } &&
58587 { ac_try='test -s conftest$ac_exeext'
58588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58589 (eval $ac_try) 2>&5
58590 ac_status=$?
58591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58592 (exit $ac_status); }; }; then
58593 eval "$as_ac_var=yes"
58594 else
58595 echo "$as_me: failed program was:" >&5
58596 sed 's/^/| /' conftest.$ac_ext >&5
58598 eval "$as_ac_var=no"
58600 rm -f conftest.err conftest.$ac_objext \
58601 conftest$ac_exeext conftest.$ac_ext
58603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58605 if test `eval echo '${'$as_ac_var'}'` = yes; then
58606 cat >>confdefs.h <<_ACEOF
58607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58608 _ACEOF
58611 done
58618 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
58619 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
58620 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
58621 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
58622 echo $ECHO_N "(cached) $ECHO_C" >&6
58623 else
58627 ac_ext=cc
58628 ac_cpp='$CXXCPP $CPPFLAGS'
58629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58633 cat >conftest.$ac_ext <<_ACEOF
58634 /* confdefs.h. */
58635 _ACEOF
58636 cat confdefs.h >>conftest.$ac_ext
58637 cat >>conftest.$ac_ext <<_ACEOF
58638 /* end confdefs.h. */
58639 #include <math.h>
58641 main ()
58643 hypotf(0, 0);
58645 return 0;
58647 _ACEOF
58648 rm -f conftest.$ac_objext
58649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58650 (eval $ac_compile) 2>conftest.er1
58651 ac_status=$?
58652 grep -v '^ *+' conftest.er1 >conftest.err
58653 rm -f conftest.er1
58654 cat conftest.err >&5
58655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58656 (exit $ac_status); } &&
58657 { ac_try='test -z "$ac_cxx_werror_flag"
58658 || test ! -s conftest.err'
58659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58660 (eval $ac_try) 2>&5
58661 ac_status=$?
58662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58663 (exit $ac_status); }; } &&
58664 { ac_try='test -s conftest.$ac_objext'
58665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666 (eval $ac_try) 2>&5
58667 ac_status=$?
58668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669 (exit $ac_status); }; }; then
58670 glibcxx_cv_func_hypotf_use=yes
58671 else
58672 echo "$as_me: failed program was:" >&5
58673 sed 's/^/| /' conftest.$ac_ext >&5
58675 glibcxx_cv_func_hypotf_use=no
58677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58678 ac_ext=c
58679 ac_cpp='$CPP $CPPFLAGS'
58680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
58689 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
58691 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
58693 for ac_func in hypotf
58695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58696 echo "$as_me:$LINENO: checking for $ac_func" >&5
58697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58698 if eval "test \"\${$as_ac_var+set}\" = set"; then
58699 echo $ECHO_N "(cached) $ECHO_C" >&6
58700 else
58701 if test x$gcc_no_link = xyes; then
58702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58704 { (exit 1); exit 1; }; }
58706 cat >conftest.$ac_ext <<_ACEOF
58707 /* confdefs.h. */
58708 _ACEOF
58709 cat confdefs.h >>conftest.$ac_ext
58710 cat >>conftest.$ac_ext <<_ACEOF
58711 /* end confdefs.h. */
58712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58714 #define $ac_func innocuous_$ac_func
58716 /* System header to define __stub macros and hopefully few prototypes,
58717 which can conflict with char $ac_func (); below.
58718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58719 <limits.h> exists even on freestanding compilers. */
58721 #ifdef __STDC__
58722 # include <limits.h>
58723 #else
58724 # include <assert.h>
58725 #endif
58727 #undef $ac_func
58729 /* Override any gcc2 internal prototype to avoid an error. */
58730 #ifdef __cplusplus
58731 extern "C"
58733 #endif
58734 /* We use char because int might match the return type of a gcc2
58735 builtin and then its argument prototype would still apply. */
58736 char $ac_func ();
58737 /* The GNU C library defines this for functions which it implements
58738 to always fail with ENOSYS. Some functions are actually named
58739 something starting with __ and the normal name is an alias. */
58740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58741 choke me
58742 #else
58743 char (*f) () = $ac_func;
58744 #endif
58745 #ifdef __cplusplus
58747 #endif
58750 main ()
58752 return f != $ac_func;
58754 return 0;
58756 _ACEOF
58757 rm -f conftest.$ac_objext conftest$ac_exeext
58758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58759 (eval $ac_link) 2>conftest.er1
58760 ac_status=$?
58761 grep -v '^ *+' conftest.er1 >conftest.err
58762 rm -f conftest.er1
58763 cat conftest.err >&5
58764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58765 (exit $ac_status); } &&
58766 { ac_try='test -z "$ac_c_werror_flag"
58767 || test ! -s conftest.err'
58768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58769 (eval $ac_try) 2>&5
58770 ac_status=$?
58771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58772 (exit $ac_status); }; } &&
58773 { ac_try='test -s conftest$ac_exeext'
58774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58775 (eval $ac_try) 2>&5
58776 ac_status=$?
58777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778 (exit $ac_status); }; }; then
58779 eval "$as_ac_var=yes"
58780 else
58781 echo "$as_me: failed program was:" >&5
58782 sed 's/^/| /' conftest.$ac_ext >&5
58784 eval "$as_ac_var=no"
58786 rm -f conftest.err conftest.$ac_objext \
58787 conftest$ac_exeext conftest.$ac_ext
58789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58791 if test `eval echo '${'$as_ac_var'}'` = yes; then
58792 cat >>confdefs.h <<_ACEOF
58793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58794 _ACEOF
58797 done
58799 else
58801 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
58802 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
58803 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58804 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
58805 echo $ECHO_N "(cached) $ECHO_C" >&6
58806 else
58810 ac_ext=cc
58811 ac_cpp='$CXXCPP $CPPFLAGS'
58812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58816 cat >conftest.$ac_ext <<_ACEOF
58817 /* confdefs.h. */
58818 _ACEOF
58819 cat confdefs.h >>conftest.$ac_ext
58820 cat >>conftest.$ac_ext <<_ACEOF
58821 /* end confdefs.h. */
58822 #include <math.h>
58824 main ()
58826 _hypotf(0, 0);
58828 return 0;
58830 _ACEOF
58831 rm -f conftest.$ac_objext
58832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58833 (eval $ac_compile) 2>conftest.er1
58834 ac_status=$?
58835 grep -v '^ *+' conftest.er1 >conftest.err
58836 rm -f conftest.er1
58837 cat conftest.err >&5
58838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58839 (exit $ac_status); } &&
58840 { ac_try='test -z "$ac_cxx_werror_flag"
58841 || test ! -s conftest.err'
58842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58843 (eval $ac_try) 2>&5
58844 ac_status=$?
58845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58846 (exit $ac_status); }; } &&
58847 { ac_try='test -s conftest.$ac_objext'
58848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58849 (eval $ac_try) 2>&5
58850 ac_status=$?
58851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58852 (exit $ac_status); }; }; then
58853 glibcxx_cv_func__hypotf_use=yes
58854 else
58855 echo "$as_me: failed program was:" >&5
58856 sed 's/^/| /' conftest.$ac_ext >&5
58858 glibcxx_cv_func__hypotf_use=no
58860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58861 ac_ext=c
58862 ac_cpp='$CPP $CPPFLAGS'
58863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
58872 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
58874 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58876 for ac_func in _hypotf
58878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58879 echo "$as_me:$LINENO: checking for $ac_func" >&5
58880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58881 if eval "test \"\${$as_ac_var+set}\" = set"; then
58882 echo $ECHO_N "(cached) $ECHO_C" >&6
58883 else
58884 if test x$gcc_no_link = xyes; then
58885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58887 { (exit 1); exit 1; }; }
58889 cat >conftest.$ac_ext <<_ACEOF
58890 /* confdefs.h. */
58891 _ACEOF
58892 cat confdefs.h >>conftest.$ac_ext
58893 cat >>conftest.$ac_ext <<_ACEOF
58894 /* end confdefs.h. */
58895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58897 #define $ac_func innocuous_$ac_func
58899 /* System header to define __stub macros and hopefully few prototypes,
58900 which can conflict with char $ac_func (); below.
58901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58902 <limits.h> exists even on freestanding compilers. */
58904 #ifdef __STDC__
58905 # include <limits.h>
58906 #else
58907 # include <assert.h>
58908 #endif
58910 #undef $ac_func
58912 /* Override any gcc2 internal prototype to avoid an error. */
58913 #ifdef __cplusplus
58914 extern "C"
58916 #endif
58917 /* We use char because int might match the return type of a gcc2
58918 builtin and then its argument prototype would still apply. */
58919 char $ac_func ();
58920 /* The GNU C library defines this for functions which it implements
58921 to always fail with ENOSYS. Some functions are actually named
58922 something starting with __ and the normal name is an alias. */
58923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58924 choke me
58925 #else
58926 char (*f) () = $ac_func;
58927 #endif
58928 #ifdef __cplusplus
58930 #endif
58933 main ()
58935 return f != $ac_func;
58937 return 0;
58939 _ACEOF
58940 rm -f conftest.$ac_objext conftest$ac_exeext
58941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58942 (eval $ac_link) 2>conftest.er1
58943 ac_status=$?
58944 grep -v '^ *+' conftest.er1 >conftest.err
58945 rm -f conftest.er1
58946 cat conftest.err >&5
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); } &&
58949 { ac_try='test -z "$ac_c_werror_flag"
58950 || test ! -s conftest.err'
58951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58952 (eval $ac_try) 2>&5
58953 ac_status=$?
58954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58955 (exit $ac_status); }; } &&
58956 { ac_try='test -s conftest$ac_exeext'
58957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58958 (eval $ac_try) 2>&5
58959 ac_status=$?
58960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58961 (exit $ac_status); }; }; then
58962 eval "$as_ac_var=yes"
58963 else
58964 echo "$as_me: failed program was:" >&5
58965 sed 's/^/| /' conftest.$ac_ext >&5
58967 eval "$as_ac_var=no"
58969 rm -f conftest.err conftest.$ac_objext \
58970 conftest$ac_exeext conftest.$ac_ext
58972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58974 if test `eval echo '${'$as_ac_var'}'` = yes; then
58975 cat >>confdefs.h <<_ACEOF
58976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58977 _ACEOF
58980 done
58987 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
58988 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
58989 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58990 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
58991 echo $ECHO_N "(cached) $ECHO_C" >&6
58992 else
58996 ac_ext=cc
58997 ac_cpp='$CXXCPP $CPPFLAGS'
58998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59002 cat >conftest.$ac_ext <<_ACEOF
59003 /* confdefs.h. */
59004 _ACEOF
59005 cat confdefs.h >>conftest.$ac_ext
59006 cat >>conftest.$ac_ext <<_ACEOF
59007 /* end confdefs.h. */
59008 #include <math.h>
59010 main ()
59012 ldexpf(0, 0);
59014 return 0;
59016 _ACEOF
59017 rm -f conftest.$ac_objext
59018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59019 (eval $ac_compile) 2>conftest.er1
59020 ac_status=$?
59021 grep -v '^ *+' conftest.er1 >conftest.err
59022 rm -f conftest.er1
59023 cat conftest.err >&5
59024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59025 (exit $ac_status); } &&
59026 { ac_try='test -z "$ac_cxx_werror_flag"
59027 || test ! -s conftest.err'
59028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59029 (eval $ac_try) 2>&5
59030 ac_status=$?
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); }; } &&
59033 { ac_try='test -s conftest.$ac_objext'
59034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59035 (eval $ac_try) 2>&5
59036 ac_status=$?
59037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59038 (exit $ac_status); }; }; then
59039 glibcxx_cv_func_ldexpf_use=yes
59040 else
59041 echo "$as_me: failed program was:" >&5
59042 sed 's/^/| /' conftest.$ac_ext >&5
59044 glibcxx_cv_func_ldexpf_use=no
59046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59047 ac_ext=c
59048 ac_cpp='$CPP $CPPFLAGS'
59049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59058 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59060 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59062 for ac_func in ldexpf
59064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59065 echo "$as_me:$LINENO: checking for $ac_func" >&5
59066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59067 if eval "test \"\${$as_ac_var+set}\" = set"; then
59068 echo $ECHO_N "(cached) $ECHO_C" >&6
59069 else
59070 if test x$gcc_no_link = xyes; then
59071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59073 { (exit 1); exit 1; }; }
59075 cat >conftest.$ac_ext <<_ACEOF
59076 /* confdefs.h. */
59077 _ACEOF
59078 cat confdefs.h >>conftest.$ac_ext
59079 cat >>conftest.$ac_ext <<_ACEOF
59080 /* end confdefs.h. */
59081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59083 #define $ac_func innocuous_$ac_func
59085 /* System header to define __stub macros and hopefully few prototypes,
59086 which can conflict with char $ac_func (); below.
59087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59088 <limits.h> exists even on freestanding compilers. */
59090 #ifdef __STDC__
59091 # include <limits.h>
59092 #else
59093 # include <assert.h>
59094 #endif
59096 #undef $ac_func
59098 /* Override any gcc2 internal prototype to avoid an error. */
59099 #ifdef __cplusplus
59100 extern "C"
59102 #endif
59103 /* We use char because int might match the return type of a gcc2
59104 builtin and then its argument prototype would still apply. */
59105 char $ac_func ();
59106 /* The GNU C library defines this for functions which it implements
59107 to always fail with ENOSYS. Some functions are actually named
59108 something starting with __ and the normal name is an alias. */
59109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59110 choke me
59111 #else
59112 char (*f) () = $ac_func;
59113 #endif
59114 #ifdef __cplusplus
59116 #endif
59119 main ()
59121 return f != $ac_func;
59123 return 0;
59125 _ACEOF
59126 rm -f conftest.$ac_objext conftest$ac_exeext
59127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59128 (eval $ac_link) 2>conftest.er1
59129 ac_status=$?
59130 grep -v '^ *+' conftest.er1 >conftest.err
59131 rm -f conftest.er1
59132 cat conftest.err >&5
59133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59134 (exit $ac_status); } &&
59135 { ac_try='test -z "$ac_c_werror_flag"
59136 || test ! -s conftest.err'
59137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59138 (eval $ac_try) 2>&5
59139 ac_status=$?
59140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141 (exit $ac_status); }; } &&
59142 { ac_try='test -s conftest$ac_exeext'
59143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59144 (eval $ac_try) 2>&5
59145 ac_status=$?
59146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59147 (exit $ac_status); }; }; then
59148 eval "$as_ac_var=yes"
59149 else
59150 echo "$as_me: failed program was:" >&5
59151 sed 's/^/| /' conftest.$ac_ext >&5
59153 eval "$as_ac_var=no"
59155 rm -f conftest.err conftest.$ac_objext \
59156 conftest$ac_exeext conftest.$ac_ext
59158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59160 if test `eval echo '${'$as_ac_var'}'` = yes; then
59161 cat >>confdefs.h <<_ACEOF
59162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59163 _ACEOF
59166 done
59168 else
59170 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59171 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59172 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59173 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59174 echo $ECHO_N "(cached) $ECHO_C" >&6
59175 else
59179 ac_ext=cc
59180 ac_cpp='$CXXCPP $CPPFLAGS'
59181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185 cat >conftest.$ac_ext <<_ACEOF
59186 /* confdefs.h. */
59187 _ACEOF
59188 cat confdefs.h >>conftest.$ac_ext
59189 cat >>conftest.$ac_ext <<_ACEOF
59190 /* end confdefs.h. */
59191 #include <math.h>
59193 main ()
59195 _ldexpf(0, 0);
59197 return 0;
59199 _ACEOF
59200 rm -f conftest.$ac_objext
59201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59202 (eval $ac_compile) 2>conftest.er1
59203 ac_status=$?
59204 grep -v '^ *+' conftest.er1 >conftest.err
59205 rm -f conftest.er1
59206 cat conftest.err >&5
59207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59208 (exit $ac_status); } &&
59209 { ac_try='test -z "$ac_cxx_werror_flag"
59210 || test ! -s conftest.err'
59211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59212 (eval $ac_try) 2>&5
59213 ac_status=$?
59214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59215 (exit $ac_status); }; } &&
59216 { ac_try='test -s conftest.$ac_objext'
59217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59218 (eval $ac_try) 2>&5
59219 ac_status=$?
59220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59221 (exit $ac_status); }; }; then
59222 glibcxx_cv_func__ldexpf_use=yes
59223 else
59224 echo "$as_me: failed program was:" >&5
59225 sed 's/^/| /' conftest.$ac_ext >&5
59227 glibcxx_cv_func__ldexpf_use=no
59229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59230 ac_ext=c
59231 ac_cpp='$CPP $CPPFLAGS'
59232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
59241 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
59243 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59245 for ac_func in _ldexpf
59247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59248 echo "$as_me:$LINENO: checking for $ac_func" >&5
59249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59250 if eval "test \"\${$as_ac_var+set}\" = set"; then
59251 echo $ECHO_N "(cached) $ECHO_C" >&6
59252 else
59253 if test x$gcc_no_link = xyes; then
59254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59256 { (exit 1); exit 1; }; }
59258 cat >conftest.$ac_ext <<_ACEOF
59259 /* confdefs.h. */
59260 _ACEOF
59261 cat confdefs.h >>conftest.$ac_ext
59262 cat >>conftest.$ac_ext <<_ACEOF
59263 /* end confdefs.h. */
59264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59266 #define $ac_func innocuous_$ac_func
59268 /* System header to define __stub macros and hopefully few prototypes,
59269 which can conflict with char $ac_func (); below.
59270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59271 <limits.h> exists even on freestanding compilers. */
59273 #ifdef __STDC__
59274 # include <limits.h>
59275 #else
59276 # include <assert.h>
59277 #endif
59279 #undef $ac_func
59281 /* Override any gcc2 internal prototype to avoid an error. */
59282 #ifdef __cplusplus
59283 extern "C"
59285 #endif
59286 /* We use char because int might match the return type of a gcc2
59287 builtin and then its argument prototype would still apply. */
59288 char $ac_func ();
59289 /* The GNU C library defines this for functions which it implements
59290 to always fail with ENOSYS. Some functions are actually named
59291 something starting with __ and the normal name is an alias. */
59292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59293 choke me
59294 #else
59295 char (*f) () = $ac_func;
59296 #endif
59297 #ifdef __cplusplus
59299 #endif
59302 main ()
59304 return f != $ac_func;
59306 return 0;
59308 _ACEOF
59309 rm -f conftest.$ac_objext conftest$ac_exeext
59310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59311 (eval $ac_link) 2>conftest.er1
59312 ac_status=$?
59313 grep -v '^ *+' conftest.er1 >conftest.err
59314 rm -f conftest.er1
59315 cat conftest.err >&5
59316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59317 (exit $ac_status); } &&
59318 { ac_try='test -z "$ac_c_werror_flag"
59319 || test ! -s conftest.err'
59320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59321 (eval $ac_try) 2>&5
59322 ac_status=$?
59323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59324 (exit $ac_status); }; } &&
59325 { ac_try='test -s conftest$ac_exeext'
59326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59327 (eval $ac_try) 2>&5
59328 ac_status=$?
59329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59330 (exit $ac_status); }; }; then
59331 eval "$as_ac_var=yes"
59332 else
59333 echo "$as_me: failed program was:" >&5
59334 sed 's/^/| /' conftest.$ac_ext >&5
59336 eval "$as_ac_var=no"
59338 rm -f conftest.err conftest.$ac_objext \
59339 conftest$ac_exeext conftest.$ac_ext
59341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59343 if test `eval echo '${'$as_ac_var'}'` = yes; then
59344 cat >>confdefs.h <<_ACEOF
59345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59346 _ACEOF
59349 done
59356 echo "$as_me:$LINENO: checking for logf declaration" >&5
59357 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
59358 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59359 if test "${glibcxx_cv_func_logf_use+set}" = set; then
59360 echo $ECHO_N "(cached) $ECHO_C" >&6
59361 else
59365 ac_ext=cc
59366 ac_cpp='$CXXCPP $CPPFLAGS'
59367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59371 cat >conftest.$ac_ext <<_ACEOF
59372 /* confdefs.h. */
59373 _ACEOF
59374 cat confdefs.h >>conftest.$ac_ext
59375 cat >>conftest.$ac_ext <<_ACEOF
59376 /* end confdefs.h. */
59377 #include <math.h>
59378 #ifdef HAVE_IEEEFP_H
59379 #include <ieeefp.h>
59380 #endif
59383 main ()
59385 logf(0);
59387 return 0;
59389 _ACEOF
59390 rm -f conftest.$ac_objext
59391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59392 (eval $ac_compile) 2>conftest.er1
59393 ac_status=$?
59394 grep -v '^ *+' conftest.er1 >conftest.err
59395 rm -f conftest.er1
59396 cat conftest.err >&5
59397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59398 (exit $ac_status); } &&
59399 { ac_try='test -z "$ac_cxx_werror_flag"
59400 || test ! -s conftest.err'
59401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59402 (eval $ac_try) 2>&5
59403 ac_status=$?
59404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59405 (exit $ac_status); }; } &&
59406 { ac_try='test -s conftest.$ac_objext'
59407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59408 (eval $ac_try) 2>&5
59409 ac_status=$?
59410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59411 (exit $ac_status); }; }; then
59412 glibcxx_cv_func_logf_use=yes
59413 else
59414 echo "$as_me: failed program was:" >&5
59415 sed 's/^/| /' conftest.$ac_ext >&5
59417 glibcxx_cv_func_logf_use=no
59419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59420 ac_ext=c
59421 ac_cpp='$CPP $CPPFLAGS'
59422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
59431 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
59433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59435 for ac_func in logf
59437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59438 echo "$as_me:$LINENO: checking for $ac_func" >&5
59439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59440 if eval "test \"\${$as_ac_var+set}\" = set"; then
59441 echo $ECHO_N "(cached) $ECHO_C" >&6
59442 else
59443 if test x$gcc_no_link = xyes; then
59444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59446 { (exit 1); exit 1; }; }
59448 cat >conftest.$ac_ext <<_ACEOF
59449 /* confdefs.h. */
59450 _ACEOF
59451 cat confdefs.h >>conftest.$ac_ext
59452 cat >>conftest.$ac_ext <<_ACEOF
59453 /* end confdefs.h. */
59454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59456 #define $ac_func innocuous_$ac_func
59458 /* System header to define __stub macros and hopefully few prototypes,
59459 which can conflict with char $ac_func (); below.
59460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59461 <limits.h> exists even on freestanding compilers. */
59463 #ifdef __STDC__
59464 # include <limits.h>
59465 #else
59466 # include <assert.h>
59467 #endif
59469 #undef $ac_func
59471 /* Override any gcc2 internal prototype to avoid an error. */
59472 #ifdef __cplusplus
59473 extern "C"
59475 #endif
59476 /* We use char because int might match the return type of a gcc2
59477 builtin and then its argument prototype would still apply. */
59478 char $ac_func ();
59479 /* The GNU C library defines this for functions which it implements
59480 to always fail with ENOSYS. Some functions are actually named
59481 something starting with __ and the normal name is an alias. */
59482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59483 choke me
59484 #else
59485 char (*f) () = $ac_func;
59486 #endif
59487 #ifdef __cplusplus
59489 #endif
59492 main ()
59494 return f != $ac_func;
59496 return 0;
59498 _ACEOF
59499 rm -f conftest.$ac_objext conftest$ac_exeext
59500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59501 (eval $ac_link) 2>conftest.er1
59502 ac_status=$?
59503 grep -v '^ *+' conftest.er1 >conftest.err
59504 rm -f conftest.er1
59505 cat conftest.err >&5
59506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59507 (exit $ac_status); } &&
59508 { ac_try='test -z "$ac_c_werror_flag"
59509 || test ! -s conftest.err'
59510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59511 (eval $ac_try) 2>&5
59512 ac_status=$?
59513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59514 (exit $ac_status); }; } &&
59515 { ac_try='test -s conftest$ac_exeext'
59516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59517 (eval $ac_try) 2>&5
59518 ac_status=$?
59519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59520 (exit $ac_status); }; }; then
59521 eval "$as_ac_var=yes"
59522 else
59523 echo "$as_me: failed program was:" >&5
59524 sed 's/^/| /' conftest.$ac_ext >&5
59526 eval "$as_ac_var=no"
59528 rm -f conftest.err conftest.$ac_objext \
59529 conftest$ac_exeext conftest.$ac_ext
59531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59533 if test `eval echo '${'$as_ac_var'}'` = yes; then
59534 cat >>confdefs.h <<_ACEOF
59535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59536 _ACEOF
59539 done
59541 else
59543 echo "$as_me:$LINENO: checking for _logf declaration" >&5
59544 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
59545 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59546 if test "${glibcxx_cv_func__logf_use+set}" = set; then
59547 echo $ECHO_N "(cached) $ECHO_C" >&6
59548 else
59552 ac_ext=cc
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59558 cat >conftest.$ac_ext <<_ACEOF
59559 /* confdefs.h. */
59560 _ACEOF
59561 cat confdefs.h >>conftest.$ac_ext
59562 cat >>conftest.$ac_ext <<_ACEOF
59563 /* end confdefs.h. */
59564 #include <math.h>
59565 #ifdef HAVE_IEEEFP_H
59566 #include <ieeefp.h>
59567 #endif
59570 main ()
59572 _logf(0);
59574 return 0;
59576 _ACEOF
59577 rm -f conftest.$ac_objext
59578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59579 (eval $ac_compile) 2>conftest.er1
59580 ac_status=$?
59581 grep -v '^ *+' conftest.er1 >conftest.err
59582 rm -f conftest.er1
59583 cat conftest.err >&5
59584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59585 (exit $ac_status); } &&
59586 { ac_try='test -z "$ac_cxx_werror_flag"
59587 || test ! -s conftest.err'
59588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59589 (eval $ac_try) 2>&5
59590 ac_status=$?
59591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592 (exit $ac_status); }; } &&
59593 { ac_try='test -s conftest.$ac_objext'
59594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59595 (eval $ac_try) 2>&5
59596 ac_status=$?
59597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59598 (exit $ac_status); }; }; then
59599 glibcxx_cv_func__logf_use=yes
59600 else
59601 echo "$as_me: failed program was:" >&5
59602 sed 's/^/| /' conftest.$ac_ext >&5
59604 glibcxx_cv_func__logf_use=no
59606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59607 ac_ext=c
59608 ac_cpp='$CPP $CPPFLAGS'
59609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
59618 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
59620 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59622 for ac_func in _logf
59624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59625 echo "$as_me:$LINENO: checking for $ac_func" >&5
59626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59627 if eval "test \"\${$as_ac_var+set}\" = set"; then
59628 echo $ECHO_N "(cached) $ECHO_C" >&6
59629 else
59630 if test x$gcc_no_link = xyes; then
59631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59633 { (exit 1); exit 1; }; }
59635 cat >conftest.$ac_ext <<_ACEOF
59636 /* confdefs.h. */
59637 _ACEOF
59638 cat confdefs.h >>conftest.$ac_ext
59639 cat >>conftest.$ac_ext <<_ACEOF
59640 /* end confdefs.h. */
59641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59643 #define $ac_func innocuous_$ac_func
59645 /* System header to define __stub macros and hopefully few prototypes,
59646 which can conflict with char $ac_func (); below.
59647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59648 <limits.h> exists even on freestanding compilers. */
59650 #ifdef __STDC__
59651 # include <limits.h>
59652 #else
59653 # include <assert.h>
59654 #endif
59656 #undef $ac_func
59658 /* Override any gcc2 internal prototype to avoid an error. */
59659 #ifdef __cplusplus
59660 extern "C"
59662 #endif
59663 /* We use char because int might match the return type of a gcc2
59664 builtin and then its argument prototype would still apply. */
59665 char $ac_func ();
59666 /* The GNU C library defines this for functions which it implements
59667 to always fail with ENOSYS. Some functions are actually named
59668 something starting with __ and the normal name is an alias. */
59669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59670 choke me
59671 #else
59672 char (*f) () = $ac_func;
59673 #endif
59674 #ifdef __cplusplus
59676 #endif
59679 main ()
59681 return f != $ac_func;
59683 return 0;
59685 _ACEOF
59686 rm -f conftest.$ac_objext conftest$ac_exeext
59687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59688 (eval $ac_link) 2>conftest.er1
59689 ac_status=$?
59690 grep -v '^ *+' conftest.er1 >conftest.err
59691 rm -f conftest.er1
59692 cat conftest.err >&5
59693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59694 (exit $ac_status); } &&
59695 { ac_try='test -z "$ac_c_werror_flag"
59696 || test ! -s conftest.err'
59697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59698 (eval $ac_try) 2>&5
59699 ac_status=$?
59700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701 (exit $ac_status); }; } &&
59702 { ac_try='test -s conftest$ac_exeext'
59703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59704 (eval $ac_try) 2>&5
59705 ac_status=$?
59706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59707 (exit $ac_status); }; }; then
59708 eval "$as_ac_var=yes"
59709 else
59710 echo "$as_me: failed program was:" >&5
59711 sed 's/^/| /' conftest.$ac_ext >&5
59713 eval "$as_ac_var=no"
59715 rm -f conftest.err conftest.$ac_objext \
59716 conftest$ac_exeext conftest.$ac_ext
59718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59720 if test `eval echo '${'$as_ac_var'}'` = yes; then
59721 cat >>confdefs.h <<_ACEOF
59722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59723 _ACEOF
59726 done
59733 echo "$as_me:$LINENO: checking for log10f declaration" >&5
59734 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
59735 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59736 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
59737 echo $ECHO_N "(cached) $ECHO_C" >&6
59738 else
59742 ac_ext=cc
59743 ac_cpp='$CXXCPP $CPPFLAGS'
59744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59748 cat >conftest.$ac_ext <<_ACEOF
59749 /* confdefs.h. */
59750 _ACEOF
59751 cat confdefs.h >>conftest.$ac_ext
59752 cat >>conftest.$ac_ext <<_ACEOF
59753 /* end confdefs.h. */
59754 #include <math.h>
59755 #ifdef HAVE_IEEEFP_H
59756 #include <ieeefp.h>
59757 #endif
59760 main ()
59762 log10f(0);
59764 return 0;
59766 _ACEOF
59767 rm -f conftest.$ac_objext
59768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59769 (eval $ac_compile) 2>conftest.er1
59770 ac_status=$?
59771 grep -v '^ *+' conftest.er1 >conftest.err
59772 rm -f conftest.er1
59773 cat conftest.err >&5
59774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59775 (exit $ac_status); } &&
59776 { ac_try='test -z "$ac_cxx_werror_flag"
59777 || test ! -s conftest.err'
59778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59779 (eval $ac_try) 2>&5
59780 ac_status=$?
59781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59782 (exit $ac_status); }; } &&
59783 { ac_try='test -s conftest.$ac_objext'
59784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59785 (eval $ac_try) 2>&5
59786 ac_status=$?
59787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59788 (exit $ac_status); }; }; then
59789 glibcxx_cv_func_log10f_use=yes
59790 else
59791 echo "$as_me: failed program was:" >&5
59792 sed 's/^/| /' conftest.$ac_ext >&5
59794 glibcxx_cv_func_log10f_use=no
59796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59797 ac_ext=c
59798 ac_cpp='$CPP $CPPFLAGS'
59799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
59808 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
59810 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59812 for ac_func in log10f
59814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59815 echo "$as_me:$LINENO: checking for $ac_func" >&5
59816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59817 if eval "test \"\${$as_ac_var+set}\" = set"; then
59818 echo $ECHO_N "(cached) $ECHO_C" >&6
59819 else
59820 if test x$gcc_no_link = xyes; then
59821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59823 { (exit 1); exit 1; }; }
59825 cat >conftest.$ac_ext <<_ACEOF
59826 /* confdefs.h. */
59827 _ACEOF
59828 cat confdefs.h >>conftest.$ac_ext
59829 cat >>conftest.$ac_ext <<_ACEOF
59830 /* end confdefs.h. */
59831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59833 #define $ac_func innocuous_$ac_func
59835 /* System header to define __stub macros and hopefully few prototypes,
59836 which can conflict with char $ac_func (); below.
59837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59838 <limits.h> exists even on freestanding compilers. */
59840 #ifdef __STDC__
59841 # include <limits.h>
59842 #else
59843 # include <assert.h>
59844 #endif
59846 #undef $ac_func
59848 /* Override any gcc2 internal prototype to avoid an error. */
59849 #ifdef __cplusplus
59850 extern "C"
59852 #endif
59853 /* We use char because int might match the return type of a gcc2
59854 builtin and then its argument prototype would still apply. */
59855 char $ac_func ();
59856 /* The GNU C library defines this for functions which it implements
59857 to always fail with ENOSYS. Some functions are actually named
59858 something starting with __ and the normal name is an alias. */
59859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59860 choke me
59861 #else
59862 char (*f) () = $ac_func;
59863 #endif
59864 #ifdef __cplusplus
59866 #endif
59869 main ()
59871 return f != $ac_func;
59873 return 0;
59875 _ACEOF
59876 rm -f conftest.$ac_objext conftest$ac_exeext
59877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59878 (eval $ac_link) 2>conftest.er1
59879 ac_status=$?
59880 grep -v '^ *+' conftest.er1 >conftest.err
59881 rm -f conftest.er1
59882 cat conftest.err >&5
59883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59884 (exit $ac_status); } &&
59885 { ac_try='test -z "$ac_c_werror_flag"
59886 || test ! -s conftest.err'
59887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59888 (eval $ac_try) 2>&5
59889 ac_status=$?
59890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59891 (exit $ac_status); }; } &&
59892 { ac_try='test -s conftest$ac_exeext'
59893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59894 (eval $ac_try) 2>&5
59895 ac_status=$?
59896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59897 (exit $ac_status); }; }; then
59898 eval "$as_ac_var=yes"
59899 else
59900 echo "$as_me: failed program was:" >&5
59901 sed 's/^/| /' conftest.$ac_ext >&5
59903 eval "$as_ac_var=no"
59905 rm -f conftest.err conftest.$ac_objext \
59906 conftest$ac_exeext conftest.$ac_ext
59908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59910 if test `eval echo '${'$as_ac_var'}'` = yes; then
59911 cat >>confdefs.h <<_ACEOF
59912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59913 _ACEOF
59916 done
59918 else
59920 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
59921 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
59922 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59923 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
59924 echo $ECHO_N "(cached) $ECHO_C" >&6
59925 else
59929 ac_ext=cc
59930 ac_cpp='$CXXCPP $CPPFLAGS'
59931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59935 cat >conftest.$ac_ext <<_ACEOF
59936 /* confdefs.h. */
59937 _ACEOF
59938 cat confdefs.h >>conftest.$ac_ext
59939 cat >>conftest.$ac_ext <<_ACEOF
59940 /* end confdefs.h. */
59941 #include <math.h>
59942 #ifdef HAVE_IEEEFP_H
59943 #include <ieeefp.h>
59944 #endif
59947 main ()
59949 _log10f(0);
59951 return 0;
59953 _ACEOF
59954 rm -f conftest.$ac_objext
59955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59956 (eval $ac_compile) 2>conftest.er1
59957 ac_status=$?
59958 grep -v '^ *+' conftest.er1 >conftest.err
59959 rm -f conftest.er1
59960 cat conftest.err >&5
59961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59962 (exit $ac_status); } &&
59963 { ac_try='test -z "$ac_cxx_werror_flag"
59964 || test ! -s conftest.err'
59965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59966 (eval $ac_try) 2>&5
59967 ac_status=$?
59968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59969 (exit $ac_status); }; } &&
59970 { ac_try='test -s conftest.$ac_objext'
59971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59972 (eval $ac_try) 2>&5
59973 ac_status=$?
59974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975 (exit $ac_status); }; }; then
59976 glibcxx_cv_func__log10f_use=yes
59977 else
59978 echo "$as_me: failed program was:" >&5
59979 sed 's/^/| /' conftest.$ac_ext >&5
59981 glibcxx_cv_func__log10f_use=no
59983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59984 ac_ext=c
59985 ac_cpp='$CPP $CPPFLAGS'
59986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
59995 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
59997 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59999 for ac_func in _log10f
60001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60002 echo "$as_me:$LINENO: checking for $ac_func" >&5
60003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60004 if eval "test \"\${$as_ac_var+set}\" = set"; then
60005 echo $ECHO_N "(cached) $ECHO_C" >&6
60006 else
60007 if test x$gcc_no_link = xyes; then
60008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60010 { (exit 1); exit 1; }; }
60012 cat >conftest.$ac_ext <<_ACEOF
60013 /* confdefs.h. */
60014 _ACEOF
60015 cat confdefs.h >>conftest.$ac_ext
60016 cat >>conftest.$ac_ext <<_ACEOF
60017 /* end confdefs.h. */
60018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60020 #define $ac_func innocuous_$ac_func
60022 /* System header to define __stub macros and hopefully few prototypes,
60023 which can conflict with char $ac_func (); below.
60024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60025 <limits.h> exists even on freestanding compilers. */
60027 #ifdef __STDC__
60028 # include <limits.h>
60029 #else
60030 # include <assert.h>
60031 #endif
60033 #undef $ac_func
60035 /* Override any gcc2 internal prototype to avoid an error. */
60036 #ifdef __cplusplus
60037 extern "C"
60039 #endif
60040 /* We use char because int might match the return type of a gcc2
60041 builtin and then its argument prototype would still apply. */
60042 char $ac_func ();
60043 /* The GNU C library defines this for functions which it implements
60044 to always fail with ENOSYS. Some functions are actually named
60045 something starting with __ and the normal name is an alias. */
60046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60047 choke me
60048 #else
60049 char (*f) () = $ac_func;
60050 #endif
60051 #ifdef __cplusplus
60053 #endif
60056 main ()
60058 return f != $ac_func;
60060 return 0;
60062 _ACEOF
60063 rm -f conftest.$ac_objext conftest$ac_exeext
60064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60065 (eval $ac_link) 2>conftest.er1
60066 ac_status=$?
60067 grep -v '^ *+' conftest.er1 >conftest.err
60068 rm -f conftest.er1
60069 cat conftest.err >&5
60070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071 (exit $ac_status); } &&
60072 { ac_try='test -z "$ac_c_werror_flag"
60073 || test ! -s conftest.err'
60074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60075 (eval $ac_try) 2>&5
60076 ac_status=$?
60077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60078 (exit $ac_status); }; } &&
60079 { ac_try='test -s conftest$ac_exeext'
60080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60081 (eval $ac_try) 2>&5
60082 ac_status=$?
60083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60084 (exit $ac_status); }; }; then
60085 eval "$as_ac_var=yes"
60086 else
60087 echo "$as_me: failed program was:" >&5
60088 sed 's/^/| /' conftest.$ac_ext >&5
60090 eval "$as_ac_var=no"
60092 rm -f conftest.err conftest.$ac_objext \
60093 conftest$ac_exeext conftest.$ac_ext
60095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60097 if test `eval echo '${'$as_ac_var'}'` = yes; then
60098 cat >>confdefs.h <<_ACEOF
60099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60100 _ACEOF
60103 done
60110 echo "$as_me:$LINENO: checking for modff declaration" >&5
60111 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60112 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60113 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60114 echo $ECHO_N "(cached) $ECHO_C" >&6
60115 else
60119 ac_ext=cc
60120 ac_cpp='$CXXCPP $CPPFLAGS'
60121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60125 cat >conftest.$ac_ext <<_ACEOF
60126 /* confdefs.h. */
60127 _ACEOF
60128 cat confdefs.h >>conftest.$ac_ext
60129 cat >>conftest.$ac_ext <<_ACEOF
60130 /* end confdefs.h. */
60131 #include <math.h>
60133 main ()
60135 modff(0, 0);
60137 return 0;
60139 _ACEOF
60140 rm -f conftest.$ac_objext
60141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60142 (eval $ac_compile) 2>conftest.er1
60143 ac_status=$?
60144 grep -v '^ *+' conftest.er1 >conftest.err
60145 rm -f conftest.er1
60146 cat conftest.err >&5
60147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60148 (exit $ac_status); } &&
60149 { ac_try='test -z "$ac_cxx_werror_flag"
60150 || test ! -s conftest.err'
60151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60152 (eval $ac_try) 2>&5
60153 ac_status=$?
60154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155 (exit $ac_status); }; } &&
60156 { ac_try='test -s conftest.$ac_objext'
60157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60158 (eval $ac_try) 2>&5
60159 ac_status=$?
60160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60161 (exit $ac_status); }; }; then
60162 glibcxx_cv_func_modff_use=yes
60163 else
60164 echo "$as_me: failed program was:" >&5
60165 sed 's/^/| /' conftest.$ac_ext >&5
60167 glibcxx_cv_func_modff_use=no
60169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60170 ac_ext=c
60171 ac_cpp='$CPP $CPPFLAGS'
60172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60181 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60183 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60185 for ac_func in modff
60187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60188 echo "$as_me:$LINENO: checking for $ac_func" >&5
60189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60190 if eval "test \"\${$as_ac_var+set}\" = set"; then
60191 echo $ECHO_N "(cached) $ECHO_C" >&6
60192 else
60193 if test x$gcc_no_link = xyes; then
60194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60196 { (exit 1); exit 1; }; }
60198 cat >conftest.$ac_ext <<_ACEOF
60199 /* confdefs.h. */
60200 _ACEOF
60201 cat confdefs.h >>conftest.$ac_ext
60202 cat >>conftest.$ac_ext <<_ACEOF
60203 /* end confdefs.h. */
60204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60206 #define $ac_func innocuous_$ac_func
60208 /* System header to define __stub macros and hopefully few prototypes,
60209 which can conflict with char $ac_func (); below.
60210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60211 <limits.h> exists even on freestanding compilers. */
60213 #ifdef __STDC__
60214 # include <limits.h>
60215 #else
60216 # include <assert.h>
60217 #endif
60219 #undef $ac_func
60221 /* Override any gcc2 internal prototype to avoid an error. */
60222 #ifdef __cplusplus
60223 extern "C"
60225 #endif
60226 /* We use char because int might match the return type of a gcc2
60227 builtin and then its argument prototype would still apply. */
60228 char $ac_func ();
60229 /* The GNU C library defines this for functions which it implements
60230 to always fail with ENOSYS. Some functions are actually named
60231 something starting with __ and the normal name is an alias. */
60232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60233 choke me
60234 #else
60235 char (*f) () = $ac_func;
60236 #endif
60237 #ifdef __cplusplus
60239 #endif
60242 main ()
60244 return f != $ac_func;
60246 return 0;
60248 _ACEOF
60249 rm -f conftest.$ac_objext conftest$ac_exeext
60250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60251 (eval $ac_link) 2>conftest.er1
60252 ac_status=$?
60253 grep -v '^ *+' conftest.er1 >conftest.err
60254 rm -f conftest.er1
60255 cat conftest.err >&5
60256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60257 (exit $ac_status); } &&
60258 { ac_try='test -z "$ac_c_werror_flag"
60259 || test ! -s conftest.err'
60260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60261 (eval $ac_try) 2>&5
60262 ac_status=$?
60263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60264 (exit $ac_status); }; } &&
60265 { ac_try='test -s conftest$ac_exeext'
60266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60267 (eval $ac_try) 2>&5
60268 ac_status=$?
60269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60270 (exit $ac_status); }; }; then
60271 eval "$as_ac_var=yes"
60272 else
60273 echo "$as_me: failed program was:" >&5
60274 sed 's/^/| /' conftest.$ac_ext >&5
60276 eval "$as_ac_var=no"
60278 rm -f conftest.err conftest.$ac_objext \
60279 conftest$ac_exeext conftest.$ac_ext
60281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60283 if test `eval echo '${'$as_ac_var'}'` = yes; then
60284 cat >>confdefs.h <<_ACEOF
60285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60286 _ACEOF
60289 done
60291 else
60293 echo "$as_me:$LINENO: checking for _modff declaration" >&5
60294 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
60295 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60296 if test "${glibcxx_cv_func__modff_use+set}" = set; then
60297 echo $ECHO_N "(cached) $ECHO_C" >&6
60298 else
60302 ac_ext=cc
60303 ac_cpp='$CXXCPP $CPPFLAGS'
60304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60308 cat >conftest.$ac_ext <<_ACEOF
60309 /* confdefs.h. */
60310 _ACEOF
60311 cat confdefs.h >>conftest.$ac_ext
60312 cat >>conftest.$ac_ext <<_ACEOF
60313 /* end confdefs.h. */
60314 #include <math.h>
60316 main ()
60318 _modff(0, 0);
60320 return 0;
60322 _ACEOF
60323 rm -f conftest.$ac_objext
60324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60325 (eval $ac_compile) 2>conftest.er1
60326 ac_status=$?
60327 grep -v '^ *+' conftest.er1 >conftest.err
60328 rm -f conftest.er1
60329 cat conftest.err >&5
60330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60331 (exit $ac_status); } &&
60332 { ac_try='test -z "$ac_cxx_werror_flag"
60333 || test ! -s conftest.err'
60334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60335 (eval $ac_try) 2>&5
60336 ac_status=$?
60337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60338 (exit $ac_status); }; } &&
60339 { ac_try='test -s conftest.$ac_objext'
60340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60341 (eval $ac_try) 2>&5
60342 ac_status=$?
60343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60344 (exit $ac_status); }; }; then
60345 glibcxx_cv_func__modff_use=yes
60346 else
60347 echo "$as_me: failed program was:" >&5
60348 sed 's/^/| /' conftest.$ac_ext >&5
60350 glibcxx_cv_func__modff_use=no
60352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60353 ac_ext=c
60354 ac_cpp='$CPP $CPPFLAGS'
60355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
60364 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
60366 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60368 for ac_func in _modff
60370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60371 echo "$as_me:$LINENO: checking for $ac_func" >&5
60372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60373 if eval "test \"\${$as_ac_var+set}\" = set"; then
60374 echo $ECHO_N "(cached) $ECHO_C" >&6
60375 else
60376 if test x$gcc_no_link = xyes; then
60377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60379 { (exit 1); exit 1; }; }
60381 cat >conftest.$ac_ext <<_ACEOF
60382 /* confdefs.h. */
60383 _ACEOF
60384 cat confdefs.h >>conftest.$ac_ext
60385 cat >>conftest.$ac_ext <<_ACEOF
60386 /* end confdefs.h. */
60387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60389 #define $ac_func innocuous_$ac_func
60391 /* System header to define __stub macros and hopefully few prototypes,
60392 which can conflict with char $ac_func (); below.
60393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60394 <limits.h> exists even on freestanding compilers. */
60396 #ifdef __STDC__
60397 # include <limits.h>
60398 #else
60399 # include <assert.h>
60400 #endif
60402 #undef $ac_func
60404 /* Override any gcc2 internal prototype to avoid an error. */
60405 #ifdef __cplusplus
60406 extern "C"
60408 #endif
60409 /* We use char because int might match the return type of a gcc2
60410 builtin and then its argument prototype would still apply. */
60411 char $ac_func ();
60412 /* The GNU C library defines this for functions which it implements
60413 to always fail with ENOSYS. Some functions are actually named
60414 something starting with __ and the normal name is an alias. */
60415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60416 choke me
60417 #else
60418 char (*f) () = $ac_func;
60419 #endif
60420 #ifdef __cplusplus
60422 #endif
60425 main ()
60427 return f != $ac_func;
60429 return 0;
60431 _ACEOF
60432 rm -f conftest.$ac_objext conftest$ac_exeext
60433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60434 (eval $ac_link) 2>conftest.er1
60435 ac_status=$?
60436 grep -v '^ *+' conftest.er1 >conftest.err
60437 rm -f conftest.er1
60438 cat conftest.err >&5
60439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60440 (exit $ac_status); } &&
60441 { ac_try='test -z "$ac_c_werror_flag"
60442 || test ! -s conftest.err'
60443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60444 (eval $ac_try) 2>&5
60445 ac_status=$?
60446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60447 (exit $ac_status); }; } &&
60448 { ac_try='test -s conftest$ac_exeext'
60449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60450 (eval $ac_try) 2>&5
60451 ac_status=$?
60452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60453 (exit $ac_status); }; }; then
60454 eval "$as_ac_var=yes"
60455 else
60456 echo "$as_me: failed program was:" >&5
60457 sed 's/^/| /' conftest.$ac_ext >&5
60459 eval "$as_ac_var=no"
60461 rm -f conftest.err conftest.$ac_objext \
60462 conftest$ac_exeext conftest.$ac_ext
60464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60466 if test `eval echo '${'$as_ac_var'}'` = yes; then
60467 cat >>confdefs.h <<_ACEOF
60468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60469 _ACEOF
60472 done
60479 echo "$as_me:$LINENO: checking for modf declaration" >&5
60480 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
60481 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60482 if test "${glibcxx_cv_func_modf_use+set}" = set; then
60483 echo $ECHO_N "(cached) $ECHO_C" >&6
60484 else
60488 ac_ext=cc
60489 ac_cpp='$CXXCPP $CPPFLAGS'
60490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60494 cat >conftest.$ac_ext <<_ACEOF
60495 /* confdefs.h. */
60496 _ACEOF
60497 cat confdefs.h >>conftest.$ac_ext
60498 cat >>conftest.$ac_ext <<_ACEOF
60499 /* end confdefs.h. */
60500 #include <math.h>
60502 main ()
60504 modf(0, 0);
60506 return 0;
60508 _ACEOF
60509 rm -f conftest.$ac_objext
60510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60511 (eval $ac_compile) 2>conftest.er1
60512 ac_status=$?
60513 grep -v '^ *+' conftest.er1 >conftest.err
60514 rm -f conftest.er1
60515 cat conftest.err >&5
60516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60517 (exit $ac_status); } &&
60518 { ac_try='test -z "$ac_cxx_werror_flag"
60519 || test ! -s conftest.err'
60520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60521 (eval $ac_try) 2>&5
60522 ac_status=$?
60523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60524 (exit $ac_status); }; } &&
60525 { ac_try='test -s conftest.$ac_objext'
60526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60527 (eval $ac_try) 2>&5
60528 ac_status=$?
60529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60530 (exit $ac_status); }; }; then
60531 glibcxx_cv_func_modf_use=yes
60532 else
60533 echo "$as_me: failed program was:" >&5
60534 sed 's/^/| /' conftest.$ac_ext >&5
60536 glibcxx_cv_func_modf_use=no
60538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60539 ac_ext=c
60540 ac_cpp='$CPP $CPPFLAGS'
60541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
60550 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
60552 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60554 for ac_func in modf
60556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60557 echo "$as_me:$LINENO: checking for $ac_func" >&5
60558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60559 if eval "test \"\${$as_ac_var+set}\" = set"; then
60560 echo $ECHO_N "(cached) $ECHO_C" >&6
60561 else
60562 if test x$gcc_no_link = xyes; then
60563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60565 { (exit 1); exit 1; }; }
60567 cat >conftest.$ac_ext <<_ACEOF
60568 /* confdefs.h. */
60569 _ACEOF
60570 cat confdefs.h >>conftest.$ac_ext
60571 cat >>conftest.$ac_ext <<_ACEOF
60572 /* end confdefs.h. */
60573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60575 #define $ac_func innocuous_$ac_func
60577 /* System header to define __stub macros and hopefully few prototypes,
60578 which can conflict with char $ac_func (); below.
60579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60580 <limits.h> exists even on freestanding compilers. */
60582 #ifdef __STDC__
60583 # include <limits.h>
60584 #else
60585 # include <assert.h>
60586 #endif
60588 #undef $ac_func
60590 /* Override any gcc2 internal prototype to avoid an error. */
60591 #ifdef __cplusplus
60592 extern "C"
60594 #endif
60595 /* We use char because int might match the return type of a gcc2
60596 builtin and then its argument prototype would still apply. */
60597 char $ac_func ();
60598 /* The GNU C library defines this for functions which it implements
60599 to always fail with ENOSYS. Some functions are actually named
60600 something starting with __ and the normal name is an alias. */
60601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60602 choke me
60603 #else
60604 char (*f) () = $ac_func;
60605 #endif
60606 #ifdef __cplusplus
60608 #endif
60611 main ()
60613 return f != $ac_func;
60615 return 0;
60617 _ACEOF
60618 rm -f conftest.$ac_objext conftest$ac_exeext
60619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60620 (eval $ac_link) 2>conftest.er1
60621 ac_status=$?
60622 grep -v '^ *+' conftest.er1 >conftest.err
60623 rm -f conftest.er1
60624 cat conftest.err >&5
60625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60626 (exit $ac_status); } &&
60627 { ac_try='test -z "$ac_c_werror_flag"
60628 || test ! -s conftest.err'
60629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60630 (eval $ac_try) 2>&5
60631 ac_status=$?
60632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60633 (exit $ac_status); }; } &&
60634 { ac_try='test -s conftest$ac_exeext'
60635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60636 (eval $ac_try) 2>&5
60637 ac_status=$?
60638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639 (exit $ac_status); }; }; then
60640 eval "$as_ac_var=yes"
60641 else
60642 echo "$as_me: failed program was:" >&5
60643 sed 's/^/| /' conftest.$ac_ext >&5
60645 eval "$as_ac_var=no"
60647 rm -f conftest.err conftest.$ac_objext \
60648 conftest$ac_exeext conftest.$ac_ext
60650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60652 if test `eval echo '${'$as_ac_var'}'` = yes; then
60653 cat >>confdefs.h <<_ACEOF
60654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60655 _ACEOF
60658 done
60660 else
60662 echo "$as_me:$LINENO: checking for _modf declaration" >&5
60663 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
60664 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60665 if test "${glibcxx_cv_func__modf_use+set}" = set; then
60666 echo $ECHO_N "(cached) $ECHO_C" >&6
60667 else
60671 ac_ext=cc
60672 ac_cpp='$CXXCPP $CPPFLAGS'
60673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60677 cat >conftest.$ac_ext <<_ACEOF
60678 /* confdefs.h. */
60679 _ACEOF
60680 cat confdefs.h >>conftest.$ac_ext
60681 cat >>conftest.$ac_ext <<_ACEOF
60682 /* end confdefs.h. */
60683 #include <math.h>
60685 main ()
60687 _modf(0, 0);
60689 return 0;
60691 _ACEOF
60692 rm -f conftest.$ac_objext
60693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60694 (eval $ac_compile) 2>conftest.er1
60695 ac_status=$?
60696 grep -v '^ *+' conftest.er1 >conftest.err
60697 rm -f conftest.er1
60698 cat conftest.err >&5
60699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60700 (exit $ac_status); } &&
60701 { ac_try='test -z "$ac_cxx_werror_flag"
60702 || test ! -s conftest.err'
60703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60704 (eval $ac_try) 2>&5
60705 ac_status=$?
60706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60707 (exit $ac_status); }; } &&
60708 { ac_try='test -s conftest.$ac_objext'
60709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60710 (eval $ac_try) 2>&5
60711 ac_status=$?
60712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60713 (exit $ac_status); }; }; then
60714 glibcxx_cv_func__modf_use=yes
60715 else
60716 echo "$as_me: failed program was:" >&5
60717 sed 's/^/| /' conftest.$ac_ext >&5
60719 glibcxx_cv_func__modf_use=no
60721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60722 ac_ext=c
60723 ac_cpp='$CPP $CPPFLAGS'
60724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
60733 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
60735 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60737 for ac_func in _modf
60739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60740 echo "$as_me:$LINENO: checking for $ac_func" >&5
60741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60742 if eval "test \"\${$as_ac_var+set}\" = set"; then
60743 echo $ECHO_N "(cached) $ECHO_C" >&6
60744 else
60745 if test x$gcc_no_link = xyes; then
60746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60748 { (exit 1); exit 1; }; }
60750 cat >conftest.$ac_ext <<_ACEOF
60751 /* confdefs.h. */
60752 _ACEOF
60753 cat confdefs.h >>conftest.$ac_ext
60754 cat >>conftest.$ac_ext <<_ACEOF
60755 /* end confdefs.h. */
60756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60758 #define $ac_func innocuous_$ac_func
60760 /* System header to define __stub macros and hopefully few prototypes,
60761 which can conflict with char $ac_func (); below.
60762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60763 <limits.h> exists even on freestanding compilers. */
60765 #ifdef __STDC__
60766 # include <limits.h>
60767 #else
60768 # include <assert.h>
60769 #endif
60771 #undef $ac_func
60773 /* Override any gcc2 internal prototype to avoid an error. */
60774 #ifdef __cplusplus
60775 extern "C"
60777 #endif
60778 /* We use char because int might match the return type of a gcc2
60779 builtin and then its argument prototype would still apply. */
60780 char $ac_func ();
60781 /* The GNU C library defines this for functions which it implements
60782 to always fail with ENOSYS. Some functions are actually named
60783 something starting with __ and the normal name is an alias. */
60784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60785 choke me
60786 #else
60787 char (*f) () = $ac_func;
60788 #endif
60789 #ifdef __cplusplus
60791 #endif
60794 main ()
60796 return f != $ac_func;
60798 return 0;
60800 _ACEOF
60801 rm -f conftest.$ac_objext conftest$ac_exeext
60802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60803 (eval $ac_link) 2>conftest.er1
60804 ac_status=$?
60805 grep -v '^ *+' conftest.er1 >conftest.err
60806 rm -f conftest.er1
60807 cat conftest.err >&5
60808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60809 (exit $ac_status); } &&
60810 { ac_try='test -z "$ac_c_werror_flag"
60811 || test ! -s conftest.err'
60812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60813 (eval $ac_try) 2>&5
60814 ac_status=$?
60815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60816 (exit $ac_status); }; } &&
60817 { ac_try='test -s conftest$ac_exeext'
60818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60819 (eval $ac_try) 2>&5
60820 ac_status=$?
60821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60822 (exit $ac_status); }; }; then
60823 eval "$as_ac_var=yes"
60824 else
60825 echo "$as_me: failed program was:" >&5
60826 sed 's/^/| /' conftest.$ac_ext >&5
60828 eval "$as_ac_var=no"
60830 rm -f conftest.err conftest.$ac_objext \
60831 conftest$ac_exeext conftest.$ac_ext
60833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60835 if test `eval echo '${'$as_ac_var'}'` = yes; then
60836 cat >>confdefs.h <<_ACEOF
60837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60838 _ACEOF
60841 done
60848 echo "$as_me:$LINENO: checking for powf declaration" >&5
60849 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
60850 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60851 if test "${glibcxx_cv_func_powf_use+set}" = set; then
60852 echo $ECHO_N "(cached) $ECHO_C" >&6
60853 else
60857 ac_ext=cc
60858 ac_cpp='$CXXCPP $CPPFLAGS'
60859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60863 cat >conftest.$ac_ext <<_ACEOF
60864 /* confdefs.h. */
60865 _ACEOF
60866 cat confdefs.h >>conftest.$ac_ext
60867 cat >>conftest.$ac_ext <<_ACEOF
60868 /* end confdefs.h. */
60869 #include <math.h>
60871 main ()
60873 powf(0, 0);
60875 return 0;
60877 _ACEOF
60878 rm -f conftest.$ac_objext
60879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60880 (eval $ac_compile) 2>conftest.er1
60881 ac_status=$?
60882 grep -v '^ *+' conftest.er1 >conftest.err
60883 rm -f conftest.er1
60884 cat conftest.err >&5
60885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60886 (exit $ac_status); } &&
60887 { ac_try='test -z "$ac_cxx_werror_flag"
60888 || test ! -s conftest.err'
60889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60890 (eval $ac_try) 2>&5
60891 ac_status=$?
60892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60893 (exit $ac_status); }; } &&
60894 { ac_try='test -s conftest.$ac_objext'
60895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60896 (eval $ac_try) 2>&5
60897 ac_status=$?
60898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60899 (exit $ac_status); }; }; then
60900 glibcxx_cv_func_powf_use=yes
60901 else
60902 echo "$as_me: failed program was:" >&5
60903 sed 's/^/| /' conftest.$ac_ext >&5
60905 glibcxx_cv_func_powf_use=no
60907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60908 ac_ext=c
60909 ac_cpp='$CPP $CPPFLAGS'
60910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
60919 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
60921 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60923 for ac_func in powf
60925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60926 echo "$as_me:$LINENO: checking for $ac_func" >&5
60927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60928 if eval "test \"\${$as_ac_var+set}\" = set"; then
60929 echo $ECHO_N "(cached) $ECHO_C" >&6
60930 else
60931 if test x$gcc_no_link = xyes; then
60932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60934 { (exit 1); exit 1; }; }
60936 cat >conftest.$ac_ext <<_ACEOF
60937 /* confdefs.h. */
60938 _ACEOF
60939 cat confdefs.h >>conftest.$ac_ext
60940 cat >>conftest.$ac_ext <<_ACEOF
60941 /* end confdefs.h. */
60942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60944 #define $ac_func innocuous_$ac_func
60946 /* System header to define __stub macros and hopefully few prototypes,
60947 which can conflict with char $ac_func (); below.
60948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60949 <limits.h> exists even on freestanding compilers. */
60951 #ifdef __STDC__
60952 # include <limits.h>
60953 #else
60954 # include <assert.h>
60955 #endif
60957 #undef $ac_func
60959 /* Override any gcc2 internal prototype to avoid an error. */
60960 #ifdef __cplusplus
60961 extern "C"
60963 #endif
60964 /* We use char because int might match the return type of a gcc2
60965 builtin and then its argument prototype would still apply. */
60966 char $ac_func ();
60967 /* The GNU C library defines this for functions which it implements
60968 to always fail with ENOSYS. Some functions are actually named
60969 something starting with __ and the normal name is an alias. */
60970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60971 choke me
60972 #else
60973 char (*f) () = $ac_func;
60974 #endif
60975 #ifdef __cplusplus
60977 #endif
60980 main ()
60982 return f != $ac_func;
60984 return 0;
60986 _ACEOF
60987 rm -f conftest.$ac_objext conftest$ac_exeext
60988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60989 (eval $ac_link) 2>conftest.er1
60990 ac_status=$?
60991 grep -v '^ *+' conftest.er1 >conftest.err
60992 rm -f conftest.er1
60993 cat conftest.err >&5
60994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60995 (exit $ac_status); } &&
60996 { ac_try='test -z "$ac_c_werror_flag"
60997 || test ! -s conftest.err'
60998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60999 (eval $ac_try) 2>&5
61000 ac_status=$?
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); }; } &&
61003 { ac_try='test -s conftest$ac_exeext'
61004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61005 (eval $ac_try) 2>&5
61006 ac_status=$?
61007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61008 (exit $ac_status); }; }; then
61009 eval "$as_ac_var=yes"
61010 else
61011 echo "$as_me: failed program was:" >&5
61012 sed 's/^/| /' conftest.$ac_ext >&5
61014 eval "$as_ac_var=no"
61016 rm -f conftest.err conftest.$ac_objext \
61017 conftest$ac_exeext conftest.$ac_ext
61019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61021 if test `eval echo '${'$as_ac_var'}'` = yes; then
61022 cat >>confdefs.h <<_ACEOF
61023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61024 _ACEOF
61027 done
61029 else
61031 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61032 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61033 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61034 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61035 echo $ECHO_N "(cached) $ECHO_C" >&6
61036 else
61040 ac_ext=cc
61041 ac_cpp='$CXXCPP $CPPFLAGS'
61042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046 cat >conftest.$ac_ext <<_ACEOF
61047 /* confdefs.h. */
61048 _ACEOF
61049 cat confdefs.h >>conftest.$ac_ext
61050 cat >>conftest.$ac_ext <<_ACEOF
61051 /* end confdefs.h. */
61052 #include <math.h>
61054 main ()
61056 _powf(0, 0);
61058 return 0;
61060 _ACEOF
61061 rm -f conftest.$ac_objext
61062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61063 (eval $ac_compile) 2>conftest.er1
61064 ac_status=$?
61065 grep -v '^ *+' conftest.er1 >conftest.err
61066 rm -f conftest.er1
61067 cat conftest.err >&5
61068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069 (exit $ac_status); } &&
61070 { ac_try='test -z "$ac_cxx_werror_flag"
61071 || test ! -s conftest.err'
61072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61073 (eval $ac_try) 2>&5
61074 ac_status=$?
61075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61076 (exit $ac_status); }; } &&
61077 { ac_try='test -s conftest.$ac_objext'
61078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61079 (eval $ac_try) 2>&5
61080 ac_status=$?
61081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61082 (exit $ac_status); }; }; then
61083 glibcxx_cv_func__powf_use=yes
61084 else
61085 echo "$as_me: failed program was:" >&5
61086 sed 's/^/| /' conftest.$ac_ext >&5
61088 glibcxx_cv_func__powf_use=no
61090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61091 ac_ext=c
61092 ac_cpp='$CPP $CPPFLAGS'
61093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61102 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61104 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61106 for ac_func in _powf
61108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61109 echo "$as_me:$LINENO: checking for $ac_func" >&5
61110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61111 if eval "test \"\${$as_ac_var+set}\" = set"; then
61112 echo $ECHO_N "(cached) $ECHO_C" >&6
61113 else
61114 if test x$gcc_no_link = xyes; then
61115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61117 { (exit 1); exit 1; }; }
61119 cat >conftest.$ac_ext <<_ACEOF
61120 /* confdefs.h. */
61121 _ACEOF
61122 cat confdefs.h >>conftest.$ac_ext
61123 cat >>conftest.$ac_ext <<_ACEOF
61124 /* end confdefs.h. */
61125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61127 #define $ac_func innocuous_$ac_func
61129 /* System header to define __stub macros and hopefully few prototypes,
61130 which can conflict with char $ac_func (); below.
61131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61132 <limits.h> exists even on freestanding compilers. */
61134 #ifdef __STDC__
61135 # include <limits.h>
61136 #else
61137 # include <assert.h>
61138 #endif
61140 #undef $ac_func
61142 /* Override any gcc2 internal prototype to avoid an error. */
61143 #ifdef __cplusplus
61144 extern "C"
61146 #endif
61147 /* We use char because int might match the return type of a gcc2
61148 builtin and then its argument prototype would still apply. */
61149 char $ac_func ();
61150 /* The GNU C library defines this for functions which it implements
61151 to always fail with ENOSYS. Some functions are actually named
61152 something starting with __ and the normal name is an alias. */
61153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61154 choke me
61155 #else
61156 char (*f) () = $ac_func;
61157 #endif
61158 #ifdef __cplusplus
61160 #endif
61163 main ()
61165 return f != $ac_func;
61167 return 0;
61169 _ACEOF
61170 rm -f conftest.$ac_objext conftest$ac_exeext
61171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61172 (eval $ac_link) 2>conftest.er1
61173 ac_status=$?
61174 grep -v '^ *+' conftest.er1 >conftest.err
61175 rm -f conftest.er1
61176 cat conftest.err >&5
61177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61178 (exit $ac_status); } &&
61179 { ac_try='test -z "$ac_c_werror_flag"
61180 || test ! -s conftest.err'
61181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61182 (eval $ac_try) 2>&5
61183 ac_status=$?
61184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61185 (exit $ac_status); }; } &&
61186 { ac_try='test -s conftest$ac_exeext'
61187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61188 (eval $ac_try) 2>&5
61189 ac_status=$?
61190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61191 (exit $ac_status); }; }; then
61192 eval "$as_ac_var=yes"
61193 else
61194 echo "$as_me: failed program was:" >&5
61195 sed 's/^/| /' conftest.$ac_ext >&5
61197 eval "$as_ac_var=no"
61199 rm -f conftest.err conftest.$ac_objext \
61200 conftest$ac_exeext conftest.$ac_ext
61202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61204 if test `eval echo '${'$as_ac_var'}'` = yes; then
61205 cat >>confdefs.h <<_ACEOF
61206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61207 _ACEOF
61210 done
61217 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61218 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61219 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61220 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61221 echo $ECHO_N "(cached) $ECHO_C" >&6
61222 else
61226 ac_ext=cc
61227 ac_cpp='$CXXCPP $CPPFLAGS'
61228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61232 cat >conftest.$ac_ext <<_ACEOF
61233 /* confdefs.h. */
61234 _ACEOF
61235 cat confdefs.h >>conftest.$ac_ext
61236 cat >>conftest.$ac_ext <<_ACEOF
61237 /* end confdefs.h. */
61238 #include <math.h>
61239 #ifdef HAVE_IEEEFP_H
61240 #include <ieeefp.h>
61241 #endif
61244 main ()
61246 sqrtf(0);
61248 return 0;
61250 _ACEOF
61251 rm -f conftest.$ac_objext
61252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61253 (eval $ac_compile) 2>conftest.er1
61254 ac_status=$?
61255 grep -v '^ *+' conftest.er1 >conftest.err
61256 rm -f conftest.er1
61257 cat conftest.err >&5
61258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259 (exit $ac_status); } &&
61260 { ac_try='test -z "$ac_cxx_werror_flag"
61261 || test ! -s conftest.err'
61262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61263 (eval $ac_try) 2>&5
61264 ac_status=$?
61265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61266 (exit $ac_status); }; } &&
61267 { ac_try='test -s conftest.$ac_objext'
61268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61269 (eval $ac_try) 2>&5
61270 ac_status=$?
61271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61272 (exit $ac_status); }; }; then
61273 glibcxx_cv_func_sqrtf_use=yes
61274 else
61275 echo "$as_me: failed program was:" >&5
61276 sed 's/^/| /' conftest.$ac_ext >&5
61278 glibcxx_cv_func_sqrtf_use=no
61280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61281 ac_ext=c
61282 ac_cpp='$CPP $CPPFLAGS'
61283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61292 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61294 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61296 for ac_func in sqrtf
61298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61299 echo "$as_me:$LINENO: checking for $ac_func" >&5
61300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61301 if eval "test \"\${$as_ac_var+set}\" = set"; then
61302 echo $ECHO_N "(cached) $ECHO_C" >&6
61303 else
61304 if test x$gcc_no_link = xyes; then
61305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61307 { (exit 1); exit 1; }; }
61309 cat >conftest.$ac_ext <<_ACEOF
61310 /* confdefs.h. */
61311 _ACEOF
61312 cat confdefs.h >>conftest.$ac_ext
61313 cat >>conftest.$ac_ext <<_ACEOF
61314 /* end confdefs.h. */
61315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61317 #define $ac_func innocuous_$ac_func
61319 /* System header to define __stub macros and hopefully few prototypes,
61320 which can conflict with char $ac_func (); below.
61321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61322 <limits.h> exists even on freestanding compilers. */
61324 #ifdef __STDC__
61325 # include <limits.h>
61326 #else
61327 # include <assert.h>
61328 #endif
61330 #undef $ac_func
61332 /* Override any gcc2 internal prototype to avoid an error. */
61333 #ifdef __cplusplus
61334 extern "C"
61336 #endif
61337 /* We use char because int might match the return type of a gcc2
61338 builtin and then its argument prototype would still apply. */
61339 char $ac_func ();
61340 /* The GNU C library defines this for functions which it implements
61341 to always fail with ENOSYS. Some functions are actually named
61342 something starting with __ and the normal name is an alias. */
61343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61344 choke me
61345 #else
61346 char (*f) () = $ac_func;
61347 #endif
61348 #ifdef __cplusplus
61350 #endif
61353 main ()
61355 return f != $ac_func;
61357 return 0;
61359 _ACEOF
61360 rm -f conftest.$ac_objext conftest$ac_exeext
61361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61362 (eval $ac_link) 2>conftest.er1
61363 ac_status=$?
61364 grep -v '^ *+' conftest.er1 >conftest.err
61365 rm -f conftest.er1
61366 cat conftest.err >&5
61367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368 (exit $ac_status); } &&
61369 { ac_try='test -z "$ac_c_werror_flag"
61370 || test ! -s conftest.err'
61371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61372 (eval $ac_try) 2>&5
61373 ac_status=$?
61374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375 (exit $ac_status); }; } &&
61376 { ac_try='test -s conftest$ac_exeext'
61377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61378 (eval $ac_try) 2>&5
61379 ac_status=$?
61380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61381 (exit $ac_status); }; }; then
61382 eval "$as_ac_var=yes"
61383 else
61384 echo "$as_me: failed program was:" >&5
61385 sed 's/^/| /' conftest.$ac_ext >&5
61387 eval "$as_ac_var=no"
61389 rm -f conftest.err conftest.$ac_objext \
61390 conftest$ac_exeext conftest.$ac_ext
61392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61394 if test `eval echo '${'$as_ac_var'}'` = yes; then
61395 cat >>confdefs.h <<_ACEOF
61396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61397 _ACEOF
61400 done
61402 else
61404 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
61405 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
61406 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61407 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
61408 echo $ECHO_N "(cached) $ECHO_C" >&6
61409 else
61413 ac_ext=cc
61414 ac_cpp='$CXXCPP $CPPFLAGS'
61415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61419 cat >conftest.$ac_ext <<_ACEOF
61420 /* confdefs.h. */
61421 _ACEOF
61422 cat confdefs.h >>conftest.$ac_ext
61423 cat >>conftest.$ac_ext <<_ACEOF
61424 /* end confdefs.h. */
61425 #include <math.h>
61426 #ifdef HAVE_IEEEFP_H
61427 #include <ieeefp.h>
61428 #endif
61431 main ()
61433 _sqrtf(0);
61435 return 0;
61437 _ACEOF
61438 rm -f conftest.$ac_objext
61439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61440 (eval $ac_compile) 2>conftest.er1
61441 ac_status=$?
61442 grep -v '^ *+' conftest.er1 >conftest.err
61443 rm -f conftest.er1
61444 cat conftest.err >&5
61445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446 (exit $ac_status); } &&
61447 { ac_try='test -z "$ac_cxx_werror_flag"
61448 || test ! -s conftest.err'
61449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61450 (eval $ac_try) 2>&5
61451 ac_status=$?
61452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453 (exit $ac_status); }; } &&
61454 { ac_try='test -s conftest.$ac_objext'
61455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61456 (eval $ac_try) 2>&5
61457 ac_status=$?
61458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61459 (exit $ac_status); }; }; then
61460 glibcxx_cv_func__sqrtf_use=yes
61461 else
61462 echo "$as_me: failed program was:" >&5
61463 sed 's/^/| /' conftest.$ac_ext >&5
61465 glibcxx_cv_func__sqrtf_use=no
61467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61468 ac_ext=c
61469 ac_cpp='$CPP $CPPFLAGS'
61470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
61479 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
61481 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61483 for ac_func in _sqrtf
61485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61486 echo "$as_me:$LINENO: checking for $ac_func" >&5
61487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61488 if eval "test \"\${$as_ac_var+set}\" = set"; then
61489 echo $ECHO_N "(cached) $ECHO_C" >&6
61490 else
61491 if test x$gcc_no_link = xyes; then
61492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61494 { (exit 1); exit 1; }; }
61496 cat >conftest.$ac_ext <<_ACEOF
61497 /* confdefs.h. */
61498 _ACEOF
61499 cat confdefs.h >>conftest.$ac_ext
61500 cat >>conftest.$ac_ext <<_ACEOF
61501 /* end confdefs.h. */
61502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61504 #define $ac_func innocuous_$ac_func
61506 /* System header to define __stub macros and hopefully few prototypes,
61507 which can conflict with char $ac_func (); below.
61508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61509 <limits.h> exists even on freestanding compilers. */
61511 #ifdef __STDC__
61512 # include <limits.h>
61513 #else
61514 # include <assert.h>
61515 #endif
61517 #undef $ac_func
61519 /* Override any gcc2 internal prototype to avoid an error. */
61520 #ifdef __cplusplus
61521 extern "C"
61523 #endif
61524 /* We use char because int might match the return type of a gcc2
61525 builtin and then its argument prototype would still apply. */
61526 char $ac_func ();
61527 /* The GNU C library defines this for functions which it implements
61528 to always fail with ENOSYS. Some functions are actually named
61529 something starting with __ and the normal name is an alias. */
61530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61531 choke me
61532 #else
61533 char (*f) () = $ac_func;
61534 #endif
61535 #ifdef __cplusplus
61537 #endif
61540 main ()
61542 return f != $ac_func;
61544 return 0;
61546 _ACEOF
61547 rm -f conftest.$ac_objext conftest$ac_exeext
61548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61549 (eval $ac_link) 2>conftest.er1
61550 ac_status=$?
61551 grep -v '^ *+' conftest.er1 >conftest.err
61552 rm -f conftest.er1
61553 cat conftest.err >&5
61554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61555 (exit $ac_status); } &&
61556 { ac_try='test -z "$ac_c_werror_flag"
61557 || test ! -s conftest.err'
61558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61559 (eval $ac_try) 2>&5
61560 ac_status=$?
61561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61562 (exit $ac_status); }; } &&
61563 { ac_try='test -s conftest$ac_exeext'
61564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61565 (eval $ac_try) 2>&5
61566 ac_status=$?
61567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61568 (exit $ac_status); }; }; then
61569 eval "$as_ac_var=yes"
61570 else
61571 echo "$as_me: failed program was:" >&5
61572 sed 's/^/| /' conftest.$ac_ext >&5
61574 eval "$as_ac_var=no"
61576 rm -f conftest.err conftest.$ac_objext \
61577 conftest$ac_exeext conftest.$ac_ext
61579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61581 if test `eval echo '${'$as_ac_var'}'` = yes; then
61582 cat >>confdefs.h <<_ACEOF
61583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61584 _ACEOF
61587 done
61594 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
61595 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
61596 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61597 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
61598 echo $ECHO_N "(cached) $ECHO_C" >&6
61599 else
61603 ac_ext=cc
61604 ac_cpp='$CXXCPP $CPPFLAGS'
61605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61609 cat >conftest.$ac_ext <<_ACEOF
61610 /* confdefs.h. */
61611 _ACEOF
61612 cat confdefs.h >>conftest.$ac_ext
61613 cat >>conftest.$ac_ext <<_ACEOF
61614 /* end confdefs.h. */
61615 #include <math.h>
61617 main ()
61619 sincosf(0, 0, 0);
61621 return 0;
61623 _ACEOF
61624 rm -f conftest.$ac_objext
61625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61626 (eval $ac_compile) 2>conftest.er1
61627 ac_status=$?
61628 grep -v '^ *+' conftest.er1 >conftest.err
61629 rm -f conftest.er1
61630 cat conftest.err >&5
61631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61632 (exit $ac_status); } &&
61633 { ac_try='test -z "$ac_cxx_werror_flag"
61634 || test ! -s conftest.err'
61635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636 (eval $ac_try) 2>&5
61637 ac_status=$?
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); }; } &&
61640 { ac_try='test -s conftest.$ac_objext'
61641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61642 (eval $ac_try) 2>&5
61643 ac_status=$?
61644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61645 (exit $ac_status); }; }; then
61646 glibcxx_cv_func_sincosf_use=yes
61647 else
61648 echo "$as_me: failed program was:" >&5
61649 sed 's/^/| /' conftest.$ac_ext >&5
61651 glibcxx_cv_func_sincosf_use=no
61653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61654 ac_ext=c
61655 ac_cpp='$CPP $CPPFLAGS'
61656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
61665 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
61667 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61669 for ac_func in sincosf
61671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61672 echo "$as_me:$LINENO: checking for $ac_func" >&5
61673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61674 if eval "test \"\${$as_ac_var+set}\" = set"; then
61675 echo $ECHO_N "(cached) $ECHO_C" >&6
61676 else
61677 if test x$gcc_no_link = xyes; then
61678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61680 { (exit 1); exit 1; }; }
61682 cat >conftest.$ac_ext <<_ACEOF
61683 /* confdefs.h. */
61684 _ACEOF
61685 cat confdefs.h >>conftest.$ac_ext
61686 cat >>conftest.$ac_ext <<_ACEOF
61687 /* end confdefs.h. */
61688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61690 #define $ac_func innocuous_$ac_func
61692 /* System header to define __stub macros and hopefully few prototypes,
61693 which can conflict with char $ac_func (); below.
61694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61695 <limits.h> exists even on freestanding compilers. */
61697 #ifdef __STDC__
61698 # include <limits.h>
61699 #else
61700 # include <assert.h>
61701 #endif
61703 #undef $ac_func
61705 /* Override any gcc2 internal prototype to avoid an error. */
61706 #ifdef __cplusplus
61707 extern "C"
61709 #endif
61710 /* We use char because int might match the return type of a gcc2
61711 builtin and then its argument prototype would still apply. */
61712 char $ac_func ();
61713 /* The GNU C library defines this for functions which it implements
61714 to always fail with ENOSYS. Some functions are actually named
61715 something starting with __ and the normal name is an alias. */
61716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61717 choke me
61718 #else
61719 char (*f) () = $ac_func;
61720 #endif
61721 #ifdef __cplusplus
61723 #endif
61726 main ()
61728 return f != $ac_func;
61730 return 0;
61732 _ACEOF
61733 rm -f conftest.$ac_objext conftest$ac_exeext
61734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61735 (eval $ac_link) 2>conftest.er1
61736 ac_status=$?
61737 grep -v '^ *+' conftest.er1 >conftest.err
61738 rm -f conftest.er1
61739 cat conftest.err >&5
61740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741 (exit $ac_status); } &&
61742 { ac_try='test -z "$ac_c_werror_flag"
61743 || test ! -s conftest.err'
61744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61745 (eval $ac_try) 2>&5
61746 ac_status=$?
61747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748 (exit $ac_status); }; } &&
61749 { ac_try='test -s conftest$ac_exeext'
61750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61751 (eval $ac_try) 2>&5
61752 ac_status=$?
61753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61754 (exit $ac_status); }; }; then
61755 eval "$as_ac_var=yes"
61756 else
61757 echo "$as_me: failed program was:" >&5
61758 sed 's/^/| /' conftest.$ac_ext >&5
61760 eval "$as_ac_var=no"
61762 rm -f conftest.err conftest.$ac_objext \
61763 conftest$ac_exeext conftest.$ac_ext
61765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61767 if test `eval echo '${'$as_ac_var'}'` = yes; then
61768 cat >>confdefs.h <<_ACEOF
61769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61770 _ACEOF
61773 done
61775 else
61777 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
61778 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
61779 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61780 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
61781 echo $ECHO_N "(cached) $ECHO_C" >&6
61782 else
61786 ac_ext=cc
61787 ac_cpp='$CXXCPP $CPPFLAGS'
61788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61792 cat >conftest.$ac_ext <<_ACEOF
61793 /* confdefs.h. */
61794 _ACEOF
61795 cat confdefs.h >>conftest.$ac_ext
61796 cat >>conftest.$ac_ext <<_ACEOF
61797 /* end confdefs.h. */
61798 #include <math.h>
61800 main ()
61802 _sincosf(0, 0, 0);
61804 return 0;
61806 _ACEOF
61807 rm -f conftest.$ac_objext
61808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61809 (eval $ac_compile) 2>conftest.er1
61810 ac_status=$?
61811 grep -v '^ *+' conftest.er1 >conftest.err
61812 rm -f conftest.er1
61813 cat conftest.err >&5
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); } &&
61816 { ac_try='test -z "$ac_cxx_werror_flag"
61817 || test ! -s conftest.err'
61818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819 (eval $ac_try) 2>&5
61820 ac_status=$?
61821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822 (exit $ac_status); }; } &&
61823 { ac_try='test -s conftest.$ac_objext'
61824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61825 (eval $ac_try) 2>&5
61826 ac_status=$?
61827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61828 (exit $ac_status); }; }; then
61829 glibcxx_cv_func__sincosf_use=yes
61830 else
61831 echo "$as_me: failed program was:" >&5
61832 sed 's/^/| /' conftest.$ac_ext >&5
61834 glibcxx_cv_func__sincosf_use=no
61836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61837 ac_ext=c
61838 ac_cpp='$CPP $CPPFLAGS'
61839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
61848 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
61850 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61852 for ac_func in _sincosf
61854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61855 echo "$as_me:$LINENO: checking for $ac_func" >&5
61856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61857 if eval "test \"\${$as_ac_var+set}\" = set"; then
61858 echo $ECHO_N "(cached) $ECHO_C" >&6
61859 else
61860 if test x$gcc_no_link = xyes; then
61861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61863 { (exit 1); exit 1; }; }
61865 cat >conftest.$ac_ext <<_ACEOF
61866 /* confdefs.h. */
61867 _ACEOF
61868 cat confdefs.h >>conftest.$ac_ext
61869 cat >>conftest.$ac_ext <<_ACEOF
61870 /* end confdefs.h. */
61871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61873 #define $ac_func innocuous_$ac_func
61875 /* System header to define __stub macros and hopefully few prototypes,
61876 which can conflict with char $ac_func (); below.
61877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61878 <limits.h> exists even on freestanding compilers. */
61880 #ifdef __STDC__
61881 # include <limits.h>
61882 #else
61883 # include <assert.h>
61884 #endif
61886 #undef $ac_func
61888 /* Override any gcc2 internal prototype to avoid an error. */
61889 #ifdef __cplusplus
61890 extern "C"
61892 #endif
61893 /* We use char because int might match the return type of a gcc2
61894 builtin and then its argument prototype would still apply. */
61895 char $ac_func ();
61896 /* The GNU C library defines this for functions which it implements
61897 to always fail with ENOSYS. Some functions are actually named
61898 something starting with __ and the normal name is an alias. */
61899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61900 choke me
61901 #else
61902 char (*f) () = $ac_func;
61903 #endif
61904 #ifdef __cplusplus
61906 #endif
61909 main ()
61911 return f != $ac_func;
61913 return 0;
61915 _ACEOF
61916 rm -f conftest.$ac_objext conftest$ac_exeext
61917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61918 (eval $ac_link) 2>conftest.er1
61919 ac_status=$?
61920 grep -v '^ *+' conftest.er1 >conftest.err
61921 rm -f conftest.er1
61922 cat conftest.err >&5
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); } &&
61925 { ac_try='test -z "$ac_c_werror_flag"
61926 || test ! -s conftest.err'
61927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928 (eval $ac_try) 2>&5
61929 ac_status=$?
61930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931 (exit $ac_status); }; } &&
61932 { ac_try='test -s conftest$ac_exeext'
61933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61934 (eval $ac_try) 2>&5
61935 ac_status=$?
61936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61937 (exit $ac_status); }; }; then
61938 eval "$as_ac_var=yes"
61939 else
61940 echo "$as_me: failed program was:" >&5
61941 sed 's/^/| /' conftest.$ac_ext >&5
61943 eval "$as_ac_var=no"
61945 rm -f conftest.err conftest.$ac_objext \
61946 conftest$ac_exeext conftest.$ac_ext
61948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61950 if test `eval echo '${'$as_ac_var'}'` = yes; then
61951 cat >>confdefs.h <<_ACEOF
61952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61953 _ACEOF
61956 done
61963 echo "$as_me:$LINENO: checking for finitef declaration" >&5
61964 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
61965 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61966 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
61967 echo $ECHO_N "(cached) $ECHO_C" >&6
61968 else
61972 ac_ext=cc
61973 ac_cpp='$CXXCPP $CPPFLAGS'
61974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61978 cat >conftest.$ac_ext <<_ACEOF
61979 /* confdefs.h. */
61980 _ACEOF
61981 cat confdefs.h >>conftest.$ac_ext
61982 cat >>conftest.$ac_ext <<_ACEOF
61983 /* end confdefs.h. */
61984 #include <math.h>
61985 #ifdef HAVE_IEEEFP_H
61986 #include <ieeefp.h>
61987 #endif
61990 main ()
61992 finitef(0);
61994 return 0;
61996 _ACEOF
61997 rm -f conftest.$ac_objext
61998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61999 (eval $ac_compile) 2>conftest.er1
62000 ac_status=$?
62001 grep -v '^ *+' conftest.er1 >conftest.err
62002 rm -f conftest.er1
62003 cat conftest.err >&5
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); } &&
62006 { ac_try='test -z "$ac_cxx_werror_flag"
62007 || test ! -s conftest.err'
62008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62009 (eval $ac_try) 2>&5
62010 ac_status=$?
62011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62012 (exit $ac_status); }; } &&
62013 { ac_try='test -s conftest.$ac_objext'
62014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62015 (eval $ac_try) 2>&5
62016 ac_status=$?
62017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62018 (exit $ac_status); }; }; then
62019 glibcxx_cv_func_finitef_use=yes
62020 else
62021 echo "$as_me: failed program was:" >&5
62022 sed 's/^/| /' conftest.$ac_ext >&5
62024 glibcxx_cv_func_finitef_use=no
62026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62027 ac_ext=c
62028 ac_cpp='$CPP $CPPFLAGS'
62029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62038 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62040 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62042 for ac_func in finitef
62044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62045 echo "$as_me:$LINENO: checking for $ac_func" >&5
62046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62047 if eval "test \"\${$as_ac_var+set}\" = set"; then
62048 echo $ECHO_N "(cached) $ECHO_C" >&6
62049 else
62050 if test x$gcc_no_link = xyes; then
62051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62053 { (exit 1); exit 1; }; }
62055 cat >conftest.$ac_ext <<_ACEOF
62056 /* confdefs.h. */
62057 _ACEOF
62058 cat confdefs.h >>conftest.$ac_ext
62059 cat >>conftest.$ac_ext <<_ACEOF
62060 /* end confdefs.h. */
62061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62063 #define $ac_func innocuous_$ac_func
62065 /* System header to define __stub macros and hopefully few prototypes,
62066 which can conflict with char $ac_func (); below.
62067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62068 <limits.h> exists even on freestanding compilers. */
62070 #ifdef __STDC__
62071 # include <limits.h>
62072 #else
62073 # include <assert.h>
62074 #endif
62076 #undef $ac_func
62078 /* Override any gcc2 internal prototype to avoid an error. */
62079 #ifdef __cplusplus
62080 extern "C"
62082 #endif
62083 /* We use char because int might match the return type of a gcc2
62084 builtin and then its argument prototype would still apply. */
62085 char $ac_func ();
62086 /* The GNU C library defines this for functions which it implements
62087 to always fail with ENOSYS. Some functions are actually named
62088 something starting with __ and the normal name is an alias. */
62089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62090 choke me
62091 #else
62092 char (*f) () = $ac_func;
62093 #endif
62094 #ifdef __cplusplus
62096 #endif
62099 main ()
62101 return f != $ac_func;
62103 return 0;
62105 _ACEOF
62106 rm -f conftest.$ac_objext conftest$ac_exeext
62107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62108 (eval $ac_link) 2>conftest.er1
62109 ac_status=$?
62110 grep -v '^ *+' conftest.er1 >conftest.err
62111 rm -f conftest.er1
62112 cat conftest.err >&5
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); } &&
62115 { ac_try='test -z "$ac_c_werror_flag"
62116 || test ! -s conftest.err'
62117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118 (eval $ac_try) 2>&5
62119 ac_status=$?
62120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121 (exit $ac_status); }; } &&
62122 { ac_try='test -s conftest$ac_exeext'
62123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62124 (eval $ac_try) 2>&5
62125 ac_status=$?
62126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62127 (exit $ac_status); }; }; then
62128 eval "$as_ac_var=yes"
62129 else
62130 echo "$as_me: failed program was:" >&5
62131 sed 's/^/| /' conftest.$ac_ext >&5
62133 eval "$as_ac_var=no"
62135 rm -f conftest.err conftest.$ac_objext \
62136 conftest$ac_exeext conftest.$ac_ext
62138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62140 if test `eval echo '${'$as_ac_var'}'` = yes; then
62141 cat >>confdefs.h <<_ACEOF
62142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62143 _ACEOF
62146 done
62148 else
62150 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62151 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62152 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62153 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62154 echo $ECHO_N "(cached) $ECHO_C" >&6
62155 else
62159 ac_ext=cc
62160 ac_cpp='$CXXCPP $CPPFLAGS'
62161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62165 cat >conftest.$ac_ext <<_ACEOF
62166 /* confdefs.h. */
62167 _ACEOF
62168 cat confdefs.h >>conftest.$ac_ext
62169 cat >>conftest.$ac_ext <<_ACEOF
62170 /* end confdefs.h. */
62171 #include <math.h>
62172 #ifdef HAVE_IEEEFP_H
62173 #include <ieeefp.h>
62174 #endif
62177 main ()
62179 _finitef(0);
62181 return 0;
62183 _ACEOF
62184 rm -f conftest.$ac_objext
62185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62186 (eval $ac_compile) 2>conftest.er1
62187 ac_status=$?
62188 grep -v '^ *+' conftest.er1 >conftest.err
62189 rm -f conftest.er1
62190 cat conftest.err >&5
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); } &&
62193 { ac_try='test -z "$ac_cxx_werror_flag"
62194 || test ! -s conftest.err'
62195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62196 (eval $ac_try) 2>&5
62197 ac_status=$?
62198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62199 (exit $ac_status); }; } &&
62200 { ac_try='test -s conftest.$ac_objext'
62201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62202 (eval $ac_try) 2>&5
62203 ac_status=$?
62204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62205 (exit $ac_status); }; }; then
62206 glibcxx_cv_func__finitef_use=yes
62207 else
62208 echo "$as_me: failed program was:" >&5
62209 sed 's/^/| /' conftest.$ac_ext >&5
62211 glibcxx_cv_func__finitef_use=no
62213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62214 ac_ext=c
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62225 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62227 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62229 for ac_func in _finitef
62231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62232 echo "$as_me:$LINENO: checking for $ac_func" >&5
62233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62234 if eval "test \"\${$as_ac_var+set}\" = set"; then
62235 echo $ECHO_N "(cached) $ECHO_C" >&6
62236 else
62237 if test x$gcc_no_link = xyes; then
62238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62240 { (exit 1); exit 1; }; }
62242 cat >conftest.$ac_ext <<_ACEOF
62243 /* confdefs.h. */
62244 _ACEOF
62245 cat confdefs.h >>conftest.$ac_ext
62246 cat >>conftest.$ac_ext <<_ACEOF
62247 /* end confdefs.h. */
62248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62250 #define $ac_func innocuous_$ac_func
62252 /* System header to define __stub macros and hopefully few prototypes,
62253 which can conflict with char $ac_func (); below.
62254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62255 <limits.h> exists even on freestanding compilers. */
62257 #ifdef __STDC__
62258 # include <limits.h>
62259 #else
62260 # include <assert.h>
62261 #endif
62263 #undef $ac_func
62265 /* Override any gcc2 internal prototype to avoid an error. */
62266 #ifdef __cplusplus
62267 extern "C"
62269 #endif
62270 /* We use char because int might match the return type of a gcc2
62271 builtin and then its argument prototype would still apply. */
62272 char $ac_func ();
62273 /* The GNU C library defines this for functions which it implements
62274 to always fail with ENOSYS. Some functions are actually named
62275 something starting with __ and the normal name is an alias. */
62276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62277 choke me
62278 #else
62279 char (*f) () = $ac_func;
62280 #endif
62281 #ifdef __cplusplus
62283 #endif
62286 main ()
62288 return f != $ac_func;
62290 return 0;
62292 _ACEOF
62293 rm -f conftest.$ac_objext conftest$ac_exeext
62294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62295 (eval $ac_link) 2>conftest.er1
62296 ac_status=$?
62297 grep -v '^ *+' conftest.er1 >conftest.err
62298 rm -f conftest.er1
62299 cat conftest.err >&5
62300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62301 (exit $ac_status); } &&
62302 { ac_try='test -z "$ac_c_werror_flag"
62303 || test ! -s conftest.err'
62304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62305 (eval $ac_try) 2>&5
62306 ac_status=$?
62307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62308 (exit $ac_status); }; } &&
62309 { ac_try='test -s conftest$ac_exeext'
62310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62311 (eval $ac_try) 2>&5
62312 ac_status=$?
62313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62314 (exit $ac_status); }; }; then
62315 eval "$as_ac_var=yes"
62316 else
62317 echo "$as_me: failed program was:" >&5
62318 sed 's/^/| /' conftest.$ac_ext >&5
62320 eval "$as_ac_var=no"
62322 rm -f conftest.err conftest.$ac_objext \
62323 conftest$ac_exeext conftest.$ac_ext
62325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62327 if test `eval echo '${'$as_ac_var'}'` = yes; then
62328 cat >>confdefs.h <<_ACEOF
62329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62330 _ACEOF
62333 done
62340 echo "$as_me:$LINENO: checking for long double trig functions" >&5
62341 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
62342 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
62343 echo $ECHO_N "(cached) $ECHO_C" >&6
62344 else
62348 ac_ext=cc
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354 cat >conftest.$ac_ext <<_ACEOF
62355 /* confdefs.h. */
62356 _ACEOF
62357 cat confdefs.h >>conftest.$ac_ext
62358 cat >>conftest.$ac_ext <<_ACEOF
62359 /* end confdefs.h. */
62360 #include <math.h>
62362 main ()
62364 `for x in acosl asinl atanl \
62365 cosl sinl tanl \
62366 coshl sinhl tanhl; do echo "$x (0);"; done`
62368 return 0;
62370 _ACEOF
62371 rm -f conftest.$ac_objext
62372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62373 (eval $ac_compile) 2>conftest.er1
62374 ac_status=$?
62375 grep -v '^ *+' conftest.er1 >conftest.err
62376 rm -f conftest.er1
62377 cat conftest.err >&5
62378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62379 (exit $ac_status); } &&
62380 { ac_try='test -z "$ac_cxx_werror_flag"
62381 || test ! -s conftest.err'
62382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62383 (eval $ac_try) 2>&5
62384 ac_status=$?
62385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62386 (exit $ac_status); }; } &&
62387 { ac_try='test -s conftest.$ac_objext'
62388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62389 (eval $ac_try) 2>&5
62390 ac_status=$?
62391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62392 (exit $ac_status); }; }; then
62393 glibcxx_cv_func_long_double_trig_use=yes
62394 else
62395 echo "$as_me: failed program was:" >&5
62396 sed 's/^/| /' conftest.$ac_ext >&5
62398 glibcxx_cv_func_long_double_trig_use=no
62400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62401 ac_ext=c
62402 ac_cpp='$CPP $CPPFLAGS'
62403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
62410 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
62411 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62421 for ac_func in acosl asinl atanl \
62422 cosl sinl tanl \
62423 coshl sinhl tanhl
62425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62426 echo "$as_me:$LINENO: checking for $ac_func" >&5
62427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62428 if eval "test \"\${$as_ac_var+set}\" = set"; then
62429 echo $ECHO_N "(cached) $ECHO_C" >&6
62430 else
62431 if test x$gcc_no_link = xyes; then
62432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62434 { (exit 1); exit 1; }; }
62436 cat >conftest.$ac_ext <<_ACEOF
62437 /* confdefs.h. */
62438 _ACEOF
62439 cat confdefs.h >>conftest.$ac_ext
62440 cat >>conftest.$ac_ext <<_ACEOF
62441 /* end confdefs.h. */
62442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62444 #define $ac_func innocuous_$ac_func
62446 /* System header to define __stub macros and hopefully few prototypes,
62447 which can conflict with char $ac_func (); below.
62448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62449 <limits.h> exists even on freestanding compilers. */
62451 #ifdef __STDC__
62452 # include <limits.h>
62453 #else
62454 # include <assert.h>
62455 #endif
62457 #undef $ac_func
62459 /* Override any gcc2 internal prototype to avoid an error. */
62460 #ifdef __cplusplus
62461 extern "C"
62463 #endif
62464 /* We use char because int might match the return type of a gcc2
62465 builtin and then its argument prototype would still apply. */
62466 char $ac_func ();
62467 /* The GNU C library defines this for functions which it implements
62468 to always fail with ENOSYS. Some functions are actually named
62469 something starting with __ and the normal name is an alias. */
62470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62471 choke me
62472 #else
62473 char (*f) () = $ac_func;
62474 #endif
62475 #ifdef __cplusplus
62477 #endif
62480 main ()
62482 return f != $ac_func;
62484 return 0;
62486 _ACEOF
62487 rm -f conftest.$ac_objext conftest$ac_exeext
62488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62489 (eval $ac_link) 2>conftest.er1
62490 ac_status=$?
62491 grep -v '^ *+' conftest.er1 >conftest.err
62492 rm -f conftest.er1
62493 cat conftest.err >&5
62494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62495 (exit $ac_status); } &&
62496 { ac_try='test -z "$ac_c_werror_flag"
62497 || test ! -s conftest.err'
62498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62499 (eval $ac_try) 2>&5
62500 ac_status=$?
62501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62502 (exit $ac_status); }; } &&
62503 { ac_try='test -s conftest$ac_exeext'
62504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62505 (eval $ac_try) 2>&5
62506 ac_status=$?
62507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62508 (exit $ac_status); }; }; then
62509 eval "$as_ac_var=yes"
62510 else
62511 echo "$as_me: failed program was:" >&5
62512 sed 's/^/| /' conftest.$ac_ext >&5
62514 eval "$as_ac_var=no"
62516 rm -f conftest.err conftest.$ac_objext \
62517 conftest$ac_exeext conftest.$ac_ext
62519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62521 if test `eval echo '${'$as_ac_var'}'` = yes; then
62522 cat >>confdefs.h <<_ACEOF
62523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62524 _ACEOF
62527 done
62532 echo "$as_me:$LINENO: checking for long double round functions" >&5
62533 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
62534 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
62535 echo $ECHO_N "(cached) $ECHO_C" >&6
62536 else
62540 ac_ext=cc
62541 ac_cpp='$CXXCPP $CPPFLAGS'
62542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62546 cat >conftest.$ac_ext <<_ACEOF
62547 /* confdefs.h. */
62548 _ACEOF
62549 cat confdefs.h >>conftest.$ac_ext
62550 cat >>conftest.$ac_ext <<_ACEOF
62551 /* end confdefs.h. */
62552 #include <math.h>
62554 main ()
62556 `for x in ceill floorl; do echo "$x (0);"; done`
62558 return 0;
62560 _ACEOF
62561 rm -f conftest.$ac_objext
62562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62563 (eval $ac_compile) 2>conftest.er1
62564 ac_status=$?
62565 grep -v '^ *+' conftest.er1 >conftest.err
62566 rm -f conftest.er1
62567 cat conftest.err >&5
62568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569 (exit $ac_status); } &&
62570 { ac_try='test -z "$ac_cxx_werror_flag"
62571 || test ! -s conftest.err'
62572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62573 (eval $ac_try) 2>&5
62574 ac_status=$?
62575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62576 (exit $ac_status); }; } &&
62577 { ac_try='test -s conftest.$ac_objext'
62578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62579 (eval $ac_try) 2>&5
62580 ac_status=$?
62581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62582 (exit $ac_status); }; }; then
62583 glibcxx_cv_func_long_double_round_use=yes
62584 else
62585 echo "$as_me: failed program was:" >&5
62586 sed 's/^/| /' conftest.$ac_ext >&5
62588 glibcxx_cv_func_long_double_round_use=no
62590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62591 ac_ext=c
62592 ac_cpp='$CPP $CPPFLAGS'
62593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
62600 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
62601 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62604 for ac_func in ceill floorl
62606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62607 echo "$as_me:$LINENO: checking for $ac_func" >&5
62608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62609 if eval "test \"\${$as_ac_var+set}\" = set"; then
62610 echo $ECHO_N "(cached) $ECHO_C" >&6
62611 else
62612 if test x$gcc_no_link = xyes; then
62613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62615 { (exit 1); exit 1; }; }
62617 cat >conftest.$ac_ext <<_ACEOF
62618 /* confdefs.h. */
62619 _ACEOF
62620 cat confdefs.h >>conftest.$ac_ext
62621 cat >>conftest.$ac_ext <<_ACEOF
62622 /* end confdefs.h. */
62623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62625 #define $ac_func innocuous_$ac_func
62627 /* System header to define __stub macros and hopefully few prototypes,
62628 which can conflict with char $ac_func (); below.
62629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62630 <limits.h> exists even on freestanding compilers. */
62632 #ifdef __STDC__
62633 # include <limits.h>
62634 #else
62635 # include <assert.h>
62636 #endif
62638 #undef $ac_func
62640 /* Override any gcc2 internal prototype to avoid an error. */
62641 #ifdef __cplusplus
62642 extern "C"
62644 #endif
62645 /* We use char because int might match the return type of a gcc2
62646 builtin and then its argument prototype would still apply. */
62647 char $ac_func ();
62648 /* The GNU C library defines this for functions which it implements
62649 to always fail with ENOSYS. Some functions are actually named
62650 something starting with __ and the normal name is an alias. */
62651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62652 choke me
62653 #else
62654 char (*f) () = $ac_func;
62655 #endif
62656 #ifdef __cplusplus
62658 #endif
62661 main ()
62663 return f != $ac_func;
62665 return 0;
62667 _ACEOF
62668 rm -f conftest.$ac_objext conftest$ac_exeext
62669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62670 (eval $ac_link) 2>conftest.er1
62671 ac_status=$?
62672 grep -v '^ *+' conftest.er1 >conftest.err
62673 rm -f conftest.er1
62674 cat conftest.err >&5
62675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676 (exit $ac_status); } &&
62677 { ac_try='test -z "$ac_c_werror_flag"
62678 || test ! -s conftest.err'
62679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62680 (eval $ac_try) 2>&5
62681 ac_status=$?
62682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62683 (exit $ac_status); }; } &&
62684 { ac_try='test -s conftest$ac_exeext'
62685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62686 (eval $ac_try) 2>&5
62687 ac_status=$?
62688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62689 (exit $ac_status); }; }; then
62690 eval "$as_ac_var=yes"
62691 else
62692 echo "$as_me: failed program was:" >&5
62693 sed 's/^/| /' conftest.$ac_ext >&5
62695 eval "$as_ac_var=no"
62697 rm -f conftest.err conftest.$ac_objext \
62698 conftest$ac_exeext conftest.$ac_ext
62700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62702 if test `eval echo '${'$as_ac_var'}'` = yes; then
62703 cat >>confdefs.h <<_ACEOF
62704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62705 _ACEOF
62708 done
62714 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
62715 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
62716 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62717 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
62718 echo $ECHO_N "(cached) $ECHO_C" >&6
62719 else
62723 ac_ext=cc
62724 ac_cpp='$CXXCPP $CPPFLAGS'
62725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62729 cat >conftest.$ac_ext <<_ACEOF
62730 /* confdefs.h. */
62731 _ACEOF
62732 cat confdefs.h >>conftest.$ac_ext
62733 cat >>conftest.$ac_ext <<_ACEOF
62734 /* end confdefs.h. */
62735 #include <math.h>
62736 #ifdef HAVE_IEEEFP_H
62737 #include <ieeefp.h>
62738 #endif
62741 main ()
62743 isnanl(0);
62745 return 0;
62747 _ACEOF
62748 rm -f conftest.$ac_objext
62749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62750 (eval $ac_compile) 2>conftest.er1
62751 ac_status=$?
62752 grep -v '^ *+' conftest.er1 >conftest.err
62753 rm -f conftest.er1
62754 cat conftest.err >&5
62755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62756 (exit $ac_status); } &&
62757 { ac_try='test -z "$ac_cxx_werror_flag"
62758 || test ! -s conftest.err'
62759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62760 (eval $ac_try) 2>&5
62761 ac_status=$?
62762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62763 (exit $ac_status); }; } &&
62764 { ac_try='test -s conftest.$ac_objext'
62765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62766 (eval $ac_try) 2>&5
62767 ac_status=$?
62768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62769 (exit $ac_status); }; }; then
62770 glibcxx_cv_func_isnanl_use=yes
62771 else
62772 echo "$as_me: failed program was:" >&5
62773 sed 's/^/| /' conftest.$ac_ext >&5
62775 glibcxx_cv_func_isnanl_use=no
62777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
62789 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
62791 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62793 for ac_func in isnanl
62795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62796 echo "$as_me:$LINENO: checking for $ac_func" >&5
62797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62798 if eval "test \"\${$as_ac_var+set}\" = set"; then
62799 echo $ECHO_N "(cached) $ECHO_C" >&6
62800 else
62801 if test x$gcc_no_link = xyes; then
62802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62804 { (exit 1); exit 1; }; }
62806 cat >conftest.$ac_ext <<_ACEOF
62807 /* confdefs.h. */
62808 _ACEOF
62809 cat confdefs.h >>conftest.$ac_ext
62810 cat >>conftest.$ac_ext <<_ACEOF
62811 /* end confdefs.h. */
62812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62814 #define $ac_func innocuous_$ac_func
62816 /* System header to define __stub macros and hopefully few prototypes,
62817 which can conflict with char $ac_func (); below.
62818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62819 <limits.h> exists even on freestanding compilers. */
62821 #ifdef __STDC__
62822 # include <limits.h>
62823 #else
62824 # include <assert.h>
62825 #endif
62827 #undef $ac_func
62829 /* Override any gcc2 internal prototype to avoid an error. */
62830 #ifdef __cplusplus
62831 extern "C"
62833 #endif
62834 /* We use char because int might match the return type of a gcc2
62835 builtin and then its argument prototype would still apply. */
62836 char $ac_func ();
62837 /* The GNU C library defines this for functions which it implements
62838 to always fail with ENOSYS. Some functions are actually named
62839 something starting with __ and the normal name is an alias. */
62840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62841 choke me
62842 #else
62843 char (*f) () = $ac_func;
62844 #endif
62845 #ifdef __cplusplus
62847 #endif
62850 main ()
62852 return f != $ac_func;
62854 return 0;
62856 _ACEOF
62857 rm -f conftest.$ac_objext conftest$ac_exeext
62858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62859 (eval $ac_link) 2>conftest.er1
62860 ac_status=$?
62861 grep -v '^ *+' conftest.er1 >conftest.err
62862 rm -f conftest.er1
62863 cat conftest.err >&5
62864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865 (exit $ac_status); } &&
62866 { ac_try='test -z "$ac_c_werror_flag"
62867 || test ! -s conftest.err'
62868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62869 (eval $ac_try) 2>&5
62870 ac_status=$?
62871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62872 (exit $ac_status); }; } &&
62873 { ac_try='test -s conftest$ac_exeext'
62874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62875 (eval $ac_try) 2>&5
62876 ac_status=$?
62877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62878 (exit $ac_status); }; }; then
62879 eval "$as_ac_var=yes"
62880 else
62881 echo "$as_me: failed program was:" >&5
62882 sed 's/^/| /' conftest.$ac_ext >&5
62884 eval "$as_ac_var=no"
62886 rm -f conftest.err conftest.$ac_objext \
62887 conftest$ac_exeext conftest.$ac_ext
62889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62891 if test `eval echo '${'$as_ac_var'}'` = yes; then
62892 cat >>confdefs.h <<_ACEOF
62893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62894 _ACEOF
62897 done
62899 else
62901 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
62902 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
62903 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62904 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
62905 echo $ECHO_N "(cached) $ECHO_C" >&6
62906 else
62910 ac_ext=cc
62911 ac_cpp='$CXXCPP $CPPFLAGS'
62912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62916 cat >conftest.$ac_ext <<_ACEOF
62917 /* confdefs.h. */
62918 _ACEOF
62919 cat confdefs.h >>conftest.$ac_ext
62920 cat >>conftest.$ac_ext <<_ACEOF
62921 /* end confdefs.h. */
62922 #include <math.h>
62923 #ifdef HAVE_IEEEFP_H
62924 #include <ieeefp.h>
62925 #endif
62928 main ()
62930 _isnanl(0);
62932 return 0;
62934 _ACEOF
62935 rm -f conftest.$ac_objext
62936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62937 (eval $ac_compile) 2>conftest.er1
62938 ac_status=$?
62939 grep -v '^ *+' conftest.er1 >conftest.err
62940 rm -f conftest.er1
62941 cat conftest.err >&5
62942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62943 (exit $ac_status); } &&
62944 { ac_try='test -z "$ac_cxx_werror_flag"
62945 || test ! -s conftest.err'
62946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62947 (eval $ac_try) 2>&5
62948 ac_status=$?
62949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62950 (exit $ac_status); }; } &&
62951 { ac_try='test -s conftest.$ac_objext'
62952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62953 (eval $ac_try) 2>&5
62954 ac_status=$?
62955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62956 (exit $ac_status); }; }; then
62957 glibcxx_cv_func__isnanl_use=yes
62958 else
62959 echo "$as_me: failed program was:" >&5
62960 sed 's/^/| /' conftest.$ac_ext >&5
62962 glibcxx_cv_func__isnanl_use=no
62964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62965 ac_ext=c
62966 ac_cpp='$CPP $CPPFLAGS'
62967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
62976 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
62978 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62980 for ac_func in _isnanl
62982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62983 echo "$as_me:$LINENO: checking for $ac_func" >&5
62984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62985 if eval "test \"\${$as_ac_var+set}\" = set"; then
62986 echo $ECHO_N "(cached) $ECHO_C" >&6
62987 else
62988 if test x$gcc_no_link = xyes; then
62989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62991 { (exit 1); exit 1; }; }
62993 cat >conftest.$ac_ext <<_ACEOF
62994 /* confdefs.h. */
62995 _ACEOF
62996 cat confdefs.h >>conftest.$ac_ext
62997 cat >>conftest.$ac_ext <<_ACEOF
62998 /* end confdefs.h. */
62999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63001 #define $ac_func innocuous_$ac_func
63003 /* System header to define __stub macros and hopefully few prototypes,
63004 which can conflict with char $ac_func (); below.
63005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63006 <limits.h> exists even on freestanding compilers. */
63008 #ifdef __STDC__
63009 # include <limits.h>
63010 #else
63011 # include <assert.h>
63012 #endif
63014 #undef $ac_func
63016 /* Override any gcc2 internal prototype to avoid an error. */
63017 #ifdef __cplusplus
63018 extern "C"
63020 #endif
63021 /* We use char because int might match the return type of a gcc2
63022 builtin and then its argument prototype would still apply. */
63023 char $ac_func ();
63024 /* The GNU C library defines this for functions which it implements
63025 to always fail with ENOSYS. Some functions are actually named
63026 something starting with __ and the normal name is an alias. */
63027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63028 choke me
63029 #else
63030 char (*f) () = $ac_func;
63031 #endif
63032 #ifdef __cplusplus
63034 #endif
63037 main ()
63039 return f != $ac_func;
63041 return 0;
63043 _ACEOF
63044 rm -f conftest.$ac_objext conftest$ac_exeext
63045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63046 (eval $ac_link) 2>conftest.er1
63047 ac_status=$?
63048 grep -v '^ *+' conftest.er1 >conftest.err
63049 rm -f conftest.er1
63050 cat conftest.err >&5
63051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63052 (exit $ac_status); } &&
63053 { ac_try='test -z "$ac_c_werror_flag"
63054 || test ! -s conftest.err'
63055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63056 (eval $ac_try) 2>&5
63057 ac_status=$?
63058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63059 (exit $ac_status); }; } &&
63060 { ac_try='test -s conftest$ac_exeext'
63061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63062 (eval $ac_try) 2>&5
63063 ac_status=$?
63064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63065 (exit $ac_status); }; }; then
63066 eval "$as_ac_var=yes"
63067 else
63068 echo "$as_me: failed program was:" >&5
63069 sed 's/^/| /' conftest.$ac_ext >&5
63071 eval "$as_ac_var=no"
63073 rm -f conftest.err conftest.$ac_objext \
63074 conftest$ac_exeext conftest.$ac_ext
63076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63078 if test `eval echo '${'$as_ac_var'}'` = yes; then
63079 cat >>confdefs.h <<_ACEOF
63080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63081 _ACEOF
63084 done
63091 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63092 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63093 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63094 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63095 echo $ECHO_N "(cached) $ECHO_C" >&6
63096 else
63100 ac_ext=cc
63101 ac_cpp='$CXXCPP $CPPFLAGS'
63102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63106 cat >conftest.$ac_ext <<_ACEOF
63107 /* confdefs.h. */
63108 _ACEOF
63109 cat confdefs.h >>conftest.$ac_ext
63110 cat >>conftest.$ac_ext <<_ACEOF
63111 /* end confdefs.h. */
63112 #include <math.h>
63113 #ifdef HAVE_IEEEFP_H
63114 #include <ieeefp.h>
63115 #endif
63118 main ()
63120 isinfl(0);
63122 return 0;
63124 _ACEOF
63125 rm -f conftest.$ac_objext
63126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63127 (eval $ac_compile) 2>conftest.er1
63128 ac_status=$?
63129 grep -v '^ *+' conftest.er1 >conftest.err
63130 rm -f conftest.er1
63131 cat conftest.err >&5
63132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63133 (exit $ac_status); } &&
63134 { ac_try='test -z "$ac_cxx_werror_flag"
63135 || test ! -s conftest.err'
63136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63137 (eval $ac_try) 2>&5
63138 ac_status=$?
63139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63140 (exit $ac_status); }; } &&
63141 { ac_try='test -s conftest.$ac_objext'
63142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63143 (eval $ac_try) 2>&5
63144 ac_status=$?
63145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63146 (exit $ac_status); }; }; then
63147 glibcxx_cv_func_isinfl_use=yes
63148 else
63149 echo "$as_me: failed program was:" >&5
63150 sed 's/^/| /' conftest.$ac_ext >&5
63152 glibcxx_cv_func_isinfl_use=no
63154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63155 ac_ext=c
63156 ac_cpp='$CPP $CPPFLAGS'
63157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63166 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63168 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63170 for ac_func in isinfl
63172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63173 echo "$as_me:$LINENO: checking for $ac_func" >&5
63174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63175 if eval "test \"\${$as_ac_var+set}\" = set"; then
63176 echo $ECHO_N "(cached) $ECHO_C" >&6
63177 else
63178 if test x$gcc_no_link = xyes; then
63179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63181 { (exit 1); exit 1; }; }
63183 cat >conftest.$ac_ext <<_ACEOF
63184 /* confdefs.h. */
63185 _ACEOF
63186 cat confdefs.h >>conftest.$ac_ext
63187 cat >>conftest.$ac_ext <<_ACEOF
63188 /* end confdefs.h. */
63189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63191 #define $ac_func innocuous_$ac_func
63193 /* System header to define __stub macros and hopefully few prototypes,
63194 which can conflict with char $ac_func (); below.
63195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63196 <limits.h> exists even on freestanding compilers. */
63198 #ifdef __STDC__
63199 # include <limits.h>
63200 #else
63201 # include <assert.h>
63202 #endif
63204 #undef $ac_func
63206 /* Override any gcc2 internal prototype to avoid an error. */
63207 #ifdef __cplusplus
63208 extern "C"
63210 #endif
63211 /* We use char because int might match the return type of a gcc2
63212 builtin and then its argument prototype would still apply. */
63213 char $ac_func ();
63214 /* The GNU C library defines this for functions which it implements
63215 to always fail with ENOSYS. Some functions are actually named
63216 something starting with __ and the normal name is an alias. */
63217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63218 choke me
63219 #else
63220 char (*f) () = $ac_func;
63221 #endif
63222 #ifdef __cplusplus
63224 #endif
63227 main ()
63229 return f != $ac_func;
63231 return 0;
63233 _ACEOF
63234 rm -f conftest.$ac_objext conftest$ac_exeext
63235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63236 (eval $ac_link) 2>conftest.er1
63237 ac_status=$?
63238 grep -v '^ *+' conftest.er1 >conftest.err
63239 rm -f conftest.er1
63240 cat conftest.err >&5
63241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63242 (exit $ac_status); } &&
63243 { ac_try='test -z "$ac_c_werror_flag"
63244 || test ! -s conftest.err'
63245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63246 (eval $ac_try) 2>&5
63247 ac_status=$?
63248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63249 (exit $ac_status); }; } &&
63250 { ac_try='test -s conftest$ac_exeext'
63251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63252 (eval $ac_try) 2>&5
63253 ac_status=$?
63254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63255 (exit $ac_status); }; }; then
63256 eval "$as_ac_var=yes"
63257 else
63258 echo "$as_me: failed program was:" >&5
63259 sed 's/^/| /' conftest.$ac_ext >&5
63261 eval "$as_ac_var=no"
63263 rm -f conftest.err conftest.$ac_objext \
63264 conftest$ac_exeext conftest.$ac_ext
63266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63268 if test `eval echo '${'$as_ac_var'}'` = yes; then
63269 cat >>confdefs.h <<_ACEOF
63270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63271 _ACEOF
63274 done
63276 else
63278 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63279 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63280 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63281 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63282 echo $ECHO_N "(cached) $ECHO_C" >&6
63283 else
63287 ac_ext=cc
63288 ac_cpp='$CXXCPP $CPPFLAGS'
63289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63293 cat >conftest.$ac_ext <<_ACEOF
63294 /* confdefs.h. */
63295 _ACEOF
63296 cat confdefs.h >>conftest.$ac_ext
63297 cat >>conftest.$ac_ext <<_ACEOF
63298 /* end confdefs.h. */
63299 #include <math.h>
63300 #ifdef HAVE_IEEEFP_H
63301 #include <ieeefp.h>
63302 #endif
63305 main ()
63307 _isinfl(0);
63309 return 0;
63311 _ACEOF
63312 rm -f conftest.$ac_objext
63313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63314 (eval $ac_compile) 2>conftest.er1
63315 ac_status=$?
63316 grep -v '^ *+' conftest.er1 >conftest.err
63317 rm -f conftest.er1
63318 cat conftest.err >&5
63319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63320 (exit $ac_status); } &&
63321 { ac_try='test -z "$ac_cxx_werror_flag"
63322 || test ! -s conftest.err'
63323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63324 (eval $ac_try) 2>&5
63325 ac_status=$?
63326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63327 (exit $ac_status); }; } &&
63328 { ac_try='test -s conftest.$ac_objext'
63329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63330 (eval $ac_try) 2>&5
63331 ac_status=$?
63332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63333 (exit $ac_status); }; }; then
63334 glibcxx_cv_func__isinfl_use=yes
63335 else
63336 echo "$as_me: failed program was:" >&5
63337 sed 's/^/| /' conftest.$ac_ext >&5
63339 glibcxx_cv_func__isinfl_use=no
63341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63342 ac_ext=c
63343 ac_cpp='$CPP $CPPFLAGS'
63344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
63353 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
63355 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63357 for ac_func in _isinfl
63359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63360 echo "$as_me:$LINENO: checking for $ac_func" >&5
63361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63362 if eval "test \"\${$as_ac_var+set}\" = set"; then
63363 echo $ECHO_N "(cached) $ECHO_C" >&6
63364 else
63365 if test x$gcc_no_link = xyes; then
63366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63368 { (exit 1); exit 1; }; }
63370 cat >conftest.$ac_ext <<_ACEOF
63371 /* confdefs.h. */
63372 _ACEOF
63373 cat confdefs.h >>conftest.$ac_ext
63374 cat >>conftest.$ac_ext <<_ACEOF
63375 /* end confdefs.h. */
63376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63378 #define $ac_func innocuous_$ac_func
63380 /* System header to define __stub macros and hopefully few prototypes,
63381 which can conflict with char $ac_func (); below.
63382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63383 <limits.h> exists even on freestanding compilers. */
63385 #ifdef __STDC__
63386 # include <limits.h>
63387 #else
63388 # include <assert.h>
63389 #endif
63391 #undef $ac_func
63393 /* Override any gcc2 internal prototype to avoid an error. */
63394 #ifdef __cplusplus
63395 extern "C"
63397 #endif
63398 /* We use char because int might match the return type of a gcc2
63399 builtin and then its argument prototype would still apply. */
63400 char $ac_func ();
63401 /* The GNU C library defines this for functions which it implements
63402 to always fail with ENOSYS. Some functions are actually named
63403 something starting with __ and the normal name is an alias. */
63404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63405 choke me
63406 #else
63407 char (*f) () = $ac_func;
63408 #endif
63409 #ifdef __cplusplus
63411 #endif
63414 main ()
63416 return f != $ac_func;
63418 return 0;
63420 _ACEOF
63421 rm -f conftest.$ac_objext conftest$ac_exeext
63422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63423 (eval $ac_link) 2>conftest.er1
63424 ac_status=$?
63425 grep -v '^ *+' conftest.er1 >conftest.err
63426 rm -f conftest.er1
63427 cat conftest.err >&5
63428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63429 (exit $ac_status); } &&
63430 { ac_try='test -z "$ac_c_werror_flag"
63431 || test ! -s conftest.err'
63432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63433 (eval $ac_try) 2>&5
63434 ac_status=$?
63435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63436 (exit $ac_status); }; } &&
63437 { ac_try='test -s conftest$ac_exeext'
63438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63439 (eval $ac_try) 2>&5
63440 ac_status=$?
63441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63442 (exit $ac_status); }; }; then
63443 eval "$as_ac_var=yes"
63444 else
63445 echo "$as_me: failed program was:" >&5
63446 sed 's/^/| /' conftest.$ac_ext >&5
63448 eval "$as_ac_var=no"
63450 rm -f conftest.err conftest.$ac_objext \
63451 conftest$ac_exeext conftest.$ac_ext
63453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63455 if test `eval echo '${'$as_ac_var'}'` = yes; then
63456 cat >>confdefs.h <<_ACEOF
63457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63458 _ACEOF
63461 done
63468 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
63469 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
63470 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
63471 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
63472 echo $ECHO_N "(cached) $ECHO_C" >&6
63473 else
63477 ac_ext=cc
63478 ac_cpp='$CXXCPP $CPPFLAGS'
63479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483 cat >conftest.$ac_ext <<_ACEOF
63484 /* confdefs.h. */
63485 _ACEOF
63486 cat confdefs.h >>conftest.$ac_ext
63487 cat >>conftest.$ac_ext <<_ACEOF
63488 /* end confdefs.h. */
63489 #include <math.h>
63491 main ()
63493 copysignl(0, 0);
63495 return 0;
63497 _ACEOF
63498 rm -f conftest.$ac_objext
63499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63500 (eval $ac_compile) 2>conftest.er1
63501 ac_status=$?
63502 grep -v '^ *+' conftest.er1 >conftest.err
63503 rm -f conftest.er1
63504 cat conftest.err >&5
63505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506 (exit $ac_status); } &&
63507 { ac_try='test -z "$ac_cxx_werror_flag"
63508 || test ! -s conftest.err'
63509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63510 (eval $ac_try) 2>&5
63511 ac_status=$?
63512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63513 (exit $ac_status); }; } &&
63514 { ac_try='test -s conftest.$ac_objext'
63515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516 (eval $ac_try) 2>&5
63517 ac_status=$?
63518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519 (exit $ac_status); }; }; then
63520 glibcxx_cv_func_copysignl_use=yes
63521 else
63522 echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63525 glibcxx_cv_func_copysignl_use=no
63527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63528 ac_ext=c
63529 ac_cpp='$CPP $CPPFLAGS'
63530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
63539 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
63541 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
63543 for ac_func in copysignl
63545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63546 echo "$as_me:$LINENO: checking for $ac_func" >&5
63547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63548 if eval "test \"\${$as_ac_var+set}\" = set"; then
63549 echo $ECHO_N "(cached) $ECHO_C" >&6
63550 else
63551 if test x$gcc_no_link = xyes; then
63552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63554 { (exit 1); exit 1; }; }
63556 cat >conftest.$ac_ext <<_ACEOF
63557 /* confdefs.h. */
63558 _ACEOF
63559 cat confdefs.h >>conftest.$ac_ext
63560 cat >>conftest.$ac_ext <<_ACEOF
63561 /* end confdefs.h. */
63562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63564 #define $ac_func innocuous_$ac_func
63566 /* System header to define __stub macros and hopefully few prototypes,
63567 which can conflict with char $ac_func (); below.
63568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63569 <limits.h> exists even on freestanding compilers. */
63571 #ifdef __STDC__
63572 # include <limits.h>
63573 #else
63574 # include <assert.h>
63575 #endif
63577 #undef $ac_func
63579 /* Override any gcc2 internal prototype to avoid an error. */
63580 #ifdef __cplusplus
63581 extern "C"
63583 #endif
63584 /* We use char because int might match the return type of a gcc2
63585 builtin and then its argument prototype would still apply. */
63586 char $ac_func ();
63587 /* The GNU C library defines this for functions which it implements
63588 to always fail with ENOSYS. Some functions are actually named
63589 something starting with __ and the normal name is an alias. */
63590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63591 choke me
63592 #else
63593 char (*f) () = $ac_func;
63594 #endif
63595 #ifdef __cplusplus
63597 #endif
63600 main ()
63602 return f != $ac_func;
63604 return 0;
63606 _ACEOF
63607 rm -f conftest.$ac_objext conftest$ac_exeext
63608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63609 (eval $ac_link) 2>conftest.er1
63610 ac_status=$?
63611 grep -v '^ *+' conftest.er1 >conftest.err
63612 rm -f conftest.er1
63613 cat conftest.err >&5
63614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63615 (exit $ac_status); } &&
63616 { ac_try='test -z "$ac_c_werror_flag"
63617 || test ! -s conftest.err'
63618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63619 (eval $ac_try) 2>&5
63620 ac_status=$?
63621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63622 (exit $ac_status); }; } &&
63623 { ac_try='test -s conftest$ac_exeext'
63624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63625 (eval $ac_try) 2>&5
63626 ac_status=$?
63627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63628 (exit $ac_status); }; }; then
63629 eval "$as_ac_var=yes"
63630 else
63631 echo "$as_me: failed program was:" >&5
63632 sed 's/^/| /' conftest.$ac_ext >&5
63634 eval "$as_ac_var=no"
63636 rm -f conftest.err conftest.$ac_objext \
63637 conftest$ac_exeext conftest.$ac_ext
63639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63641 if test `eval echo '${'$as_ac_var'}'` = yes; then
63642 cat >>confdefs.h <<_ACEOF
63643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63644 _ACEOF
63647 done
63649 else
63651 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
63652 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
63653 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
63654 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
63655 echo $ECHO_N "(cached) $ECHO_C" >&6
63656 else
63660 ac_ext=cc
63661 ac_cpp='$CXXCPP $CPPFLAGS'
63662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63666 cat >conftest.$ac_ext <<_ACEOF
63667 /* confdefs.h. */
63668 _ACEOF
63669 cat confdefs.h >>conftest.$ac_ext
63670 cat >>conftest.$ac_ext <<_ACEOF
63671 /* end confdefs.h. */
63672 #include <math.h>
63674 main ()
63676 _copysignl(0, 0);
63678 return 0;
63680 _ACEOF
63681 rm -f conftest.$ac_objext
63682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63683 (eval $ac_compile) 2>conftest.er1
63684 ac_status=$?
63685 grep -v '^ *+' conftest.er1 >conftest.err
63686 rm -f conftest.er1
63687 cat conftest.err >&5
63688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63689 (exit $ac_status); } &&
63690 { ac_try='test -z "$ac_cxx_werror_flag"
63691 || test ! -s conftest.err'
63692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63693 (eval $ac_try) 2>&5
63694 ac_status=$?
63695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63696 (exit $ac_status); }; } &&
63697 { ac_try='test -s conftest.$ac_objext'
63698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63699 (eval $ac_try) 2>&5
63700 ac_status=$?
63701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63702 (exit $ac_status); }; }; then
63703 glibcxx_cv_func__copysignl_use=yes
63704 else
63705 echo "$as_me: failed program was:" >&5
63706 sed 's/^/| /' conftest.$ac_ext >&5
63708 glibcxx_cv_func__copysignl_use=no
63710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63711 ac_ext=c
63712 ac_cpp='$CPP $CPPFLAGS'
63713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
63722 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
63724 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
63726 for ac_func in _copysignl
63728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63729 echo "$as_me:$LINENO: checking for $ac_func" >&5
63730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63731 if eval "test \"\${$as_ac_var+set}\" = set"; then
63732 echo $ECHO_N "(cached) $ECHO_C" >&6
63733 else
63734 if test x$gcc_no_link = xyes; then
63735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63737 { (exit 1); exit 1; }; }
63739 cat >conftest.$ac_ext <<_ACEOF
63740 /* confdefs.h. */
63741 _ACEOF
63742 cat confdefs.h >>conftest.$ac_ext
63743 cat >>conftest.$ac_ext <<_ACEOF
63744 /* end confdefs.h. */
63745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63747 #define $ac_func innocuous_$ac_func
63749 /* System header to define __stub macros and hopefully few prototypes,
63750 which can conflict with char $ac_func (); below.
63751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63752 <limits.h> exists even on freestanding compilers. */
63754 #ifdef __STDC__
63755 # include <limits.h>
63756 #else
63757 # include <assert.h>
63758 #endif
63760 #undef $ac_func
63762 /* Override any gcc2 internal prototype to avoid an error. */
63763 #ifdef __cplusplus
63764 extern "C"
63766 #endif
63767 /* We use char because int might match the return type of a gcc2
63768 builtin and then its argument prototype would still apply. */
63769 char $ac_func ();
63770 /* The GNU C library defines this for functions which it implements
63771 to always fail with ENOSYS. Some functions are actually named
63772 something starting with __ and the normal name is an alias. */
63773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63774 choke me
63775 #else
63776 char (*f) () = $ac_func;
63777 #endif
63778 #ifdef __cplusplus
63780 #endif
63783 main ()
63785 return f != $ac_func;
63787 return 0;
63789 _ACEOF
63790 rm -f conftest.$ac_objext conftest$ac_exeext
63791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63792 (eval $ac_link) 2>conftest.er1
63793 ac_status=$?
63794 grep -v '^ *+' conftest.er1 >conftest.err
63795 rm -f conftest.er1
63796 cat conftest.err >&5
63797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63798 (exit $ac_status); } &&
63799 { ac_try='test -z "$ac_c_werror_flag"
63800 || test ! -s conftest.err'
63801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63802 (eval $ac_try) 2>&5
63803 ac_status=$?
63804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63805 (exit $ac_status); }; } &&
63806 { ac_try='test -s conftest$ac_exeext'
63807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63808 (eval $ac_try) 2>&5
63809 ac_status=$?
63810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63811 (exit $ac_status); }; }; then
63812 eval "$as_ac_var=yes"
63813 else
63814 echo "$as_me: failed program was:" >&5
63815 sed 's/^/| /' conftest.$ac_ext >&5
63817 eval "$as_ac_var=no"
63819 rm -f conftest.err conftest.$ac_objext \
63820 conftest$ac_exeext conftest.$ac_ext
63822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63824 if test `eval echo '${'$as_ac_var'}'` = yes; then
63825 cat >>confdefs.h <<_ACEOF
63826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63827 _ACEOF
63830 done
63837 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
63838 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
63839 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63840 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
63841 echo $ECHO_N "(cached) $ECHO_C" >&6
63842 else
63846 ac_ext=cc
63847 ac_cpp='$CXXCPP $CPPFLAGS'
63848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63852 cat >conftest.$ac_ext <<_ACEOF
63853 /* confdefs.h. */
63854 _ACEOF
63855 cat confdefs.h >>conftest.$ac_ext
63856 cat >>conftest.$ac_ext <<_ACEOF
63857 /* end confdefs.h. */
63858 #include <math.h>
63860 main ()
63862 atan2l(0, 0);
63864 return 0;
63866 _ACEOF
63867 rm -f conftest.$ac_objext
63868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63869 (eval $ac_compile) 2>conftest.er1
63870 ac_status=$?
63871 grep -v '^ *+' conftest.er1 >conftest.err
63872 rm -f conftest.er1
63873 cat conftest.err >&5
63874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63875 (exit $ac_status); } &&
63876 { ac_try='test -z "$ac_cxx_werror_flag"
63877 || test ! -s conftest.err'
63878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63879 (eval $ac_try) 2>&5
63880 ac_status=$?
63881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63882 (exit $ac_status); }; } &&
63883 { ac_try='test -s conftest.$ac_objext'
63884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63885 (eval $ac_try) 2>&5
63886 ac_status=$?
63887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63888 (exit $ac_status); }; }; then
63889 glibcxx_cv_func_atan2l_use=yes
63890 else
63891 echo "$as_me: failed program was:" >&5
63892 sed 's/^/| /' conftest.$ac_ext >&5
63894 glibcxx_cv_func_atan2l_use=no
63896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63897 ac_ext=c
63898 ac_cpp='$CPP $CPPFLAGS'
63899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
63908 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
63910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63912 for ac_func in atan2l
63914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63915 echo "$as_me:$LINENO: checking for $ac_func" >&5
63916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63917 if eval "test \"\${$as_ac_var+set}\" = set"; then
63918 echo $ECHO_N "(cached) $ECHO_C" >&6
63919 else
63920 if test x$gcc_no_link = xyes; then
63921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63923 { (exit 1); exit 1; }; }
63925 cat >conftest.$ac_ext <<_ACEOF
63926 /* confdefs.h. */
63927 _ACEOF
63928 cat confdefs.h >>conftest.$ac_ext
63929 cat >>conftest.$ac_ext <<_ACEOF
63930 /* end confdefs.h. */
63931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63933 #define $ac_func innocuous_$ac_func
63935 /* System header to define __stub macros and hopefully few prototypes,
63936 which can conflict with char $ac_func (); below.
63937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63938 <limits.h> exists even on freestanding compilers. */
63940 #ifdef __STDC__
63941 # include <limits.h>
63942 #else
63943 # include <assert.h>
63944 #endif
63946 #undef $ac_func
63948 /* Override any gcc2 internal prototype to avoid an error. */
63949 #ifdef __cplusplus
63950 extern "C"
63952 #endif
63953 /* We use char because int might match the return type of a gcc2
63954 builtin and then its argument prototype would still apply. */
63955 char $ac_func ();
63956 /* The GNU C library defines this for functions which it implements
63957 to always fail with ENOSYS. Some functions are actually named
63958 something starting with __ and the normal name is an alias. */
63959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63960 choke me
63961 #else
63962 char (*f) () = $ac_func;
63963 #endif
63964 #ifdef __cplusplus
63966 #endif
63969 main ()
63971 return f != $ac_func;
63973 return 0;
63975 _ACEOF
63976 rm -f conftest.$ac_objext conftest$ac_exeext
63977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63978 (eval $ac_link) 2>conftest.er1
63979 ac_status=$?
63980 grep -v '^ *+' conftest.er1 >conftest.err
63981 rm -f conftest.er1
63982 cat conftest.err >&5
63983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63984 (exit $ac_status); } &&
63985 { ac_try='test -z "$ac_c_werror_flag"
63986 || test ! -s conftest.err'
63987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63988 (eval $ac_try) 2>&5
63989 ac_status=$?
63990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63991 (exit $ac_status); }; } &&
63992 { ac_try='test -s conftest$ac_exeext'
63993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63994 (eval $ac_try) 2>&5
63995 ac_status=$?
63996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63997 (exit $ac_status); }; }; then
63998 eval "$as_ac_var=yes"
63999 else
64000 echo "$as_me: failed program was:" >&5
64001 sed 's/^/| /' conftest.$ac_ext >&5
64003 eval "$as_ac_var=no"
64005 rm -f conftest.err conftest.$ac_objext \
64006 conftest$ac_exeext conftest.$ac_ext
64008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64010 if test `eval echo '${'$as_ac_var'}'` = yes; then
64011 cat >>confdefs.h <<_ACEOF
64012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64013 _ACEOF
64016 done
64018 else
64020 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64021 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64022 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64023 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64024 echo $ECHO_N "(cached) $ECHO_C" >&6
64025 else
64029 ac_ext=cc
64030 ac_cpp='$CXXCPP $CPPFLAGS'
64031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64035 cat >conftest.$ac_ext <<_ACEOF
64036 /* confdefs.h. */
64037 _ACEOF
64038 cat confdefs.h >>conftest.$ac_ext
64039 cat >>conftest.$ac_ext <<_ACEOF
64040 /* end confdefs.h. */
64041 #include <math.h>
64043 main ()
64045 _atan2l(0, 0);
64047 return 0;
64049 _ACEOF
64050 rm -f conftest.$ac_objext
64051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64052 (eval $ac_compile) 2>conftest.er1
64053 ac_status=$?
64054 grep -v '^ *+' conftest.er1 >conftest.err
64055 rm -f conftest.er1
64056 cat conftest.err >&5
64057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64058 (exit $ac_status); } &&
64059 { ac_try='test -z "$ac_cxx_werror_flag"
64060 || test ! -s conftest.err'
64061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64062 (eval $ac_try) 2>&5
64063 ac_status=$?
64064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64065 (exit $ac_status); }; } &&
64066 { ac_try='test -s conftest.$ac_objext'
64067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64068 (eval $ac_try) 2>&5
64069 ac_status=$?
64070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64071 (exit $ac_status); }; }; then
64072 glibcxx_cv_func__atan2l_use=yes
64073 else
64074 echo "$as_me: failed program was:" >&5
64075 sed 's/^/| /' conftest.$ac_ext >&5
64077 glibcxx_cv_func__atan2l_use=no
64079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64080 ac_ext=c
64081 ac_cpp='$CPP $CPPFLAGS'
64082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64091 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64095 for ac_func in _atan2l
64097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64098 echo "$as_me:$LINENO: checking for $ac_func" >&5
64099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64100 if eval "test \"\${$as_ac_var+set}\" = set"; then
64101 echo $ECHO_N "(cached) $ECHO_C" >&6
64102 else
64103 if test x$gcc_no_link = xyes; then
64104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64106 { (exit 1); exit 1; }; }
64108 cat >conftest.$ac_ext <<_ACEOF
64109 /* confdefs.h. */
64110 _ACEOF
64111 cat confdefs.h >>conftest.$ac_ext
64112 cat >>conftest.$ac_ext <<_ACEOF
64113 /* end confdefs.h. */
64114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64116 #define $ac_func innocuous_$ac_func
64118 /* System header to define __stub macros and hopefully few prototypes,
64119 which can conflict with char $ac_func (); below.
64120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64121 <limits.h> exists even on freestanding compilers. */
64123 #ifdef __STDC__
64124 # include <limits.h>
64125 #else
64126 # include <assert.h>
64127 #endif
64129 #undef $ac_func
64131 /* Override any gcc2 internal prototype to avoid an error. */
64132 #ifdef __cplusplus
64133 extern "C"
64135 #endif
64136 /* We use char because int might match the return type of a gcc2
64137 builtin and then its argument prototype would still apply. */
64138 char $ac_func ();
64139 /* The GNU C library defines this for functions which it implements
64140 to always fail with ENOSYS. Some functions are actually named
64141 something starting with __ and the normal name is an alias. */
64142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64143 choke me
64144 #else
64145 char (*f) () = $ac_func;
64146 #endif
64147 #ifdef __cplusplus
64149 #endif
64152 main ()
64154 return f != $ac_func;
64156 return 0;
64158 _ACEOF
64159 rm -f conftest.$ac_objext conftest$ac_exeext
64160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64161 (eval $ac_link) 2>conftest.er1
64162 ac_status=$?
64163 grep -v '^ *+' conftest.er1 >conftest.err
64164 rm -f conftest.er1
64165 cat conftest.err >&5
64166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64167 (exit $ac_status); } &&
64168 { ac_try='test -z "$ac_c_werror_flag"
64169 || test ! -s conftest.err'
64170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64171 (eval $ac_try) 2>&5
64172 ac_status=$?
64173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64174 (exit $ac_status); }; } &&
64175 { ac_try='test -s conftest$ac_exeext'
64176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64177 (eval $ac_try) 2>&5
64178 ac_status=$?
64179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64180 (exit $ac_status); }; }; then
64181 eval "$as_ac_var=yes"
64182 else
64183 echo "$as_me: failed program was:" >&5
64184 sed 's/^/| /' conftest.$ac_ext >&5
64186 eval "$as_ac_var=no"
64188 rm -f conftest.err conftest.$ac_objext \
64189 conftest$ac_exeext conftest.$ac_ext
64191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64193 if test `eval echo '${'$as_ac_var'}'` = yes; then
64194 cat >>confdefs.h <<_ACEOF
64195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64196 _ACEOF
64199 done
64206 echo "$as_me:$LINENO: checking for expl declaration" >&5
64207 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64208 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64209 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64210 echo $ECHO_N "(cached) $ECHO_C" >&6
64211 else
64215 ac_ext=cc
64216 ac_cpp='$CXXCPP $CPPFLAGS'
64217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64221 cat >conftest.$ac_ext <<_ACEOF
64222 /* confdefs.h. */
64223 _ACEOF
64224 cat confdefs.h >>conftest.$ac_ext
64225 cat >>conftest.$ac_ext <<_ACEOF
64226 /* end confdefs.h. */
64227 #include <math.h>
64228 #ifdef HAVE_IEEEFP_H
64229 #include <ieeefp.h>
64230 #endif
64233 main ()
64235 expl(0);
64237 return 0;
64239 _ACEOF
64240 rm -f conftest.$ac_objext
64241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64242 (eval $ac_compile) 2>conftest.er1
64243 ac_status=$?
64244 grep -v '^ *+' conftest.er1 >conftest.err
64245 rm -f conftest.er1
64246 cat conftest.err >&5
64247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64248 (exit $ac_status); } &&
64249 { ac_try='test -z "$ac_cxx_werror_flag"
64250 || test ! -s conftest.err'
64251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64252 (eval $ac_try) 2>&5
64253 ac_status=$?
64254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255 (exit $ac_status); }; } &&
64256 { ac_try='test -s conftest.$ac_objext'
64257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64258 (eval $ac_try) 2>&5
64259 ac_status=$?
64260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64261 (exit $ac_status); }; }; then
64262 glibcxx_cv_func_expl_use=yes
64263 else
64264 echo "$as_me: failed program was:" >&5
64265 sed 's/^/| /' conftest.$ac_ext >&5
64267 glibcxx_cv_func_expl_use=no
64269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64281 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64283 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64285 for ac_func in expl
64287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64288 echo "$as_me:$LINENO: checking for $ac_func" >&5
64289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64290 if eval "test \"\${$as_ac_var+set}\" = set"; then
64291 echo $ECHO_N "(cached) $ECHO_C" >&6
64292 else
64293 if test x$gcc_no_link = xyes; then
64294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64296 { (exit 1); exit 1; }; }
64298 cat >conftest.$ac_ext <<_ACEOF
64299 /* confdefs.h. */
64300 _ACEOF
64301 cat confdefs.h >>conftest.$ac_ext
64302 cat >>conftest.$ac_ext <<_ACEOF
64303 /* end confdefs.h. */
64304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64306 #define $ac_func innocuous_$ac_func
64308 /* System header to define __stub macros and hopefully few prototypes,
64309 which can conflict with char $ac_func (); below.
64310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64311 <limits.h> exists even on freestanding compilers. */
64313 #ifdef __STDC__
64314 # include <limits.h>
64315 #else
64316 # include <assert.h>
64317 #endif
64319 #undef $ac_func
64321 /* Override any gcc2 internal prototype to avoid an error. */
64322 #ifdef __cplusplus
64323 extern "C"
64325 #endif
64326 /* We use char because int might match the return type of a gcc2
64327 builtin and then its argument prototype would still apply. */
64328 char $ac_func ();
64329 /* The GNU C library defines this for functions which it implements
64330 to always fail with ENOSYS. Some functions are actually named
64331 something starting with __ and the normal name is an alias. */
64332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64333 choke me
64334 #else
64335 char (*f) () = $ac_func;
64336 #endif
64337 #ifdef __cplusplus
64339 #endif
64342 main ()
64344 return f != $ac_func;
64346 return 0;
64348 _ACEOF
64349 rm -f conftest.$ac_objext conftest$ac_exeext
64350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64351 (eval $ac_link) 2>conftest.er1
64352 ac_status=$?
64353 grep -v '^ *+' conftest.er1 >conftest.err
64354 rm -f conftest.er1
64355 cat conftest.err >&5
64356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64357 (exit $ac_status); } &&
64358 { ac_try='test -z "$ac_c_werror_flag"
64359 || test ! -s conftest.err'
64360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64361 (eval $ac_try) 2>&5
64362 ac_status=$?
64363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64364 (exit $ac_status); }; } &&
64365 { ac_try='test -s conftest$ac_exeext'
64366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64367 (eval $ac_try) 2>&5
64368 ac_status=$?
64369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64370 (exit $ac_status); }; }; then
64371 eval "$as_ac_var=yes"
64372 else
64373 echo "$as_me: failed program was:" >&5
64374 sed 's/^/| /' conftest.$ac_ext >&5
64376 eval "$as_ac_var=no"
64378 rm -f conftest.err conftest.$ac_objext \
64379 conftest$ac_exeext conftest.$ac_ext
64381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64383 if test `eval echo '${'$as_ac_var'}'` = yes; then
64384 cat >>confdefs.h <<_ACEOF
64385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64386 _ACEOF
64389 done
64391 else
64393 echo "$as_me:$LINENO: checking for _expl declaration" >&5
64394 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
64395 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64396 if test "${glibcxx_cv_func__expl_use+set}" = set; then
64397 echo $ECHO_N "(cached) $ECHO_C" >&6
64398 else
64402 ac_ext=cc
64403 ac_cpp='$CXXCPP $CPPFLAGS'
64404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64408 cat >conftest.$ac_ext <<_ACEOF
64409 /* confdefs.h. */
64410 _ACEOF
64411 cat confdefs.h >>conftest.$ac_ext
64412 cat >>conftest.$ac_ext <<_ACEOF
64413 /* end confdefs.h. */
64414 #include <math.h>
64415 #ifdef HAVE_IEEEFP_H
64416 #include <ieeefp.h>
64417 #endif
64420 main ()
64422 _expl(0);
64424 return 0;
64426 _ACEOF
64427 rm -f conftest.$ac_objext
64428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64429 (eval $ac_compile) 2>conftest.er1
64430 ac_status=$?
64431 grep -v '^ *+' conftest.er1 >conftest.err
64432 rm -f conftest.er1
64433 cat conftest.err >&5
64434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64435 (exit $ac_status); } &&
64436 { ac_try='test -z "$ac_cxx_werror_flag"
64437 || test ! -s conftest.err'
64438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64439 (eval $ac_try) 2>&5
64440 ac_status=$?
64441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64442 (exit $ac_status); }; } &&
64443 { ac_try='test -s conftest.$ac_objext'
64444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64445 (eval $ac_try) 2>&5
64446 ac_status=$?
64447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64448 (exit $ac_status); }; }; then
64449 glibcxx_cv_func__expl_use=yes
64450 else
64451 echo "$as_me: failed program was:" >&5
64452 sed 's/^/| /' conftest.$ac_ext >&5
64454 glibcxx_cv_func__expl_use=no
64456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64457 ac_ext=c
64458 ac_cpp='$CPP $CPPFLAGS'
64459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
64468 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
64470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64472 for ac_func in _expl
64474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64475 echo "$as_me:$LINENO: checking for $ac_func" >&5
64476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64477 if eval "test \"\${$as_ac_var+set}\" = set"; then
64478 echo $ECHO_N "(cached) $ECHO_C" >&6
64479 else
64480 if test x$gcc_no_link = xyes; then
64481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64483 { (exit 1); exit 1; }; }
64485 cat >conftest.$ac_ext <<_ACEOF
64486 /* confdefs.h. */
64487 _ACEOF
64488 cat confdefs.h >>conftest.$ac_ext
64489 cat >>conftest.$ac_ext <<_ACEOF
64490 /* end confdefs.h. */
64491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64493 #define $ac_func innocuous_$ac_func
64495 /* System header to define __stub macros and hopefully few prototypes,
64496 which can conflict with char $ac_func (); below.
64497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64498 <limits.h> exists even on freestanding compilers. */
64500 #ifdef __STDC__
64501 # include <limits.h>
64502 #else
64503 # include <assert.h>
64504 #endif
64506 #undef $ac_func
64508 /* Override any gcc2 internal prototype to avoid an error. */
64509 #ifdef __cplusplus
64510 extern "C"
64512 #endif
64513 /* We use char because int might match the return type of a gcc2
64514 builtin and then its argument prototype would still apply. */
64515 char $ac_func ();
64516 /* The GNU C library defines this for functions which it implements
64517 to always fail with ENOSYS. Some functions are actually named
64518 something starting with __ and the normal name is an alias. */
64519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64520 choke me
64521 #else
64522 char (*f) () = $ac_func;
64523 #endif
64524 #ifdef __cplusplus
64526 #endif
64529 main ()
64531 return f != $ac_func;
64533 return 0;
64535 _ACEOF
64536 rm -f conftest.$ac_objext conftest$ac_exeext
64537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64538 (eval $ac_link) 2>conftest.er1
64539 ac_status=$?
64540 grep -v '^ *+' conftest.er1 >conftest.err
64541 rm -f conftest.er1
64542 cat conftest.err >&5
64543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64544 (exit $ac_status); } &&
64545 { ac_try='test -z "$ac_c_werror_flag"
64546 || test ! -s conftest.err'
64547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64548 (eval $ac_try) 2>&5
64549 ac_status=$?
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); }; } &&
64552 { ac_try='test -s conftest$ac_exeext'
64553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64554 (eval $ac_try) 2>&5
64555 ac_status=$?
64556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64557 (exit $ac_status); }; }; then
64558 eval "$as_ac_var=yes"
64559 else
64560 echo "$as_me: failed program was:" >&5
64561 sed 's/^/| /' conftest.$ac_ext >&5
64563 eval "$as_ac_var=no"
64565 rm -f conftest.err conftest.$ac_objext \
64566 conftest$ac_exeext conftest.$ac_ext
64568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64570 if test `eval echo '${'$as_ac_var'}'` = yes; then
64571 cat >>confdefs.h <<_ACEOF
64572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64573 _ACEOF
64576 done
64583 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
64584 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
64585 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64586 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
64587 echo $ECHO_N "(cached) $ECHO_C" >&6
64588 else
64592 ac_ext=cc
64593 ac_cpp='$CXXCPP $CPPFLAGS'
64594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64598 cat >conftest.$ac_ext <<_ACEOF
64599 /* confdefs.h. */
64600 _ACEOF
64601 cat confdefs.h >>conftest.$ac_ext
64602 cat >>conftest.$ac_ext <<_ACEOF
64603 /* end confdefs.h. */
64604 #include <math.h>
64605 #ifdef HAVE_IEEEFP_H
64606 #include <ieeefp.h>
64607 #endif
64610 main ()
64612 fabsl(0);
64614 return 0;
64616 _ACEOF
64617 rm -f conftest.$ac_objext
64618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64619 (eval $ac_compile) 2>conftest.er1
64620 ac_status=$?
64621 grep -v '^ *+' conftest.er1 >conftest.err
64622 rm -f conftest.er1
64623 cat conftest.err >&5
64624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64625 (exit $ac_status); } &&
64626 { ac_try='test -z "$ac_cxx_werror_flag"
64627 || test ! -s conftest.err'
64628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64629 (eval $ac_try) 2>&5
64630 ac_status=$?
64631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64632 (exit $ac_status); }; } &&
64633 { ac_try='test -s conftest.$ac_objext'
64634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64635 (eval $ac_try) 2>&5
64636 ac_status=$?
64637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64638 (exit $ac_status); }; }; then
64639 glibcxx_cv_func_fabsl_use=yes
64640 else
64641 echo "$as_me: failed program was:" >&5
64642 sed 's/^/| /' conftest.$ac_ext >&5
64644 glibcxx_cv_func_fabsl_use=no
64646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64647 ac_ext=c
64648 ac_cpp='$CPP $CPPFLAGS'
64649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
64658 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
64660 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64662 for ac_func in fabsl
64664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64665 echo "$as_me:$LINENO: checking for $ac_func" >&5
64666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64667 if eval "test \"\${$as_ac_var+set}\" = set"; then
64668 echo $ECHO_N "(cached) $ECHO_C" >&6
64669 else
64670 if test x$gcc_no_link = xyes; then
64671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64673 { (exit 1); exit 1; }; }
64675 cat >conftest.$ac_ext <<_ACEOF
64676 /* confdefs.h. */
64677 _ACEOF
64678 cat confdefs.h >>conftest.$ac_ext
64679 cat >>conftest.$ac_ext <<_ACEOF
64680 /* end confdefs.h. */
64681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64683 #define $ac_func innocuous_$ac_func
64685 /* System header to define __stub macros and hopefully few prototypes,
64686 which can conflict with char $ac_func (); below.
64687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64688 <limits.h> exists even on freestanding compilers. */
64690 #ifdef __STDC__
64691 # include <limits.h>
64692 #else
64693 # include <assert.h>
64694 #endif
64696 #undef $ac_func
64698 /* Override any gcc2 internal prototype to avoid an error. */
64699 #ifdef __cplusplus
64700 extern "C"
64702 #endif
64703 /* We use char because int might match the return type of a gcc2
64704 builtin and then its argument prototype would still apply. */
64705 char $ac_func ();
64706 /* The GNU C library defines this for functions which it implements
64707 to always fail with ENOSYS. Some functions are actually named
64708 something starting with __ and the normal name is an alias. */
64709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64710 choke me
64711 #else
64712 char (*f) () = $ac_func;
64713 #endif
64714 #ifdef __cplusplus
64716 #endif
64719 main ()
64721 return f != $ac_func;
64723 return 0;
64725 _ACEOF
64726 rm -f conftest.$ac_objext conftest$ac_exeext
64727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64728 (eval $ac_link) 2>conftest.er1
64729 ac_status=$?
64730 grep -v '^ *+' conftest.er1 >conftest.err
64731 rm -f conftest.er1
64732 cat conftest.err >&5
64733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734 (exit $ac_status); } &&
64735 { ac_try='test -z "$ac_c_werror_flag"
64736 || test ! -s conftest.err'
64737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64738 (eval $ac_try) 2>&5
64739 ac_status=$?
64740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64741 (exit $ac_status); }; } &&
64742 { ac_try='test -s conftest$ac_exeext'
64743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64744 (eval $ac_try) 2>&5
64745 ac_status=$?
64746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64747 (exit $ac_status); }; }; then
64748 eval "$as_ac_var=yes"
64749 else
64750 echo "$as_me: failed program was:" >&5
64751 sed 's/^/| /' conftest.$ac_ext >&5
64753 eval "$as_ac_var=no"
64755 rm -f conftest.err conftest.$ac_objext \
64756 conftest$ac_exeext conftest.$ac_ext
64758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64760 if test `eval echo '${'$as_ac_var'}'` = yes; then
64761 cat >>confdefs.h <<_ACEOF
64762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64763 _ACEOF
64766 done
64768 else
64770 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
64771 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
64772 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64773 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
64774 echo $ECHO_N "(cached) $ECHO_C" >&6
64775 else
64779 ac_ext=cc
64780 ac_cpp='$CXXCPP $CPPFLAGS'
64781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64785 cat >conftest.$ac_ext <<_ACEOF
64786 /* confdefs.h. */
64787 _ACEOF
64788 cat confdefs.h >>conftest.$ac_ext
64789 cat >>conftest.$ac_ext <<_ACEOF
64790 /* end confdefs.h. */
64791 #include <math.h>
64792 #ifdef HAVE_IEEEFP_H
64793 #include <ieeefp.h>
64794 #endif
64797 main ()
64799 _fabsl(0);
64801 return 0;
64803 _ACEOF
64804 rm -f conftest.$ac_objext
64805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64806 (eval $ac_compile) 2>conftest.er1
64807 ac_status=$?
64808 grep -v '^ *+' conftest.er1 >conftest.err
64809 rm -f conftest.er1
64810 cat conftest.err >&5
64811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64812 (exit $ac_status); } &&
64813 { ac_try='test -z "$ac_cxx_werror_flag"
64814 || test ! -s conftest.err'
64815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64816 (eval $ac_try) 2>&5
64817 ac_status=$?
64818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64819 (exit $ac_status); }; } &&
64820 { ac_try='test -s conftest.$ac_objext'
64821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64822 (eval $ac_try) 2>&5
64823 ac_status=$?
64824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64825 (exit $ac_status); }; }; then
64826 glibcxx_cv_func__fabsl_use=yes
64827 else
64828 echo "$as_me: failed program was:" >&5
64829 sed 's/^/| /' conftest.$ac_ext >&5
64831 glibcxx_cv_func__fabsl_use=no
64833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64834 ac_ext=c
64835 ac_cpp='$CPP $CPPFLAGS'
64836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
64845 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
64847 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64849 for ac_func in _fabsl
64851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64852 echo "$as_me:$LINENO: checking for $ac_func" >&5
64853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64854 if eval "test \"\${$as_ac_var+set}\" = set"; then
64855 echo $ECHO_N "(cached) $ECHO_C" >&6
64856 else
64857 if test x$gcc_no_link = xyes; then
64858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64860 { (exit 1); exit 1; }; }
64862 cat >conftest.$ac_ext <<_ACEOF
64863 /* confdefs.h. */
64864 _ACEOF
64865 cat confdefs.h >>conftest.$ac_ext
64866 cat >>conftest.$ac_ext <<_ACEOF
64867 /* end confdefs.h. */
64868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64870 #define $ac_func innocuous_$ac_func
64872 /* System header to define __stub macros and hopefully few prototypes,
64873 which can conflict with char $ac_func (); below.
64874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64875 <limits.h> exists even on freestanding compilers. */
64877 #ifdef __STDC__
64878 # include <limits.h>
64879 #else
64880 # include <assert.h>
64881 #endif
64883 #undef $ac_func
64885 /* Override any gcc2 internal prototype to avoid an error. */
64886 #ifdef __cplusplus
64887 extern "C"
64889 #endif
64890 /* We use char because int might match the return type of a gcc2
64891 builtin and then its argument prototype would still apply. */
64892 char $ac_func ();
64893 /* The GNU C library defines this for functions which it implements
64894 to always fail with ENOSYS. Some functions are actually named
64895 something starting with __ and the normal name is an alias. */
64896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64897 choke me
64898 #else
64899 char (*f) () = $ac_func;
64900 #endif
64901 #ifdef __cplusplus
64903 #endif
64906 main ()
64908 return f != $ac_func;
64910 return 0;
64912 _ACEOF
64913 rm -f conftest.$ac_objext conftest$ac_exeext
64914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64915 (eval $ac_link) 2>conftest.er1
64916 ac_status=$?
64917 grep -v '^ *+' conftest.er1 >conftest.err
64918 rm -f conftest.er1
64919 cat conftest.err >&5
64920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64921 (exit $ac_status); } &&
64922 { ac_try='test -z "$ac_c_werror_flag"
64923 || test ! -s conftest.err'
64924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64925 (eval $ac_try) 2>&5
64926 ac_status=$?
64927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64928 (exit $ac_status); }; } &&
64929 { ac_try='test -s conftest$ac_exeext'
64930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64931 (eval $ac_try) 2>&5
64932 ac_status=$?
64933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64934 (exit $ac_status); }; }; then
64935 eval "$as_ac_var=yes"
64936 else
64937 echo "$as_me: failed program was:" >&5
64938 sed 's/^/| /' conftest.$ac_ext >&5
64940 eval "$as_ac_var=no"
64942 rm -f conftest.err conftest.$ac_objext \
64943 conftest$ac_exeext conftest.$ac_ext
64945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64947 if test `eval echo '${'$as_ac_var'}'` = yes; then
64948 cat >>confdefs.h <<_ACEOF
64949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64950 _ACEOF
64953 done
64960 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
64961 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
64962 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64963 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
64964 echo $ECHO_N "(cached) $ECHO_C" >&6
64965 else
64969 ac_ext=cc
64970 ac_cpp='$CXXCPP $CPPFLAGS'
64971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64975 cat >conftest.$ac_ext <<_ACEOF
64976 /* confdefs.h. */
64977 _ACEOF
64978 cat confdefs.h >>conftest.$ac_ext
64979 cat >>conftest.$ac_ext <<_ACEOF
64980 /* end confdefs.h. */
64981 #include <math.h>
64983 main ()
64985 fmodl(0, 0);
64987 return 0;
64989 _ACEOF
64990 rm -f conftest.$ac_objext
64991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64992 (eval $ac_compile) 2>conftest.er1
64993 ac_status=$?
64994 grep -v '^ *+' conftest.er1 >conftest.err
64995 rm -f conftest.er1
64996 cat conftest.err >&5
64997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64998 (exit $ac_status); } &&
64999 { ac_try='test -z "$ac_cxx_werror_flag"
65000 || test ! -s conftest.err'
65001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65002 (eval $ac_try) 2>&5
65003 ac_status=$?
65004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65005 (exit $ac_status); }; } &&
65006 { ac_try='test -s conftest.$ac_objext'
65007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65008 (eval $ac_try) 2>&5
65009 ac_status=$?
65010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 (exit $ac_status); }; }; then
65012 glibcxx_cv_func_fmodl_use=yes
65013 else
65014 echo "$as_me: failed program was:" >&5
65015 sed 's/^/| /' conftest.$ac_ext >&5
65017 glibcxx_cv_func_fmodl_use=no
65019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65020 ac_ext=c
65021 ac_cpp='$CPP $CPPFLAGS'
65022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65031 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65033 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65035 for ac_func in fmodl
65037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65038 echo "$as_me:$LINENO: checking for $ac_func" >&5
65039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65040 if eval "test \"\${$as_ac_var+set}\" = set"; then
65041 echo $ECHO_N "(cached) $ECHO_C" >&6
65042 else
65043 if test x$gcc_no_link = xyes; then
65044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65046 { (exit 1); exit 1; }; }
65048 cat >conftest.$ac_ext <<_ACEOF
65049 /* confdefs.h. */
65050 _ACEOF
65051 cat confdefs.h >>conftest.$ac_ext
65052 cat >>conftest.$ac_ext <<_ACEOF
65053 /* end confdefs.h. */
65054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65056 #define $ac_func innocuous_$ac_func
65058 /* System header to define __stub macros and hopefully few prototypes,
65059 which can conflict with char $ac_func (); below.
65060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65061 <limits.h> exists even on freestanding compilers. */
65063 #ifdef __STDC__
65064 # include <limits.h>
65065 #else
65066 # include <assert.h>
65067 #endif
65069 #undef $ac_func
65071 /* Override any gcc2 internal prototype to avoid an error. */
65072 #ifdef __cplusplus
65073 extern "C"
65075 #endif
65076 /* We use char because int might match the return type of a gcc2
65077 builtin and then its argument prototype would still apply. */
65078 char $ac_func ();
65079 /* The GNU C library defines this for functions which it implements
65080 to always fail with ENOSYS. Some functions are actually named
65081 something starting with __ and the normal name is an alias. */
65082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65083 choke me
65084 #else
65085 char (*f) () = $ac_func;
65086 #endif
65087 #ifdef __cplusplus
65089 #endif
65092 main ()
65094 return f != $ac_func;
65096 return 0;
65098 _ACEOF
65099 rm -f conftest.$ac_objext conftest$ac_exeext
65100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65101 (eval $ac_link) 2>conftest.er1
65102 ac_status=$?
65103 grep -v '^ *+' conftest.er1 >conftest.err
65104 rm -f conftest.er1
65105 cat conftest.err >&5
65106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107 (exit $ac_status); } &&
65108 { ac_try='test -z "$ac_c_werror_flag"
65109 || test ! -s conftest.err'
65110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65111 (eval $ac_try) 2>&5
65112 ac_status=$?
65113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65114 (exit $ac_status); }; } &&
65115 { ac_try='test -s conftest$ac_exeext'
65116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65117 (eval $ac_try) 2>&5
65118 ac_status=$?
65119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65120 (exit $ac_status); }; }; then
65121 eval "$as_ac_var=yes"
65122 else
65123 echo "$as_me: failed program was:" >&5
65124 sed 's/^/| /' conftest.$ac_ext >&5
65126 eval "$as_ac_var=no"
65128 rm -f conftest.err conftest.$ac_objext \
65129 conftest$ac_exeext conftest.$ac_ext
65131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65133 if test `eval echo '${'$as_ac_var'}'` = yes; then
65134 cat >>confdefs.h <<_ACEOF
65135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65136 _ACEOF
65139 done
65141 else
65143 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65144 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65145 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65146 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65147 echo $ECHO_N "(cached) $ECHO_C" >&6
65148 else
65152 ac_ext=cc
65153 ac_cpp='$CXXCPP $CPPFLAGS'
65154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65158 cat >conftest.$ac_ext <<_ACEOF
65159 /* confdefs.h. */
65160 _ACEOF
65161 cat confdefs.h >>conftest.$ac_ext
65162 cat >>conftest.$ac_ext <<_ACEOF
65163 /* end confdefs.h. */
65164 #include <math.h>
65166 main ()
65168 _fmodl(0, 0);
65170 return 0;
65172 _ACEOF
65173 rm -f conftest.$ac_objext
65174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65175 (eval $ac_compile) 2>conftest.er1
65176 ac_status=$?
65177 grep -v '^ *+' conftest.er1 >conftest.err
65178 rm -f conftest.er1
65179 cat conftest.err >&5
65180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65181 (exit $ac_status); } &&
65182 { ac_try='test -z "$ac_cxx_werror_flag"
65183 || test ! -s conftest.err'
65184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65185 (eval $ac_try) 2>&5
65186 ac_status=$?
65187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65188 (exit $ac_status); }; } &&
65189 { ac_try='test -s conftest.$ac_objext'
65190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65191 (eval $ac_try) 2>&5
65192 ac_status=$?
65193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65194 (exit $ac_status); }; }; then
65195 glibcxx_cv_func__fmodl_use=yes
65196 else
65197 echo "$as_me: failed program was:" >&5
65198 sed 's/^/| /' conftest.$ac_ext >&5
65200 glibcxx_cv_func__fmodl_use=no
65202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65203 ac_ext=c
65204 ac_cpp='$CPP $CPPFLAGS'
65205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65214 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65216 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65218 for ac_func in _fmodl
65220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65221 echo "$as_me:$LINENO: checking for $ac_func" >&5
65222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65223 if eval "test \"\${$as_ac_var+set}\" = set"; then
65224 echo $ECHO_N "(cached) $ECHO_C" >&6
65225 else
65226 if test x$gcc_no_link = xyes; then
65227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65229 { (exit 1); exit 1; }; }
65231 cat >conftest.$ac_ext <<_ACEOF
65232 /* confdefs.h. */
65233 _ACEOF
65234 cat confdefs.h >>conftest.$ac_ext
65235 cat >>conftest.$ac_ext <<_ACEOF
65236 /* end confdefs.h. */
65237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65239 #define $ac_func innocuous_$ac_func
65241 /* System header to define __stub macros and hopefully few prototypes,
65242 which can conflict with char $ac_func (); below.
65243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65244 <limits.h> exists even on freestanding compilers. */
65246 #ifdef __STDC__
65247 # include <limits.h>
65248 #else
65249 # include <assert.h>
65250 #endif
65252 #undef $ac_func
65254 /* Override any gcc2 internal prototype to avoid an error. */
65255 #ifdef __cplusplus
65256 extern "C"
65258 #endif
65259 /* We use char because int might match the return type of a gcc2
65260 builtin and then its argument prototype would still apply. */
65261 char $ac_func ();
65262 /* The GNU C library defines this for functions which it implements
65263 to always fail with ENOSYS. Some functions are actually named
65264 something starting with __ and the normal name is an alias. */
65265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65266 choke me
65267 #else
65268 char (*f) () = $ac_func;
65269 #endif
65270 #ifdef __cplusplus
65272 #endif
65275 main ()
65277 return f != $ac_func;
65279 return 0;
65281 _ACEOF
65282 rm -f conftest.$ac_objext conftest$ac_exeext
65283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65284 (eval $ac_link) 2>conftest.er1
65285 ac_status=$?
65286 grep -v '^ *+' conftest.er1 >conftest.err
65287 rm -f conftest.er1
65288 cat conftest.err >&5
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); } &&
65291 { ac_try='test -z "$ac_c_werror_flag"
65292 || test ! -s conftest.err'
65293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65294 (eval $ac_try) 2>&5
65295 ac_status=$?
65296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297 (exit $ac_status); }; } &&
65298 { ac_try='test -s conftest$ac_exeext'
65299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65300 (eval $ac_try) 2>&5
65301 ac_status=$?
65302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65303 (exit $ac_status); }; }; then
65304 eval "$as_ac_var=yes"
65305 else
65306 echo "$as_me: failed program was:" >&5
65307 sed 's/^/| /' conftest.$ac_ext >&5
65309 eval "$as_ac_var=no"
65311 rm -f conftest.err conftest.$ac_objext \
65312 conftest$ac_exeext conftest.$ac_ext
65314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65316 if test `eval echo '${'$as_ac_var'}'` = yes; then
65317 cat >>confdefs.h <<_ACEOF
65318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65319 _ACEOF
65322 done
65329 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
65330 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
65331 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65332 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
65333 echo $ECHO_N "(cached) $ECHO_C" >&6
65334 else
65338 ac_ext=cc
65339 ac_cpp='$CXXCPP $CPPFLAGS'
65340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65344 cat >conftest.$ac_ext <<_ACEOF
65345 /* confdefs.h. */
65346 _ACEOF
65347 cat confdefs.h >>conftest.$ac_ext
65348 cat >>conftest.$ac_ext <<_ACEOF
65349 /* end confdefs.h. */
65350 #include <math.h>
65352 main ()
65354 frexpl(0, 0);
65356 return 0;
65358 _ACEOF
65359 rm -f conftest.$ac_objext
65360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65361 (eval $ac_compile) 2>conftest.er1
65362 ac_status=$?
65363 grep -v '^ *+' conftest.er1 >conftest.err
65364 rm -f conftest.er1
65365 cat conftest.err >&5
65366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65367 (exit $ac_status); } &&
65368 { ac_try='test -z "$ac_cxx_werror_flag"
65369 || test ! -s conftest.err'
65370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65371 (eval $ac_try) 2>&5
65372 ac_status=$?
65373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65374 (exit $ac_status); }; } &&
65375 { ac_try='test -s conftest.$ac_objext'
65376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65377 (eval $ac_try) 2>&5
65378 ac_status=$?
65379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65380 (exit $ac_status); }; }; then
65381 glibcxx_cv_func_frexpl_use=yes
65382 else
65383 echo "$as_me: failed program was:" >&5
65384 sed 's/^/| /' conftest.$ac_ext >&5
65386 glibcxx_cv_func_frexpl_use=no
65388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65389 ac_ext=c
65390 ac_cpp='$CPP $CPPFLAGS'
65391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
65400 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
65402 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65404 for ac_func in frexpl
65406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65407 echo "$as_me:$LINENO: checking for $ac_func" >&5
65408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65409 if eval "test \"\${$as_ac_var+set}\" = set"; then
65410 echo $ECHO_N "(cached) $ECHO_C" >&6
65411 else
65412 if test x$gcc_no_link = xyes; then
65413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65415 { (exit 1); exit 1; }; }
65417 cat >conftest.$ac_ext <<_ACEOF
65418 /* confdefs.h. */
65419 _ACEOF
65420 cat confdefs.h >>conftest.$ac_ext
65421 cat >>conftest.$ac_ext <<_ACEOF
65422 /* end confdefs.h. */
65423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65425 #define $ac_func innocuous_$ac_func
65427 /* System header to define __stub macros and hopefully few prototypes,
65428 which can conflict with char $ac_func (); below.
65429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65430 <limits.h> exists even on freestanding compilers. */
65432 #ifdef __STDC__
65433 # include <limits.h>
65434 #else
65435 # include <assert.h>
65436 #endif
65438 #undef $ac_func
65440 /* Override any gcc2 internal prototype to avoid an error. */
65441 #ifdef __cplusplus
65442 extern "C"
65444 #endif
65445 /* We use char because int might match the return type of a gcc2
65446 builtin and then its argument prototype would still apply. */
65447 char $ac_func ();
65448 /* The GNU C library defines this for functions which it implements
65449 to always fail with ENOSYS. Some functions are actually named
65450 something starting with __ and the normal name is an alias. */
65451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65452 choke me
65453 #else
65454 char (*f) () = $ac_func;
65455 #endif
65456 #ifdef __cplusplus
65458 #endif
65461 main ()
65463 return f != $ac_func;
65465 return 0;
65467 _ACEOF
65468 rm -f conftest.$ac_objext conftest$ac_exeext
65469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65470 (eval $ac_link) 2>conftest.er1
65471 ac_status=$?
65472 grep -v '^ *+' conftest.er1 >conftest.err
65473 rm -f conftest.er1
65474 cat conftest.err >&5
65475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65476 (exit $ac_status); } &&
65477 { ac_try='test -z "$ac_c_werror_flag"
65478 || test ! -s conftest.err'
65479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65480 (eval $ac_try) 2>&5
65481 ac_status=$?
65482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65483 (exit $ac_status); }; } &&
65484 { ac_try='test -s conftest$ac_exeext'
65485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65486 (eval $ac_try) 2>&5
65487 ac_status=$?
65488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65489 (exit $ac_status); }; }; then
65490 eval "$as_ac_var=yes"
65491 else
65492 echo "$as_me: failed program was:" >&5
65493 sed 's/^/| /' conftest.$ac_ext >&5
65495 eval "$as_ac_var=no"
65497 rm -f conftest.err conftest.$ac_objext \
65498 conftest$ac_exeext conftest.$ac_ext
65500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65502 if test `eval echo '${'$as_ac_var'}'` = yes; then
65503 cat >>confdefs.h <<_ACEOF
65504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65505 _ACEOF
65508 done
65510 else
65512 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
65513 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
65514 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65515 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
65516 echo $ECHO_N "(cached) $ECHO_C" >&6
65517 else
65521 ac_ext=cc
65522 ac_cpp='$CXXCPP $CPPFLAGS'
65523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65527 cat >conftest.$ac_ext <<_ACEOF
65528 /* confdefs.h. */
65529 _ACEOF
65530 cat confdefs.h >>conftest.$ac_ext
65531 cat >>conftest.$ac_ext <<_ACEOF
65532 /* end confdefs.h. */
65533 #include <math.h>
65535 main ()
65537 _frexpl(0, 0);
65539 return 0;
65541 _ACEOF
65542 rm -f conftest.$ac_objext
65543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65544 (eval $ac_compile) 2>conftest.er1
65545 ac_status=$?
65546 grep -v '^ *+' conftest.er1 >conftest.err
65547 rm -f conftest.er1
65548 cat conftest.err >&5
65549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65550 (exit $ac_status); } &&
65551 { ac_try='test -z "$ac_cxx_werror_flag"
65552 || test ! -s conftest.err'
65553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65554 (eval $ac_try) 2>&5
65555 ac_status=$?
65556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65557 (exit $ac_status); }; } &&
65558 { ac_try='test -s conftest.$ac_objext'
65559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65560 (eval $ac_try) 2>&5
65561 ac_status=$?
65562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65563 (exit $ac_status); }; }; then
65564 glibcxx_cv_func__frexpl_use=yes
65565 else
65566 echo "$as_me: failed program was:" >&5
65567 sed 's/^/| /' conftest.$ac_ext >&5
65569 glibcxx_cv_func__frexpl_use=no
65571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65572 ac_ext=c
65573 ac_cpp='$CPP $CPPFLAGS'
65574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
65583 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
65585 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65587 for ac_func in _frexpl
65589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65590 echo "$as_me:$LINENO: checking for $ac_func" >&5
65591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65592 if eval "test \"\${$as_ac_var+set}\" = set"; then
65593 echo $ECHO_N "(cached) $ECHO_C" >&6
65594 else
65595 if test x$gcc_no_link = xyes; then
65596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65598 { (exit 1); exit 1; }; }
65600 cat >conftest.$ac_ext <<_ACEOF
65601 /* confdefs.h. */
65602 _ACEOF
65603 cat confdefs.h >>conftest.$ac_ext
65604 cat >>conftest.$ac_ext <<_ACEOF
65605 /* end confdefs.h. */
65606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65608 #define $ac_func innocuous_$ac_func
65610 /* System header to define __stub macros and hopefully few prototypes,
65611 which can conflict with char $ac_func (); below.
65612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65613 <limits.h> exists even on freestanding compilers. */
65615 #ifdef __STDC__
65616 # include <limits.h>
65617 #else
65618 # include <assert.h>
65619 #endif
65621 #undef $ac_func
65623 /* Override any gcc2 internal prototype to avoid an error. */
65624 #ifdef __cplusplus
65625 extern "C"
65627 #endif
65628 /* We use char because int might match the return type of a gcc2
65629 builtin and then its argument prototype would still apply. */
65630 char $ac_func ();
65631 /* The GNU C library defines this for functions which it implements
65632 to always fail with ENOSYS. Some functions are actually named
65633 something starting with __ and the normal name is an alias. */
65634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65635 choke me
65636 #else
65637 char (*f) () = $ac_func;
65638 #endif
65639 #ifdef __cplusplus
65641 #endif
65644 main ()
65646 return f != $ac_func;
65648 return 0;
65650 _ACEOF
65651 rm -f conftest.$ac_objext conftest$ac_exeext
65652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65653 (eval $ac_link) 2>conftest.er1
65654 ac_status=$?
65655 grep -v '^ *+' conftest.er1 >conftest.err
65656 rm -f conftest.er1
65657 cat conftest.err >&5
65658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65659 (exit $ac_status); } &&
65660 { ac_try='test -z "$ac_c_werror_flag"
65661 || test ! -s conftest.err'
65662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65663 (eval $ac_try) 2>&5
65664 ac_status=$?
65665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65666 (exit $ac_status); }; } &&
65667 { ac_try='test -s conftest$ac_exeext'
65668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65669 (eval $ac_try) 2>&5
65670 ac_status=$?
65671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65672 (exit $ac_status); }; }; then
65673 eval "$as_ac_var=yes"
65674 else
65675 echo "$as_me: failed program was:" >&5
65676 sed 's/^/| /' conftest.$ac_ext >&5
65678 eval "$as_ac_var=no"
65680 rm -f conftest.err conftest.$ac_objext \
65681 conftest$ac_exeext conftest.$ac_ext
65683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65685 if test `eval echo '${'$as_ac_var'}'` = yes; then
65686 cat >>confdefs.h <<_ACEOF
65687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65688 _ACEOF
65691 done
65698 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
65699 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
65700 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65701 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
65702 echo $ECHO_N "(cached) $ECHO_C" >&6
65703 else
65707 ac_ext=cc
65708 ac_cpp='$CXXCPP $CPPFLAGS'
65709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65713 cat >conftest.$ac_ext <<_ACEOF
65714 /* confdefs.h. */
65715 _ACEOF
65716 cat confdefs.h >>conftest.$ac_ext
65717 cat >>conftest.$ac_ext <<_ACEOF
65718 /* end confdefs.h. */
65719 #include <math.h>
65721 main ()
65723 hypotl(0, 0);
65725 return 0;
65727 _ACEOF
65728 rm -f conftest.$ac_objext
65729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65730 (eval $ac_compile) 2>conftest.er1
65731 ac_status=$?
65732 grep -v '^ *+' conftest.er1 >conftest.err
65733 rm -f conftest.er1
65734 cat conftest.err >&5
65735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65736 (exit $ac_status); } &&
65737 { ac_try='test -z "$ac_cxx_werror_flag"
65738 || test ! -s conftest.err'
65739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65740 (eval $ac_try) 2>&5
65741 ac_status=$?
65742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65743 (exit $ac_status); }; } &&
65744 { ac_try='test -s conftest.$ac_objext'
65745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65746 (eval $ac_try) 2>&5
65747 ac_status=$?
65748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65749 (exit $ac_status); }; }; then
65750 glibcxx_cv_func_hypotl_use=yes
65751 else
65752 echo "$as_me: failed program was:" >&5
65753 sed 's/^/| /' conftest.$ac_ext >&5
65755 glibcxx_cv_func_hypotl_use=no
65757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65758 ac_ext=c
65759 ac_cpp='$CPP $CPPFLAGS'
65760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65768 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
65769 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
65771 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65773 for ac_func in hypotl
65775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65776 echo "$as_me:$LINENO: checking for $ac_func" >&5
65777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65778 if eval "test \"\${$as_ac_var+set}\" = set"; then
65779 echo $ECHO_N "(cached) $ECHO_C" >&6
65780 else
65781 if test x$gcc_no_link = xyes; then
65782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65784 { (exit 1); exit 1; }; }
65786 cat >conftest.$ac_ext <<_ACEOF
65787 /* confdefs.h. */
65788 _ACEOF
65789 cat confdefs.h >>conftest.$ac_ext
65790 cat >>conftest.$ac_ext <<_ACEOF
65791 /* end confdefs.h. */
65792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65794 #define $ac_func innocuous_$ac_func
65796 /* System header to define __stub macros and hopefully few prototypes,
65797 which can conflict with char $ac_func (); below.
65798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65799 <limits.h> exists even on freestanding compilers. */
65801 #ifdef __STDC__
65802 # include <limits.h>
65803 #else
65804 # include <assert.h>
65805 #endif
65807 #undef $ac_func
65809 /* Override any gcc2 internal prototype to avoid an error. */
65810 #ifdef __cplusplus
65811 extern "C"
65813 #endif
65814 /* We use char because int might match the return type of a gcc2
65815 builtin and then its argument prototype would still apply. */
65816 char $ac_func ();
65817 /* The GNU C library defines this for functions which it implements
65818 to always fail with ENOSYS. Some functions are actually named
65819 something starting with __ and the normal name is an alias. */
65820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65821 choke me
65822 #else
65823 char (*f) () = $ac_func;
65824 #endif
65825 #ifdef __cplusplus
65827 #endif
65830 main ()
65832 return f != $ac_func;
65834 return 0;
65836 _ACEOF
65837 rm -f conftest.$ac_objext conftest$ac_exeext
65838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65839 (eval $ac_link) 2>conftest.er1
65840 ac_status=$?
65841 grep -v '^ *+' conftest.er1 >conftest.err
65842 rm -f conftest.er1
65843 cat conftest.err >&5
65844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65845 (exit $ac_status); } &&
65846 { ac_try='test -z "$ac_c_werror_flag"
65847 || test ! -s conftest.err'
65848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65849 (eval $ac_try) 2>&5
65850 ac_status=$?
65851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65852 (exit $ac_status); }; } &&
65853 { ac_try='test -s conftest$ac_exeext'
65854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65855 (eval $ac_try) 2>&5
65856 ac_status=$?
65857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65858 (exit $ac_status); }; }; then
65859 eval "$as_ac_var=yes"
65860 else
65861 echo "$as_me: failed program was:" >&5
65862 sed 's/^/| /' conftest.$ac_ext >&5
65864 eval "$as_ac_var=no"
65866 rm -f conftest.err conftest.$ac_objext \
65867 conftest$ac_exeext conftest.$ac_ext
65869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65871 if test `eval echo '${'$as_ac_var'}'` = yes; then
65872 cat >>confdefs.h <<_ACEOF
65873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65874 _ACEOF
65877 done
65879 else
65881 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
65882 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
65883 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65884 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
65885 echo $ECHO_N "(cached) $ECHO_C" >&6
65886 else
65890 ac_ext=cc
65891 ac_cpp='$CXXCPP $CPPFLAGS'
65892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65896 cat >conftest.$ac_ext <<_ACEOF
65897 /* confdefs.h. */
65898 _ACEOF
65899 cat confdefs.h >>conftest.$ac_ext
65900 cat >>conftest.$ac_ext <<_ACEOF
65901 /* end confdefs.h. */
65902 #include <math.h>
65904 main ()
65906 _hypotl(0, 0);
65908 return 0;
65910 _ACEOF
65911 rm -f conftest.$ac_objext
65912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65913 (eval $ac_compile) 2>conftest.er1
65914 ac_status=$?
65915 grep -v '^ *+' conftest.er1 >conftest.err
65916 rm -f conftest.er1
65917 cat conftest.err >&5
65918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65919 (exit $ac_status); } &&
65920 { ac_try='test -z "$ac_cxx_werror_flag"
65921 || test ! -s conftest.err'
65922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65923 (eval $ac_try) 2>&5
65924 ac_status=$?
65925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65926 (exit $ac_status); }; } &&
65927 { ac_try='test -s conftest.$ac_objext'
65928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65929 (eval $ac_try) 2>&5
65930 ac_status=$?
65931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65932 (exit $ac_status); }; }; then
65933 glibcxx_cv_func__hypotl_use=yes
65934 else
65935 echo "$as_me: failed program was:" >&5
65936 sed 's/^/| /' conftest.$ac_ext >&5
65938 glibcxx_cv_func__hypotl_use=no
65940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65941 ac_ext=c
65942 ac_cpp='$CPP $CPPFLAGS'
65943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
65952 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
65954 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65956 for ac_func in _hypotl
65958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65959 echo "$as_me:$LINENO: checking for $ac_func" >&5
65960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65961 if eval "test \"\${$as_ac_var+set}\" = set"; then
65962 echo $ECHO_N "(cached) $ECHO_C" >&6
65963 else
65964 if test x$gcc_no_link = xyes; then
65965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65967 { (exit 1); exit 1; }; }
65969 cat >conftest.$ac_ext <<_ACEOF
65970 /* confdefs.h. */
65971 _ACEOF
65972 cat confdefs.h >>conftest.$ac_ext
65973 cat >>conftest.$ac_ext <<_ACEOF
65974 /* end confdefs.h. */
65975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65977 #define $ac_func innocuous_$ac_func
65979 /* System header to define __stub macros and hopefully few prototypes,
65980 which can conflict with char $ac_func (); below.
65981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65982 <limits.h> exists even on freestanding compilers. */
65984 #ifdef __STDC__
65985 # include <limits.h>
65986 #else
65987 # include <assert.h>
65988 #endif
65990 #undef $ac_func
65992 /* Override any gcc2 internal prototype to avoid an error. */
65993 #ifdef __cplusplus
65994 extern "C"
65996 #endif
65997 /* We use char because int might match the return type of a gcc2
65998 builtin and then its argument prototype would still apply. */
65999 char $ac_func ();
66000 /* The GNU C library defines this for functions which it implements
66001 to always fail with ENOSYS. Some functions are actually named
66002 something starting with __ and the normal name is an alias. */
66003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66004 choke me
66005 #else
66006 char (*f) () = $ac_func;
66007 #endif
66008 #ifdef __cplusplus
66010 #endif
66013 main ()
66015 return f != $ac_func;
66017 return 0;
66019 _ACEOF
66020 rm -f conftest.$ac_objext conftest$ac_exeext
66021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66022 (eval $ac_link) 2>conftest.er1
66023 ac_status=$?
66024 grep -v '^ *+' conftest.er1 >conftest.err
66025 rm -f conftest.er1
66026 cat conftest.err >&5
66027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66028 (exit $ac_status); } &&
66029 { ac_try='test -z "$ac_c_werror_flag"
66030 || test ! -s conftest.err'
66031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66032 (eval $ac_try) 2>&5
66033 ac_status=$?
66034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66035 (exit $ac_status); }; } &&
66036 { ac_try='test -s conftest$ac_exeext'
66037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66038 (eval $ac_try) 2>&5
66039 ac_status=$?
66040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66041 (exit $ac_status); }; }; then
66042 eval "$as_ac_var=yes"
66043 else
66044 echo "$as_me: failed program was:" >&5
66045 sed 's/^/| /' conftest.$ac_ext >&5
66047 eval "$as_ac_var=no"
66049 rm -f conftest.err conftest.$ac_objext \
66050 conftest$ac_exeext conftest.$ac_ext
66052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66054 if test `eval echo '${'$as_ac_var'}'` = yes; then
66055 cat >>confdefs.h <<_ACEOF
66056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66057 _ACEOF
66060 done
66067 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66068 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66069 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66070 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66071 echo $ECHO_N "(cached) $ECHO_C" >&6
66072 else
66076 ac_ext=cc
66077 ac_cpp='$CXXCPP $CPPFLAGS'
66078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66082 cat >conftest.$ac_ext <<_ACEOF
66083 /* confdefs.h. */
66084 _ACEOF
66085 cat confdefs.h >>conftest.$ac_ext
66086 cat >>conftest.$ac_ext <<_ACEOF
66087 /* end confdefs.h. */
66088 #include <math.h>
66090 main ()
66092 ldexpl(0, 0);
66094 return 0;
66096 _ACEOF
66097 rm -f conftest.$ac_objext
66098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66099 (eval $ac_compile) 2>conftest.er1
66100 ac_status=$?
66101 grep -v '^ *+' conftest.er1 >conftest.err
66102 rm -f conftest.er1
66103 cat conftest.err >&5
66104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66105 (exit $ac_status); } &&
66106 { ac_try='test -z "$ac_cxx_werror_flag"
66107 || test ! -s conftest.err'
66108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66109 (eval $ac_try) 2>&5
66110 ac_status=$?
66111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66112 (exit $ac_status); }; } &&
66113 { ac_try='test -s conftest.$ac_objext'
66114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66115 (eval $ac_try) 2>&5
66116 ac_status=$?
66117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66118 (exit $ac_status); }; }; then
66119 glibcxx_cv_func_ldexpl_use=yes
66120 else
66121 echo "$as_me: failed program was:" >&5
66122 sed 's/^/| /' conftest.$ac_ext >&5
66124 glibcxx_cv_func_ldexpl_use=no
66126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66127 ac_ext=c
66128 ac_cpp='$CPP $CPPFLAGS'
66129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66138 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66140 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66142 for ac_func in ldexpl
66144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66145 echo "$as_me:$LINENO: checking for $ac_func" >&5
66146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66147 if eval "test \"\${$as_ac_var+set}\" = set"; then
66148 echo $ECHO_N "(cached) $ECHO_C" >&6
66149 else
66150 if test x$gcc_no_link = xyes; then
66151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66153 { (exit 1); exit 1; }; }
66155 cat >conftest.$ac_ext <<_ACEOF
66156 /* confdefs.h. */
66157 _ACEOF
66158 cat confdefs.h >>conftest.$ac_ext
66159 cat >>conftest.$ac_ext <<_ACEOF
66160 /* end confdefs.h. */
66161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66163 #define $ac_func innocuous_$ac_func
66165 /* System header to define __stub macros and hopefully few prototypes,
66166 which can conflict with char $ac_func (); below.
66167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66168 <limits.h> exists even on freestanding compilers. */
66170 #ifdef __STDC__
66171 # include <limits.h>
66172 #else
66173 # include <assert.h>
66174 #endif
66176 #undef $ac_func
66178 /* Override any gcc2 internal prototype to avoid an error. */
66179 #ifdef __cplusplus
66180 extern "C"
66182 #endif
66183 /* We use char because int might match the return type of a gcc2
66184 builtin and then its argument prototype would still apply. */
66185 char $ac_func ();
66186 /* The GNU C library defines this for functions which it implements
66187 to always fail with ENOSYS. Some functions are actually named
66188 something starting with __ and the normal name is an alias. */
66189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66190 choke me
66191 #else
66192 char (*f) () = $ac_func;
66193 #endif
66194 #ifdef __cplusplus
66196 #endif
66199 main ()
66201 return f != $ac_func;
66203 return 0;
66205 _ACEOF
66206 rm -f conftest.$ac_objext conftest$ac_exeext
66207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66208 (eval $ac_link) 2>conftest.er1
66209 ac_status=$?
66210 grep -v '^ *+' conftest.er1 >conftest.err
66211 rm -f conftest.er1
66212 cat conftest.err >&5
66213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66214 (exit $ac_status); } &&
66215 { ac_try='test -z "$ac_c_werror_flag"
66216 || test ! -s conftest.err'
66217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66218 (eval $ac_try) 2>&5
66219 ac_status=$?
66220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66221 (exit $ac_status); }; } &&
66222 { ac_try='test -s conftest$ac_exeext'
66223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66224 (eval $ac_try) 2>&5
66225 ac_status=$?
66226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66227 (exit $ac_status); }; }; then
66228 eval "$as_ac_var=yes"
66229 else
66230 echo "$as_me: failed program was:" >&5
66231 sed 's/^/| /' conftest.$ac_ext >&5
66233 eval "$as_ac_var=no"
66235 rm -f conftest.err conftest.$ac_objext \
66236 conftest$ac_exeext conftest.$ac_ext
66238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66240 if test `eval echo '${'$as_ac_var'}'` = yes; then
66241 cat >>confdefs.h <<_ACEOF
66242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66243 _ACEOF
66246 done
66248 else
66250 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66251 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66252 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66253 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66254 echo $ECHO_N "(cached) $ECHO_C" >&6
66255 else
66259 ac_ext=cc
66260 ac_cpp='$CXXCPP $CPPFLAGS'
66261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66265 cat >conftest.$ac_ext <<_ACEOF
66266 /* confdefs.h. */
66267 _ACEOF
66268 cat confdefs.h >>conftest.$ac_ext
66269 cat >>conftest.$ac_ext <<_ACEOF
66270 /* end confdefs.h. */
66271 #include <math.h>
66273 main ()
66275 _ldexpl(0, 0);
66277 return 0;
66279 _ACEOF
66280 rm -f conftest.$ac_objext
66281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66282 (eval $ac_compile) 2>conftest.er1
66283 ac_status=$?
66284 grep -v '^ *+' conftest.er1 >conftest.err
66285 rm -f conftest.er1
66286 cat conftest.err >&5
66287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66288 (exit $ac_status); } &&
66289 { ac_try='test -z "$ac_cxx_werror_flag"
66290 || test ! -s conftest.err'
66291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66292 (eval $ac_try) 2>&5
66293 ac_status=$?
66294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66295 (exit $ac_status); }; } &&
66296 { ac_try='test -s conftest.$ac_objext'
66297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66298 (eval $ac_try) 2>&5
66299 ac_status=$?
66300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66301 (exit $ac_status); }; }; then
66302 glibcxx_cv_func__ldexpl_use=yes
66303 else
66304 echo "$as_me: failed program was:" >&5
66305 sed 's/^/| /' conftest.$ac_ext >&5
66307 glibcxx_cv_func__ldexpl_use=no
66309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66310 ac_ext=c
66311 ac_cpp='$CPP $CPPFLAGS'
66312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
66321 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
66323 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66325 for ac_func in _ldexpl
66327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66328 echo "$as_me:$LINENO: checking for $ac_func" >&5
66329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66330 if eval "test \"\${$as_ac_var+set}\" = set"; then
66331 echo $ECHO_N "(cached) $ECHO_C" >&6
66332 else
66333 if test x$gcc_no_link = xyes; then
66334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66336 { (exit 1); exit 1; }; }
66338 cat >conftest.$ac_ext <<_ACEOF
66339 /* confdefs.h. */
66340 _ACEOF
66341 cat confdefs.h >>conftest.$ac_ext
66342 cat >>conftest.$ac_ext <<_ACEOF
66343 /* end confdefs.h. */
66344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66346 #define $ac_func innocuous_$ac_func
66348 /* System header to define __stub macros and hopefully few prototypes,
66349 which can conflict with char $ac_func (); below.
66350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66351 <limits.h> exists even on freestanding compilers. */
66353 #ifdef __STDC__
66354 # include <limits.h>
66355 #else
66356 # include <assert.h>
66357 #endif
66359 #undef $ac_func
66361 /* Override any gcc2 internal prototype to avoid an error. */
66362 #ifdef __cplusplus
66363 extern "C"
66365 #endif
66366 /* We use char because int might match the return type of a gcc2
66367 builtin and then its argument prototype would still apply. */
66368 char $ac_func ();
66369 /* The GNU C library defines this for functions which it implements
66370 to always fail with ENOSYS. Some functions are actually named
66371 something starting with __ and the normal name is an alias. */
66372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66373 choke me
66374 #else
66375 char (*f) () = $ac_func;
66376 #endif
66377 #ifdef __cplusplus
66379 #endif
66382 main ()
66384 return f != $ac_func;
66386 return 0;
66388 _ACEOF
66389 rm -f conftest.$ac_objext conftest$ac_exeext
66390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66391 (eval $ac_link) 2>conftest.er1
66392 ac_status=$?
66393 grep -v '^ *+' conftest.er1 >conftest.err
66394 rm -f conftest.er1
66395 cat conftest.err >&5
66396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397 (exit $ac_status); } &&
66398 { ac_try='test -z "$ac_c_werror_flag"
66399 || test ! -s conftest.err'
66400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66401 (eval $ac_try) 2>&5
66402 ac_status=$?
66403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66404 (exit $ac_status); }; } &&
66405 { ac_try='test -s conftest$ac_exeext'
66406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66407 (eval $ac_try) 2>&5
66408 ac_status=$?
66409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66410 (exit $ac_status); }; }; then
66411 eval "$as_ac_var=yes"
66412 else
66413 echo "$as_me: failed program was:" >&5
66414 sed 's/^/| /' conftest.$ac_ext >&5
66416 eval "$as_ac_var=no"
66418 rm -f conftest.err conftest.$ac_objext \
66419 conftest$ac_exeext conftest.$ac_ext
66421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66423 if test `eval echo '${'$as_ac_var'}'` = yes; then
66424 cat >>confdefs.h <<_ACEOF
66425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66426 _ACEOF
66429 done
66436 echo "$as_me:$LINENO: checking for logl declaration" >&5
66437 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
66438 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66439 if test "${glibcxx_cv_func_logl_use+set}" = set; then
66440 echo $ECHO_N "(cached) $ECHO_C" >&6
66441 else
66445 ac_ext=cc
66446 ac_cpp='$CXXCPP $CPPFLAGS'
66447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66451 cat >conftest.$ac_ext <<_ACEOF
66452 /* confdefs.h. */
66453 _ACEOF
66454 cat confdefs.h >>conftest.$ac_ext
66455 cat >>conftest.$ac_ext <<_ACEOF
66456 /* end confdefs.h. */
66457 #include <math.h>
66458 #ifdef HAVE_IEEEFP_H
66459 #include <ieeefp.h>
66460 #endif
66463 main ()
66465 logl(0);
66467 return 0;
66469 _ACEOF
66470 rm -f conftest.$ac_objext
66471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66472 (eval $ac_compile) 2>conftest.er1
66473 ac_status=$?
66474 grep -v '^ *+' conftest.er1 >conftest.err
66475 rm -f conftest.er1
66476 cat conftest.err >&5
66477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66478 (exit $ac_status); } &&
66479 { ac_try='test -z "$ac_cxx_werror_flag"
66480 || test ! -s conftest.err'
66481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66482 (eval $ac_try) 2>&5
66483 ac_status=$?
66484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66485 (exit $ac_status); }; } &&
66486 { ac_try='test -s conftest.$ac_objext'
66487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66488 (eval $ac_try) 2>&5
66489 ac_status=$?
66490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66491 (exit $ac_status); }; }; then
66492 glibcxx_cv_func_logl_use=yes
66493 else
66494 echo "$as_me: failed program was:" >&5
66495 sed 's/^/| /' conftest.$ac_ext >&5
66497 glibcxx_cv_func_logl_use=no
66499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66500 ac_ext=c
66501 ac_cpp='$CPP $CPPFLAGS'
66502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
66511 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
66513 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66515 for ac_func in logl
66517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66518 echo "$as_me:$LINENO: checking for $ac_func" >&5
66519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66520 if eval "test \"\${$as_ac_var+set}\" = set"; then
66521 echo $ECHO_N "(cached) $ECHO_C" >&6
66522 else
66523 if test x$gcc_no_link = xyes; then
66524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66526 { (exit 1); exit 1; }; }
66528 cat >conftest.$ac_ext <<_ACEOF
66529 /* confdefs.h. */
66530 _ACEOF
66531 cat confdefs.h >>conftest.$ac_ext
66532 cat >>conftest.$ac_ext <<_ACEOF
66533 /* end confdefs.h. */
66534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66536 #define $ac_func innocuous_$ac_func
66538 /* System header to define __stub macros and hopefully few prototypes,
66539 which can conflict with char $ac_func (); below.
66540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66541 <limits.h> exists even on freestanding compilers. */
66543 #ifdef __STDC__
66544 # include <limits.h>
66545 #else
66546 # include <assert.h>
66547 #endif
66549 #undef $ac_func
66551 /* Override any gcc2 internal prototype to avoid an error. */
66552 #ifdef __cplusplus
66553 extern "C"
66555 #endif
66556 /* We use char because int might match the return type of a gcc2
66557 builtin and then its argument prototype would still apply. */
66558 char $ac_func ();
66559 /* The GNU C library defines this for functions which it implements
66560 to always fail with ENOSYS. Some functions are actually named
66561 something starting with __ and the normal name is an alias. */
66562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66563 choke me
66564 #else
66565 char (*f) () = $ac_func;
66566 #endif
66567 #ifdef __cplusplus
66569 #endif
66572 main ()
66574 return f != $ac_func;
66576 return 0;
66578 _ACEOF
66579 rm -f conftest.$ac_objext conftest$ac_exeext
66580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66581 (eval $ac_link) 2>conftest.er1
66582 ac_status=$?
66583 grep -v '^ *+' conftest.er1 >conftest.err
66584 rm -f conftest.er1
66585 cat conftest.err >&5
66586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66587 (exit $ac_status); } &&
66588 { ac_try='test -z "$ac_c_werror_flag"
66589 || test ! -s conftest.err'
66590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66591 (eval $ac_try) 2>&5
66592 ac_status=$?
66593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66594 (exit $ac_status); }; } &&
66595 { ac_try='test -s conftest$ac_exeext'
66596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66597 (eval $ac_try) 2>&5
66598 ac_status=$?
66599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66600 (exit $ac_status); }; }; then
66601 eval "$as_ac_var=yes"
66602 else
66603 echo "$as_me: failed program was:" >&5
66604 sed 's/^/| /' conftest.$ac_ext >&5
66606 eval "$as_ac_var=no"
66608 rm -f conftest.err conftest.$ac_objext \
66609 conftest$ac_exeext conftest.$ac_ext
66611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66613 if test `eval echo '${'$as_ac_var'}'` = yes; then
66614 cat >>confdefs.h <<_ACEOF
66615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66616 _ACEOF
66619 done
66621 else
66623 echo "$as_me:$LINENO: checking for _logl declaration" >&5
66624 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
66625 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66626 if test "${glibcxx_cv_func__logl_use+set}" = set; then
66627 echo $ECHO_N "(cached) $ECHO_C" >&6
66628 else
66632 ac_ext=cc
66633 ac_cpp='$CXXCPP $CPPFLAGS'
66634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66638 cat >conftest.$ac_ext <<_ACEOF
66639 /* confdefs.h. */
66640 _ACEOF
66641 cat confdefs.h >>conftest.$ac_ext
66642 cat >>conftest.$ac_ext <<_ACEOF
66643 /* end confdefs.h. */
66644 #include <math.h>
66645 #ifdef HAVE_IEEEFP_H
66646 #include <ieeefp.h>
66647 #endif
66650 main ()
66652 _logl(0);
66654 return 0;
66656 _ACEOF
66657 rm -f conftest.$ac_objext
66658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66659 (eval $ac_compile) 2>conftest.er1
66660 ac_status=$?
66661 grep -v '^ *+' conftest.er1 >conftest.err
66662 rm -f conftest.er1
66663 cat conftest.err >&5
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); } &&
66666 { ac_try='test -z "$ac_cxx_werror_flag"
66667 || test ! -s conftest.err'
66668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669 (eval $ac_try) 2>&5
66670 ac_status=$?
66671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672 (exit $ac_status); }; } &&
66673 { ac_try='test -s conftest.$ac_objext'
66674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66675 (eval $ac_try) 2>&5
66676 ac_status=$?
66677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66678 (exit $ac_status); }; }; then
66679 glibcxx_cv_func__logl_use=yes
66680 else
66681 echo "$as_me: failed program was:" >&5
66682 sed 's/^/| /' conftest.$ac_ext >&5
66684 glibcxx_cv_func__logl_use=no
66686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66687 ac_ext=c
66688 ac_cpp='$CPP $CPPFLAGS'
66689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
66698 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
66700 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66702 for ac_func in _logl
66704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66705 echo "$as_me:$LINENO: checking for $ac_func" >&5
66706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66707 if eval "test \"\${$as_ac_var+set}\" = set"; then
66708 echo $ECHO_N "(cached) $ECHO_C" >&6
66709 else
66710 if test x$gcc_no_link = xyes; then
66711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66713 { (exit 1); exit 1; }; }
66715 cat >conftest.$ac_ext <<_ACEOF
66716 /* confdefs.h. */
66717 _ACEOF
66718 cat confdefs.h >>conftest.$ac_ext
66719 cat >>conftest.$ac_ext <<_ACEOF
66720 /* end confdefs.h. */
66721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66723 #define $ac_func innocuous_$ac_func
66725 /* System header to define __stub macros and hopefully few prototypes,
66726 which can conflict with char $ac_func (); below.
66727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66728 <limits.h> exists even on freestanding compilers. */
66730 #ifdef __STDC__
66731 # include <limits.h>
66732 #else
66733 # include <assert.h>
66734 #endif
66736 #undef $ac_func
66738 /* Override any gcc2 internal prototype to avoid an error. */
66739 #ifdef __cplusplus
66740 extern "C"
66742 #endif
66743 /* We use char because int might match the return type of a gcc2
66744 builtin and then its argument prototype would still apply. */
66745 char $ac_func ();
66746 /* The GNU C library defines this for functions which it implements
66747 to always fail with ENOSYS. Some functions are actually named
66748 something starting with __ and the normal name is an alias. */
66749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66750 choke me
66751 #else
66752 char (*f) () = $ac_func;
66753 #endif
66754 #ifdef __cplusplus
66756 #endif
66759 main ()
66761 return f != $ac_func;
66763 return 0;
66765 _ACEOF
66766 rm -f conftest.$ac_objext conftest$ac_exeext
66767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66768 (eval $ac_link) 2>conftest.er1
66769 ac_status=$?
66770 grep -v '^ *+' conftest.er1 >conftest.err
66771 rm -f conftest.er1
66772 cat conftest.err >&5
66773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66774 (exit $ac_status); } &&
66775 { ac_try='test -z "$ac_c_werror_flag"
66776 || test ! -s conftest.err'
66777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778 (eval $ac_try) 2>&5
66779 ac_status=$?
66780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781 (exit $ac_status); }; } &&
66782 { ac_try='test -s conftest$ac_exeext'
66783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66784 (eval $ac_try) 2>&5
66785 ac_status=$?
66786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66787 (exit $ac_status); }; }; then
66788 eval "$as_ac_var=yes"
66789 else
66790 echo "$as_me: failed program was:" >&5
66791 sed 's/^/| /' conftest.$ac_ext >&5
66793 eval "$as_ac_var=no"
66795 rm -f conftest.err conftest.$ac_objext \
66796 conftest$ac_exeext conftest.$ac_ext
66798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66800 if test `eval echo '${'$as_ac_var'}'` = yes; then
66801 cat >>confdefs.h <<_ACEOF
66802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66803 _ACEOF
66806 done
66813 echo "$as_me:$LINENO: checking for log10l declaration" >&5
66814 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
66815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66816 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
66817 echo $ECHO_N "(cached) $ECHO_C" >&6
66818 else
66822 ac_ext=cc
66823 ac_cpp='$CXXCPP $CPPFLAGS'
66824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66828 cat >conftest.$ac_ext <<_ACEOF
66829 /* confdefs.h. */
66830 _ACEOF
66831 cat confdefs.h >>conftest.$ac_ext
66832 cat >>conftest.$ac_ext <<_ACEOF
66833 /* end confdefs.h. */
66834 #include <math.h>
66835 #ifdef HAVE_IEEEFP_H
66836 #include <ieeefp.h>
66837 #endif
66840 main ()
66842 log10l(0);
66844 return 0;
66846 _ACEOF
66847 rm -f conftest.$ac_objext
66848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66849 (eval $ac_compile) 2>conftest.er1
66850 ac_status=$?
66851 grep -v '^ *+' conftest.er1 >conftest.err
66852 rm -f conftest.er1
66853 cat conftest.err >&5
66854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855 (exit $ac_status); } &&
66856 { ac_try='test -z "$ac_cxx_werror_flag"
66857 || test ! -s conftest.err'
66858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66859 (eval $ac_try) 2>&5
66860 ac_status=$?
66861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66862 (exit $ac_status); }; } &&
66863 { ac_try='test -s conftest.$ac_objext'
66864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66865 (eval $ac_try) 2>&5
66866 ac_status=$?
66867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66868 (exit $ac_status); }; }; then
66869 glibcxx_cv_func_log10l_use=yes
66870 else
66871 echo "$as_me: failed program was:" >&5
66872 sed 's/^/| /' conftest.$ac_ext >&5
66874 glibcxx_cv_func_log10l_use=no
66876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
66888 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
66890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66892 for ac_func in log10l
66894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66895 echo "$as_me:$LINENO: checking for $ac_func" >&5
66896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66897 if eval "test \"\${$as_ac_var+set}\" = set"; then
66898 echo $ECHO_N "(cached) $ECHO_C" >&6
66899 else
66900 if test x$gcc_no_link = xyes; then
66901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66903 { (exit 1); exit 1; }; }
66905 cat >conftest.$ac_ext <<_ACEOF
66906 /* confdefs.h. */
66907 _ACEOF
66908 cat confdefs.h >>conftest.$ac_ext
66909 cat >>conftest.$ac_ext <<_ACEOF
66910 /* end confdefs.h. */
66911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66913 #define $ac_func innocuous_$ac_func
66915 /* System header to define __stub macros and hopefully few prototypes,
66916 which can conflict with char $ac_func (); below.
66917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66918 <limits.h> exists even on freestanding compilers. */
66920 #ifdef __STDC__
66921 # include <limits.h>
66922 #else
66923 # include <assert.h>
66924 #endif
66926 #undef $ac_func
66928 /* Override any gcc2 internal prototype to avoid an error. */
66929 #ifdef __cplusplus
66930 extern "C"
66932 #endif
66933 /* We use char because int might match the return type of a gcc2
66934 builtin and then its argument prototype would still apply. */
66935 char $ac_func ();
66936 /* The GNU C library defines this for functions which it implements
66937 to always fail with ENOSYS. Some functions are actually named
66938 something starting with __ and the normal name is an alias. */
66939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66940 choke me
66941 #else
66942 char (*f) () = $ac_func;
66943 #endif
66944 #ifdef __cplusplus
66946 #endif
66949 main ()
66951 return f != $ac_func;
66953 return 0;
66955 _ACEOF
66956 rm -f conftest.$ac_objext conftest$ac_exeext
66957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66958 (eval $ac_link) 2>conftest.er1
66959 ac_status=$?
66960 grep -v '^ *+' conftest.er1 >conftest.err
66961 rm -f conftest.er1
66962 cat conftest.err >&5
66963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66964 (exit $ac_status); } &&
66965 { ac_try='test -z "$ac_c_werror_flag"
66966 || test ! -s conftest.err'
66967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66968 (eval $ac_try) 2>&5
66969 ac_status=$?
66970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66971 (exit $ac_status); }; } &&
66972 { ac_try='test -s conftest$ac_exeext'
66973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66974 (eval $ac_try) 2>&5
66975 ac_status=$?
66976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66977 (exit $ac_status); }; }; then
66978 eval "$as_ac_var=yes"
66979 else
66980 echo "$as_me: failed program was:" >&5
66981 sed 's/^/| /' conftest.$ac_ext >&5
66983 eval "$as_ac_var=no"
66985 rm -f conftest.err conftest.$ac_objext \
66986 conftest$ac_exeext conftest.$ac_ext
66988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66990 if test `eval echo '${'$as_ac_var'}'` = yes; then
66991 cat >>confdefs.h <<_ACEOF
66992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66993 _ACEOF
66996 done
66998 else
67000 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67001 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67002 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67003 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67004 echo $ECHO_N "(cached) $ECHO_C" >&6
67005 else
67009 ac_ext=cc
67010 ac_cpp='$CXXCPP $CPPFLAGS'
67011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67015 cat >conftest.$ac_ext <<_ACEOF
67016 /* confdefs.h. */
67017 _ACEOF
67018 cat confdefs.h >>conftest.$ac_ext
67019 cat >>conftest.$ac_ext <<_ACEOF
67020 /* end confdefs.h. */
67021 #include <math.h>
67022 #ifdef HAVE_IEEEFP_H
67023 #include <ieeefp.h>
67024 #endif
67027 main ()
67029 _log10l(0);
67031 return 0;
67033 _ACEOF
67034 rm -f conftest.$ac_objext
67035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67036 (eval $ac_compile) 2>conftest.er1
67037 ac_status=$?
67038 grep -v '^ *+' conftest.er1 >conftest.err
67039 rm -f conftest.er1
67040 cat conftest.err >&5
67041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67042 (exit $ac_status); } &&
67043 { ac_try='test -z "$ac_cxx_werror_flag"
67044 || test ! -s conftest.err'
67045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67046 (eval $ac_try) 2>&5
67047 ac_status=$?
67048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67049 (exit $ac_status); }; } &&
67050 { ac_try='test -s conftest.$ac_objext'
67051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67052 (eval $ac_try) 2>&5
67053 ac_status=$?
67054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67055 (exit $ac_status); }; }; then
67056 glibcxx_cv_func__log10l_use=yes
67057 else
67058 echo "$as_me: failed program was:" >&5
67059 sed 's/^/| /' conftest.$ac_ext >&5
67061 glibcxx_cv_func__log10l_use=no
67063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67064 ac_ext=c
67065 ac_cpp='$CPP $CPPFLAGS'
67066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67075 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67077 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67079 for ac_func in _log10l
67081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67082 echo "$as_me:$LINENO: checking for $ac_func" >&5
67083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67084 if eval "test \"\${$as_ac_var+set}\" = set"; then
67085 echo $ECHO_N "(cached) $ECHO_C" >&6
67086 else
67087 if test x$gcc_no_link = xyes; then
67088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67090 { (exit 1); exit 1; }; }
67092 cat >conftest.$ac_ext <<_ACEOF
67093 /* confdefs.h. */
67094 _ACEOF
67095 cat confdefs.h >>conftest.$ac_ext
67096 cat >>conftest.$ac_ext <<_ACEOF
67097 /* end confdefs.h. */
67098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67100 #define $ac_func innocuous_$ac_func
67102 /* System header to define __stub macros and hopefully few prototypes,
67103 which can conflict with char $ac_func (); below.
67104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67105 <limits.h> exists even on freestanding compilers. */
67107 #ifdef __STDC__
67108 # include <limits.h>
67109 #else
67110 # include <assert.h>
67111 #endif
67113 #undef $ac_func
67115 /* Override any gcc2 internal prototype to avoid an error. */
67116 #ifdef __cplusplus
67117 extern "C"
67119 #endif
67120 /* We use char because int might match the return type of a gcc2
67121 builtin and then its argument prototype would still apply. */
67122 char $ac_func ();
67123 /* The GNU C library defines this for functions which it implements
67124 to always fail with ENOSYS. Some functions are actually named
67125 something starting with __ and the normal name is an alias. */
67126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67127 choke me
67128 #else
67129 char (*f) () = $ac_func;
67130 #endif
67131 #ifdef __cplusplus
67133 #endif
67136 main ()
67138 return f != $ac_func;
67140 return 0;
67142 _ACEOF
67143 rm -f conftest.$ac_objext conftest$ac_exeext
67144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67145 (eval $ac_link) 2>conftest.er1
67146 ac_status=$?
67147 grep -v '^ *+' conftest.er1 >conftest.err
67148 rm -f conftest.er1
67149 cat conftest.err >&5
67150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67151 (exit $ac_status); } &&
67152 { ac_try='test -z "$ac_c_werror_flag"
67153 || test ! -s conftest.err'
67154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67155 (eval $ac_try) 2>&5
67156 ac_status=$?
67157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67158 (exit $ac_status); }; } &&
67159 { ac_try='test -s conftest$ac_exeext'
67160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67161 (eval $ac_try) 2>&5
67162 ac_status=$?
67163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67164 (exit $ac_status); }; }; then
67165 eval "$as_ac_var=yes"
67166 else
67167 echo "$as_me: failed program was:" >&5
67168 sed 's/^/| /' conftest.$ac_ext >&5
67170 eval "$as_ac_var=no"
67172 rm -f conftest.err conftest.$ac_objext \
67173 conftest$ac_exeext conftest.$ac_ext
67175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67177 if test `eval echo '${'$as_ac_var'}'` = yes; then
67178 cat >>confdefs.h <<_ACEOF
67179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67180 _ACEOF
67183 done
67190 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67191 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67192 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67193 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67194 echo $ECHO_N "(cached) $ECHO_C" >&6
67195 else
67199 ac_ext=cc
67200 ac_cpp='$CXXCPP $CPPFLAGS'
67201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67205 cat >conftest.$ac_ext <<_ACEOF
67206 /* confdefs.h. */
67207 _ACEOF
67208 cat confdefs.h >>conftest.$ac_ext
67209 cat >>conftest.$ac_ext <<_ACEOF
67210 /* end confdefs.h. */
67211 #include <math.h>
67213 main ()
67215 modfl(0, 0);
67217 return 0;
67219 _ACEOF
67220 rm -f conftest.$ac_objext
67221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67222 (eval $ac_compile) 2>conftest.er1
67223 ac_status=$?
67224 grep -v '^ *+' conftest.er1 >conftest.err
67225 rm -f conftest.er1
67226 cat conftest.err >&5
67227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228 (exit $ac_status); } &&
67229 { ac_try='test -z "$ac_cxx_werror_flag"
67230 || test ! -s conftest.err'
67231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67232 (eval $ac_try) 2>&5
67233 ac_status=$?
67234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67235 (exit $ac_status); }; } &&
67236 { ac_try='test -s conftest.$ac_objext'
67237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67238 (eval $ac_try) 2>&5
67239 ac_status=$?
67240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67241 (exit $ac_status); }; }; then
67242 glibcxx_cv_func_modfl_use=yes
67243 else
67244 echo "$as_me: failed program was:" >&5
67245 sed 's/^/| /' conftest.$ac_ext >&5
67247 glibcxx_cv_func_modfl_use=no
67249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67250 ac_ext=c
67251 ac_cpp='$CPP $CPPFLAGS'
67252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67261 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67263 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67265 for ac_func in modfl
67267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67268 echo "$as_me:$LINENO: checking for $ac_func" >&5
67269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67270 if eval "test \"\${$as_ac_var+set}\" = set"; then
67271 echo $ECHO_N "(cached) $ECHO_C" >&6
67272 else
67273 if test x$gcc_no_link = xyes; then
67274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67276 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67286 #define $ac_func innocuous_$ac_func
67288 /* System header to define __stub macros and hopefully few prototypes,
67289 which can conflict with char $ac_func (); below.
67290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67291 <limits.h> exists even on freestanding compilers. */
67293 #ifdef __STDC__
67294 # include <limits.h>
67295 #else
67296 # include <assert.h>
67297 #endif
67299 #undef $ac_func
67301 /* Override any gcc2 internal prototype to avoid an error. */
67302 #ifdef __cplusplus
67303 extern "C"
67305 #endif
67306 /* We use char because int might match the return type of a gcc2
67307 builtin and then its argument prototype would still apply. */
67308 char $ac_func ();
67309 /* The GNU C library defines this for functions which it implements
67310 to always fail with ENOSYS. Some functions are actually named
67311 something starting with __ and the normal name is an alias. */
67312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67313 choke me
67314 #else
67315 char (*f) () = $ac_func;
67316 #endif
67317 #ifdef __cplusplus
67319 #endif
67322 main ()
67324 return f != $ac_func;
67326 return 0;
67328 _ACEOF
67329 rm -f conftest.$ac_objext conftest$ac_exeext
67330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67331 (eval $ac_link) 2>conftest.er1
67332 ac_status=$?
67333 grep -v '^ *+' conftest.er1 >conftest.err
67334 rm -f conftest.er1
67335 cat conftest.err >&5
67336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337 (exit $ac_status); } &&
67338 { ac_try='test -z "$ac_c_werror_flag"
67339 || test ! -s conftest.err'
67340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67341 (eval $ac_try) 2>&5
67342 ac_status=$?
67343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67344 (exit $ac_status); }; } &&
67345 { ac_try='test -s conftest$ac_exeext'
67346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67347 (eval $ac_try) 2>&5
67348 ac_status=$?
67349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67350 (exit $ac_status); }; }; then
67351 eval "$as_ac_var=yes"
67352 else
67353 echo "$as_me: failed program was:" >&5
67354 sed 's/^/| /' conftest.$ac_ext >&5
67356 eval "$as_ac_var=no"
67358 rm -f conftest.err conftest.$ac_objext \
67359 conftest$ac_exeext conftest.$ac_ext
67361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67363 if test `eval echo '${'$as_ac_var'}'` = yes; then
67364 cat >>confdefs.h <<_ACEOF
67365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67366 _ACEOF
67369 done
67371 else
67373 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
67374 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
67375 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67376 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
67377 echo $ECHO_N "(cached) $ECHO_C" >&6
67378 else
67382 ac_ext=cc
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67388 cat >conftest.$ac_ext <<_ACEOF
67389 /* confdefs.h. */
67390 _ACEOF
67391 cat confdefs.h >>conftest.$ac_ext
67392 cat >>conftest.$ac_ext <<_ACEOF
67393 /* end confdefs.h. */
67394 #include <math.h>
67396 main ()
67398 _modfl(0, 0);
67400 return 0;
67402 _ACEOF
67403 rm -f conftest.$ac_objext
67404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67405 (eval $ac_compile) 2>conftest.er1
67406 ac_status=$?
67407 grep -v '^ *+' conftest.er1 >conftest.err
67408 rm -f conftest.er1
67409 cat conftest.err >&5
67410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67411 (exit $ac_status); } &&
67412 { ac_try='test -z "$ac_cxx_werror_flag"
67413 || test ! -s conftest.err'
67414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67415 (eval $ac_try) 2>&5
67416 ac_status=$?
67417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67418 (exit $ac_status); }; } &&
67419 { ac_try='test -s conftest.$ac_objext'
67420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67421 (eval $ac_try) 2>&5
67422 ac_status=$?
67423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67424 (exit $ac_status); }; }; then
67425 glibcxx_cv_func__modfl_use=yes
67426 else
67427 echo "$as_me: failed program was:" >&5
67428 sed 's/^/| /' conftest.$ac_ext >&5
67430 glibcxx_cv_func__modfl_use=no
67432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
67444 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
67446 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67448 for ac_func in _modfl
67450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67451 echo "$as_me:$LINENO: checking for $ac_func" >&5
67452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67453 if eval "test \"\${$as_ac_var+set}\" = set"; then
67454 echo $ECHO_N "(cached) $ECHO_C" >&6
67455 else
67456 if test x$gcc_no_link = xyes; then
67457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67459 { (exit 1); exit 1; }; }
67461 cat >conftest.$ac_ext <<_ACEOF
67462 /* confdefs.h. */
67463 _ACEOF
67464 cat confdefs.h >>conftest.$ac_ext
67465 cat >>conftest.$ac_ext <<_ACEOF
67466 /* end confdefs.h. */
67467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67469 #define $ac_func innocuous_$ac_func
67471 /* System header to define __stub macros and hopefully few prototypes,
67472 which can conflict with char $ac_func (); below.
67473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67474 <limits.h> exists even on freestanding compilers. */
67476 #ifdef __STDC__
67477 # include <limits.h>
67478 #else
67479 # include <assert.h>
67480 #endif
67482 #undef $ac_func
67484 /* Override any gcc2 internal prototype to avoid an error. */
67485 #ifdef __cplusplus
67486 extern "C"
67488 #endif
67489 /* We use char because int might match the return type of a gcc2
67490 builtin and then its argument prototype would still apply. */
67491 char $ac_func ();
67492 /* The GNU C library defines this for functions which it implements
67493 to always fail with ENOSYS. Some functions are actually named
67494 something starting with __ and the normal name is an alias. */
67495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67496 choke me
67497 #else
67498 char (*f) () = $ac_func;
67499 #endif
67500 #ifdef __cplusplus
67502 #endif
67505 main ()
67507 return f != $ac_func;
67509 return 0;
67511 _ACEOF
67512 rm -f conftest.$ac_objext conftest$ac_exeext
67513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67514 (eval $ac_link) 2>conftest.er1
67515 ac_status=$?
67516 grep -v '^ *+' conftest.er1 >conftest.err
67517 rm -f conftest.er1
67518 cat conftest.err >&5
67519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67520 (exit $ac_status); } &&
67521 { ac_try='test -z "$ac_c_werror_flag"
67522 || test ! -s conftest.err'
67523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67524 (eval $ac_try) 2>&5
67525 ac_status=$?
67526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527 (exit $ac_status); }; } &&
67528 { ac_try='test -s conftest$ac_exeext'
67529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67530 (eval $ac_try) 2>&5
67531 ac_status=$?
67532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67533 (exit $ac_status); }; }; then
67534 eval "$as_ac_var=yes"
67535 else
67536 echo "$as_me: failed program was:" >&5
67537 sed 's/^/| /' conftest.$ac_ext >&5
67539 eval "$as_ac_var=no"
67541 rm -f conftest.err conftest.$ac_objext \
67542 conftest$ac_exeext conftest.$ac_ext
67544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67546 if test `eval echo '${'$as_ac_var'}'` = yes; then
67547 cat >>confdefs.h <<_ACEOF
67548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67549 _ACEOF
67552 done
67559 echo "$as_me:$LINENO: checking for powl declaration" >&5
67560 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
67561 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67562 if test "${glibcxx_cv_func_powl_use+set}" = set; then
67563 echo $ECHO_N "(cached) $ECHO_C" >&6
67564 else
67568 ac_ext=cc
67569 ac_cpp='$CXXCPP $CPPFLAGS'
67570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67574 cat >conftest.$ac_ext <<_ACEOF
67575 /* confdefs.h. */
67576 _ACEOF
67577 cat confdefs.h >>conftest.$ac_ext
67578 cat >>conftest.$ac_ext <<_ACEOF
67579 /* end confdefs.h. */
67580 #include <math.h>
67582 main ()
67584 powl(0, 0);
67586 return 0;
67588 _ACEOF
67589 rm -f conftest.$ac_objext
67590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67591 (eval $ac_compile) 2>conftest.er1
67592 ac_status=$?
67593 grep -v '^ *+' conftest.er1 >conftest.err
67594 rm -f conftest.er1
67595 cat conftest.err >&5
67596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67597 (exit $ac_status); } &&
67598 { ac_try='test -z "$ac_cxx_werror_flag"
67599 || test ! -s conftest.err'
67600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67601 (eval $ac_try) 2>&5
67602 ac_status=$?
67603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67604 (exit $ac_status); }; } &&
67605 { ac_try='test -s conftest.$ac_objext'
67606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67607 (eval $ac_try) 2>&5
67608 ac_status=$?
67609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67610 (exit $ac_status); }; }; then
67611 glibcxx_cv_func_powl_use=yes
67612 else
67613 echo "$as_me: failed program was:" >&5
67614 sed 's/^/| /' conftest.$ac_ext >&5
67616 glibcxx_cv_func_powl_use=no
67618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67619 ac_ext=c
67620 ac_cpp='$CPP $CPPFLAGS'
67621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
67630 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
67632 if test x$glibcxx_cv_func_powl_use = x"yes"; then
67634 for ac_func in powl
67636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67637 echo "$as_me:$LINENO: checking for $ac_func" >&5
67638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67639 if eval "test \"\${$as_ac_var+set}\" = set"; then
67640 echo $ECHO_N "(cached) $ECHO_C" >&6
67641 else
67642 if test x$gcc_no_link = xyes; then
67643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67645 { (exit 1); exit 1; }; }
67647 cat >conftest.$ac_ext <<_ACEOF
67648 /* confdefs.h. */
67649 _ACEOF
67650 cat confdefs.h >>conftest.$ac_ext
67651 cat >>conftest.$ac_ext <<_ACEOF
67652 /* end confdefs.h. */
67653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67655 #define $ac_func innocuous_$ac_func
67657 /* System header to define __stub macros and hopefully few prototypes,
67658 which can conflict with char $ac_func (); below.
67659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67660 <limits.h> exists even on freestanding compilers. */
67662 #ifdef __STDC__
67663 # include <limits.h>
67664 #else
67665 # include <assert.h>
67666 #endif
67668 #undef $ac_func
67670 /* Override any gcc2 internal prototype to avoid an error. */
67671 #ifdef __cplusplus
67672 extern "C"
67674 #endif
67675 /* We use char because int might match the return type of a gcc2
67676 builtin and then its argument prototype would still apply. */
67677 char $ac_func ();
67678 /* The GNU C library defines this for functions which it implements
67679 to always fail with ENOSYS. Some functions are actually named
67680 something starting with __ and the normal name is an alias. */
67681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67682 choke me
67683 #else
67684 char (*f) () = $ac_func;
67685 #endif
67686 #ifdef __cplusplus
67688 #endif
67691 main ()
67693 return f != $ac_func;
67695 return 0;
67697 _ACEOF
67698 rm -f conftest.$ac_objext conftest$ac_exeext
67699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67700 (eval $ac_link) 2>conftest.er1
67701 ac_status=$?
67702 grep -v '^ *+' conftest.er1 >conftest.err
67703 rm -f conftest.er1
67704 cat conftest.err >&5
67705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67706 (exit $ac_status); } &&
67707 { ac_try='test -z "$ac_c_werror_flag"
67708 || test ! -s conftest.err'
67709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67710 (eval $ac_try) 2>&5
67711 ac_status=$?
67712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67713 (exit $ac_status); }; } &&
67714 { ac_try='test -s conftest$ac_exeext'
67715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67716 (eval $ac_try) 2>&5
67717 ac_status=$?
67718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67719 (exit $ac_status); }; }; then
67720 eval "$as_ac_var=yes"
67721 else
67722 echo "$as_me: failed program was:" >&5
67723 sed 's/^/| /' conftest.$ac_ext >&5
67725 eval "$as_ac_var=no"
67727 rm -f conftest.err conftest.$ac_objext \
67728 conftest$ac_exeext conftest.$ac_ext
67730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67732 if test `eval echo '${'$as_ac_var'}'` = yes; then
67733 cat >>confdefs.h <<_ACEOF
67734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67735 _ACEOF
67738 done
67740 else
67742 echo "$as_me:$LINENO: checking for _powl declaration" >&5
67743 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
67744 if test x${glibcxx_cv_func__powl_use+set} != xset; then
67745 if test "${glibcxx_cv_func__powl_use+set}" = set; then
67746 echo $ECHO_N "(cached) $ECHO_C" >&6
67747 else
67751 ac_ext=cc
67752 ac_cpp='$CXXCPP $CPPFLAGS'
67753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67757 cat >conftest.$ac_ext <<_ACEOF
67758 /* confdefs.h. */
67759 _ACEOF
67760 cat confdefs.h >>conftest.$ac_ext
67761 cat >>conftest.$ac_ext <<_ACEOF
67762 /* end confdefs.h. */
67763 #include <math.h>
67765 main ()
67767 _powl(0, 0);
67769 return 0;
67771 _ACEOF
67772 rm -f conftest.$ac_objext
67773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67774 (eval $ac_compile) 2>conftest.er1
67775 ac_status=$?
67776 grep -v '^ *+' conftest.er1 >conftest.err
67777 rm -f conftest.er1
67778 cat conftest.err >&5
67779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67780 (exit $ac_status); } &&
67781 { ac_try='test -z "$ac_cxx_werror_flag"
67782 || test ! -s conftest.err'
67783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67784 (eval $ac_try) 2>&5
67785 ac_status=$?
67786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67787 (exit $ac_status); }; } &&
67788 { ac_try='test -s conftest.$ac_objext'
67789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67790 (eval $ac_try) 2>&5
67791 ac_status=$?
67792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67793 (exit $ac_status); }; }; then
67794 glibcxx_cv_func__powl_use=yes
67795 else
67796 echo "$as_me: failed program was:" >&5
67797 sed 's/^/| /' conftest.$ac_ext >&5
67799 glibcxx_cv_func__powl_use=no
67801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67802 ac_ext=c
67803 ac_cpp='$CPP $CPPFLAGS'
67804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
67813 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
67815 if test x$glibcxx_cv_func__powl_use = x"yes"; then
67817 for ac_func in _powl
67819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67820 echo "$as_me:$LINENO: checking for $ac_func" >&5
67821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67822 if eval "test \"\${$as_ac_var+set}\" = set"; then
67823 echo $ECHO_N "(cached) $ECHO_C" >&6
67824 else
67825 if test x$gcc_no_link = xyes; then
67826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67828 { (exit 1); exit 1; }; }
67830 cat >conftest.$ac_ext <<_ACEOF
67831 /* confdefs.h. */
67832 _ACEOF
67833 cat confdefs.h >>conftest.$ac_ext
67834 cat >>conftest.$ac_ext <<_ACEOF
67835 /* end confdefs.h. */
67836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67838 #define $ac_func innocuous_$ac_func
67840 /* System header to define __stub macros and hopefully few prototypes,
67841 which can conflict with char $ac_func (); below.
67842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67843 <limits.h> exists even on freestanding compilers. */
67845 #ifdef __STDC__
67846 # include <limits.h>
67847 #else
67848 # include <assert.h>
67849 #endif
67851 #undef $ac_func
67853 /* Override any gcc2 internal prototype to avoid an error. */
67854 #ifdef __cplusplus
67855 extern "C"
67857 #endif
67858 /* We use char because int might match the return type of a gcc2
67859 builtin and then its argument prototype would still apply. */
67860 char $ac_func ();
67861 /* The GNU C library defines this for functions which it implements
67862 to always fail with ENOSYS. Some functions are actually named
67863 something starting with __ and the normal name is an alias. */
67864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67865 choke me
67866 #else
67867 char (*f) () = $ac_func;
67868 #endif
67869 #ifdef __cplusplus
67871 #endif
67874 main ()
67876 return f != $ac_func;
67878 return 0;
67880 _ACEOF
67881 rm -f conftest.$ac_objext conftest$ac_exeext
67882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67883 (eval $ac_link) 2>conftest.er1
67884 ac_status=$?
67885 grep -v '^ *+' conftest.er1 >conftest.err
67886 rm -f conftest.er1
67887 cat conftest.err >&5
67888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67889 (exit $ac_status); } &&
67890 { ac_try='test -z "$ac_c_werror_flag"
67891 || test ! -s conftest.err'
67892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67893 (eval $ac_try) 2>&5
67894 ac_status=$?
67895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67896 (exit $ac_status); }; } &&
67897 { ac_try='test -s conftest$ac_exeext'
67898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67899 (eval $ac_try) 2>&5
67900 ac_status=$?
67901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902 (exit $ac_status); }; }; then
67903 eval "$as_ac_var=yes"
67904 else
67905 echo "$as_me: failed program was:" >&5
67906 sed 's/^/| /' conftest.$ac_ext >&5
67908 eval "$as_ac_var=no"
67910 rm -f conftest.err conftest.$ac_objext \
67911 conftest$ac_exeext conftest.$ac_ext
67913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67915 if test `eval echo '${'$as_ac_var'}'` = yes; then
67916 cat >>confdefs.h <<_ACEOF
67917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67918 _ACEOF
67921 done
67928 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
67929 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
67930 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
67931 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
67932 echo $ECHO_N "(cached) $ECHO_C" >&6
67933 else
67937 ac_ext=cc
67938 ac_cpp='$CXXCPP $CPPFLAGS'
67939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67943 cat >conftest.$ac_ext <<_ACEOF
67944 /* confdefs.h. */
67945 _ACEOF
67946 cat confdefs.h >>conftest.$ac_ext
67947 cat >>conftest.$ac_ext <<_ACEOF
67948 /* end confdefs.h. */
67949 #include <math.h>
67950 #ifdef HAVE_IEEEFP_H
67951 #include <ieeefp.h>
67952 #endif
67955 main ()
67957 sqrtl(0);
67959 return 0;
67961 _ACEOF
67962 rm -f conftest.$ac_objext
67963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67964 (eval $ac_compile) 2>conftest.er1
67965 ac_status=$?
67966 grep -v '^ *+' conftest.er1 >conftest.err
67967 rm -f conftest.er1
67968 cat conftest.err >&5
67969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67970 (exit $ac_status); } &&
67971 { ac_try='test -z "$ac_cxx_werror_flag"
67972 || test ! -s conftest.err'
67973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67974 (eval $ac_try) 2>&5
67975 ac_status=$?
67976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67977 (exit $ac_status); }; } &&
67978 { ac_try='test -s conftest.$ac_objext'
67979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67980 (eval $ac_try) 2>&5
67981 ac_status=$?
67982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983 (exit $ac_status); }; }; then
67984 glibcxx_cv_func_sqrtl_use=yes
67985 else
67986 echo "$as_me: failed program was:" >&5
67987 sed 's/^/| /' conftest.$ac_ext >&5
67989 glibcxx_cv_func_sqrtl_use=no
67991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67992 ac_ext=c
67993 ac_cpp='$CPP $CPPFLAGS'
67994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68003 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68007 for ac_func in sqrtl
68009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68010 echo "$as_me:$LINENO: checking for $ac_func" >&5
68011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68012 if eval "test \"\${$as_ac_var+set}\" = set"; then
68013 echo $ECHO_N "(cached) $ECHO_C" >&6
68014 else
68015 if test x$gcc_no_link = xyes; then
68016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68018 { (exit 1); exit 1; }; }
68020 cat >conftest.$ac_ext <<_ACEOF
68021 /* confdefs.h. */
68022 _ACEOF
68023 cat confdefs.h >>conftest.$ac_ext
68024 cat >>conftest.$ac_ext <<_ACEOF
68025 /* end confdefs.h. */
68026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68028 #define $ac_func innocuous_$ac_func
68030 /* System header to define __stub macros and hopefully few prototypes,
68031 which can conflict with char $ac_func (); below.
68032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68033 <limits.h> exists even on freestanding compilers. */
68035 #ifdef __STDC__
68036 # include <limits.h>
68037 #else
68038 # include <assert.h>
68039 #endif
68041 #undef $ac_func
68043 /* Override any gcc2 internal prototype to avoid an error. */
68044 #ifdef __cplusplus
68045 extern "C"
68047 #endif
68048 /* We use char because int might match the return type of a gcc2
68049 builtin and then its argument prototype would still apply. */
68050 char $ac_func ();
68051 /* The GNU C library defines this for functions which it implements
68052 to always fail with ENOSYS. Some functions are actually named
68053 something starting with __ and the normal name is an alias. */
68054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68055 choke me
68056 #else
68057 char (*f) () = $ac_func;
68058 #endif
68059 #ifdef __cplusplus
68061 #endif
68064 main ()
68066 return f != $ac_func;
68068 return 0;
68070 _ACEOF
68071 rm -f conftest.$ac_objext conftest$ac_exeext
68072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68073 (eval $ac_link) 2>conftest.er1
68074 ac_status=$?
68075 grep -v '^ *+' conftest.er1 >conftest.err
68076 rm -f conftest.er1
68077 cat conftest.err >&5
68078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68079 (exit $ac_status); } &&
68080 { ac_try='test -z "$ac_c_werror_flag"
68081 || test ! -s conftest.err'
68082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68083 (eval $ac_try) 2>&5
68084 ac_status=$?
68085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68086 (exit $ac_status); }; } &&
68087 { ac_try='test -s conftest$ac_exeext'
68088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68089 (eval $ac_try) 2>&5
68090 ac_status=$?
68091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68092 (exit $ac_status); }; }; then
68093 eval "$as_ac_var=yes"
68094 else
68095 echo "$as_me: failed program was:" >&5
68096 sed 's/^/| /' conftest.$ac_ext >&5
68098 eval "$as_ac_var=no"
68100 rm -f conftest.err conftest.$ac_objext \
68101 conftest$ac_exeext conftest.$ac_ext
68103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68105 if test `eval echo '${'$as_ac_var'}'` = yes; then
68106 cat >>confdefs.h <<_ACEOF
68107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68108 _ACEOF
68111 done
68113 else
68115 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68116 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68117 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68118 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68119 echo $ECHO_N "(cached) $ECHO_C" >&6
68120 else
68124 ac_ext=cc
68125 ac_cpp='$CXXCPP $CPPFLAGS'
68126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68130 cat >conftest.$ac_ext <<_ACEOF
68131 /* confdefs.h. */
68132 _ACEOF
68133 cat confdefs.h >>conftest.$ac_ext
68134 cat >>conftest.$ac_ext <<_ACEOF
68135 /* end confdefs.h. */
68136 #include <math.h>
68137 #ifdef HAVE_IEEEFP_H
68138 #include <ieeefp.h>
68139 #endif
68142 main ()
68144 _sqrtl(0);
68146 return 0;
68148 _ACEOF
68149 rm -f conftest.$ac_objext
68150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68151 (eval $ac_compile) 2>conftest.er1
68152 ac_status=$?
68153 grep -v '^ *+' conftest.er1 >conftest.err
68154 rm -f conftest.er1
68155 cat conftest.err >&5
68156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68157 (exit $ac_status); } &&
68158 { ac_try='test -z "$ac_cxx_werror_flag"
68159 || test ! -s conftest.err'
68160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68161 (eval $ac_try) 2>&5
68162 ac_status=$?
68163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68164 (exit $ac_status); }; } &&
68165 { ac_try='test -s conftest.$ac_objext'
68166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68167 (eval $ac_try) 2>&5
68168 ac_status=$?
68169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68170 (exit $ac_status); }; }; then
68171 glibcxx_cv_func__sqrtl_use=yes
68172 else
68173 echo "$as_me: failed program was:" >&5
68174 sed 's/^/| /' conftest.$ac_ext >&5
68176 glibcxx_cv_func__sqrtl_use=no
68178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68179 ac_ext=c
68180 ac_cpp='$CPP $CPPFLAGS'
68181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68190 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68192 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68194 for ac_func in _sqrtl
68196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68197 echo "$as_me:$LINENO: checking for $ac_func" >&5
68198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68199 if eval "test \"\${$as_ac_var+set}\" = set"; then
68200 echo $ECHO_N "(cached) $ECHO_C" >&6
68201 else
68202 if test x$gcc_no_link = xyes; then
68203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68205 { (exit 1); exit 1; }; }
68207 cat >conftest.$ac_ext <<_ACEOF
68208 /* confdefs.h. */
68209 _ACEOF
68210 cat confdefs.h >>conftest.$ac_ext
68211 cat >>conftest.$ac_ext <<_ACEOF
68212 /* end confdefs.h. */
68213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68215 #define $ac_func innocuous_$ac_func
68217 /* System header to define __stub macros and hopefully few prototypes,
68218 which can conflict with char $ac_func (); below.
68219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68220 <limits.h> exists even on freestanding compilers. */
68222 #ifdef __STDC__
68223 # include <limits.h>
68224 #else
68225 # include <assert.h>
68226 #endif
68228 #undef $ac_func
68230 /* Override any gcc2 internal prototype to avoid an error. */
68231 #ifdef __cplusplus
68232 extern "C"
68234 #endif
68235 /* We use char because int might match the return type of a gcc2
68236 builtin and then its argument prototype would still apply. */
68237 char $ac_func ();
68238 /* The GNU C library defines this for functions which it implements
68239 to always fail with ENOSYS. Some functions are actually named
68240 something starting with __ and the normal name is an alias. */
68241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68242 choke me
68243 #else
68244 char (*f) () = $ac_func;
68245 #endif
68246 #ifdef __cplusplus
68248 #endif
68251 main ()
68253 return f != $ac_func;
68255 return 0;
68257 _ACEOF
68258 rm -f conftest.$ac_objext conftest$ac_exeext
68259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68260 (eval $ac_link) 2>conftest.er1
68261 ac_status=$?
68262 grep -v '^ *+' conftest.er1 >conftest.err
68263 rm -f conftest.er1
68264 cat conftest.err >&5
68265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68266 (exit $ac_status); } &&
68267 { ac_try='test -z "$ac_c_werror_flag"
68268 || test ! -s conftest.err'
68269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68270 (eval $ac_try) 2>&5
68271 ac_status=$?
68272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68273 (exit $ac_status); }; } &&
68274 { ac_try='test -s conftest$ac_exeext'
68275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68276 (eval $ac_try) 2>&5
68277 ac_status=$?
68278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68279 (exit $ac_status); }; }; then
68280 eval "$as_ac_var=yes"
68281 else
68282 echo "$as_me: failed program was:" >&5
68283 sed 's/^/| /' conftest.$ac_ext >&5
68285 eval "$as_ac_var=no"
68287 rm -f conftest.err conftest.$ac_objext \
68288 conftest$ac_exeext conftest.$ac_ext
68290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68292 if test `eval echo '${'$as_ac_var'}'` = yes; then
68293 cat >>confdefs.h <<_ACEOF
68294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68295 _ACEOF
68298 done
68305 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68306 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68307 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68308 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
68309 echo $ECHO_N "(cached) $ECHO_C" >&6
68310 else
68314 ac_ext=cc
68315 ac_cpp='$CXXCPP $CPPFLAGS'
68316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68320 cat >conftest.$ac_ext <<_ACEOF
68321 /* confdefs.h. */
68322 _ACEOF
68323 cat confdefs.h >>conftest.$ac_ext
68324 cat >>conftest.$ac_ext <<_ACEOF
68325 /* end confdefs.h. */
68326 #include <math.h>
68328 main ()
68330 sincosl(0, 0, 0);
68332 return 0;
68334 _ACEOF
68335 rm -f conftest.$ac_objext
68336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68337 (eval $ac_compile) 2>conftest.er1
68338 ac_status=$?
68339 grep -v '^ *+' conftest.er1 >conftest.err
68340 rm -f conftest.er1
68341 cat conftest.err >&5
68342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68343 (exit $ac_status); } &&
68344 { ac_try='test -z "$ac_cxx_werror_flag"
68345 || test ! -s conftest.err'
68346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68347 (eval $ac_try) 2>&5
68348 ac_status=$?
68349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68350 (exit $ac_status); }; } &&
68351 { ac_try='test -s conftest.$ac_objext'
68352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68353 (eval $ac_try) 2>&5
68354 ac_status=$?
68355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68356 (exit $ac_status); }; }; then
68357 glibcxx_cv_func_sincosl_use=yes
68358 else
68359 echo "$as_me: failed program was:" >&5
68360 sed 's/^/| /' conftest.$ac_ext >&5
68362 glibcxx_cv_func_sincosl_use=no
68364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68365 ac_ext=c
68366 ac_cpp='$CPP $CPPFLAGS'
68367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
68376 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
68378 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68380 for ac_func in sincosl
68382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68383 echo "$as_me:$LINENO: checking for $ac_func" >&5
68384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68385 if eval "test \"\${$as_ac_var+set}\" = set"; then
68386 echo $ECHO_N "(cached) $ECHO_C" >&6
68387 else
68388 if test x$gcc_no_link = xyes; then
68389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68391 { (exit 1); exit 1; }; }
68393 cat >conftest.$ac_ext <<_ACEOF
68394 /* confdefs.h. */
68395 _ACEOF
68396 cat confdefs.h >>conftest.$ac_ext
68397 cat >>conftest.$ac_ext <<_ACEOF
68398 /* end confdefs.h. */
68399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68401 #define $ac_func innocuous_$ac_func
68403 /* System header to define __stub macros and hopefully few prototypes,
68404 which can conflict with char $ac_func (); below.
68405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68406 <limits.h> exists even on freestanding compilers. */
68408 #ifdef __STDC__
68409 # include <limits.h>
68410 #else
68411 # include <assert.h>
68412 #endif
68414 #undef $ac_func
68416 /* Override any gcc2 internal prototype to avoid an error. */
68417 #ifdef __cplusplus
68418 extern "C"
68420 #endif
68421 /* We use char because int might match the return type of a gcc2
68422 builtin and then its argument prototype would still apply. */
68423 char $ac_func ();
68424 /* The GNU C library defines this for functions which it implements
68425 to always fail with ENOSYS. Some functions are actually named
68426 something starting with __ and the normal name is an alias. */
68427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68428 choke me
68429 #else
68430 char (*f) () = $ac_func;
68431 #endif
68432 #ifdef __cplusplus
68434 #endif
68437 main ()
68439 return f != $ac_func;
68441 return 0;
68443 _ACEOF
68444 rm -f conftest.$ac_objext conftest$ac_exeext
68445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68446 (eval $ac_link) 2>conftest.er1
68447 ac_status=$?
68448 grep -v '^ *+' conftest.er1 >conftest.err
68449 rm -f conftest.er1
68450 cat conftest.err >&5
68451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452 (exit $ac_status); } &&
68453 { ac_try='test -z "$ac_c_werror_flag"
68454 || test ! -s conftest.err'
68455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456 (eval $ac_try) 2>&5
68457 ac_status=$?
68458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459 (exit $ac_status); }; } &&
68460 { ac_try='test -s conftest$ac_exeext'
68461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68462 (eval $ac_try) 2>&5
68463 ac_status=$?
68464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68465 (exit $ac_status); }; }; then
68466 eval "$as_ac_var=yes"
68467 else
68468 echo "$as_me: failed program was:" >&5
68469 sed 's/^/| /' conftest.$ac_ext >&5
68471 eval "$as_ac_var=no"
68473 rm -f conftest.err conftest.$ac_objext \
68474 conftest$ac_exeext conftest.$ac_ext
68476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68478 if test `eval echo '${'$as_ac_var'}'` = yes; then
68479 cat >>confdefs.h <<_ACEOF
68480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68481 _ACEOF
68484 done
68486 else
68488 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
68489 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
68490 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68491 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
68492 echo $ECHO_N "(cached) $ECHO_C" >&6
68493 else
68497 ac_ext=cc
68498 ac_cpp='$CXXCPP $CPPFLAGS'
68499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68503 cat >conftest.$ac_ext <<_ACEOF
68504 /* confdefs.h. */
68505 _ACEOF
68506 cat confdefs.h >>conftest.$ac_ext
68507 cat >>conftest.$ac_ext <<_ACEOF
68508 /* end confdefs.h. */
68509 #include <math.h>
68511 main ()
68513 _sincosl(0, 0, 0);
68515 return 0;
68517 _ACEOF
68518 rm -f conftest.$ac_objext
68519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68520 (eval $ac_compile) 2>conftest.er1
68521 ac_status=$?
68522 grep -v '^ *+' conftest.er1 >conftest.err
68523 rm -f conftest.er1
68524 cat conftest.err >&5
68525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68526 (exit $ac_status); } &&
68527 { ac_try='test -z "$ac_cxx_werror_flag"
68528 || test ! -s conftest.err'
68529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68530 (eval $ac_try) 2>&5
68531 ac_status=$?
68532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68533 (exit $ac_status); }; } &&
68534 { ac_try='test -s conftest.$ac_objext'
68535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68536 (eval $ac_try) 2>&5
68537 ac_status=$?
68538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68539 (exit $ac_status); }; }; then
68540 glibcxx_cv_func__sincosl_use=yes
68541 else
68542 echo "$as_me: failed program was:" >&5
68543 sed 's/^/| /' conftest.$ac_ext >&5
68545 glibcxx_cv_func__sincosl_use=no
68547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68548 ac_ext=c
68549 ac_cpp='$CPP $CPPFLAGS'
68550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
68559 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
68561 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68563 for ac_func in _sincosl
68565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68566 echo "$as_me:$LINENO: checking for $ac_func" >&5
68567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68568 if eval "test \"\${$as_ac_var+set}\" = set"; then
68569 echo $ECHO_N "(cached) $ECHO_C" >&6
68570 else
68571 if test x$gcc_no_link = xyes; then
68572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68574 { (exit 1); exit 1; }; }
68576 cat >conftest.$ac_ext <<_ACEOF
68577 /* confdefs.h. */
68578 _ACEOF
68579 cat confdefs.h >>conftest.$ac_ext
68580 cat >>conftest.$ac_ext <<_ACEOF
68581 /* end confdefs.h. */
68582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68584 #define $ac_func innocuous_$ac_func
68586 /* System header to define __stub macros and hopefully few prototypes,
68587 which can conflict with char $ac_func (); below.
68588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68589 <limits.h> exists even on freestanding compilers. */
68591 #ifdef __STDC__
68592 # include <limits.h>
68593 #else
68594 # include <assert.h>
68595 #endif
68597 #undef $ac_func
68599 /* Override any gcc2 internal prototype to avoid an error. */
68600 #ifdef __cplusplus
68601 extern "C"
68603 #endif
68604 /* We use char because int might match the return type of a gcc2
68605 builtin and then its argument prototype would still apply. */
68606 char $ac_func ();
68607 /* The GNU C library defines this for functions which it implements
68608 to always fail with ENOSYS. Some functions are actually named
68609 something starting with __ and the normal name is an alias. */
68610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68611 choke me
68612 #else
68613 char (*f) () = $ac_func;
68614 #endif
68615 #ifdef __cplusplus
68617 #endif
68620 main ()
68622 return f != $ac_func;
68624 return 0;
68626 _ACEOF
68627 rm -f conftest.$ac_objext conftest$ac_exeext
68628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68629 (eval $ac_link) 2>conftest.er1
68630 ac_status=$?
68631 grep -v '^ *+' conftest.er1 >conftest.err
68632 rm -f conftest.er1
68633 cat conftest.err >&5
68634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68635 (exit $ac_status); } &&
68636 { ac_try='test -z "$ac_c_werror_flag"
68637 || test ! -s conftest.err'
68638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68639 (eval $ac_try) 2>&5
68640 ac_status=$?
68641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68642 (exit $ac_status); }; } &&
68643 { ac_try='test -s conftest$ac_exeext'
68644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68645 (eval $ac_try) 2>&5
68646 ac_status=$?
68647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68648 (exit $ac_status); }; }; then
68649 eval "$as_ac_var=yes"
68650 else
68651 echo "$as_me: failed program was:" >&5
68652 sed 's/^/| /' conftest.$ac_ext >&5
68654 eval "$as_ac_var=no"
68656 rm -f conftest.err conftest.$ac_objext \
68657 conftest$ac_exeext conftest.$ac_ext
68659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68661 if test `eval echo '${'$as_ac_var'}'` = yes; then
68662 cat >>confdefs.h <<_ACEOF
68663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68664 _ACEOF
68667 done
68674 echo "$as_me:$LINENO: checking for finitel declaration" >&5
68675 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
68676 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68677 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
68678 echo $ECHO_N "(cached) $ECHO_C" >&6
68679 else
68683 ac_ext=cc
68684 ac_cpp='$CXXCPP $CPPFLAGS'
68685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68689 cat >conftest.$ac_ext <<_ACEOF
68690 /* confdefs.h. */
68691 _ACEOF
68692 cat confdefs.h >>conftest.$ac_ext
68693 cat >>conftest.$ac_ext <<_ACEOF
68694 /* end confdefs.h. */
68695 #include <math.h>
68696 #ifdef HAVE_IEEEFP_H
68697 #include <ieeefp.h>
68698 #endif
68701 main ()
68703 finitel(0);
68705 return 0;
68707 _ACEOF
68708 rm -f conftest.$ac_objext
68709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68710 (eval $ac_compile) 2>conftest.er1
68711 ac_status=$?
68712 grep -v '^ *+' conftest.er1 >conftest.err
68713 rm -f conftest.er1
68714 cat conftest.err >&5
68715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68716 (exit $ac_status); } &&
68717 { ac_try='test -z "$ac_cxx_werror_flag"
68718 || test ! -s conftest.err'
68719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68720 (eval $ac_try) 2>&5
68721 ac_status=$?
68722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68723 (exit $ac_status); }; } &&
68724 { ac_try='test -s conftest.$ac_objext'
68725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68726 (eval $ac_try) 2>&5
68727 ac_status=$?
68728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68729 (exit $ac_status); }; }; then
68730 glibcxx_cv_func_finitel_use=yes
68731 else
68732 echo "$as_me: failed program was:" >&5
68733 sed 's/^/| /' conftest.$ac_ext >&5
68735 glibcxx_cv_func_finitel_use=no
68737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68738 ac_ext=c
68739 ac_cpp='$CPP $CPPFLAGS'
68740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
68749 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
68751 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68753 for ac_func in finitel
68755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68756 echo "$as_me:$LINENO: checking for $ac_func" >&5
68757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68758 if eval "test \"\${$as_ac_var+set}\" = set"; then
68759 echo $ECHO_N "(cached) $ECHO_C" >&6
68760 else
68761 if test x$gcc_no_link = xyes; then
68762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68764 { (exit 1); exit 1; }; }
68766 cat >conftest.$ac_ext <<_ACEOF
68767 /* confdefs.h. */
68768 _ACEOF
68769 cat confdefs.h >>conftest.$ac_ext
68770 cat >>conftest.$ac_ext <<_ACEOF
68771 /* end confdefs.h. */
68772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68774 #define $ac_func innocuous_$ac_func
68776 /* System header to define __stub macros and hopefully few prototypes,
68777 which can conflict with char $ac_func (); below.
68778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68779 <limits.h> exists even on freestanding compilers. */
68781 #ifdef __STDC__
68782 # include <limits.h>
68783 #else
68784 # include <assert.h>
68785 #endif
68787 #undef $ac_func
68789 /* Override any gcc2 internal prototype to avoid an error. */
68790 #ifdef __cplusplus
68791 extern "C"
68793 #endif
68794 /* We use char because int might match the return type of a gcc2
68795 builtin and then its argument prototype would still apply. */
68796 char $ac_func ();
68797 /* The GNU C library defines this for functions which it implements
68798 to always fail with ENOSYS. Some functions are actually named
68799 something starting with __ and the normal name is an alias. */
68800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68801 choke me
68802 #else
68803 char (*f) () = $ac_func;
68804 #endif
68805 #ifdef __cplusplus
68807 #endif
68810 main ()
68812 return f != $ac_func;
68814 return 0;
68816 _ACEOF
68817 rm -f conftest.$ac_objext conftest$ac_exeext
68818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68819 (eval $ac_link) 2>conftest.er1
68820 ac_status=$?
68821 grep -v '^ *+' conftest.er1 >conftest.err
68822 rm -f conftest.er1
68823 cat conftest.err >&5
68824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68825 (exit $ac_status); } &&
68826 { ac_try='test -z "$ac_c_werror_flag"
68827 || test ! -s conftest.err'
68828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68829 (eval $ac_try) 2>&5
68830 ac_status=$?
68831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68832 (exit $ac_status); }; } &&
68833 { ac_try='test -s conftest$ac_exeext'
68834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68835 (eval $ac_try) 2>&5
68836 ac_status=$?
68837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68838 (exit $ac_status); }; }; then
68839 eval "$as_ac_var=yes"
68840 else
68841 echo "$as_me: failed program was:" >&5
68842 sed 's/^/| /' conftest.$ac_ext >&5
68844 eval "$as_ac_var=no"
68846 rm -f conftest.err conftest.$ac_objext \
68847 conftest$ac_exeext conftest.$ac_ext
68849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68851 if test `eval echo '${'$as_ac_var'}'` = yes; then
68852 cat >>confdefs.h <<_ACEOF
68853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68854 _ACEOF
68857 done
68859 else
68861 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
68862 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
68863 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68864 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
68865 echo $ECHO_N "(cached) $ECHO_C" >&6
68866 else
68870 ac_ext=cc
68871 ac_cpp='$CXXCPP $CPPFLAGS'
68872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68876 cat >conftest.$ac_ext <<_ACEOF
68877 /* confdefs.h. */
68878 _ACEOF
68879 cat confdefs.h >>conftest.$ac_ext
68880 cat >>conftest.$ac_ext <<_ACEOF
68881 /* end confdefs.h. */
68882 #include <math.h>
68883 #ifdef HAVE_IEEEFP_H
68884 #include <ieeefp.h>
68885 #endif
68888 main ()
68890 _finitel(0);
68892 return 0;
68894 _ACEOF
68895 rm -f conftest.$ac_objext
68896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68897 (eval $ac_compile) 2>conftest.er1
68898 ac_status=$?
68899 grep -v '^ *+' conftest.er1 >conftest.err
68900 rm -f conftest.er1
68901 cat conftest.err >&5
68902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68903 (exit $ac_status); } &&
68904 { ac_try='test -z "$ac_cxx_werror_flag"
68905 || test ! -s conftest.err'
68906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68907 (eval $ac_try) 2>&5
68908 ac_status=$?
68909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68910 (exit $ac_status); }; } &&
68911 { ac_try='test -s conftest.$ac_objext'
68912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68913 (eval $ac_try) 2>&5
68914 ac_status=$?
68915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68916 (exit $ac_status); }; }; then
68917 glibcxx_cv_func__finitel_use=yes
68918 else
68919 echo "$as_me: failed program was:" >&5
68920 sed 's/^/| /' conftest.$ac_ext >&5
68922 glibcxx_cv_func__finitel_use=no
68924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68925 ac_ext=c
68926 ac_cpp='$CPP $CPPFLAGS'
68927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
68936 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
68938 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68940 for ac_func in _finitel
68942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68943 echo "$as_me:$LINENO: checking for $ac_func" >&5
68944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68945 if eval "test \"\${$as_ac_var+set}\" = set"; then
68946 echo $ECHO_N "(cached) $ECHO_C" >&6
68947 else
68948 if test x$gcc_no_link = xyes; then
68949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68951 { (exit 1); exit 1; }; }
68953 cat >conftest.$ac_ext <<_ACEOF
68954 /* confdefs.h. */
68955 _ACEOF
68956 cat confdefs.h >>conftest.$ac_ext
68957 cat >>conftest.$ac_ext <<_ACEOF
68958 /* end confdefs.h. */
68959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68961 #define $ac_func innocuous_$ac_func
68963 /* System header to define __stub macros and hopefully few prototypes,
68964 which can conflict with char $ac_func (); below.
68965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68966 <limits.h> exists even on freestanding compilers. */
68968 #ifdef __STDC__
68969 # include <limits.h>
68970 #else
68971 # include <assert.h>
68972 #endif
68974 #undef $ac_func
68976 /* Override any gcc2 internal prototype to avoid an error. */
68977 #ifdef __cplusplus
68978 extern "C"
68980 #endif
68981 /* We use char because int might match the return type of a gcc2
68982 builtin and then its argument prototype would still apply. */
68983 char $ac_func ();
68984 /* The GNU C library defines this for functions which it implements
68985 to always fail with ENOSYS. Some functions are actually named
68986 something starting with __ and the normal name is an alias. */
68987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68988 choke me
68989 #else
68990 char (*f) () = $ac_func;
68991 #endif
68992 #ifdef __cplusplus
68994 #endif
68997 main ()
68999 return f != $ac_func;
69001 return 0;
69003 _ACEOF
69004 rm -f conftest.$ac_objext conftest$ac_exeext
69005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69006 (eval $ac_link) 2>conftest.er1
69007 ac_status=$?
69008 grep -v '^ *+' conftest.er1 >conftest.err
69009 rm -f conftest.er1
69010 cat conftest.err >&5
69011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69012 (exit $ac_status); } &&
69013 { ac_try='test -z "$ac_c_werror_flag"
69014 || test ! -s conftest.err'
69015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69016 (eval $ac_try) 2>&5
69017 ac_status=$?
69018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69019 (exit $ac_status); }; } &&
69020 { ac_try='test -s conftest$ac_exeext'
69021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69022 (eval $ac_try) 2>&5
69023 ac_status=$?
69024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69025 (exit $ac_status); }; }; then
69026 eval "$as_ac_var=yes"
69027 else
69028 echo "$as_me: failed program was:" >&5
69029 sed 's/^/| /' conftest.$ac_ext >&5
69031 eval "$as_ac_var=no"
69033 rm -f conftest.err conftest.$ac_objext \
69034 conftest$ac_exeext conftest.$ac_ext
69036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69038 if test `eval echo '${'$as_ac_var'}'` = yes; then
69039 cat >>confdefs.h <<_ACEOF
69040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69041 _ACEOF
69044 done
69052 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69053 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69054 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69055 echo $ECHO_N "(cached) $ECHO_C" >&6
69056 else
69060 ac_ext=cc
69061 ac_cpp='$CXXCPP $CPPFLAGS'
69062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69066 cat >conftest.$ac_ext <<_ACEOF
69067 /* confdefs.h. */
69068 _ACEOF
69069 cat confdefs.h >>conftest.$ac_ext
69070 cat >>conftest.$ac_ext <<_ACEOF
69071 /* end confdefs.h. */
69072 #include <math.h>
69074 main ()
69076 `for x in _acosf _asinf _atanf \
69077 _cosf _sinf _tanf \
69078 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69080 return 0;
69082 _ACEOF
69083 rm -f conftest.$ac_objext
69084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69085 (eval $ac_compile) 2>conftest.er1
69086 ac_status=$?
69087 grep -v '^ *+' conftest.er1 >conftest.err
69088 rm -f conftest.er1
69089 cat conftest.err >&5
69090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69091 (exit $ac_status); } &&
69092 { ac_try='test -z "$ac_cxx_werror_flag"
69093 || test ! -s conftest.err'
69094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69095 (eval $ac_try) 2>&5
69096 ac_status=$?
69097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69098 (exit $ac_status); }; } &&
69099 { ac_try='test -s conftest.$ac_objext'
69100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69101 (eval $ac_try) 2>&5
69102 ac_status=$?
69103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69104 (exit $ac_status); }; }; then
69105 glibcxx_cv_func__float_trig_use=yes
69106 else
69107 echo "$as_me: failed program was:" >&5
69108 sed 's/^/| /' conftest.$ac_ext >&5
69110 glibcxx_cv_func__float_trig_use=no
69112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69113 ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69122 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69123 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69133 for ac_func in _acosf _asinf _atanf \
69134 _cosf _sinf _tanf \
69135 _coshf _sinhf _tanhf
69137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69138 echo "$as_me:$LINENO: checking for $ac_func" >&5
69139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69140 if eval "test \"\${$as_ac_var+set}\" = set"; then
69141 echo $ECHO_N "(cached) $ECHO_C" >&6
69142 else
69143 if test x$gcc_no_link = xyes; then
69144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69146 { (exit 1); exit 1; }; }
69148 cat >conftest.$ac_ext <<_ACEOF
69149 /* confdefs.h. */
69150 _ACEOF
69151 cat confdefs.h >>conftest.$ac_ext
69152 cat >>conftest.$ac_ext <<_ACEOF
69153 /* end confdefs.h. */
69154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69156 #define $ac_func innocuous_$ac_func
69158 /* System header to define __stub macros and hopefully few prototypes,
69159 which can conflict with char $ac_func (); below.
69160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69161 <limits.h> exists even on freestanding compilers. */
69163 #ifdef __STDC__
69164 # include <limits.h>
69165 #else
69166 # include <assert.h>
69167 #endif
69169 #undef $ac_func
69171 /* Override any gcc2 internal prototype to avoid an error. */
69172 #ifdef __cplusplus
69173 extern "C"
69175 #endif
69176 /* We use char because int might match the return type of a gcc2
69177 builtin and then its argument prototype would still apply. */
69178 char $ac_func ();
69179 /* The GNU C library defines this for functions which it implements
69180 to always fail with ENOSYS. Some functions are actually named
69181 something starting with __ and the normal name is an alias. */
69182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69183 choke me
69184 #else
69185 char (*f) () = $ac_func;
69186 #endif
69187 #ifdef __cplusplus
69189 #endif
69192 main ()
69194 return f != $ac_func;
69196 return 0;
69198 _ACEOF
69199 rm -f conftest.$ac_objext conftest$ac_exeext
69200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69201 (eval $ac_link) 2>conftest.er1
69202 ac_status=$?
69203 grep -v '^ *+' conftest.er1 >conftest.err
69204 rm -f conftest.er1
69205 cat conftest.err >&5
69206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69207 (exit $ac_status); } &&
69208 { ac_try='test -z "$ac_c_werror_flag"
69209 || test ! -s conftest.err'
69210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69211 (eval $ac_try) 2>&5
69212 ac_status=$?
69213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69214 (exit $ac_status); }; } &&
69215 { ac_try='test -s conftest$ac_exeext'
69216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69217 (eval $ac_try) 2>&5
69218 ac_status=$?
69219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69220 (exit $ac_status); }; }; then
69221 eval "$as_ac_var=yes"
69222 else
69223 echo "$as_me: failed program was:" >&5
69224 sed 's/^/| /' conftest.$ac_ext >&5
69226 eval "$as_ac_var=no"
69228 rm -f conftest.err conftest.$ac_objext \
69229 conftest$ac_exeext conftest.$ac_ext
69231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69233 if test `eval echo '${'$as_ac_var'}'` = yes; then
69234 cat >>confdefs.h <<_ACEOF
69235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69236 _ACEOF
69239 done
69244 echo "$as_me:$LINENO: checking for _float round functions" >&5
69245 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69246 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69247 echo $ECHO_N "(cached) $ECHO_C" >&6
69248 else
69252 ac_ext=cc
69253 ac_cpp='$CXXCPP $CPPFLAGS'
69254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69258 cat >conftest.$ac_ext <<_ACEOF
69259 /* confdefs.h. */
69260 _ACEOF
69261 cat confdefs.h >>conftest.$ac_ext
69262 cat >>conftest.$ac_ext <<_ACEOF
69263 /* end confdefs.h. */
69264 #include <math.h>
69266 main ()
69268 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69270 return 0;
69272 _ACEOF
69273 rm -f conftest.$ac_objext
69274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69275 (eval $ac_compile) 2>conftest.er1
69276 ac_status=$?
69277 grep -v '^ *+' conftest.er1 >conftest.err
69278 rm -f conftest.er1
69279 cat conftest.err >&5
69280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69281 (exit $ac_status); } &&
69282 { ac_try='test -z "$ac_cxx_werror_flag"
69283 || test ! -s conftest.err'
69284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69285 (eval $ac_try) 2>&5
69286 ac_status=$?
69287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69288 (exit $ac_status); }; } &&
69289 { ac_try='test -s conftest.$ac_objext'
69290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69291 (eval $ac_try) 2>&5
69292 ac_status=$?
69293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69294 (exit $ac_status); }; }; then
69295 glibcxx_cv_func__float_round_use=yes
69296 else
69297 echo "$as_me: failed program was:" >&5
69298 sed 's/^/| /' conftest.$ac_ext >&5
69300 glibcxx_cv_func__float_round_use=no
69302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69303 ac_ext=c
69304 ac_cpp='$CPP $CPPFLAGS'
69305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69312 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69313 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69316 for ac_func in _ceilf _floorf
69318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69319 echo "$as_me:$LINENO: checking for $ac_func" >&5
69320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69321 if eval "test \"\${$as_ac_var+set}\" = set"; then
69322 echo $ECHO_N "(cached) $ECHO_C" >&6
69323 else
69324 if test x$gcc_no_link = xyes; then
69325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69327 { (exit 1); exit 1; }; }
69329 cat >conftest.$ac_ext <<_ACEOF
69330 /* confdefs.h. */
69331 _ACEOF
69332 cat confdefs.h >>conftest.$ac_ext
69333 cat >>conftest.$ac_ext <<_ACEOF
69334 /* end confdefs.h. */
69335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69337 #define $ac_func innocuous_$ac_func
69339 /* System header to define __stub macros and hopefully few prototypes,
69340 which can conflict with char $ac_func (); below.
69341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69342 <limits.h> exists even on freestanding compilers. */
69344 #ifdef __STDC__
69345 # include <limits.h>
69346 #else
69347 # include <assert.h>
69348 #endif
69350 #undef $ac_func
69352 /* Override any gcc2 internal prototype to avoid an error. */
69353 #ifdef __cplusplus
69354 extern "C"
69356 #endif
69357 /* We use char because int might match the return type of a gcc2
69358 builtin and then its argument prototype would still apply. */
69359 char $ac_func ();
69360 /* The GNU C library defines this for functions which it implements
69361 to always fail with ENOSYS. Some functions are actually named
69362 something starting with __ and the normal name is an alias. */
69363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69364 choke me
69365 #else
69366 char (*f) () = $ac_func;
69367 #endif
69368 #ifdef __cplusplus
69370 #endif
69373 main ()
69375 return f != $ac_func;
69377 return 0;
69379 _ACEOF
69380 rm -f conftest.$ac_objext conftest$ac_exeext
69381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69382 (eval $ac_link) 2>conftest.er1
69383 ac_status=$?
69384 grep -v '^ *+' conftest.er1 >conftest.err
69385 rm -f conftest.er1
69386 cat conftest.err >&5
69387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69388 (exit $ac_status); } &&
69389 { ac_try='test -z "$ac_c_werror_flag"
69390 || test ! -s conftest.err'
69391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69392 (eval $ac_try) 2>&5
69393 ac_status=$?
69394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69395 (exit $ac_status); }; } &&
69396 { ac_try='test -s conftest$ac_exeext'
69397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69398 (eval $ac_try) 2>&5
69399 ac_status=$?
69400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69401 (exit $ac_status); }; }; then
69402 eval "$as_ac_var=yes"
69403 else
69404 echo "$as_me: failed program was:" >&5
69405 sed 's/^/| /' conftest.$ac_ext >&5
69407 eval "$as_ac_var=no"
69409 rm -f conftest.err conftest.$ac_objext \
69410 conftest$ac_exeext conftest.$ac_ext
69412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69414 if test `eval echo '${'$as_ac_var'}'` = yes; then
69415 cat >>confdefs.h <<_ACEOF
69416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69417 _ACEOF
69420 done
69426 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69427 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69428 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69429 echo $ECHO_N "(cached) $ECHO_C" >&6
69430 else
69434 ac_ext=cc
69435 ac_cpp='$CXXCPP $CPPFLAGS'
69436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69440 cat >conftest.$ac_ext <<_ACEOF
69441 /* confdefs.h. */
69442 _ACEOF
69443 cat confdefs.h >>conftest.$ac_ext
69444 cat >>conftest.$ac_ext <<_ACEOF
69445 /* end confdefs.h. */
69446 #include <math.h>
69448 main ()
69450 `for x in _acosl _asinl _atanl \
69451 _cosl _sinl _tanl \
69452 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
69454 return 0;
69456 _ACEOF
69457 rm -f conftest.$ac_objext
69458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69459 (eval $ac_compile) 2>conftest.er1
69460 ac_status=$?
69461 grep -v '^ *+' conftest.er1 >conftest.err
69462 rm -f conftest.er1
69463 cat conftest.err >&5
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); } &&
69466 { ac_try='test -z "$ac_cxx_werror_flag"
69467 || test ! -s conftest.err'
69468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69469 (eval $ac_try) 2>&5
69470 ac_status=$?
69471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69472 (exit $ac_status); }; } &&
69473 { ac_try='test -s conftest.$ac_objext'
69474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69475 (eval $ac_try) 2>&5
69476 ac_status=$?
69477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69478 (exit $ac_status); }; }; then
69479 glibcxx_cv_func__long_double_trig_use=yes
69480 else
69481 echo "$as_me: failed program was:" >&5
69482 sed 's/^/| /' conftest.$ac_ext >&5
69484 glibcxx_cv_func__long_double_trig_use=no
69486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69487 ac_ext=c
69488 ac_cpp='$CPP $CPPFLAGS'
69489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69496 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69497 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69507 for ac_func in _acosl _asinl _atanl \
69508 _cosl _sinl _tanl \
69509 _coshl _sinhl _tanhl
69511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69512 echo "$as_me:$LINENO: checking for $ac_func" >&5
69513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69514 if eval "test \"\${$as_ac_var+set}\" = set"; then
69515 echo $ECHO_N "(cached) $ECHO_C" >&6
69516 else
69517 if test x$gcc_no_link = xyes; then
69518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69520 { (exit 1); exit 1; }; }
69522 cat >conftest.$ac_ext <<_ACEOF
69523 /* confdefs.h. */
69524 _ACEOF
69525 cat confdefs.h >>conftest.$ac_ext
69526 cat >>conftest.$ac_ext <<_ACEOF
69527 /* end confdefs.h. */
69528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69530 #define $ac_func innocuous_$ac_func
69532 /* System header to define __stub macros and hopefully few prototypes,
69533 which can conflict with char $ac_func (); below.
69534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69535 <limits.h> exists even on freestanding compilers. */
69537 #ifdef __STDC__
69538 # include <limits.h>
69539 #else
69540 # include <assert.h>
69541 #endif
69543 #undef $ac_func
69545 /* Override any gcc2 internal prototype to avoid an error. */
69546 #ifdef __cplusplus
69547 extern "C"
69549 #endif
69550 /* We use char because int might match the return type of a gcc2
69551 builtin and then its argument prototype would still apply. */
69552 char $ac_func ();
69553 /* The GNU C library defines this for functions which it implements
69554 to always fail with ENOSYS. Some functions are actually named
69555 something starting with __ and the normal name is an alias. */
69556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69557 choke me
69558 #else
69559 char (*f) () = $ac_func;
69560 #endif
69561 #ifdef __cplusplus
69563 #endif
69566 main ()
69568 return f != $ac_func;
69570 return 0;
69572 _ACEOF
69573 rm -f conftest.$ac_objext conftest$ac_exeext
69574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69575 (eval $ac_link) 2>conftest.er1
69576 ac_status=$?
69577 grep -v '^ *+' conftest.er1 >conftest.err
69578 rm -f conftest.er1
69579 cat conftest.err >&5
69580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69581 (exit $ac_status); } &&
69582 { ac_try='test -z "$ac_c_werror_flag"
69583 || test ! -s conftest.err'
69584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69585 (eval $ac_try) 2>&5
69586 ac_status=$?
69587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69588 (exit $ac_status); }; } &&
69589 { ac_try='test -s conftest$ac_exeext'
69590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69591 (eval $ac_try) 2>&5
69592 ac_status=$?
69593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69594 (exit $ac_status); }; }; then
69595 eval "$as_ac_var=yes"
69596 else
69597 echo "$as_me: failed program was:" >&5
69598 sed 's/^/| /' conftest.$ac_ext >&5
69600 eval "$as_ac_var=no"
69602 rm -f conftest.err conftest.$ac_objext \
69603 conftest$ac_exeext conftest.$ac_ext
69605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69607 if test `eval echo '${'$as_ac_var'}'` = yes; then
69608 cat >>confdefs.h <<_ACEOF
69609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69610 _ACEOF
69613 done
69618 echo "$as_me:$LINENO: checking for _long double round functions" >&5
69619 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
69620 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
69621 echo $ECHO_N "(cached) $ECHO_C" >&6
69622 else
69626 ac_ext=cc
69627 ac_cpp='$CXXCPP $CPPFLAGS'
69628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69632 cat >conftest.$ac_ext <<_ACEOF
69633 /* confdefs.h. */
69634 _ACEOF
69635 cat confdefs.h >>conftest.$ac_ext
69636 cat >>conftest.$ac_ext <<_ACEOF
69637 /* end confdefs.h. */
69638 #include <math.h>
69640 main ()
69642 `for x in _ceill _floorl; do echo "$x (0);"; done`
69644 return 0;
69646 _ACEOF
69647 rm -f conftest.$ac_objext
69648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69649 (eval $ac_compile) 2>conftest.er1
69650 ac_status=$?
69651 grep -v '^ *+' conftest.er1 >conftest.err
69652 rm -f conftest.er1
69653 cat conftest.err >&5
69654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69655 (exit $ac_status); } &&
69656 { ac_try='test -z "$ac_cxx_werror_flag"
69657 || test ! -s conftest.err'
69658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69659 (eval $ac_try) 2>&5
69660 ac_status=$?
69661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69662 (exit $ac_status); }; } &&
69663 { ac_try='test -s conftest.$ac_objext'
69664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69665 (eval $ac_try) 2>&5
69666 ac_status=$?
69667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69668 (exit $ac_status); }; }; then
69669 glibcxx_cv_func__long_double_round_use=yes
69670 else
69671 echo "$as_me: failed program was:" >&5
69672 sed 's/^/| /' conftest.$ac_ext >&5
69674 glibcxx_cv_func__long_double_round_use=no
69676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69677 ac_ext=c
69678 ac_cpp='$CPP $CPPFLAGS'
69679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
69686 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
69687 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69690 for ac_func in _ceill _floorl
69692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69693 echo "$as_me:$LINENO: checking for $ac_func" >&5
69694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69695 if eval "test \"\${$as_ac_var+set}\" = set"; then
69696 echo $ECHO_N "(cached) $ECHO_C" >&6
69697 else
69698 if test x$gcc_no_link = xyes; then
69699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69701 { (exit 1); exit 1; }; }
69703 cat >conftest.$ac_ext <<_ACEOF
69704 /* confdefs.h. */
69705 _ACEOF
69706 cat confdefs.h >>conftest.$ac_ext
69707 cat >>conftest.$ac_ext <<_ACEOF
69708 /* end confdefs.h. */
69709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69711 #define $ac_func innocuous_$ac_func
69713 /* System header to define __stub macros and hopefully few prototypes,
69714 which can conflict with char $ac_func (); below.
69715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69716 <limits.h> exists even on freestanding compilers. */
69718 #ifdef __STDC__
69719 # include <limits.h>
69720 #else
69721 # include <assert.h>
69722 #endif
69724 #undef $ac_func
69726 /* Override any gcc2 internal prototype to avoid an error. */
69727 #ifdef __cplusplus
69728 extern "C"
69730 #endif
69731 /* We use char because int might match the return type of a gcc2
69732 builtin and then its argument prototype would still apply. */
69733 char $ac_func ();
69734 /* The GNU C library defines this for functions which it implements
69735 to always fail with ENOSYS. Some functions are actually named
69736 something starting with __ and the normal name is an alias. */
69737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69738 choke me
69739 #else
69740 char (*f) () = $ac_func;
69741 #endif
69742 #ifdef __cplusplus
69744 #endif
69747 main ()
69749 return f != $ac_func;
69751 return 0;
69753 _ACEOF
69754 rm -f conftest.$ac_objext conftest$ac_exeext
69755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69756 (eval $ac_link) 2>conftest.er1
69757 ac_status=$?
69758 grep -v '^ *+' conftest.er1 >conftest.err
69759 rm -f conftest.er1
69760 cat conftest.err >&5
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); } &&
69763 { ac_try='test -z "$ac_c_werror_flag"
69764 || test ! -s conftest.err'
69765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69766 (eval $ac_try) 2>&5
69767 ac_status=$?
69768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69769 (exit $ac_status); }; } &&
69770 { ac_try='test -s conftest$ac_exeext'
69771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69772 (eval $ac_try) 2>&5
69773 ac_status=$?
69774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69775 (exit $ac_status); }; }; then
69776 eval "$as_ac_var=yes"
69777 else
69778 echo "$as_me: failed program was:" >&5
69779 sed 's/^/| /' conftest.$ac_ext >&5
69781 eval "$as_ac_var=no"
69783 rm -f conftest.err conftest.$ac_objext \
69784 conftest$ac_exeext conftest.$ac_ext
69786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69788 if test `eval echo '${'$as_ac_var'}'` = yes; then
69789 cat >>confdefs.h <<_ACEOF
69790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69791 _ACEOF
69794 done
69799 LIBS="$ac_save_LIBS"
69800 CXXFLAGS="$ac_save_CXXFLAGS"
69804 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
69805 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
69806 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
69807 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
69808 echo $ECHO_N "(cached) $ECHO_C" >&6
69809 else
69813 ac_ext=cc
69814 ac_cpp='$CXXCPP $CPPFLAGS'
69815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69819 cat >conftest.$ac_ext <<_ACEOF
69820 /* confdefs.h. */
69821 _ACEOF
69822 cat confdefs.h >>conftest.$ac_ext
69823 cat >>conftest.$ac_ext <<_ACEOF
69824 /* end confdefs.h. */
69825 #include <math.h>
69827 main ()
69829 __builtin_abs(0);
69831 return 0;
69833 _ACEOF
69834 rm -f conftest.$ac_objext
69835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69836 (eval $ac_compile) 2>conftest.er1
69837 ac_status=$?
69838 grep -v '^ *+' conftest.er1 >conftest.err
69839 rm -f conftest.er1
69840 cat conftest.err >&5
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); } &&
69843 { ac_try='test -z "$ac_cxx_werror_flag"
69844 || test ! -s conftest.err'
69845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69846 (eval $ac_try) 2>&5
69847 ac_status=$?
69848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69849 (exit $ac_status); }; } &&
69850 { ac_try='test -s conftest.$ac_objext'
69851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69852 (eval $ac_try) 2>&5
69853 ac_status=$?
69854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69855 (exit $ac_status); }; }; then
69856 glibcxx_cv_func___builtin_abs_use=yes
69857 else
69858 echo "$as_me: failed program was:" >&5
69859 sed 's/^/| /' conftest.$ac_ext >&5
69861 glibcxx_cv_func___builtin_abs_use=no
69863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69864 ac_ext=c
69865 ac_cpp='$CPP $CPPFLAGS'
69866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
69875 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
69876 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
69877 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
69878 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
69879 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
69880 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
69881 echo $ECHO_N "(cached) $ECHO_C" >&6
69882 else
69884 if test x$gcc_no_link = xyes; then
69885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69887 { (exit 1); exit 1; }; }
69889 cat >conftest.$ac_ext <<_ACEOF
69890 /* confdefs.h. */
69891 _ACEOF
69892 cat confdefs.h >>conftest.$ac_ext
69893 cat >>conftest.$ac_ext <<_ACEOF
69894 /* end confdefs.h. */
69895 #include <math.h>
69897 main ()
69899 __builtin_abs(0);
69901 return 0;
69903 _ACEOF
69904 rm -f conftest.$ac_objext conftest$ac_exeext
69905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69906 (eval $ac_link) 2>conftest.er1
69907 ac_status=$?
69908 grep -v '^ *+' conftest.er1 >conftest.err
69909 rm -f conftest.er1
69910 cat conftest.err >&5
69911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69912 (exit $ac_status); } &&
69913 { ac_try='test -z "$ac_c_werror_flag"
69914 || test ! -s conftest.err'
69915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69916 (eval $ac_try) 2>&5
69917 ac_status=$?
69918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69919 (exit $ac_status); }; } &&
69920 { ac_try='test -s conftest$ac_exeext'
69921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69922 (eval $ac_try) 2>&5
69923 ac_status=$?
69924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69925 (exit $ac_status); }; }; then
69926 glibcxx_cv_func___builtin_abs_link=yes
69927 else
69928 echo "$as_me: failed program was:" >&5
69929 sed 's/^/| /' conftest.$ac_ext >&5
69931 glibcxx_cv_func___builtin_abs_link=no
69933 rm -f conftest.err conftest.$ac_objext \
69934 conftest$ac_exeext conftest.$ac_ext
69939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
69940 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
69942 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
69944 cat >>confdefs.h <<\_ACEOF
69945 #define HAVE___BUILTIN_ABS 1
69946 _ACEOF
69953 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
69954 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
69955 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
69956 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
69957 echo $ECHO_N "(cached) $ECHO_C" >&6
69958 else
69962 ac_ext=cc
69963 ac_cpp='$CXXCPP $CPPFLAGS'
69964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69968 cat >conftest.$ac_ext <<_ACEOF
69969 /* confdefs.h. */
69970 _ACEOF
69971 cat confdefs.h >>conftest.$ac_ext
69972 cat >>conftest.$ac_ext <<_ACEOF
69973 /* end confdefs.h. */
69974 #include <math.h>
69976 main ()
69978 __builtin_fabsf(0);
69980 return 0;
69982 _ACEOF
69983 rm -f conftest.$ac_objext
69984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69985 (eval $ac_compile) 2>conftest.er1
69986 ac_status=$?
69987 grep -v '^ *+' conftest.er1 >conftest.err
69988 rm -f conftest.er1
69989 cat conftest.err >&5
69990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69991 (exit $ac_status); } &&
69992 { ac_try='test -z "$ac_cxx_werror_flag"
69993 || test ! -s conftest.err'
69994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69995 (eval $ac_try) 2>&5
69996 ac_status=$?
69997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69998 (exit $ac_status); }; } &&
69999 { ac_try='test -s conftest.$ac_objext'
70000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70001 (eval $ac_try) 2>&5
70002 ac_status=$?
70003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70004 (exit $ac_status); }; }; then
70005 glibcxx_cv_func___builtin_fabsf_use=yes
70006 else
70007 echo "$as_me: failed program was:" >&5
70008 sed 's/^/| /' conftest.$ac_ext >&5
70010 glibcxx_cv_func___builtin_fabsf_use=no
70012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70013 ac_ext=c
70014 ac_cpp='$CPP $CPPFLAGS'
70015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70024 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70025 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70026 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70027 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70028 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70029 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70030 echo $ECHO_N "(cached) $ECHO_C" >&6
70031 else
70033 if test x$gcc_no_link = xyes; then
70034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70036 { (exit 1); exit 1; }; }
70038 cat >conftest.$ac_ext <<_ACEOF
70039 /* confdefs.h. */
70040 _ACEOF
70041 cat confdefs.h >>conftest.$ac_ext
70042 cat >>conftest.$ac_ext <<_ACEOF
70043 /* end confdefs.h. */
70044 #include <math.h>
70046 main ()
70048 __builtin_fabsf(0);
70050 return 0;
70052 _ACEOF
70053 rm -f conftest.$ac_objext conftest$ac_exeext
70054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70055 (eval $ac_link) 2>conftest.er1
70056 ac_status=$?
70057 grep -v '^ *+' conftest.er1 >conftest.err
70058 rm -f conftest.er1
70059 cat conftest.err >&5
70060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70061 (exit $ac_status); } &&
70062 { ac_try='test -z "$ac_c_werror_flag"
70063 || test ! -s conftest.err'
70064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70065 (eval $ac_try) 2>&5
70066 ac_status=$?
70067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70068 (exit $ac_status); }; } &&
70069 { ac_try='test -s conftest$ac_exeext'
70070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70071 (eval $ac_try) 2>&5
70072 ac_status=$?
70073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70074 (exit $ac_status); }; }; then
70075 glibcxx_cv_func___builtin_fabsf_link=yes
70076 else
70077 echo "$as_me: failed program was:" >&5
70078 sed 's/^/| /' conftest.$ac_ext >&5
70080 glibcxx_cv_func___builtin_fabsf_link=no
70082 rm -f conftest.err conftest.$ac_objext \
70083 conftest$ac_exeext conftest.$ac_ext
70088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70089 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70091 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70093 cat >>confdefs.h <<\_ACEOF
70094 #define HAVE___BUILTIN_FABSF 1
70095 _ACEOF
70102 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70103 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70104 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70105 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70106 echo $ECHO_N "(cached) $ECHO_C" >&6
70107 else
70111 ac_ext=cc
70112 ac_cpp='$CXXCPP $CPPFLAGS'
70113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70117 cat >conftest.$ac_ext <<_ACEOF
70118 /* confdefs.h. */
70119 _ACEOF
70120 cat confdefs.h >>conftest.$ac_ext
70121 cat >>conftest.$ac_ext <<_ACEOF
70122 /* end confdefs.h. */
70123 #include <math.h>
70125 main ()
70127 __builtin_fabs(0);
70129 return 0;
70131 _ACEOF
70132 rm -f conftest.$ac_objext
70133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70134 (eval $ac_compile) 2>conftest.er1
70135 ac_status=$?
70136 grep -v '^ *+' conftest.er1 >conftest.err
70137 rm -f conftest.er1
70138 cat conftest.err >&5
70139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70140 (exit $ac_status); } &&
70141 { ac_try='test -z "$ac_cxx_werror_flag"
70142 || test ! -s conftest.err'
70143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70144 (eval $ac_try) 2>&5
70145 ac_status=$?
70146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70147 (exit $ac_status); }; } &&
70148 { ac_try='test -s conftest.$ac_objext'
70149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70150 (eval $ac_try) 2>&5
70151 ac_status=$?
70152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70153 (exit $ac_status); }; }; then
70154 glibcxx_cv_func___builtin_fabs_use=yes
70155 else
70156 echo "$as_me: failed program was:" >&5
70157 sed 's/^/| /' conftest.$ac_ext >&5
70159 glibcxx_cv_func___builtin_fabs_use=no
70161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70162 ac_ext=c
70163 ac_cpp='$CPP $CPPFLAGS'
70164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70173 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70174 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70175 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70176 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70177 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70178 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70179 echo $ECHO_N "(cached) $ECHO_C" >&6
70180 else
70182 if test x$gcc_no_link = xyes; then
70183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70185 { (exit 1); exit 1; }; }
70187 cat >conftest.$ac_ext <<_ACEOF
70188 /* confdefs.h. */
70189 _ACEOF
70190 cat confdefs.h >>conftest.$ac_ext
70191 cat >>conftest.$ac_ext <<_ACEOF
70192 /* end confdefs.h. */
70193 #include <math.h>
70195 main ()
70197 __builtin_fabs(0);
70199 return 0;
70201 _ACEOF
70202 rm -f conftest.$ac_objext conftest$ac_exeext
70203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70204 (eval $ac_link) 2>conftest.er1
70205 ac_status=$?
70206 grep -v '^ *+' conftest.er1 >conftest.err
70207 rm -f conftest.er1
70208 cat conftest.err >&5
70209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70210 (exit $ac_status); } &&
70211 { ac_try='test -z "$ac_c_werror_flag"
70212 || test ! -s conftest.err'
70213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70214 (eval $ac_try) 2>&5
70215 ac_status=$?
70216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70217 (exit $ac_status); }; } &&
70218 { ac_try='test -s conftest$ac_exeext'
70219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70220 (eval $ac_try) 2>&5
70221 ac_status=$?
70222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70223 (exit $ac_status); }; }; then
70224 glibcxx_cv_func___builtin_fabs_link=yes
70225 else
70226 echo "$as_me: failed program was:" >&5
70227 sed 's/^/| /' conftest.$ac_ext >&5
70229 glibcxx_cv_func___builtin_fabs_link=no
70231 rm -f conftest.err conftest.$ac_objext \
70232 conftest$ac_exeext conftest.$ac_ext
70237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70238 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70240 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70242 cat >>confdefs.h <<\_ACEOF
70243 #define HAVE___BUILTIN_FABS 1
70244 _ACEOF
70251 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70252 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70253 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70254 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70255 echo $ECHO_N "(cached) $ECHO_C" >&6
70256 else
70260 ac_ext=cc
70261 ac_cpp='$CXXCPP $CPPFLAGS'
70262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70266 cat >conftest.$ac_ext <<_ACEOF
70267 /* confdefs.h. */
70268 _ACEOF
70269 cat confdefs.h >>conftest.$ac_ext
70270 cat >>conftest.$ac_ext <<_ACEOF
70271 /* end confdefs.h. */
70272 #include <math.h>
70274 main ()
70276 __builtin_fabsl(0);
70278 return 0;
70280 _ACEOF
70281 rm -f conftest.$ac_objext
70282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70283 (eval $ac_compile) 2>conftest.er1
70284 ac_status=$?
70285 grep -v '^ *+' conftest.er1 >conftest.err
70286 rm -f conftest.er1
70287 cat conftest.err >&5
70288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70289 (exit $ac_status); } &&
70290 { ac_try='test -z "$ac_cxx_werror_flag"
70291 || test ! -s conftest.err'
70292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70293 (eval $ac_try) 2>&5
70294 ac_status=$?
70295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70296 (exit $ac_status); }; } &&
70297 { ac_try='test -s conftest.$ac_objext'
70298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70299 (eval $ac_try) 2>&5
70300 ac_status=$?
70301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70302 (exit $ac_status); }; }; then
70303 glibcxx_cv_func___builtin_fabsl_use=yes
70304 else
70305 echo "$as_me: failed program was:" >&5
70306 sed 's/^/| /' conftest.$ac_ext >&5
70308 glibcxx_cv_func___builtin_fabsl_use=no
70310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70311 ac_ext=c
70312 ac_cpp='$CPP $CPPFLAGS'
70313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70321 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70322 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70323 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70324 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70325 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70326 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70327 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70328 echo $ECHO_N "(cached) $ECHO_C" >&6
70329 else
70331 if test x$gcc_no_link = xyes; then
70332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70334 { (exit 1); exit 1; }; }
70336 cat >conftest.$ac_ext <<_ACEOF
70337 /* confdefs.h. */
70338 _ACEOF
70339 cat confdefs.h >>conftest.$ac_ext
70340 cat >>conftest.$ac_ext <<_ACEOF
70341 /* end confdefs.h. */
70342 #include <math.h>
70344 main ()
70346 __builtin_fabsl(0);
70348 return 0;
70350 _ACEOF
70351 rm -f conftest.$ac_objext conftest$ac_exeext
70352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70353 (eval $ac_link) 2>conftest.er1
70354 ac_status=$?
70355 grep -v '^ *+' conftest.er1 >conftest.err
70356 rm -f conftest.er1
70357 cat conftest.err >&5
70358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359 (exit $ac_status); } &&
70360 { ac_try='test -z "$ac_c_werror_flag"
70361 || test ! -s conftest.err'
70362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70363 (eval $ac_try) 2>&5
70364 ac_status=$?
70365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70366 (exit $ac_status); }; } &&
70367 { ac_try='test -s conftest$ac_exeext'
70368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70369 (eval $ac_try) 2>&5
70370 ac_status=$?
70371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70372 (exit $ac_status); }; }; then
70373 glibcxx_cv_func___builtin_fabsl_link=yes
70374 else
70375 echo "$as_me: failed program was:" >&5
70376 sed 's/^/| /' conftest.$ac_ext >&5
70378 glibcxx_cv_func___builtin_fabsl_link=no
70380 rm -f conftest.err conftest.$ac_objext \
70381 conftest$ac_exeext conftest.$ac_ext
70386 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70387 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70389 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70391 cat >>confdefs.h <<\_ACEOF
70392 #define HAVE___BUILTIN_FABSL 1
70393 _ACEOF
70400 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70401 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70402 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70403 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70404 echo $ECHO_N "(cached) $ECHO_C" >&6
70405 else
70409 ac_ext=cc
70410 ac_cpp='$CXXCPP $CPPFLAGS'
70411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70415 cat >conftest.$ac_ext <<_ACEOF
70416 /* confdefs.h. */
70417 _ACEOF
70418 cat confdefs.h >>conftest.$ac_ext
70419 cat >>conftest.$ac_ext <<_ACEOF
70420 /* end confdefs.h. */
70421 #include <math.h>
70423 main ()
70425 __builtin_labs(0);
70427 return 0;
70429 _ACEOF
70430 rm -f conftest.$ac_objext
70431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70432 (eval $ac_compile) 2>conftest.er1
70433 ac_status=$?
70434 grep -v '^ *+' conftest.er1 >conftest.err
70435 rm -f conftest.er1
70436 cat conftest.err >&5
70437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70438 (exit $ac_status); } &&
70439 { ac_try='test -z "$ac_cxx_werror_flag"
70440 || test ! -s conftest.err'
70441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70442 (eval $ac_try) 2>&5
70443 ac_status=$?
70444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70445 (exit $ac_status); }; } &&
70446 { ac_try='test -s conftest.$ac_objext'
70447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70448 (eval $ac_try) 2>&5
70449 ac_status=$?
70450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70451 (exit $ac_status); }; }; then
70452 glibcxx_cv_func___builtin_labs_use=yes
70453 else
70454 echo "$as_me: failed program was:" >&5
70455 sed 's/^/| /' conftest.$ac_ext >&5
70457 glibcxx_cv_func___builtin_labs_use=no
70459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70460 ac_ext=c
70461 ac_cpp='$CPP $CPPFLAGS'
70462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70470 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70471 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70472 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70473 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70474 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70475 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70476 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70477 echo $ECHO_N "(cached) $ECHO_C" >&6
70478 else
70480 if test x$gcc_no_link = xyes; then
70481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70483 { (exit 1); exit 1; }; }
70485 cat >conftest.$ac_ext <<_ACEOF
70486 /* confdefs.h. */
70487 _ACEOF
70488 cat confdefs.h >>conftest.$ac_ext
70489 cat >>conftest.$ac_ext <<_ACEOF
70490 /* end confdefs.h. */
70491 #include <math.h>
70493 main ()
70495 __builtin_labs(0);
70497 return 0;
70499 _ACEOF
70500 rm -f conftest.$ac_objext conftest$ac_exeext
70501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70502 (eval $ac_link) 2>conftest.er1
70503 ac_status=$?
70504 grep -v '^ *+' conftest.er1 >conftest.err
70505 rm -f conftest.er1
70506 cat conftest.err >&5
70507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508 (exit $ac_status); } &&
70509 { ac_try='test -z "$ac_c_werror_flag"
70510 || test ! -s conftest.err'
70511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512 (eval $ac_try) 2>&5
70513 ac_status=$?
70514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515 (exit $ac_status); }; } &&
70516 { ac_try='test -s conftest$ac_exeext'
70517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70518 (eval $ac_try) 2>&5
70519 ac_status=$?
70520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70521 (exit $ac_status); }; }; then
70522 glibcxx_cv_func___builtin_labs_link=yes
70523 else
70524 echo "$as_me: failed program was:" >&5
70525 sed 's/^/| /' conftest.$ac_ext >&5
70527 glibcxx_cv_func___builtin_labs_link=no
70529 rm -f conftest.err conftest.$ac_objext \
70530 conftest$ac_exeext conftest.$ac_ext
70535 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
70536 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
70538 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
70540 cat >>confdefs.h <<\_ACEOF
70541 #define HAVE___BUILTIN_LABS 1
70542 _ACEOF
70550 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
70551 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
70552 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
70553 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
70554 echo $ECHO_N "(cached) $ECHO_C" >&6
70555 else
70559 ac_ext=cc
70560 ac_cpp='$CXXCPP $CPPFLAGS'
70561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70565 cat >conftest.$ac_ext <<_ACEOF
70566 /* confdefs.h. */
70567 _ACEOF
70568 cat confdefs.h >>conftest.$ac_ext
70569 cat >>conftest.$ac_ext <<_ACEOF
70570 /* end confdefs.h. */
70571 #include <math.h>
70573 main ()
70575 __builtin_sqrtf(0);
70577 return 0;
70579 _ACEOF
70580 rm -f conftest.$ac_objext
70581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70582 (eval $ac_compile) 2>conftest.er1
70583 ac_status=$?
70584 grep -v '^ *+' conftest.er1 >conftest.err
70585 rm -f conftest.er1
70586 cat conftest.err >&5
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); } &&
70589 { ac_try='test -z "$ac_cxx_werror_flag"
70590 || test ! -s conftest.err'
70591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70592 (eval $ac_try) 2>&5
70593 ac_status=$?
70594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70595 (exit $ac_status); }; } &&
70596 { ac_try='test -s conftest.$ac_objext'
70597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70598 (eval $ac_try) 2>&5
70599 ac_status=$?
70600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70601 (exit $ac_status); }; }; then
70602 glibcxx_cv_func___builtin_sqrtf_use=yes
70603 else
70604 echo "$as_me: failed program was:" >&5
70605 sed 's/^/| /' conftest.$ac_ext >&5
70607 glibcxx_cv_func___builtin_sqrtf_use=no
70609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70610 ac_ext=c
70611 ac_cpp='$CPP $CPPFLAGS'
70612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70620 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
70621 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
70622 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
70623 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
70624 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
70625 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
70626 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
70627 echo $ECHO_N "(cached) $ECHO_C" >&6
70628 else
70630 if test x$gcc_no_link = xyes; then
70631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70633 { (exit 1); exit 1; }; }
70635 cat >conftest.$ac_ext <<_ACEOF
70636 /* confdefs.h. */
70637 _ACEOF
70638 cat confdefs.h >>conftest.$ac_ext
70639 cat >>conftest.$ac_ext <<_ACEOF
70640 /* end confdefs.h. */
70641 #include <math.h>
70643 main ()
70645 __builtin_sqrtf(0);
70647 return 0;
70649 _ACEOF
70650 rm -f conftest.$ac_objext conftest$ac_exeext
70651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70652 (eval $ac_link) 2>conftest.er1
70653 ac_status=$?
70654 grep -v '^ *+' conftest.er1 >conftest.err
70655 rm -f conftest.er1
70656 cat conftest.err >&5
70657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70658 (exit $ac_status); } &&
70659 { ac_try='test -z "$ac_c_werror_flag"
70660 || test ! -s conftest.err'
70661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70662 (eval $ac_try) 2>&5
70663 ac_status=$?
70664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70665 (exit $ac_status); }; } &&
70666 { ac_try='test -s conftest$ac_exeext'
70667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70668 (eval $ac_try) 2>&5
70669 ac_status=$?
70670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70671 (exit $ac_status); }; }; then
70672 glibcxx_cv_func___builtin_sqrtf_link=yes
70673 else
70674 echo "$as_me: failed program was:" >&5
70675 sed 's/^/| /' conftest.$ac_ext >&5
70677 glibcxx_cv_func___builtin_sqrtf_link=no
70679 rm -f conftest.err conftest.$ac_objext \
70680 conftest$ac_exeext conftest.$ac_ext
70685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
70686 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
70688 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
70690 cat >>confdefs.h <<\_ACEOF
70691 #define HAVE___BUILTIN_SQRTF 1
70692 _ACEOF
70699 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
70700 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
70701 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
70702 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
70703 echo $ECHO_N "(cached) $ECHO_C" >&6
70704 else
70708 ac_ext=cc
70709 ac_cpp='$CXXCPP $CPPFLAGS'
70710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70714 cat >conftest.$ac_ext <<_ACEOF
70715 /* confdefs.h. */
70716 _ACEOF
70717 cat confdefs.h >>conftest.$ac_ext
70718 cat >>conftest.$ac_ext <<_ACEOF
70719 /* end confdefs.h. */
70720 #include <math.h>
70722 main ()
70724 __builtin_sqrt(0);
70726 return 0;
70728 _ACEOF
70729 rm -f conftest.$ac_objext
70730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70731 (eval $ac_compile) 2>conftest.er1
70732 ac_status=$?
70733 grep -v '^ *+' conftest.er1 >conftest.err
70734 rm -f conftest.er1
70735 cat conftest.err >&5
70736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70737 (exit $ac_status); } &&
70738 { ac_try='test -z "$ac_cxx_werror_flag"
70739 || test ! -s conftest.err'
70740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70741 (eval $ac_try) 2>&5
70742 ac_status=$?
70743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70744 (exit $ac_status); }; } &&
70745 { ac_try='test -s conftest.$ac_objext'
70746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70747 (eval $ac_try) 2>&5
70748 ac_status=$?
70749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70750 (exit $ac_status); }; }; then
70751 glibcxx_cv_func___builtin_sqrt_use=yes
70752 else
70753 echo "$as_me: failed program was:" >&5
70754 sed 's/^/| /' conftest.$ac_ext >&5
70756 glibcxx_cv_func___builtin_sqrt_use=no
70758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70759 ac_ext=c
70760 ac_cpp='$CPP $CPPFLAGS'
70761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
70770 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
70771 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
70772 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
70773 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
70774 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
70775 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
70776 echo $ECHO_N "(cached) $ECHO_C" >&6
70777 else
70779 if test x$gcc_no_link = xyes; then
70780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70782 { (exit 1); exit 1; }; }
70784 cat >conftest.$ac_ext <<_ACEOF
70785 /* confdefs.h. */
70786 _ACEOF
70787 cat confdefs.h >>conftest.$ac_ext
70788 cat >>conftest.$ac_ext <<_ACEOF
70789 /* end confdefs.h. */
70790 #include <math.h>
70792 main ()
70794 __builtin_sqrt(0);
70796 return 0;
70798 _ACEOF
70799 rm -f conftest.$ac_objext conftest$ac_exeext
70800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70801 (eval $ac_link) 2>conftest.er1
70802 ac_status=$?
70803 grep -v '^ *+' conftest.er1 >conftest.err
70804 rm -f conftest.er1
70805 cat conftest.err >&5
70806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70807 (exit $ac_status); } &&
70808 { ac_try='test -z "$ac_c_werror_flag"
70809 || test ! -s conftest.err'
70810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70811 (eval $ac_try) 2>&5
70812 ac_status=$?
70813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70814 (exit $ac_status); }; } &&
70815 { ac_try='test -s conftest$ac_exeext'
70816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70817 (eval $ac_try) 2>&5
70818 ac_status=$?
70819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70820 (exit $ac_status); }; }; then
70821 glibcxx_cv_func___builtin_sqrt_link=yes
70822 else
70823 echo "$as_me: failed program was:" >&5
70824 sed 's/^/| /' conftest.$ac_ext >&5
70826 glibcxx_cv_func___builtin_sqrt_link=no
70828 rm -f conftest.err conftest.$ac_objext \
70829 conftest$ac_exeext conftest.$ac_ext
70834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
70835 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
70837 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
70839 cat >>confdefs.h <<\_ACEOF
70840 #define HAVE___BUILTIN_SQRT 1
70841 _ACEOF
70848 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
70849 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
70850 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
70851 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
70852 echo $ECHO_N "(cached) $ECHO_C" >&6
70853 else
70857 ac_ext=cc
70858 ac_cpp='$CXXCPP $CPPFLAGS'
70859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70863 cat >conftest.$ac_ext <<_ACEOF
70864 /* confdefs.h. */
70865 _ACEOF
70866 cat confdefs.h >>conftest.$ac_ext
70867 cat >>conftest.$ac_ext <<_ACEOF
70868 /* end confdefs.h. */
70869 #include <math.h>
70871 main ()
70873 __builtin_sqrtl(0);
70875 return 0;
70877 _ACEOF
70878 rm -f conftest.$ac_objext
70879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70880 (eval $ac_compile) 2>conftest.er1
70881 ac_status=$?
70882 grep -v '^ *+' conftest.er1 >conftest.err
70883 rm -f conftest.er1
70884 cat conftest.err >&5
70885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70886 (exit $ac_status); } &&
70887 { ac_try='test -z "$ac_cxx_werror_flag"
70888 || test ! -s conftest.err'
70889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70890 (eval $ac_try) 2>&5
70891 ac_status=$?
70892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70893 (exit $ac_status); }; } &&
70894 { ac_try='test -s conftest.$ac_objext'
70895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70896 (eval $ac_try) 2>&5
70897 ac_status=$?
70898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70899 (exit $ac_status); }; }; then
70900 glibcxx_cv_func___builtin_sqrtl_use=yes
70901 else
70902 echo "$as_me: failed program was:" >&5
70903 sed 's/^/| /' conftest.$ac_ext >&5
70905 glibcxx_cv_func___builtin_sqrtl_use=no
70907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70908 ac_ext=c
70909 ac_cpp='$CPP $CPPFLAGS'
70910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
70919 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
70920 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
70921 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
70922 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
70923 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
70924 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
70925 echo $ECHO_N "(cached) $ECHO_C" >&6
70926 else
70928 if test x$gcc_no_link = xyes; then
70929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70931 { (exit 1); exit 1; }; }
70933 cat >conftest.$ac_ext <<_ACEOF
70934 /* confdefs.h. */
70935 _ACEOF
70936 cat confdefs.h >>conftest.$ac_ext
70937 cat >>conftest.$ac_ext <<_ACEOF
70938 /* end confdefs.h. */
70939 #include <math.h>
70941 main ()
70943 __builtin_sqrtl(0);
70945 return 0;
70947 _ACEOF
70948 rm -f conftest.$ac_objext conftest$ac_exeext
70949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70950 (eval $ac_link) 2>conftest.er1
70951 ac_status=$?
70952 grep -v '^ *+' conftest.er1 >conftest.err
70953 rm -f conftest.er1
70954 cat conftest.err >&5
70955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70956 (exit $ac_status); } &&
70957 { ac_try='test -z "$ac_c_werror_flag"
70958 || test ! -s conftest.err'
70959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70960 (eval $ac_try) 2>&5
70961 ac_status=$?
70962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70963 (exit $ac_status); }; } &&
70964 { ac_try='test -s conftest$ac_exeext'
70965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70966 (eval $ac_try) 2>&5
70967 ac_status=$?
70968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70969 (exit $ac_status); }; }; then
70970 glibcxx_cv_func___builtin_sqrtl_link=yes
70971 else
70972 echo "$as_me: failed program was:" >&5
70973 sed 's/^/| /' conftest.$ac_ext >&5
70975 glibcxx_cv_func___builtin_sqrtl_link=no
70977 rm -f conftest.err conftest.$ac_objext \
70978 conftest$ac_exeext conftest.$ac_ext
70983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
70984 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
70986 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
70988 cat >>confdefs.h <<\_ACEOF
70989 #define HAVE___BUILTIN_SQRTL 1
70990 _ACEOF
70998 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
70999 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71000 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71001 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71002 echo $ECHO_N "(cached) $ECHO_C" >&6
71003 else
71007 ac_ext=cc
71008 ac_cpp='$CXXCPP $CPPFLAGS'
71009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71013 cat >conftest.$ac_ext <<_ACEOF
71014 /* confdefs.h. */
71015 _ACEOF
71016 cat confdefs.h >>conftest.$ac_ext
71017 cat >>conftest.$ac_ext <<_ACEOF
71018 /* end confdefs.h. */
71019 #include <math.h>
71021 main ()
71023 __builtin_sinf(0);
71025 return 0;
71027 _ACEOF
71028 rm -f conftest.$ac_objext
71029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71030 (eval $ac_compile) 2>conftest.er1
71031 ac_status=$?
71032 grep -v '^ *+' conftest.er1 >conftest.err
71033 rm -f conftest.er1
71034 cat conftest.err >&5
71035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71036 (exit $ac_status); } &&
71037 { ac_try='test -z "$ac_cxx_werror_flag"
71038 || test ! -s conftest.err'
71039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71040 (eval $ac_try) 2>&5
71041 ac_status=$?
71042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71043 (exit $ac_status); }; } &&
71044 { ac_try='test -s conftest.$ac_objext'
71045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71046 (eval $ac_try) 2>&5
71047 ac_status=$?
71048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71049 (exit $ac_status); }; }; then
71050 glibcxx_cv_func___builtin_sinf_use=yes
71051 else
71052 echo "$as_me: failed program was:" >&5
71053 sed 's/^/| /' conftest.$ac_ext >&5
71055 glibcxx_cv_func___builtin_sinf_use=no
71057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71058 ac_ext=c
71059 ac_cpp='$CPP $CPPFLAGS'
71060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71068 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71069 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71070 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71071 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71072 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71073 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71074 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71075 echo $ECHO_N "(cached) $ECHO_C" >&6
71076 else
71078 if test x$gcc_no_link = xyes; then
71079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71081 { (exit 1); exit 1; }; }
71083 cat >conftest.$ac_ext <<_ACEOF
71084 /* confdefs.h. */
71085 _ACEOF
71086 cat confdefs.h >>conftest.$ac_ext
71087 cat >>conftest.$ac_ext <<_ACEOF
71088 /* end confdefs.h. */
71089 #include <math.h>
71091 main ()
71093 __builtin_sinf(0);
71095 return 0;
71097 _ACEOF
71098 rm -f conftest.$ac_objext conftest$ac_exeext
71099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71100 (eval $ac_link) 2>conftest.er1
71101 ac_status=$?
71102 grep -v '^ *+' conftest.er1 >conftest.err
71103 rm -f conftest.er1
71104 cat conftest.err >&5
71105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106 (exit $ac_status); } &&
71107 { ac_try='test -z "$ac_c_werror_flag"
71108 || test ! -s conftest.err'
71109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71110 (eval $ac_try) 2>&5
71111 ac_status=$?
71112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71113 (exit $ac_status); }; } &&
71114 { ac_try='test -s conftest$ac_exeext'
71115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71116 (eval $ac_try) 2>&5
71117 ac_status=$?
71118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71119 (exit $ac_status); }; }; then
71120 glibcxx_cv_func___builtin_sinf_link=yes
71121 else
71122 echo "$as_me: failed program was:" >&5
71123 sed 's/^/| /' conftest.$ac_ext >&5
71125 glibcxx_cv_func___builtin_sinf_link=no
71127 rm -f conftest.err conftest.$ac_objext \
71128 conftest$ac_exeext conftest.$ac_ext
71133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71134 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71136 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71138 cat >>confdefs.h <<\_ACEOF
71139 #define HAVE___BUILTIN_SINF 1
71140 _ACEOF
71147 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71148 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71149 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71150 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71151 echo $ECHO_N "(cached) $ECHO_C" >&6
71152 else
71156 ac_ext=cc
71157 ac_cpp='$CXXCPP $CPPFLAGS'
71158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71162 cat >conftest.$ac_ext <<_ACEOF
71163 /* confdefs.h. */
71164 _ACEOF
71165 cat confdefs.h >>conftest.$ac_ext
71166 cat >>conftest.$ac_ext <<_ACEOF
71167 /* end confdefs.h. */
71168 #include <math.h>
71170 main ()
71172 __builtin_sin(0);
71174 return 0;
71176 _ACEOF
71177 rm -f conftest.$ac_objext
71178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71179 (eval $ac_compile) 2>conftest.er1
71180 ac_status=$?
71181 grep -v '^ *+' conftest.er1 >conftest.err
71182 rm -f conftest.er1
71183 cat conftest.err >&5
71184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71185 (exit $ac_status); } &&
71186 { ac_try='test -z "$ac_cxx_werror_flag"
71187 || test ! -s conftest.err'
71188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71189 (eval $ac_try) 2>&5
71190 ac_status=$?
71191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71192 (exit $ac_status); }; } &&
71193 { ac_try='test -s conftest.$ac_objext'
71194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71195 (eval $ac_try) 2>&5
71196 ac_status=$?
71197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198 (exit $ac_status); }; }; then
71199 glibcxx_cv_func___builtin_sin_use=yes
71200 else
71201 echo "$as_me: failed program was:" >&5
71202 sed 's/^/| /' conftest.$ac_ext >&5
71204 glibcxx_cv_func___builtin_sin_use=no
71206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71207 ac_ext=c
71208 ac_cpp='$CPP $CPPFLAGS'
71209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71219 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71220 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71221 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71222 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71223 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71224 echo $ECHO_N "(cached) $ECHO_C" >&6
71225 else
71227 if test x$gcc_no_link = xyes; then
71228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71230 { (exit 1); exit 1; }; }
71232 cat >conftest.$ac_ext <<_ACEOF
71233 /* confdefs.h. */
71234 _ACEOF
71235 cat confdefs.h >>conftest.$ac_ext
71236 cat >>conftest.$ac_ext <<_ACEOF
71237 /* end confdefs.h. */
71238 #include <math.h>
71240 main ()
71242 __builtin_sin(0);
71244 return 0;
71246 _ACEOF
71247 rm -f conftest.$ac_objext conftest$ac_exeext
71248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71249 (eval $ac_link) 2>conftest.er1
71250 ac_status=$?
71251 grep -v '^ *+' conftest.er1 >conftest.err
71252 rm -f conftest.er1
71253 cat conftest.err >&5
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); } &&
71256 { ac_try='test -z "$ac_c_werror_flag"
71257 || test ! -s conftest.err'
71258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71259 (eval $ac_try) 2>&5
71260 ac_status=$?
71261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71262 (exit $ac_status); }; } &&
71263 { ac_try='test -s conftest$ac_exeext'
71264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71265 (eval $ac_try) 2>&5
71266 ac_status=$?
71267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71268 (exit $ac_status); }; }; then
71269 glibcxx_cv_func___builtin_sin_link=yes
71270 else
71271 echo "$as_me: failed program was:" >&5
71272 sed 's/^/| /' conftest.$ac_ext >&5
71274 glibcxx_cv_func___builtin_sin_link=no
71276 rm -f conftest.err conftest.$ac_objext \
71277 conftest$ac_exeext conftest.$ac_ext
71282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71285 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71287 cat >>confdefs.h <<\_ACEOF
71288 #define HAVE___BUILTIN_SIN 1
71289 _ACEOF
71296 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71297 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71298 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71299 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71300 echo $ECHO_N "(cached) $ECHO_C" >&6
71301 else
71305 ac_ext=cc
71306 ac_cpp='$CXXCPP $CPPFLAGS'
71307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71311 cat >conftest.$ac_ext <<_ACEOF
71312 /* confdefs.h. */
71313 _ACEOF
71314 cat confdefs.h >>conftest.$ac_ext
71315 cat >>conftest.$ac_ext <<_ACEOF
71316 /* end confdefs.h. */
71317 #include <math.h>
71319 main ()
71321 __builtin_sinl(0);
71323 return 0;
71325 _ACEOF
71326 rm -f conftest.$ac_objext
71327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71328 (eval $ac_compile) 2>conftest.er1
71329 ac_status=$?
71330 grep -v '^ *+' conftest.er1 >conftest.err
71331 rm -f conftest.er1
71332 cat conftest.err >&5
71333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71334 (exit $ac_status); } &&
71335 { ac_try='test -z "$ac_cxx_werror_flag"
71336 || test ! -s conftest.err'
71337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71338 (eval $ac_try) 2>&5
71339 ac_status=$?
71340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71341 (exit $ac_status); }; } &&
71342 { ac_try='test -s conftest.$ac_objext'
71343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71344 (eval $ac_try) 2>&5
71345 ac_status=$?
71346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71347 (exit $ac_status); }; }; then
71348 glibcxx_cv_func___builtin_sinl_use=yes
71349 else
71350 echo "$as_me: failed program was:" >&5
71351 sed 's/^/| /' conftest.$ac_ext >&5
71353 glibcxx_cv_func___builtin_sinl_use=no
71355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71356 ac_ext=c
71357 ac_cpp='$CPP $CPPFLAGS'
71358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71366 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71367 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71368 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71369 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71370 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71371 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71372 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71373 echo $ECHO_N "(cached) $ECHO_C" >&6
71374 else
71376 if test x$gcc_no_link = xyes; then
71377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71379 { (exit 1); exit 1; }; }
71381 cat >conftest.$ac_ext <<_ACEOF
71382 /* confdefs.h. */
71383 _ACEOF
71384 cat confdefs.h >>conftest.$ac_ext
71385 cat >>conftest.$ac_ext <<_ACEOF
71386 /* end confdefs.h. */
71387 #include <math.h>
71389 main ()
71391 __builtin_sinl(0);
71393 return 0;
71395 _ACEOF
71396 rm -f conftest.$ac_objext conftest$ac_exeext
71397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71398 (eval $ac_link) 2>conftest.er1
71399 ac_status=$?
71400 grep -v '^ *+' conftest.er1 >conftest.err
71401 rm -f conftest.er1
71402 cat conftest.err >&5
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); } &&
71405 { ac_try='test -z "$ac_c_werror_flag"
71406 || test ! -s conftest.err'
71407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71408 (eval $ac_try) 2>&5
71409 ac_status=$?
71410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71411 (exit $ac_status); }; } &&
71412 { ac_try='test -s conftest$ac_exeext'
71413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71414 (eval $ac_try) 2>&5
71415 ac_status=$?
71416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417 (exit $ac_status); }; }; then
71418 glibcxx_cv_func___builtin_sinl_link=yes
71419 else
71420 echo "$as_me: failed program was:" >&5
71421 sed 's/^/| /' conftest.$ac_ext >&5
71423 glibcxx_cv_func___builtin_sinl_link=no
71425 rm -f conftest.err conftest.$ac_objext \
71426 conftest$ac_exeext conftest.$ac_ext
71431 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71432 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71434 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71436 cat >>confdefs.h <<\_ACEOF
71437 #define HAVE___BUILTIN_SINL 1
71438 _ACEOF
71446 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71447 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71448 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71449 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71450 echo $ECHO_N "(cached) $ECHO_C" >&6
71451 else
71455 ac_ext=cc
71456 ac_cpp='$CXXCPP $CPPFLAGS'
71457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71461 cat >conftest.$ac_ext <<_ACEOF
71462 /* confdefs.h. */
71463 _ACEOF
71464 cat confdefs.h >>conftest.$ac_ext
71465 cat >>conftest.$ac_ext <<_ACEOF
71466 /* end confdefs.h. */
71467 #include <math.h>
71469 main ()
71471 __builtin_cosf(0);
71473 return 0;
71475 _ACEOF
71476 rm -f conftest.$ac_objext
71477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71478 (eval $ac_compile) 2>conftest.er1
71479 ac_status=$?
71480 grep -v '^ *+' conftest.er1 >conftest.err
71481 rm -f conftest.er1
71482 cat conftest.err >&5
71483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71484 (exit $ac_status); } &&
71485 { ac_try='test -z "$ac_cxx_werror_flag"
71486 || test ! -s conftest.err'
71487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71488 (eval $ac_try) 2>&5
71489 ac_status=$?
71490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71491 (exit $ac_status); }; } &&
71492 { ac_try='test -s conftest.$ac_objext'
71493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71494 (eval $ac_try) 2>&5
71495 ac_status=$?
71496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71497 (exit $ac_status); }; }; then
71498 glibcxx_cv_func___builtin_cosf_use=yes
71499 else
71500 echo "$as_me: failed program was:" >&5
71501 sed 's/^/| /' conftest.$ac_ext >&5
71503 glibcxx_cv_func___builtin_cosf_use=no
71505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71506 ac_ext=c
71507 ac_cpp='$CPP $CPPFLAGS'
71508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71516 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
71517 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
71518 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
71519 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
71520 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
71521 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
71522 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
71523 echo $ECHO_N "(cached) $ECHO_C" >&6
71524 else
71526 if test x$gcc_no_link = xyes; then
71527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71529 { (exit 1); exit 1; }; }
71531 cat >conftest.$ac_ext <<_ACEOF
71532 /* confdefs.h. */
71533 _ACEOF
71534 cat confdefs.h >>conftest.$ac_ext
71535 cat >>conftest.$ac_ext <<_ACEOF
71536 /* end confdefs.h. */
71537 #include <math.h>
71539 main ()
71541 __builtin_cosf(0);
71543 return 0;
71545 _ACEOF
71546 rm -f conftest.$ac_objext conftest$ac_exeext
71547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71548 (eval $ac_link) 2>conftest.er1
71549 ac_status=$?
71550 grep -v '^ *+' conftest.er1 >conftest.err
71551 rm -f conftest.er1
71552 cat conftest.err >&5
71553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554 (exit $ac_status); } &&
71555 { ac_try='test -z "$ac_c_werror_flag"
71556 || test ! -s conftest.err'
71557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71558 (eval $ac_try) 2>&5
71559 ac_status=$?
71560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71561 (exit $ac_status); }; } &&
71562 { ac_try='test -s conftest$ac_exeext'
71563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71564 (eval $ac_try) 2>&5
71565 ac_status=$?
71566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71567 (exit $ac_status); }; }; then
71568 glibcxx_cv_func___builtin_cosf_link=yes
71569 else
71570 echo "$as_me: failed program was:" >&5
71571 sed 's/^/| /' conftest.$ac_ext >&5
71573 glibcxx_cv_func___builtin_cosf_link=no
71575 rm -f conftest.err conftest.$ac_objext \
71576 conftest$ac_exeext conftest.$ac_ext
71581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
71582 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
71584 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
71586 cat >>confdefs.h <<\_ACEOF
71587 #define HAVE___BUILTIN_COSF 1
71588 _ACEOF
71595 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
71596 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
71597 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
71598 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
71599 echo $ECHO_N "(cached) $ECHO_C" >&6
71600 else
71604 ac_ext=cc
71605 ac_cpp='$CXXCPP $CPPFLAGS'
71606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71610 cat >conftest.$ac_ext <<_ACEOF
71611 /* confdefs.h. */
71612 _ACEOF
71613 cat confdefs.h >>conftest.$ac_ext
71614 cat >>conftest.$ac_ext <<_ACEOF
71615 /* end confdefs.h. */
71616 #include <math.h>
71618 main ()
71620 __builtin_cos(0);
71622 return 0;
71624 _ACEOF
71625 rm -f conftest.$ac_objext
71626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71627 (eval $ac_compile) 2>conftest.er1
71628 ac_status=$?
71629 grep -v '^ *+' conftest.er1 >conftest.err
71630 rm -f conftest.er1
71631 cat conftest.err >&5
71632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71633 (exit $ac_status); } &&
71634 { ac_try='test -z "$ac_cxx_werror_flag"
71635 || test ! -s conftest.err'
71636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71637 (eval $ac_try) 2>&5
71638 ac_status=$?
71639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71640 (exit $ac_status); }; } &&
71641 { ac_try='test -s conftest.$ac_objext'
71642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71643 (eval $ac_try) 2>&5
71644 ac_status=$?
71645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71646 (exit $ac_status); }; }; then
71647 glibcxx_cv_func___builtin_cos_use=yes
71648 else
71649 echo "$as_me: failed program was:" >&5
71650 sed 's/^/| /' conftest.$ac_ext >&5
71652 glibcxx_cv_func___builtin_cos_use=no
71654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71655 ac_ext=c
71656 ac_cpp='$CPP $CPPFLAGS'
71657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
71666 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
71667 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
71668 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
71669 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
71670 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
71671 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
71672 echo $ECHO_N "(cached) $ECHO_C" >&6
71673 else
71675 if test x$gcc_no_link = xyes; then
71676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71678 { (exit 1); exit 1; }; }
71680 cat >conftest.$ac_ext <<_ACEOF
71681 /* confdefs.h. */
71682 _ACEOF
71683 cat confdefs.h >>conftest.$ac_ext
71684 cat >>conftest.$ac_ext <<_ACEOF
71685 /* end confdefs.h. */
71686 #include <math.h>
71688 main ()
71690 __builtin_cos(0);
71692 return 0;
71694 _ACEOF
71695 rm -f conftest.$ac_objext conftest$ac_exeext
71696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71697 (eval $ac_link) 2>conftest.er1
71698 ac_status=$?
71699 grep -v '^ *+' conftest.er1 >conftest.err
71700 rm -f conftest.er1
71701 cat conftest.err >&5
71702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71703 (exit $ac_status); } &&
71704 { ac_try='test -z "$ac_c_werror_flag"
71705 || test ! -s conftest.err'
71706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71707 (eval $ac_try) 2>&5
71708 ac_status=$?
71709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71710 (exit $ac_status); }; } &&
71711 { ac_try='test -s conftest$ac_exeext'
71712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71713 (eval $ac_try) 2>&5
71714 ac_status=$?
71715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71716 (exit $ac_status); }; }; then
71717 glibcxx_cv_func___builtin_cos_link=yes
71718 else
71719 echo "$as_me: failed program was:" >&5
71720 sed 's/^/| /' conftest.$ac_ext >&5
71722 glibcxx_cv_func___builtin_cos_link=no
71724 rm -f conftest.err conftest.$ac_objext \
71725 conftest$ac_exeext conftest.$ac_ext
71730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
71731 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
71733 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
71735 cat >>confdefs.h <<\_ACEOF
71736 #define HAVE___BUILTIN_COS 1
71737 _ACEOF
71744 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
71745 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
71746 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
71747 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
71748 echo $ECHO_N "(cached) $ECHO_C" >&6
71749 else
71753 ac_ext=cc
71754 ac_cpp='$CXXCPP $CPPFLAGS'
71755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71759 cat >conftest.$ac_ext <<_ACEOF
71760 /* confdefs.h. */
71761 _ACEOF
71762 cat confdefs.h >>conftest.$ac_ext
71763 cat >>conftest.$ac_ext <<_ACEOF
71764 /* end confdefs.h. */
71765 #include <math.h>
71767 main ()
71769 __builtin_cosl(0);
71771 return 0;
71773 _ACEOF
71774 rm -f conftest.$ac_objext
71775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71776 (eval $ac_compile) 2>conftest.er1
71777 ac_status=$?
71778 grep -v '^ *+' conftest.er1 >conftest.err
71779 rm -f conftest.er1
71780 cat conftest.err >&5
71781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71782 (exit $ac_status); } &&
71783 { ac_try='test -z "$ac_cxx_werror_flag"
71784 || test ! -s conftest.err'
71785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71786 (eval $ac_try) 2>&5
71787 ac_status=$?
71788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71789 (exit $ac_status); }; } &&
71790 { ac_try='test -s conftest.$ac_objext'
71791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71792 (eval $ac_try) 2>&5
71793 ac_status=$?
71794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71795 (exit $ac_status); }; }; then
71796 glibcxx_cv_func___builtin_cosl_use=yes
71797 else
71798 echo "$as_me: failed program was:" >&5
71799 sed 's/^/| /' conftest.$ac_ext >&5
71801 glibcxx_cv_func___builtin_cosl_use=no
71803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71804 ac_ext=c
71805 ac_cpp='$CPP $CPPFLAGS'
71806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
71815 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
71816 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
71817 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
71818 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
71819 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
71820 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
71821 echo $ECHO_N "(cached) $ECHO_C" >&6
71822 else
71824 if test x$gcc_no_link = xyes; then
71825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71827 { (exit 1); exit 1; }; }
71829 cat >conftest.$ac_ext <<_ACEOF
71830 /* confdefs.h. */
71831 _ACEOF
71832 cat confdefs.h >>conftest.$ac_ext
71833 cat >>conftest.$ac_ext <<_ACEOF
71834 /* end confdefs.h. */
71835 #include <math.h>
71837 main ()
71839 __builtin_cosl(0);
71841 return 0;
71843 _ACEOF
71844 rm -f conftest.$ac_objext conftest$ac_exeext
71845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71846 (eval $ac_link) 2>conftest.er1
71847 ac_status=$?
71848 grep -v '^ *+' conftest.er1 >conftest.err
71849 rm -f conftest.er1
71850 cat conftest.err >&5
71851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852 (exit $ac_status); } &&
71853 { ac_try='test -z "$ac_c_werror_flag"
71854 || test ! -s conftest.err'
71855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71856 (eval $ac_try) 2>&5
71857 ac_status=$?
71858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71859 (exit $ac_status); }; } &&
71860 { ac_try='test -s conftest$ac_exeext'
71861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71862 (eval $ac_try) 2>&5
71863 ac_status=$?
71864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71865 (exit $ac_status); }; }; then
71866 glibcxx_cv_func___builtin_cosl_link=yes
71867 else
71868 echo "$as_me: failed program was:" >&5
71869 sed 's/^/| /' conftest.$ac_ext >&5
71871 glibcxx_cv_func___builtin_cosl_link=no
71873 rm -f conftest.err conftest.$ac_objext \
71874 conftest$ac_exeext conftest.$ac_ext
71879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
71880 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
71882 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
71884 cat >>confdefs.h <<\_ACEOF
71885 #define HAVE___BUILTIN_COSL 1
71886 _ACEOF
71895 echo "$as_me:$LINENO: checking for main in -lm" >&5
71896 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
71897 if test "${ac_cv_lib_m_main+set}" = set; then
71898 echo $ECHO_N "(cached) $ECHO_C" >&6
71899 else
71900 ac_check_lib_save_LIBS=$LIBS
71901 LIBS="-lm $LIBS"
71902 if test x$gcc_no_link = xyes; then
71903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71905 { (exit 1); exit 1; }; }
71907 cat >conftest.$ac_ext <<_ACEOF
71908 /* confdefs.h. */
71909 _ACEOF
71910 cat confdefs.h >>conftest.$ac_ext
71911 cat >>conftest.$ac_ext <<_ACEOF
71912 /* end confdefs.h. */
71916 main ()
71918 main ();
71920 return 0;
71922 _ACEOF
71923 rm -f conftest.$ac_objext conftest$ac_exeext
71924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71925 (eval $ac_link) 2>conftest.er1
71926 ac_status=$?
71927 grep -v '^ *+' conftest.er1 >conftest.err
71928 rm -f conftest.er1
71929 cat conftest.err >&5
71930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71931 (exit $ac_status); } &&
71932 { ac_try='test -z "$ac_c_werror_flag"
71933 || test ! -s conftest.err'
71934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71935 (eval $ac_try) 2>&5
71936 ac_status=$?
71937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71938 (exit $ac_status); }; } &&
71939 { ac_try='test -s conftest$ac_exeext'
71940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71941 (eval $ac_try) 2>&5
71942 ac_status=$?
71943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71944 (exit $ac_status); }; }; then
71945 ac_cv_lib_m_main=yes
71946 else
71947 echo "$as_me: failed program was:" >&5
71948 sed 's/^/| /' conftest.$ac_ext >&5
71950 ac_cv_lib_m_main=no
71952 rm -f conftest.err conftest.$ac_objext \
71953 conftest$ac_exeext conftest.$ac_ext
71954 LIBS=$ac_check_lib_save_LIBS
71956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
71957 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
71958 if test $ac_cv_lib_m_main = yes; then
71959 cat >>confdefs.h <<_ACEOF
71960 #define HAVE_LIBM 1
71961 _ACEOF
71963 LIBS="-lm $LIBS"
71968 for ac_func in copysignf
71970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71971 echo "$as_me:$LINENO: checking for $ac_func" >&5
71972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71973 if eval "test \"\${$as_ac_var+set}\" = set"; then
71974 echo $ECHO_N "(cached) $ECHO_C" >&6
71975 else
71976 if test x$gcc_no_link = xyes; then
71977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71979 { (exit 1); exit 1; }; }
71981 cat >conftest.$ac_ext <<_ACEOF
71982 /* confdefs.h. */
71983 _ACEOF
71984 cat confdefs.h >>conftest.$ac_ext
71985 cat >>conftest.$ac_ext <<_ACEOF
71986 /* end confdefs.h. */
71987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71989 #define $ac_func innocuous_$ac_func
71991 /* System header to define __stub macros and hopefully few prototypes,
71992 which can conflict with char $ac_func (); below.
71993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71994 <limits.h> exists even on freestanding compilers. */
71996 #ifdef __STDC__
71997 # include <limits.h>
71998 #else
71999 # include <assert.h>
72000 #endif
72002 #undef $ac_func
72004 /* Override any gcc2 internal prototype to avoid an error. */
72005 #ifdef __cplusplus
72006 extern "C"
72008 #endif
72009 /* We use char because int might match the return type of a gcc2
72010 builtin and then its argument prototype would still apply. */
72011 char $ac_func ();
72012 /* The GNU C library defines this for functions which it implements
72013 to always fail with ENOSYS. Some functions are actually named
72014 something starting with __ and the normal name is an alias. */
72015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72016 choke me
72017 #else
72018 char (*f) () = $ac_func;
72019 #endif
72020 #ifdef __cplusplus
72022 #endif
72025 main ()
72027 return f != $ac_func;
72029 return 0;
72031 _ACEOF
72032 rm -f conftest.$ac_objext conftest$ac_exeext
72033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72034 (eval $ac_link) 2>conftest.er1
72035 ac_status=$?
72036 grep -v '^ *+' conftest.er1 >conftest.err
72037 rm -f conftest.er1
72038 cat conftest.err >&5
72039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72040 (exit $ac_status); } &&
72041 { ac_try='test -z "$ac_c_werror_flag"
72042 || test ! -s conftest.err'
72043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72044 (eval $ac_try) 2>&5
72045 ac_status=$?
72046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72047 (exit $ac_status); }; } &&
72048 { ac_try='test -s conftest$ac_exeext'
72049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72050 (eval $ac_try) 2>&5
72051 ac_status=$?
72052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72053 (exit $ac_status); }; }; then
72054 eval "$as_ac_var=yes"
72055 else
72056 echo "$as_me: failed program was:" >&5
72057 sed 's/^/| /' conftest.$ac_ext >&5
72059 eval "$as_ac_var=no"
72061 rm -f conftest.err conftest.$ac_objext \
72062 conftest$ac_exeext conftest.$ac_ext
72064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72066 if test `eval echo '${'$as_ac_var'}'` = yes; then
72067 cat >>confdefs.h <<_ACEOF
72068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72069 _ACEOF
72071 else
72072 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72074 done
72078 for ac_func in __signbit
72080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72081 echo "$as_me:$LINENO: checking for $ac_func" >&5
72082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72083 if eval "test \"\${$as_ac_var+set}\" = set"; then
72084 echo $ECHO_N "(cached) $ECHO_C" >&6
72085 else
72086 if test x$gcc_no_link = xyes; then
72087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72089 { (exit 1); exit 1; }; }
72091 cat >conftest.$ac_ext <<_ACEOF
72092 /* confdefs.h. */
72093 _ACEOF
72094 cat confdefs.h >>conftest.$ac_ext
72095 cat >>conftest.$ac_ext <<_ACEOF
72096 /* end confdefs.h. */
72097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72099 #define $ac_func innocuous_$ac_func
72101 /* System header to define __stub macros and hopefully few prototypes,
72102 which can conflict with char $ac_func (); below.
72103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72104 <limits.h> exists even on freestanding compilers. */
72106 #ifdef __STDC__
72107 # include <limits.h>
72108 #else
72109 # include <assert.h>
72110 #endif
72112 #undef $ac_func
72114 /* Override any gcc2 internal prototype to avoid an error. */
72115 #ifdef __cplusplus
72116 extern "C"
72118 #endif
72119 /* We use char because int might match the return type of a gcc2
72120 builtin and then its argument prototype would still apply. */
72121 char $ac_func ();
72122 /* The GNU C library defines this for functions which it implements
72123 to always fail with ENOSYS. Some functions are actually named
72124 something starting with __ and the normal name is an alias. */
72125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72126 choke me
72127 #else
72128 char (*f) () = $ac_func;
72129 #endif
72130 #ifdef __cplusplus
72132 #endif
72135 main ()
72137 return f != $ac_func;
72139 return 0;
72141 _ACEOF
72142 rm -f conftest.$ac_objext conftest$ac_exeext
72143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72144 (eval $ac_link) 2>conftest.er1
72145 ac_status=$?
72146 grep -v '^ *+' conftest.er1 >conftest.err
72147 rm -f conftest.er1
72148 cat conftest.err >&5
72149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150 (exit $ac_status); } &&
72151 { ac_try='test -z "$ac_c_werror_flag"
72152 || test ! -s conftest.err'
72153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72154 (eval $ac_try) 2>&5
72155 ac_status=$?
72156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72157 (exit $ac_status); }; } &&
72158 { ac_try='test -s conftest$ac_exeext'
72159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72160 (eval $ac_try) 2>&5
72161 ac_status=$?
72162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72163 (exit $ac_status); }; }; then
72164 eval "$as_ac_var=yes"
72165 else
72166 echo "$as_me: failed program was:" >&5
72167 sed 's/^/| /' conftest.$ac_ext >&5
72169 eval "$as_ac_var=no"
72171 rm -f conftest.err conftest.$ac_objext \
72172 conftest$ac_exeext conftest.$ac_ext
72174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72176 if test `eval echo '${'$as_ac_var'}'` = yes; then
72177 cat >>confdefs.h <<_ACEOF
72178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72179 _ACEOF
72181 else
72182 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72184 done
72188 for ac_func in __signbitf
72190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72191 echo "$as_me:$LINENO: checking for $ac_func" >&5
72192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72193 if eval "test \"\${$as_ac_var+set}\" = set"; then
72194 echo $ECHO_N "(cached) $ECHO_C" >&6
72195 else
72196 if test x$gcc_no_link = xyes; then
72197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72199 { (exit 1); exit 1; }; }
72201 cat >conftest.$ac_ext <<_ACEOF
72202 /* confdefs.h. */
72203 _ACEOF
72204 cat confdefs.h >>conftest.$ac_ext
72205 cat >>conftest.$ac_ext <<_ACEOF
72206 /* end confdefs.h. */
72207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72209 #define $ac_func innocuous_$ac_func
72211 /* System header to define __stub macros and hopefully few prototypes,
72212 which can conflict with char $ac_func (); below.
72213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72214 <limits.h> exists even on freestanding compilers. */
72216 #ifdef __STDC__
72217 # include <limits.h>
72218 #else
72219 # include <assert.h>
72220 #endif
72222 #undef $ac_func
72224 /* Override any gcc2 internal prototype to avoid an error. */
72225 #ifdef __cplusplus
72226 extern "C"
72228 #endif
72229 /* We use char because int might match the return type of a gcc2
72230 builtin and then its argument prototype would still apply. */
72231 char $ac_func ();
72232 /* The GNU C library defines this for functions which it implements
72233 to always fail with ENOSYS. Some functions are actually named
72234 something starting with __ and the normal name is an alias. */
72235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72236 choke me
72237 #else
72238 char (*f) () = $ac_func;
72239 #endif
72240 #ifdef __cplusplus
72242 #endif
72245 main ()
72247 return f != $ac_func;
72249 return 0;
72251 _ACEOF
72252 rm -f conftest.$ac_objext conftest$ac_exeext
72253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72254 (eval $ac_link) 2>conftest.er1
72255 ac_status=$?
72256 grep -v '^ *+' conftest.er1 >conftest.err
72257 rm -f conftest.er1
72258 cat conftest.err >&5
72259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260 (exit $ac_status); } &&
72261 { ac_try='test -z "$ac_c_werror_flag"
72262 || test ! -s conftest.err'
72263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264 (eval $ac_try) 2>&5
72265 ac_status=$?
72266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267 (exit $ac_status); }; } &&
72268 { ac_try='test -s conftest$ac_exeext'
72269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72270 (eval $ac_try) 2>&5
72271 ac_status=$?
72272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273 (exit $ac_status); }; }; then
72274 eval "$as_ac_var=yes"
72275 else
72276 echo "$as_me: failed program was:" >&5
72277 sed 's/^/| /' conftest.$ac_ext >&5
72279 eval "$as_ac_var=no"
72281 rm -f conftest.err conftest.$ac_objext \
72282 conftest$ac_exeext conftest.$ac_ext
72284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72286 if test `eval echo '${'$as_ac_var'}'` = yes; then
72287 cat >>confdefs.h <<_ACEOF
72288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72289 _ACEOF
72291 else
72292 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72294 done
72297 if test x$ac_cv_func_copysignl = x"yes"; then
72299 for ac_func in __signbitl
72301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72302 echo "$as_me:$LINENO: checking for $ac_func" >&5
72303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72304 if eval "test \"\${$as_ac_var+set}\" = set"; then
72305 echo $ECHO_N "(cached) $ECHO_C" >&6
72306 else
72307 if test x$gcc_no_link = xyes; then
72308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72310 { (exit 1); exit 1; }; }
72312 cat >conftest.$ac_ext <<_ACEOF
72313 /* confdefs.h. */
72314 _ACEOF
72315 cat confdefs.h >>conftest.$ac_ext
72316 cat >>conftest.$ac_ext <<_ACEOF
72317 /* end confdefs.h. */
72318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72320 #define $ac_func innocuous_$ac_func
72322 /* System header to define __stub macros and hopefully few prototypes,
72323 which can conflict with char $ac_func (); below.
72324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72325 <limits.h> exists even on freestanding compilers. */
72327 #ifdef __STDC__
72328 # include <limits.h>
72329 #else
72330 # include <assert.h>
72331 #endif
72333 #undef $ac_func
72335 /* Override any gcc2 internal prototype to avoid an error. */
72336 #ifdef __cplusplus
72337 extern "C"
72339 #endif
72340 /* We use char because int might match the return type of a gcc2
72341 builtin and then its argument prototype would still apply. */
72342 char $ac_func ();
72343 /* The GNU C library defines this for functions which it implements
72344 to always fail with ENOSYS. Some functions are actually named
72345 something starting with __ and the normal name is an alias. */
72346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72347 choke me
72348 #else
72349 char (*f) () = $ac_func;
72350 #endif
72351 #ifdef __cplusplus
72353 #endif
72356 main ()
72358 return f != $ac_func;
72360 return 0;
72362 _ACEOF
72363 rm -f conftest.$ac_objext conftest$ac_exeext
72364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72365 (eval $ac_link) 2>conftest.er1
72366 ac_status=$?
72367 grep -v '^ *+' conftest.er1 >conftest.err
72368 rm -f conftest.er1
72369 cat conftest.err >&5
72370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371 (exit $ac_status); } &&
72372 { ac_try='test -z "$ac_c_werror_flag"
72373 || test ! -s conftest.err'
72374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72375 (eval $ac_try) 2>&5
72376 ac_status=$?
72377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72378 (exit $ac_status); }; } &&
72379 { ac_try='test -s conftest$ac_exeext'
72380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72381 (eval $ac_try) 2>&5
72382 ac_status=$?
72383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384 (exit $ac_status); }; }; then
72385 eval "$as_ac_var=yes"
72386 else
72387 echo "$as_me: failed program was:" >&5
72388 sed 's/^/| /' conftest.$ac_ext >&5
72390 eval "$as_ac_var=no"
72392 rm -f conftest.err conftest.$ac_objext \
72393 conftest$ac_exeext conftest.$ac_ext
72395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72397 if test `eval echo '${'$as_ac_var'}'` = yes; then
72398 cat >>confdefs.h <<_ACEOF
72399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72400 _ACEOF
72402 else
72403 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72405 done
72409 # Used in libmath/Makefile.am.
72410 if test -n "$LIBMATHOBJS"; then
72411 need_libmath=yes
72417 enable_iconv=no
72418 # Only continue checking if the ISO C99 headers exist and support is on.
72419 if test x"$enable_wchar_t" = xyes; then
72421 # Use iconv for wchar_t to char conversions. As such, check for
72422 # X/Open Portability Guide, version 2 features (XPG2).
72423 if test "${ac_cv_header_iconv_h+set}" = set; then
72424 echo "$as_me:$LINENO: checking for iconv.h" >&5
72425 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72426 if test "${ac_cv_header_iconv_h+set}" = set; then
72427 echo $ECHO_N "(cached) $ECHO_C" >&6
72429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72431 else
72432 # Is the header compilable?
72433 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72434 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72435 cat >conftest.$ac_ext <<_ACEOF
72436 /* confdefs.h. */
72437 _ACEOF
72438 cat confdefs.h >>conftest.$ac_ext
72439 cat >>conftest.$ac_ext <<_ACEOF
72440 /* end confdefs.h. */
72441 $ac_includes_default
72442 #include <iconv.h>
72443 _ACEOF
72444 rm -f conftest.$ac_objext
72445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72446 (eval $ac_compile) 2>conftest.er1
72447 ac_status=$?
72448 grep -v '^ *+' conftest.er1 >conftest.err
72449 rm -f conftest.er1
72450 cat conftest.err >&5
72451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452 (exit $ac_status); } &&
72453 { ac_try='test -z "$ac_c_werror_flag"
72454 || test ! -s conftest.err'
72455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456 (eval $ac_try) 2>&5
72457 ac_status=$?
72458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459 (exit $ac_status); }; } &&
72460 { ac_try='test -s conftest.$ac_objext'
72461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72462 (eval $ac_try) 2>&5
72463 ac_status=$?
72464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465 (exit $ac_status); }; }; then
72466 ac_header_compiler=yes
72467 else
72468 echo "$as_me: failed program was:" >&5
72469 sed 's/^/| /' conftest.$ac_ext >&5
72471 ac_header_compiler=no
72473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72475 echo "${ECHO_T}$ac_header_compiler" >&6
72477 # Is the header present?
72478 echo "$as_me:$LINENO: checking iconv.h presence" >&5
72479 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
72480 cat >conftest.$ac_ext <<_ACEOF
72481 /* confdefs.h. */
72482 _ACEOF
72483 cat confdefs.h >>conftest.$ac_ext
72484 cat >>conftest.$ac_ext <<_ACEOF
72485 /* end confdefs.h. */
72486 #include <iconv.h>
72487 _ACEOF
72488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72490 ac_status=$?
72491 grep -v '^ *+' conftest.er1 >conftest.err
72492 rm -f conftest.er1
72493 cat conftest.err >&5
72494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72495 (exit $ac_status); } >/dev/null; then
72496 if test -s conftest.err; then
72497 ac_cpp_err=$ac_c_preproc_warn_flag
72498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72499 else
72500 ac_cpp_err=
72502 else
72503 ac_cpp_err=yes
72505 if test -z "$ac_cpp_err"; then
72506 ac_header_preproc=yes
72507 else
72508 echo "$as_me: failed program was:" >&5
72509 sed 's/^/| /' conftest.$ac_ext >&5
72511 ac_header_preproc=no
72513 rm -f conftest.err conftest.$ac_ext
72514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72515 echo "${ECHO_T}$ac_header_preproc" >&6
72517 # So? What about this header?
72518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72519 yes:no: )
72520 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
72521 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
72522 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
72523 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
72524 ac_header_preproc=yes
72526 no:yes:* )
72527 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
72528 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
72529 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
72530 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
72531 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
72532 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
72533 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
72534 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
72535 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
72536 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
72537 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
72538 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
72540 cat <<\_ASBOX
72541 ## ----------------------------------------- ##
72542 ## Report this to the package-unused lists. ##
72543 ## ----------------------------------------- ##
72544 _ASBOX
72546 sed "s/^/$as_me: WARNING: /" >&2
72548 esac
72549 echo "$as_me:$LINENO: checking for iconv.h" >&5
72550 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72551 if test "${ac_cv_header_iconv_h+set}" = set; then
72552 echo $ECHO_N "(cached) $ECHO_C" >&6
72553 else
72554 ac_cv_header_iconv_h=$ac_header_preproc
72556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72560 if test $ac_cv_header_iconv_h = yes; then
72561 ac_has_iconv_h=yes
72562 else
72563 ac_has_iconv_h=no
72567 if test "${ac_cv_header_langinfo_h+set}" = set; then
72568 echo "$as_me:$LINENO: checking for langinfo.h" >&5
72569 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
72570 if test "${ac_cv_header_langinfo_h+set}" = set; then
72571 echo $ECHO_N "(cached) $ECHO_C" >&6
72573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
72574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
72575 else
72576 # Is the header compilable?
72577 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
72578 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
72579 cat >conftest.$ac_ext <<_ACEOF
72580 /* confdefs.h. */
72581 _ACEOF
72582 cat confdefs.h >>conftest.$ac_ext
72583 cat >>conftest.$ac_ext <<_ACEOF
72584 /* end confdefs.h. */
72585 $ac_includes_default
72586 #include <langinfo.h>
72587 _ACEOF
72588 rm -f conftest.$ac_objext
72589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72590 (eval $ac_compile) 2>conftest.er1
72591 ac_status=$?
72592 grep -v '^ *+' conftest.er1 >conftest.err
72593 rm -f conftest.er1
72594 cat conftest.err >&5
72595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72596 (exit $ac_status); } &&
72597 { ac_try='test -z "$ac_c_werror_flag"
72598 || test ! -s conftest.err'
72599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72600 (eval $ac_try) 2>&5
72601 ac_status=$?
72602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72603 (exit $ac_status); }; } &&
72604 { ac_try='test -s conftest.$ac_objext'
72605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72606 (eval $ac_try) 2>&5
72607 ac_status=$?
72608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72609 (exit $ac_status); }; }; then
72610 ac_header_compiler=yes
72611 else
72612 echo "$as_me: failed program was:" >&5
72613 sed 's/^/| /' conftest.$ac_ext >&5
72615 ac_header_compiler=no
72617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72619 echo "${ECHO_T}$ac_header_compiler" >&6
72621 # Is the header present?
72622 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
72623 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
72624 cat >conftest.$ac_ext <<_ACEOF
72625 /* confdefs.h. */
72626 _ACEOF
72627 cat confdefs.h >>conftest.$ac_ext
72628 cat >>conftest.$ac_ext <<_ACEOF
72629 /* end confdefs.h. */
72630 #include <langinfo.h>
72631 _ACEOF
72632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72634 ac_status=$?
72635 grep -v '^ *+' conftest.er1 >conftest.err
72636 rm -f conftest.er1
72637 cat conftest.err >&5
72638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72639 (exit $ac_status); } >/dev/null; then
72640 if test -s conftest.err; then
72641 ac_cpp_err=$ac_c_preproc_warn_flag
72642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72643 else
72644 ac_cpp_err=
72646 else
72647 ac_cpp_err=yes
72649 if test -z "$ac_cpp_err"; then
72650 ac_header_preproc=yes
72651 else
72652 echo "$as_me: failed program was:" >&5
72653 sed 's/^/| /' conftest.$ac_ext >&5
72655 ac_header_preproc=no
72657 rm -f conftest.err conftest.$ac_ext
72658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72659 echo "${ECHO_T}$ac_header_preproc" >&6
72661 # So? What about this header?
72662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72663 yes:no: )
72664 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
72665 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
72666 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
72667 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
72668 ac_header_preproc=yes
72670 no:yes:* )
72671 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
72672 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
72673 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
72674 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
72675 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
72676 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
72677 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
72678 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
72679 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
72680 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
72681 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
72682 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
72684 cat <<\_ASBOX
72685 ## ----------------------------------------- ##
72686 ## Report this to the package-unused lists. ##
72687 ## ----------------------------------------- ##
72688 _ASBOX
72690 sed "s/^/$as_me: WARNING: /" >&2
72692 esac
72693 echo "$as_me:$LINENO: checking for langinfo.h" >&5
72694 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
72695 if test "${ac_cv_header_langinfo_h+set}" = set; then
72696 echo $ECHO_N "(cached) $ECHO_C" >&6
72697 else
72698 ac_cv_header_langinfo_h=$ac_header_preproc
72700 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
72701 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
72704 if test $ac_cv_header_langinfo_h = yes; then
72705 ac_has_langinfo_h=yes
72706 else
72707 ac_has_langinfo_h=no
72712 # Check for existence of libiconv.a providing XPG2 wchar_t support.
72713 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
72714 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
72715 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
72716 echo $ECHO_N "(cached) $ECHO_C" >&6
72717 else
72718 ac_check_lib_save_LIBS=$LIBS
72719 LIBS="-liconv $LIBS"
72720 if test x$gcc_no_link = xyes; then
72721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72723 { (exit 1); exit 1; }; }
72725 cat >conftest.$ac_ext <<_ACEOF
72726 /* confdefs.h. */
72727 _ACEOF
72728 cat confdefs.h >>conftest.$ac_ext
72729 cat >>conftest.$ac_ext <<_ACEOF
72730 /* end confdefs.h. */
72732 /* Override any gcc2 internal prototype to avoid an error. */
72733 #ifdef __cplusplus
72734 extern "C"
72735 #endif
72736 /* We use char because int might match the return type of a gcc2
72737 builtin and then its argument prototype would still apply. */
72738 char iconv ();
72740 main ()
72742 iconv ();
72744 return 0;
72746 _ACEOF
72747 rm -f conftest.$ac_objext conftest$ac_exeext
72748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72749 (eval $ac_link) 2>conftest.er1
72750 ac_status=$?
72751 grep -v '^ *+' conftest.er1 >conftest.err
72752 rm -f conftest.er1
72753 cat conftest.err >&5
72754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72755 (exit $ac_status); } &&
72756 { ac_try='test -z "$ac_c_werror_flag"
72757 || test ! -s conftest.err'
72758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72759 (eval $ac_try) 2>&5
72760 ac_status=$?
72761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72762 (exit $ac_status); }; } &&
72763 { ac_try='test -s conftest$ac_exeext'
72764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72765 (eval $ac_try) 2>&5
72766 ac_status=$?
72767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72768 (exit $ac_status); }; }; then
72769 ac_cv_lib_iconv_iconv=yes
72770 else
72771 echo "$as_me: failed program was:" >&5
72772 sed 's/^/| /' conftest.$ac_ext >&5
72774 ac_cv_lib_iconv_iconv=no
72776 rm -f conftest.err conftest.$ac_objext \
72777 conftest$ac_exeext conftest.$ac_ext
72778 LIBS=$ac_check_lib_save_LIBS
72780 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
72781 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
72782 if test $ac_cv_lib_iconv_iconv = yes; then
72783 LIBICONV="-liconv"
72786 ac_save_LIBS="$LIBS"
72787 LIBS="$LIBS $LIBICONV"
72794 for ac_func in iconv_open iconv_close iconv nl_langinfo
72796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72797 echo "$as_me:$LINENO: checking for $ac_func" >&5
72798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72799 if eval "test \"\${$as_ac_var+set}\" = set"; then
72800 echo $ECHO_N "(cached) $ECHO_C" >&6
72801 else
72802 if test x$gcc_no_link = xyes; then
72803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72805 { (exit 1); exit 1; }; }
72807 cat >conftest.$ac_ext <<_ACEOF
72808 /* confdefs.h. */
72809 _ACEOF
72810 cat confdefs.h >>conftest.$ac_ext
72811 cat >>conftest.$ac_ext <<_ACEOF
72812 /* end confdefs.h. */
72813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72815 #define $ac_func innocuous_$ac_func
72817 /* System header to define __stub macros and hopefully few prototypes,
72818 which can conflict with char $ac_func (); below.
72819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72820 <limits.h> exists even on freestanding compilers. */
72822 #ifdef __STDC__
72823 # include <limits.h>
72824 #else
72825 # include <assert.h>
72826 #endif
72828 #undef $ac_func
72830 /* Override any gcc2 internal prototype to avoid an error. */
72831 #ifdef __cplusplus
72832 extern "C"
72834 #endif
72835 /* We use char because int might match the return type of a gcc2
72836 builtin and then its argument prototype would still apply. */
72837 char $ac_func ();
72838 /* The GNU C library defines this for functions which it implements
72839 to always fail with ENOSYS. Some functions are actually named
72840 something starting with __ and the normal name is an alias. */
72841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72842 choke me
72843 #else
72844 char (*f) () = $ac_func;
72845 #endif
72846 #ifdef __cplusplus
72848 #endif
72851 main ()
72853 return f != $ac_func;
72855 return 0;
72857 _ACEOF
72858 rm -f conftest.$ac_objext conftest$ac_exeext
72859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72860 (eval $ac_link) 2>conftest.er1
72861 ac_status=$?
72862 grep -v '^ *+' conftest.er1 >conftest.err
72863 rm -f conftest.er1
72864 cat conftest.err >&5
72865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72866 (exit $ac_status); } &&
72867 { ac_try='test -z "$ac_c_werror_flag"
72868 || test ! -s conftest.err'
72869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72870 (eval $ac_try) 2>&5
72871 ac_status=$?
72872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72873 (exit $ac_status); }; } &&
72874 { ac_try='test -s conftest$ac_exeext'
72875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72876 (eval $ac_try) 2>&5
72877 ac_status=$?
72878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72879 (exit $ac_status); }; }; then
72880 eval "$as_ac_var=yes"
72881 else
72882 echo "$as_me: failed program was:" >&5
72883 sed 's/^/| /' conftest.$ac_ext >&5
72885 eval "$as_ac_var=no"
72887 rm -f conftest.err conftest.$ac_objext \
72888 conftest$ac_exeext conftest.$ac_ext
72890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72892 if test `eval echo '${'$as_ac_var'}'` = yes; then
72893 cat >>confdefs.h <<_ACEOF
72894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72895 _ACEOF
72896 ac_XPG2funcs=yes
72897 else
72898 ac_XPG2funcs=no
72900 done
72903 LIBS="$ac_save_LIBS"
72905 if test x"$ac_has_iconv_h" = xyes &&
72906 test x"$ac_has_langinfo_h" = xyes &&
72907 test x"$ac_XPG2funcs" = xyes;
72908 then
72910 cat >>confdefs.h <<\_ACEOF
72911 #define _GLIBCXX_USE_ICONV 1
72912 _ACEOF
72914 enable_iconv=yes
72917 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
72918 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
72919 echo "$as_me:$LINENO: result: $enable_iconv" >&5
72920 echo "${ECHO_T}$enable_iconv" >&6
72923 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72924 ac_save_CXXFLAGS="$CXXFLAGS"
72925 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72928 echo "$as_me:$LINENO: checking for strtold declaration" >&5
72929 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
72930 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72931 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
72932 echo $ECHO_N "(cached) $ECHO_C" >&6
72933 else
72937 ac_ext=cc
72938 ac_cpp='$CXXCPP $CPPFLAGS'
72939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72943 cat >conftest.$ac_ext <<_ACEOF
72944 /* confdefs.h. */
72945 _ACEOF
72946 cat confdefs.h >>conftest.$ac_ext
72947 cat >>conftest.$ac_ext <<_ACEOF
72948 /* end confdefs.h. */
72949 #include <stdlib.h>
72951 main ()
72953 strtold(0, 0);
72955 return 0;
72957 _ACEOF
72958 rm -f conftest.$ac_objext
72959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72960 (eval $ac_compile) 2>conftest.er1
72961 ac_status=$?
72962 grep -v '^ *+' conftest.er1 >conftest.err
72963 rm -f conftest.er1
72964 cat conftest.err >&5
72965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72966 (exit $ac_status); } &&
72967 { ac_try='test -z "$ac_cxx_werror_flag"
72968 || test ! -s conftest.err'
72969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72970 (eval $ac_try) 2>&5
72971 ac_status=$?
72972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72973 (exit $ac_status); }; } &&
72974 { ac_try='test -s conftest.$ac_objext'
72975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72976 (eval $ac_try) 2>&5
72977 ac_status=$?
72978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979 (exit $ac_status); }; }; then
72980 glibcxx_cv_func_strtold_use=yes
72981 else
72982 echo "$as_me: failed program was:" >&5
72983 sed 's/^/| /' conftest.$ac_ext >&5
72985 glibcxx_cv_func_strtold_use=no
72987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72988 ac_ext=c
72989 ac_cpp='$CPP $CPPFLAGS'
72990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
72999 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73000 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73002 for ac_func in strtold
73004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73005 echo "$as_me:$LINENO: checking for $ac_func" >&5
73006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73007 if eval "test \"\${$as_ac_var+set}\" = set"; then
73008 echo $ECHO_N "(cached) $ECHO_C" >&6
73009 else
73010 if test x$gcc_no_link = xyes; then
73011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73013 { (exit 1); exit 1; }; }
73015 cat >conftest.$ac_ext <<_ACEOF
73016 /* confdefs.h. */
73017 _ACEOF
73018 cat confdefs.h >>conftest.$ac_ext
73019 cat >>conftest.$ac_ext <<_ACEOF
73020 /* end confdefs.h. */
73021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73023 #define $ac_func innocuous_$ac_func
73025 /* System header to define __stub macros and hopefully few prototypes,
73026 which can conflict with char $ac_func (); below.
73027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73028 <limits.h> exists even on freestanding compilers. */
73030 #ifdef __STDC__
73031 # include <limits.h>
73032 #else
73033 # include <assert.h>
73034 #endif
73036 #undef $ac_func
73038 /* Override any gcc2 internal prototype to avoid an error. */
73039 #ifdef __cplusplus
73040 extern "C"
73042 #endif
73043 /* We use char because int might match the return type of a gcc2
73044 builtin and then its argument prototype would still apply. */
73045 char $ac_func ();
73046 /* The GNU C library defines this for functions which it implements
73047 to always fail with ENOSYS. Some functions are actually named
73048 something starting with __ and the normal name is an alias. */
73049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73050 choke me
73051 #else
73052 char (*f) () = $ac_func;
73053 #endif
73054 #ifdef __cplusplus
73056 #endif
73059 main ()
73061 return f != $ac_func;
73063 return 0;
73065 _ACEOF
73066 rm -f conftest.$ac_objext conftest$ac_exeext
73067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73068 (eval $ac_link) 2>conftest.er1
73069 ac_status=$?
73070 grep -v '^ *+' conftest.er1 >conftest.err
73071 rm -f conftest.er1
73072 cat conftest.err >&5
73073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73074 (exit $ac_status); } &&
73075 { ac_try='test -z "$ac_c_werror_flag"
73076 || test ! -s conftest.err'
73077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73078 (eval $ac_try) 2>&5
73079 ac_status=$?
73080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081 (exit $ac_status); }; } &&
73082 { ac_try='test -s conftest$ac_exeext'
73083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73084 (eval $ac_try) 2>&5
73085 ac_status=$?
73086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73087 (exit $ac_status); }; }; then
73088 eval "$as_ac_var=yes"
73089 else
73090 echo "$as_me: failed program was:" >&5
73091 sed 's/^/| /' conftest.$ac_ext >&5
73093 eval "$as_ac_var=no"
73095 rm -f conftest.err conftest.$ac_objext \
73096 conftest$ac_exeext conftest.$ac_ext
73098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73100 if test `eval echo '${'$as_ac_var'}'` = yes; then
73101 cat >>confdefs.h <<_ACEOF
73102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73103 _ACEOF
73106 done
73111 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73112 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73114 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73115 echo $ECHO_N "(cached) $ECHO_C" >&6
73116 else
73120 ac_ext=cc
73121 ac_cpp='$CXXCPP $CPPFLAGS'
73122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73126 cat >conftest.$ac_ext <<_ACEOF
73127 /* confdefs.h. */
73128 _ACEOF
73129 cat confdefs.h >>conftest.$ac_ext
73130 cat >>conftest.$ac_ext <<_ACEOF
73131 /* end confdefs.h. */
73132 #include <stdlib.h>
73134 main ()
73136 strtof(0, 0);
73138 return 0;
73140 _ACEOF
73141 rm -f conftest.$ac_objext
73142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73143 (eval $ac_compile) 2>conftest.er1
73144 ac_status=$?
73145 grep -v '^ *+' conftest.er1 >conftest.err
73146 rm -f conftest.er1
73147 cat conftest.err >&5
73148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73149 (exit $ac_status); } &&
73150 { ac_try='test -z "$ac_cxx_werror_flag"
73151 || test ! -s conftest.err'
73152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73153 (eval $ac_try) 2>&5
73154 ac_status=$?
73155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73156 (exit $ac_status); }; } &&
73157 { ac_try='test -s conftest.$ac_objext'
73158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73159 (eval $ac_try) 2>&5
73160 ac_status=$?
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); }; }; then
73163 glibcxx_cv_func_strtof_use=yes
73164 else
73165 echo "$as_me: failed program was:" >&5
73166 sed 's/^/| /' conftest.$ac_ext >&5
73168 glibcxx_cv_func_strtof_use=no
73170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73171 ac_ext=c
73172 ac_cpp='$CPP $CPPFLAGS'
73173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73182 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73183 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73185 for ac_func in strtof
73187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73188 echo "$as_me:$LINENO: checking for $ac_func" >&5
73189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73190 if eval "test \"\${$as_ac_var+set}\" = set"; then
73191 echo $ECHO_N "(cached) $ECHO_C" >&6
73192 else
73193 if test x$gcc_no_link = xyes; then
73194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73196 { (exit 1); exit 1; }; }
73198 cat >conftest.$ac_ext <<_ACEOF
73199 /* confdefs.h. */
73200 _ACEOF
73201 cat confdefs.h >>conftest.$ac_ext
73202 cat >>conftest.$ac_ext <<_ACEOF
73203 /* end confdefs.h. */
73204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73206 #define $ac_func innocuous_$ac_func
73208 /* System header to define __stub macros and hopefully few prototypes,
73209 which can conflict with char $ac_func (); below.
73210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73211 <limits.h> exists even on freestanding compilers. */
73213 #ifdef __STDC__
73214 # include <limits.h>
73215 #else
73216 # include <assert.h>
73217 #endif
73219 #undef $ac_func
73221 /* Override any gcc2 internal prototype to avoid an error. */
73222 #ifdef __cplusplus
73223 extern "C"
73225 #endif
73226 /* We use char because int might match the return type of a gcc2
73227 builtin and then its argument prototype would still apply. */
73228 char $ac_func ();
73229 /* The GNU C library defines this for functions which it implements
73230 to always fail with ENOSYS. Some functions are actually named
73231 something starting with __ and the normal name is an alias. */
73232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73233 choke me
73234 #else
73235 char (*f) () = $ac_func;
73236 #endif
73237 #ifdef __cplusplus
73239 #endif
73242 main ()
73244 return f != $ac_func;
73246 return 0;
73248 _ACEOF
73249 rm -f conftest.$ac_objext conftest$ac_exeext
73250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73251 (eval $ac_link) 2>conftest.er1
73252 ac_status=$?
73253 grep -v '^ *+' conftest.er1 >conftest.err
73254 rm -f conftest.er1
73255 cat conftest.err >&5
73256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73257 (exit $ac_status); } &&
73258 { ac_try='test -z "$ac_c_werror_flag"
73259 || test ! -s conftest.err'
73260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73261 (eval $ac_try) 2>&5
73262 ac_status=$?
73263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73264 (exit $ac_status); }; } &&
73265 { ac_try='test -s conftest$ac_exeext'
73266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73267 (eval $ac_try) 2>&5
73268 ac_status=$?
73269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73270 (exit $ac_status); }; }; then
73271 eval "$as_ac_var=yes"
73272 else
73273 echo "$as_me: failed program was:" >&5
73274 sed 's/^/| /' conftest.$ac_ext >&5
73276 eval "$as_ac_var=no"
73278 rm -f conftest.err conftest.$ac_objext \
73279 conftest$ac_exeext conftest.$ac_ext
73281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73283 if test `eval echo '${'$as_ac_var'}'` = yes; then
73284 cat >>confdefs.h <<_ACEOF
73285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73286 _ACEOF
73289 done
73294 CXXFLAGS="$ac_save_CXXFLAGS"
73297 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73298 echo $ECHO_N "(cached) $ECHO_C" >&6
73299 else
73301 if test x$gcc_no_link = xyes; then
73302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73304 { (exit 1); exit 1; }; }
73306 cat >conftest.$ac_ext <<_ACEOF
73307 /* confdefs.h. */
73308 _ACEOF
73309 cat confdefs.h >>conftest.$ac_ext
73310 cat >>conftest.$ac_ext <<_ACEOF
73311 /* end confdefs.h. */
73312 #include <sys/stat.h>
73314 main ()
73316 struct stat buffer;
73317 fstat(0, &buffer);
73318 S_ISREG(buffer.st_mode);
73320 return 0;
73322 _ACEOF
73323 rm -f conftest.$ac_objext conftest$ac_exeext
73324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73325 (eval $ac_link) 2>conftest.er1
73326 ac_status=$?
73327 grep -v '^ *+' conftest.er1 >conftest.err
73328 rm -f conftest.er1
73329 cat conftest.err >&5
73330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73331 (exit $ac_status); } &&
73332 { ac_try='test -z "$ac_c_werror_flag"
73333 || test ! -s conftest.err'
73334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73335 (eval $ac_try) 2>&5
73336 ac_status=$?
73337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73338 (exit $ac_status); }; } &&
73339 { ac_try='test -s conftest$ac_exeext'
73340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73341 (eval $ac_try) 2>&5
73342 ac_status=$?
73343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73344 (exit $ac_status); }; }; then
73345 glibcxx_cv_S_ISREG=yes
73346 else
73347 echo "$as_me: failed program was:" >&5
73348 sed 's/^/| /' conftest.$ac_ext >&5
73350 glibcxx_cv_S_ISREG=no
73352 rm -f conftest.err conftest.$ac_objext \
73353 conftest$ac_exeext conftest.$ac_ext
73357 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73358 echo $ECHO_N "(cached) $ECHO_C" >&6
73359 else
73361 if test x$gcc_no_link = xyes; then
73362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73364 { (exit 1); exit 1; }; }
73366 cat >conftest.$ac_ext <<_ACEOF
73367 /* confdefs.h. */
73368 _ACEOF
73369 cat confdefs.h >>conftest.$ac_ext
73370 cat >>conftest.$ac_ext <<_ACEOF
73371 /* end confdefs.h. */
73372 #include <sys/stat.h>
73374 main ()
73376 struct stat buffer;
73377 fstat(0, &buffer);
73378 S_IFREG & buffer.st_mode;
73380 return 0;
73382 _ACEOF
73383 rm -f conftest.$ac_objext conftest$ac_exeext
73384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73385 (eval $ac_link) 2>conftest.er1
73386 ac_status=$?
73387 grep -v '^ *+' conftest.er1 >conftest.err
73388 rm -f conftest.er1
73389 cat conftest.err >&5
73390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73391 (exit $ac_status); } &&
73392 { ac_try='test -z "$ac_c_werror_flag"
73393 || test ! -s conftest.err'
73394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73395 (eval $ac_try) 2>&5
73396 ac_status=$?
73397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73398 (exit $ac_status); }; } &&
73399 { ac_try='test -s conftest$ac_exeext'
73400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73401 (eval $ac_try) 2>&5
73402 ac_status=$?
73403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73404 (exit $ac_status); }; }; then
73405 glibcxx_cv_S_IFREG=yes
73406 else
73407 echo "$as_me: failed program was:" >&5
73408 sed 's/^/| /' conftest.$ac_ext >&5
73410 glibcxx_cv_S_IFREG=no
73412 rm -f conftest.err conftest.$ac_objext \
73413 conftest$ac_exeext conftest.$ac_ext
73417 if test $glibcxx_cv_S_ISREG = yes; then
73418 cat >>confdefs.h <<\_ACEOF
73419 #define HAVE_S_ISREG 1
73420 _ACEOF
73422 elif test $glibcxx_cv_S_IFREG = yes; then
73423 cat >>confdefs.h <<\_ACEOF
73424 #define HAVE_S_IFREG 1
73425 _ACEOF
73429 cat >>confdefs.h <<\_ACEOF
73430 #define HAVE_WRITEV 1
73431 _ACEOF
73435 *-freebsd*)
73452 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73453 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73454 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
73455 sys/time.h unistd.h
73457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73459 echo "$as_me:$LINENO: checking for $ac_header" >&5
73460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73462 echo $ECHO_N "(cached) $ECHO_C" >&6
73464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73466 else
73467 # Is the header compilable?
73468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73470 cat >conftest.$ac_ext <<_ACEOF
73471 /* confdefs.h. */
73472 _ACEOF
73473 cat confdefs.h >>conftest.$ac_ext
73474 cat >>conftest.$ac_ext <<_ACEOF
73475 /* end confdefs.h. */
73476 $ac_includes_default
73477 #include <$ac_header>
73478 _ACEOF
73479 rm -f conftest.$ac_objext
73480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73481 (eval $ac_compile) 2>conftest.er1
73482 ac_status=$?
73483 grep -v '^ *+' conftest.er1 >conftest.err
73484 rm -f conftest.er1
73485 cat conftest.err >&5
73486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487 (exit $ac_status); } &&
73488 { ac_try='test -z "$ac_c_werror_flag"
73489 || test ! -s conftest.err'
73490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73491 (eval $ac_try) 2>&5
73492 ac_status=$?
73493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73494 (exit $ac_status); }; } &&
73495 { ac_try='test -s conftest.$ac_objext'
73496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73497 (eval $ac_try) 2>&5
73498 ac_status=$?
73499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73500 (exit $ac_status); }; }; then
73501 ac_header_compiler=yes
73502 else
73503 echo "$as_me: failed program was:" >&5
73504 sed 's/^/| /' conftest.$ac_ext >&5
73506 ac_header_compiler=no
73508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73510 echo "${ECHO_T}$ac_header_compiler" >&6
73512 # Is the header present?
73513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73515 cat >conftest.$ac_ext <<_ACEOF
73516 /* confdefs.h. */
73517 _ACEOF
73518 cat confdefs.h >>conftest.$ac_ext
73519 cat >>conftest.$ac_ext <<_ACEOF
73520 /* end confdefs.h. */
73521 #include <$ac_header>
73522 _ACEOF
73523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73525 ac_status=$?
73526 grep -v '^ *+' conftest.er1 >conftest.err
73527 rm -f conftest.er1
73528 cat conftest.err >&5
73529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73530 (exit $ac_status); } >/dev/null; then
73531 if test -s conftest.err; then
73532 ac_cpp_err=$ac_c_preproc_warn_flag
73533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73534 else
73535 ac_cpp_err=
73537 else
73538 ac_cpp_err=yes
73540 if test -z "$ac_cpp_err"; then
73541 ac_header_preproc=yes
73542 else
73543 echo "$as_me: failed program was:" >&5
73544 sed 's/^/| /' conftest.$ac_ext >&5
73546 ac_header_preproc=no
73548 rm -f conftest.err conftest.$ac_ext
73549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73550 echo "${ECHO_T}$ac_header_preproc" >&6
73552 # So? What about this header?
73553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73554 yes:no: )
73555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73559 ac_header_preproc=yes
73561 no:yes:* )
73562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73575 cat <<\_ASBOX
73576 ## ----------------------------------------- ##
73577 ## Report this to the package-unused lists. ##
73578 ## ----------------------------------------- ##
73579 _ASBOX
73581 sed "s/^/$as_me: WARNING: /" >&2
73583 esac
73584 echo "$as_me:$LINENO: checking for $ac_header" >&5
73585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73587 echo $ECHO_N "(cached) $ECHO_C" >&6
73588 else
73589 eval "$as_ac_Header=\$ac_header_preproc"
73591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73596 cat >>confdefs.h <<_ACEOF
73597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73598 _ACEOF
73602 done
73604 SECTION_FLAGS='-ffunction-sections -fdata-sections'
73607 # If we're not using GNU ld, then there's no point in even trying these
73608 # tests. Check for that first. We should have already tested for gld
73609 # by now (in libtool), but require it now just to be safe...
73610 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
73611 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
73615 # The name set by libtool depends on the version of libtool. Shame on us
73616 # for depending on an impl detail, but c'est la vie. Older versions used
73617 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
73618 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
73619 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
73620 # set (hence we're using an older libtool), then set it.
73621 if test x${with_gnu_ld+set} != xset; then
73622 if test x${ac_cv_prog_gnu_ld+set} != xset; then
73623 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
73624 with_gnu_ld=no
73625 else
73626 with_gnu_ld=$ac_cv_prog_gnu_ld
73630 # Start by getting the version number. I think the libtool test already
73631 # does some of this, but throws away the result.
73633 ldver=`$LD --version 2>/dev/null | head -1 | \
73634 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
73636 glibcxx_gnu_ld_version=`echo $ldver | \
73637 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
73639 # Set --gc-sections.
73640 if test "$with_gnu_ld" = "notbroken"; then
73641 # GNU ld it is! Joy and bunny rabbits!
73643 # All these tests are for C++; save the language and the compiler flags.
73644 # Need to do this so that g++ won't try to link in libstdc++
73645 ac_test_CFLAGS="${CFLAGS+set}"
73646 ac_save_CFLAGS="$CFLAGS"
73647 CFLAGS='-x c++ -Wl,--gc-sections'
73649 # Check for -Wl,--gc-sections
73650 # XXX This test is broken at the moment, as symbols required for linking
73651 # are now in libsupc++ (not built yet). In addition, this test has
73652 # cored on solaris in the past. In addition, --gc-sections doesn't
73653 # really work at the moment (keeps on discarding used sections, first
73654 # .eh_frame and now some of the glibc sections for iconv).
73655 # Bzzzzt. Thanks for playing, maybe next time.
73656 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
73657 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
73658 if test "$cross_compiling" = yes; then
73659 ac_sectionLDflags=yes
73660 else
73661 cat >conftest.$ac_ext <<_ACEOF
73662 /* confdefs.h. */
73663 _ACEOF
73664 cat confdefs.h >>conftest.$ac_ext
73665 cat >>conftest.$ac_ext <<_ACEOF
73666 /* end confdefs.h. */
73668 int main(void)
73670 try { throw 1; }
73671 catch (...) { };
73672 return 0;
73675 _ACEOF
73676 rm -f conftest$ac_exeext
73677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73678 (eval $ac_link) 2>&5
73679 ac_status=$?
73680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
73682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73683 (eval $ac_try) 2>&5
73684 ac_status=$?
73685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73686 (exit $ac_status); }; }; then
73687 ac_sectionLDflags=yes
73688 else
73689 echo "$as_me: program exited with status $ac_status" >&5
73690 echo "$as_me: failed program was:" >&5
73691 sed 's/^/| /' conftest.$ac_ext >&5
73693 ( exit $ac_status )
73694 ac_sectionLDflags=no
73696 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
73698 if test "$ac_test_CFLAGS" = set; then
73699 CFLAGS="$ac_save_CFLAGS"
73700 else
73701 # this is the suspicious part
73702 CFLAGS=''
73704 if test "$ac_sectionLDflags" = "yes"; then
73705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
73707 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
73708 echo "${ECHO_T}$ac_sectionLDflags" >&6
73711 # Set linker optimization flags.
73712 if test x"$with_gnu_ld" = x"yes"; then
73713 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
73721 echo "$as_me:$LINENO: checking for main in -lm" >&5
73722 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73723 if test "${ac_cv_lib_m_main+set}" = set; then
73724 echo $ECHO_N "(cached) $ECHO_C" >&6
73725 else
73726 ac_check_lib_save_LIBS=$LIBS
73727 LIBS="-lm $LIBS"
73728 if test x$gcc_no_link = xyes; then
73729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73731 { (exit 1); exit 1; }; }
73733 cat >conftest.$ac_ext <<_ACEOF
73734 /* confdefs.h. */
73735 _ACEOF
73736 cat confdefs.h >>conftest.$ac_ext
73737 cat >>conftest.$ac_ext <<_ACEOF
73738 /* end confdefs.h. */
73742 main ()
73744 main ();
73746 return 0;
73748 _ACEOF
73749 rm -f conftest.$ac_objext conftest$ac_exeext
73750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73751 (eval $ac_link) 2>conftest.er1
73752 ac_status=$?
73753 grep -v '^ *+' conftest.er1 >conftest.err
73754 rm -f conftest.er1
73755 cat conftest.err >&5
73756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73757 (exit $ac_status); } &&
73758 { ac_try='test -z "$ac_c_werror_flag"
73759 || test ! -s conftest.err'
73760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73761 (eval $ac_try) 2>&5
73762 ac_status=$?
73763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73764 (exit $ac_status); }; } &&
73765 { ac_try='test -s conftest$ac_exeext'
73766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73767 (eval $ac_try) 2>&5
73768 ac_status=$?
73769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73770 (exit $ac_status); }; }; then
73771 ac_cv_lib_m_main=yes
73772 else
73773 echo "$as_me: failed program was:" >&5
73774 sed 's/^/| /' conftest.$ac_ext >&5
73776 ac_cv_lib_m_main=no
73778 rm -f conftest.err conftest.$ac_objext \
73779 conftest$ac_exeext conftest.$ac_ext
73780 LIBS=$ac_check_lib_save_LIBS
73782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73783 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73784 if test $ac_cv_lib_m_main = yes; then
73785 cat >>confdefs.h <<_ACEOF
73786 #define HAVE_LIBM 1
73787 _ACEOF
73789 LIBS="-lm $LIBS"
73794 for ac_func in copysignf
73796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73797 echo "$as_me:$LINENO: checking for $ac_func" >&5
73798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73799 if eval "test \"\${$as_ac_var+set}\" = set"; then
73800 echo $ECHO_N "(cached) $ECHO_C" >&6
73801 else
73802 if test x$gcc_no_link = xyes; then
73803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73805 { (exit 1); exit 1; }; }
73807 cat >conftest.$ac_ext <<_ACEOF
73808 /* confdefs.h. */
73809 _ACEOF
73810 cat confdefs.h >>conftest.$ac_ext
73811 cat >>conftest.$ac_ext <<_ACEOF
73812 /* end confdefs.h. */
73813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73815 #define $ac_func innocuous_$ac_func
73817 /* System header to define __stub macros and hopefully few prototypes,
73818 which can conflict with char $ac_func (); below.
73819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73820 <limits.h> exists even on freestanding compilers. */
73822 #ifdef __STDC__
73823 # include <limits.h>
73824 #else
73825 # include <assert.h>
73826 #endif
73828 #undef $ac_func
73830 /* Override any gcc2 internal prototype to avoid an error. */
73831 #ifdef __cplusplus
73832 extern "C"
73834 #endif
73835 /* We use char because int might match the return type of a gcc2
73836 builtin and then its argument prototype would still apply. */
73837 char $ac_func ();
73838 /* The GNU C library defines this for functions which it implements
73839 to always fail with ENOSYS. Some functions are actually named
73840 something starting with __ and the normal name is an alias. */
73841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73842 choke me
73843 #else
73844 char (*f) () = $ac_func;
73845 #endif
73846 #ifdef __cplusplus
73848 #endif
73851 main ()
73853 return f != $ac_func;
73855 return 0;
73857 _ACEOF
73858 rm -f conftest.$ac_objext conftest$ac_exeext
73859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73860 (eval $ac_link) 2>conftest.er1
73861 ac_status=$?
73862 grep -v '^ *+' conftest.er1 >conftest.err
73863 rm -f conftest.er1
73864 cat conftest.err >&5
73865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73866 (exit $ac_status); } &&
73867 { ac_try='test -z "$ac_c_werror_flag"
73868 || test ! -s conftest.err'
73869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73870 (eval $ac_try) 2>&5
73871 ac_status=$?
73872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873 (exit $ac_status); }; } &&
73874 { ac_try='test -s conftest$ac_exeext'
73875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73876 (eval $ac_try) 2>&5
73877 ac_status=$?
73878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73879 (exit $ac_status); }; }; then
73880 eval "$as_ac_var=yes"
73881 else
73882 echo "$as_me: failed program was:" >&5
73883 sed 's/^/| /' conftest.$ac_ext >&5
73885 eval "$as_ac_var=no"
73887 rm -f conftest.err conftest.$ac_objext \
73888 conftest$ac_exeext conftest.$ac_ext
73890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73892 if test `eval echo '${'$as_ac_var'}'` = yes; then
73893 cat >>confdefs.h <<_ACEOF
73894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73895 _ACEOF
73897 else
73898 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73900 done
73904 for ac_func in __signbit
73906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73907 echo "$as_me:$LINENO: checking for $ac_func" >&5
73908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73909 if eval "test \"\${$as_ac_var+set}\" = set"; then
73910 echo $ECHO_N "(cached) $ECHO_C" >&6
73911 else
73912 if test x$gcc_no_link = xyes; then
73913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73915 { (exit 1); exit 1; }; }
73917 cat >conftest.$ac_ext <<_ACEOF
73918 /* confdefs.h. */
73919 _ACEOF
73920 cat confdefs.h >>conftest.$ac_ext
73921 cat >>conftest.$ac_ext <<_ACEOF
73922 /* end confdefs.h. */
73923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73925 #define $ac_func innocuous_$ac_func
73927 /* System header to define __stub macros and hopefully few prototypes,
73928 which can conflict with char $ac_func (); below.
73929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73930 <limits.h> exists even on freestanding compilers. */
73932 #ifdef __STDC__
73933 # include <limits.h>
73934 #else
73935 # include <assert.h>
73936 #endif
73938 #undef $ac_func
73940 /* Override any gcc2 internal prototype to avoid an error. */
73941 #ifdef __cplusplus
73942 extern "C"
73944 #endif
73945 /* We use char because int might match the return type of a gcc2
73946 builtin and then its argument prototype would still apply. */
73947 char $ac_func ();
73948 /* The GNU C library defines this for functions which it implements
73949 to always fail with ENOSYS. Some functions are actually named
73950 something starting with __ and the normal name is an alias. */
73951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73952 choke me
73953 #else
73954 char (*f) () = $ac_func;
73955 #endif
73956 #ifdef __cplusplus
73958 #endif
73961 main ()
73963 return f != $ac_func;
73965 return 0;
73967 _ACEOF
73968 rm -f conftest.$ac_objext conftest$ac_exeext
73969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73970 (eval $ac_link) 2>conftest.er1
73971 ac_status=$?
73972 grep -v '^ *+' conftest.er1 >conftest.err
73973 rm -f conftest.er1
73974 cat conftest.err >&5
73975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73976 (exit $ac_status); } &&
73977 { ac_try='test -z "$ac_c_werror_flag"
73978 || test ! -s conftest.err'
73979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73980 (eval $ac_try) 2>&5
73981 ac_status=$?
73982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73983 (exit $ac_status); }; } &&
73984 { ac_try='test -s conftest$ac_exeext'
73985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73986 (eval $ac_try) 2>&5
73987 ac_status=$?
73988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73989 (exit $ac_status); }; }; then
73990 eval "$as_ac_var=yes"
73991 else
73992 echo "$as_me: failed program was:" >&5
73993 sed 's/^/| /' conftest.$ac_ext >&5
73995 eval "$as_ac_var=no"
73997 rm -f conftest.err conftest.$ac_objext \
73998 conftest$ac_exeext conftest.$ac_ext
74000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74002 if test `eval echo '${'$as_ac_var'}'` = yes; then
74003 cat >>confdefs.h <<_ACEOF
74004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74005 _ACEOF
74007 else
74008 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74010 done
74014 for ac_func in __signbitf
74016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74017 echo "$as_me:$LINENO: checking for $ac_func" >&5
74018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74019 if eval "test \"\${$as_ac_var+set}\" = set"; then
74020 echo $ECHO_N "(cached) $ECHO_C" >&6
74021 else
74022 if test x$gcc_no_link = xyes; then
74023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74025 { (exit 1); exit 1; }; }
74027 cat >conftest.$ac_ext <<_ACEOF
74028 /* confdefs.h. */
74029 _ACEOF
74030 cat confdefs.h >>conftest.$ac_ext
74031 cat >>conftest.$ac_ext <<_ACEOF
74032 /* end confdefs.h. */
74033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74035 #define $ac_func innocuous_$ac_func
74037 /* System header to define __stub macros and hopefully few prototypes,
74038 which can conflict with char $ac_func (); below.
74039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74040 <limits.h> exists even on freestanding compilers. */
74042 #ifdef __STDC__
74043 # include <limits.h>
74044 #else
74045 # include <assert.h>
74046 #endif
74048 #undef $ac_func
74050 /* Override any gcc2 internal prototype to avoid an error. */
74051 #ifdef __cplusplus
74052 extern "C"
74054 #endif
74055 /* We use char because int might match the return type of a gcc2
74056 builtin and then its argument prototype would still apply. */
74057 char $ac_func ();
74058 /* The GNU C library defines this for functions which it implements
74059 to always fail with ENOSYS. Some functions are actually named
74060 something starting with __ and the normal name is an alias. */
74061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74062 choke me
74063 #else
74064 char (*f) () = $ac_func;
74065 #endif
74066 #ifdef __cplusplus
74068 #endif
74071 main ()
74073 return f != $ac_func;
74075 return 0;
74077 _ACEOF
74078 rm -f conftest.$ac_objext conftest$ac_exeext
74079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74080 (eval $ac_link) 2>conftest.er1
74081 ac_status=$?
74082 grep -v '^ *+' conftest.er1 >conftest.err
74083 rm -f conftest.er1
74084 cat conftest.err >&5
74085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74086 (exit $ac_status); } &&
74087 { ac_try='test -z "$ac_c_werror_flag"
74088 || test ! -s conftest.err'
74089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74090 (eval $ac_try) 2>&5
74091 ac_status=$?
74092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74093 (exit $ac_status); }; } &&
74094 { ac_try='test -s conftest$ac_exeext'
74095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74096 (eval $ac_try) 2>&5
74097 ac_status=$?
74098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74099 (exit $ac_status); }; }; then
74100 eval "$as_ac_var=yes"
74101 else
74102 echo "$as_me: failed program was:" >&5
74103 sed 's/^/| /' conftest.$ac_ext >&5
74105 eval "$as_ac_var=no"
74107 rm -f conftest.err conftest.$ac_objext \
74108 conftest$ac_exeext conftest.$ac_ext
74110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74112 if test `eval echo '${'$as_ac_var'}'` = yes; then
74113 cat >>confdefs.h <<_ACEOF
74114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74115 _ACEOF
74117 else
74118 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74120 done
74123 if test x$ac_cv_func_copysignl = x"yes"; then
74125 for ac_func in __signbitl
74127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74128 echo "$as_me:$LINENO: checking for $ac_func" >&5
74129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74130 if eval "test \"\${$as_ac_var+set}\" = set"; then
74131 echo $ECHO_N "(cached) $ECHO_C" >&6
74132 else
74133 if test x$gcc_no_link = xyes; then
74134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74136 { (exit 1); exit 1; }; }
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h. */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h. */
74144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74146 #define $ac_func innocuous_$ac_func
74148 /* System header to define __stub macros and hopefully few prototypes,
74149 which can conflict with char $ac_func (); below.
74150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74151 <limits.h> exists even on freestanding compilers. */
74153 #ifdef __STDC__
74154 # include <limits.h>
74155 #else
74156 # include <assert.h>
74157 #endif
74159 #undef $ac_func
74161 /* Override any gcc2 internal prototype to avoid an error. */
74162 #ifdef __cplusplus
74163 extern "C"
74165 #endif
74166 /* We use char because int might match the return type of a gcc2
74167 builtin and then its argument prototype would still apply. */
74168 char $ac_func ();
74169 /* The GNU C library defines this for functions which it implements
74170 to always fail with ENOSYS. Some functions are actually named
74171 something starting with __ and the normal name is an alias. */
74172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74173 choke me
74174 #else
74175 char (*f) () = $ac_func;
74176 #endif
74177 #ifdef __cplusplus
74179 #endif
74182 main ()
74184 return f != $ac_func;
74186 return 0;
74188 _ACEOF
74189 rm -f conftest.$ac_objext conftest$ac_exeext
74190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74191 (eval $ac_link) 2>conftest.er1
74192 ac_status=$?
74193 grep -v '^ *+' conftest.er1 >conftest.err
74194 rm -f conftest.er1
74195 cat conftest.err >&5
74196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197 (exit $ac_status); } &&
74198 { ac_try='test -z "$ac_c_werror_flag"
74199 || test ! -s conftest.err'
74200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74201 (eval $ac_try) 2>&5
74202 ac_status=$?
74203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74204 (exit $ac_status); }; } &&
74205 { ac_try='test -s conftest$ac_exeext'
74206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207 (eval $ac_try) 2>&5
74208 ac_status=$?
74209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210 (exit $ac_status); }; }; then
74211 eval "$as_ac_var=yes"
74212 else
74213 echo "$as_me: failed program was:" >&5
74214 sed 's/^/| /' conftest.$ac_ext >&5
74216 eval "$as_ac_var=no"
74218 rm -f conftest.err conftest.$ac_objext \
74219 conftest$ac_exeext conftest.$ac_ext
74221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74223 if test `eval echo '${'$as_ac_var'}'` = yes; then
74224 cat >>confdefs.h <<_ACEOF
74225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74226 _ACEOF
74228 else
74229 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74231 done
74235 # Used in libmath/Makefile.am.
74236 if test -n "$LIBMATHOBJS"; then
74237 need_libmath=yes
74243 enable_iconv=no
74244 # Only continue checking if the ISO C99 headers exist and support is on.
74245 if test x"$enable_wchar_t" = xyes; then
74247 # Use iconv for wchar_t to char conversions. As such, check for
74248 # X/Open Portability Guide, version 2 features (XPG2).
74249 if test "${ac_cv_header_iconv_h+set}" = set; then
74250 echo "$as_me:$LINENO: checking for iconv.h" >&5
74251 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74252 if test "${ac_cv_header_iconv_h+set}" = set; then
74253 echo $ECHO_N "(cached) $ECHO_C" >&6
74255 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74256 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74257 else
74258 # Is the header compilable?
74259 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74260 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74261 cat >conftest.$ac_ext <<_ACEOF
74262 /* confdefs.h. */
74263 _ACEOF
74264 cat confdefs.h >>conftest.$ac_ext
74265 cat >>conftest.$ac_ext <<_ACEOF
74266 /* end confdefs.h. */
74267 $ac_includes_default
74268 #include <iconv.h>
74269 _ACEOF
74270 rm -f conftest.$ac_objext
74271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74272 (eval $ac_compile) 2>conftest.er1
74273 ac_status=$?
74274 grep -v '^ *+' conftest.er1 >conftest.err
74275 rm -f conftest.er1
74276 cat conftest.err >&5
74277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74278 (exit $ac_status); } &&
74279 { ac_try='test -z "$ac_c_werror_flag"
74280 || test ! -s conftest.err'
74281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74282 (eval $ac_try) 2>&5
74283 ac_status=$?
74284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74285 (exit $ac_status); }; } &&
74286 { ac_try='test -s conftest.$ac_objext'
74287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74288 (eval $ac_try) 2>&5
74289 ac_status=$?
74290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74291 (exit $ac_status); }; }; then
74292 ac_header_compiler=yes
74293 else
74294 echo "$as_me: failed program was:" >&5
74295 sed 's/^/| /' conftest.$ac_ext >&5
74297 ac_header_compiler=no
74299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74301 echo "${ECHO_T}$ac_header_compiler" >&6
74303 # Is the header present?
74304 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74305 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74306 cat >conftest.$ac_ext <<_ACEOF
74307 /* confdefs.h. */
74308 _ACEOF
74309 cat confdefs.h >>conftest.$ac_ext
74310 cat >>conftest.$ac_ext <<_ACEOF
74311 /* end confdefs.h. */
74312 #include <iconv.h>
74313 _ACEOF
74314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74316 ac_status=$?
74317 grep -v '^ *+' conftest.er1 >conftest.err
74318 rm -f conftest.er1
74319 cat conftest.err >&5
74320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74321 (exit $ac_status); } >/dev/null; then
74322 if test -s conftest.err; then
74323 ac_cpp_err=$ac_c_preproc_warn_flag
74324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74325 else
74326 ac_cpp_err=
74328 else
74329 ac_cpp_err=yes
74331 if test -z "$ac_cpp_err"; then
74332 ac_header_preproc=yes
74333 else
74334 echo "$as_me: failed program was:" >&5
74335 sed 's/^/| /' conftest.$ac_ext >&5
74337 ac_header_preproc=no
74339 rm -f conftest.err conftest.$ac_ext
74340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74341 echo "${ECHO_T}$ac_header_preproc" >&6
74343 # So? What about this header?
74344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74345 yes:no: )
74346 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74347 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74348 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74349 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74350 ac_header_preproc=yes
74352 no:yes:* )
74353 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74354 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74355 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74356 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74357 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74358 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74359 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74360 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74361 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74362 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74363 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74364 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74366 cat <<\_ASBOX
74367 ## ----------------------------------------- ##
74368 ## Report this to the package-unused lists. ##
74369 ## ----------------------------------------- ##
74370 _ASBOX
74372 sed "s/^/$as_me: WARNING: /" >&2
74374 esac
74375 echo "$as_me:$LINENO: checking for iconv.h" >&5
74376 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74377 if test "${ac_cv_header_iconv_h+set}" = set; then
74378 echo $ECHO_N "(cached) $ECHO_C" >&6
74379 else
74380 ac_cv_header_iconv_h=$ac_header_preproc
74382 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74383 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74386 if test $ac_cv_header_iconv_h = yes; then
74387 ac_has_iconv_h=yes
74388 else
74389 ac_has_iconv_h=no
74393 if test "${ac_cv_header_langinfo_h+set}" = set; then
74394 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74395 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74396 if test "${ac_cv_header_langinfo_h+set}" = set; then
74397 echo $ECHO_N "(cached) $ECHO_C" >&6
74399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74401 else
74402 # Is the header compilable?
74403 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74404 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74405 cat >conftest.$ac_ext <<_ACEOF
74406 /* confdefs.h. */
74407 _ACEOF
74408 cat confdefs.h >>conftest.$ac_ext
74409 cat >>conftest.$ac_ext <<_ACEOF
74410 /* end confdefs.h. */
74411 $ac_includes_default
74412 #include <langinfo.h>
74413 _ACEOF
74414 rm -f conftest.$ac_objext
74415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74416 (eval $ac_compile) 2>conftest.er1
74417 ac_status=$?
74418 grep -v '^ *+' conftest.er1 >conftest.err
74419 rm -f conftest.er1
74420 cat conftest.err >&5
74421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74422 (exit $ac_status); } &&
74423 { ac_try='test -z "$ac_c_werror_flag"
74424 || test ! -s conftest.err'
74425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74426 (eval $ac_try) 2>&5
74427 ac_status=$?
74428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74429 (exit $ac_status); }; } &&
74430 { ac_try='test -s conftest.$ac_objext'
74431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74432 (eval $ac_try) 2>&5
74433 ac_status=$?
74434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74435 (exit $ac_status); }; }; then
74436 ac_header_compiler=yes
74437 else
74438 echo "$as_me: failed program was:" >&5
74439 sed 's/^/| /' conftest.$ac_ext >&5
74441 ac_header_compiler=no
74443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74445 echo "${ECHO_T}$ac_header_compiler" >&6
74447 # Is the header present?
74448 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74449 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74450 cat >conftest.$ac_ext <<_ACEOF
74451 /* confdefs.h. */
74452 _ACEOF
74453 cat confdefs.h >>conftest.$ac_ext
74454 cat >>conftest.$ac_ext <<_ACEOF
74455 /* end confdefs.h. */
74456 #include <langinfo.h>
74457 _ACEOF
74458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74460 ac_status=$?
74461 grep -v '^ *+' conftest.er1 >conftest.err
74462 rm -f conftest.er1
74463 cat conftest.err >&5
74464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74465 (exit $ac_status); } >/dev/null; then
74466 if test -s conftest.err; then
74467 ac_cpp_err=$ac_c_preproc_warn_flag
74468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74469 else
74470 ac_cpp_err=
74472 else
74473 ac_cpp_err=yes
74475 if test -z "$ac_cpp_err"; then
74476 ac_header_preproc=yes
74477 else
74478 echo "$as_me: failed program was:" >&5
74479 sed 's/^/| /' conftest.$ac_ext >&5
74481 ac_header_preproc=no
74483 rm -f conftest.err conftest.$ac_ext
74484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74485 echo "${ECHO_T}$ac_header_preproc" >&6
74487 # So? What about this header?
74488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74489 yes:no: )
74490 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74491 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74492 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74493 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74494 ac_header_preproc=yes
74496 no:yes:* )
74497 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74498 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74499 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74500 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74501 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74502 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74503 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74504 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74505 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74506 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74507 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74508 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74510 cat <<\_ASBOX
74511 ## ----------------------------------------- ##
74512 ## Report this to the package-unused lists. ##
74513 ## ----------------------------------------- ##
74514 _ASBOX
74516 sed "s/^/$as_me: WARNING: /" >&2
74518 esac
74519 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74520 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74521 if test "${ac_cv_header_langinfo_h+set}" = set; then
74522 echo $ECHO_N "(cached) $ECHO_C" >&6
74523 else
74524 ac_cv_header_langinfo_h=$ac_header_preproc
74526 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74527 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74530 if test $ac_cv_header_langinfo_h = yes; then
74531 ac_has_langinfo_h=yes
74532 else
74533 ac_has_langinfo_h=no
74538 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74539 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74540 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74541 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74542 echo $ECHO_N "(cached) $ECHO_C" >&6
74543 else
74544 ac_check_lib_save_LIBS=$LIBS
74545 LIBS="-liconv $LIBS"
74546 if test x$gcc_no_link = xyes; then
74547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74549 { (exit 1); exit 1; }; }
74551 cat >conftest.$ac_ext <<_ACEOF
74552 /* confdefs.h. */
74553 _ACEOF
74554 cat confdefs.h >>conftest.$ac_ext
74555 cat >>conftest.$ac_ext <<_ACEOF
74556 /* end confdefs.h. */
74558 /* Override any gcc2 internal prototype to avoid an error. */
74559 #ifdef __cplusplus
74560 extern "C"
74561 #endif
74562 /* We use char because int might match the return type of a gcc2
74563 builtin and then its argument prototype would still apply. */
74564 char iconv ();
74566 main ()
74568 iconv ();
74570 return 0;
74572 _ACEOF
74573 rm -f conftest.$ac_objext conftest$ac_exeext
74574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74575 (eval $ac_link) 2>conftest.er1
74576 ac_status=$?
74577 grep -v '^ *+' conftest.er1 >conftest.err
74578 rm -f conftest.er1
74579 cat conftest.err >&5
74580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74581 (exit $ac_status); } &&
74582 { ac_try='test -z "$ac_c_werror_flag"
74583 || test ! -s conftest.err'
74584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74585 (eval $ac_try) 2>&5
74586 ac_status=$?
74587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74588 (exit $ac_status); }; } &&
74589 { ac_try='test -s conftest$ac_exeext'
74590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74591 (eval $ac_try) 2>&5
74592 ac_status=$?
74593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74594 (exit $ac_status); }; }; then
74595 ac_cv_lib_iconv_iconv=yes
74596 else
74597 echo "$as_me: failed program was:" >&5
74598 sed 's/^/| /' conftest.$ac_ext >&5
74600 ac_cv_lib_iconv_iconv=no
74602 rm -f conftest.err conftest.$ac_objext \
74603 conftest$ac_exeext conftest.$ac_ext
74604 LIBS=$ac_check_lib_save_LIBS
74606 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74607 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74608 if test $ac_cv_lib_iconv_iconv = yes; then
74609 LIBICONV="-liconv"
74612 ac_save_LIBS="$LIBS"
74613 LIBS="$LIBS $LIBICONV"
74620 for ac_func in iconv_open iconv_close iconv nl_langinfo
74622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74623 echo "$as_me:$LINENO: checking for $ac_func" >&5
74624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74625 if eval "test \"\${$as_ac_var+set}\" = set"; then
74626 echo $ECHO_N "(cached) $ECHO_C" >&6
74627 else
74628 if test x$gcc_no_link = xyes; then
74629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74631 { (exit 1); exit 1; }; }
74633 cat >conftest.$ac_ext <<_ACEOF
74634 /* confdefs.h. */
74635 _ACEOF
74636 cat confdefs.h >>conftest.$ac_ext
74637 cat >>conftest.$ac_ext <<_ACEOF
74638 /* end confdefs.h. */
74639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74641 #define $ac_func innocuous_$ac_func
74643 /* System header to define __stub macros and hopefully few prototypes,
74644 which can conflict with char $ac_func (); below.
74645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74646 <limits.h> exists even on freestanding compilers. */
74648 #ifdef __STDC__
74649 # include <limits.h>
74650 #else
74651 # include <assert.h>
74652 #endif
74654 #undef $ac_func
74656 /* Override any gcc2 internal prototype to avoid an error. */
74657 #ifdef __cplusplus
74658 extern "C"
74660 #endif
74661 /* We use char because int might match the return type of a gcc2
74662 builtin and then its argument prototype would still apply. */
74663 char $ac_func ();
74664 /* The GNU C library defines this for functions which it implements
74665 to always fail with ENOSYS. Some functions are actually named
74666 something starting with __ and the normal name is an alias. */
74667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74668 choke me
74669 #else
74670 char (*f) () = $ac_func;
74671 #endif
74672 #ifdef __cplusplus
74674 #endif
74677 main ()
74679 return f != $ac_func;
74681 return 0;
74683 _ACEOF
74684 rm -f conftest.$ac_objext conftest$ac_exeext
74685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74686 (eval $ac_link) 2>conftest.er1
74687 ac_status=$?
74688 grep -v '^ *+' conftest.er1 >conftest.err
74689 rm -f conftest.er1
74690 cat conftest.err >&5
74691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74692 (exit $ac_status); } &&
74693 { ac_try='test -z "$ac_c_werror_flag"
74694 || test ! -s conftest.err'
74695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74696 (eval $ac_try) 2>&5
74697 ac_status=$?
74698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74699 (exit $ac_status); }; } &&
74700 { ac_try='test -s conftest$ac_exeext'
74701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74702 (eval $ac_try) 2>&5
74703 ac_status=$?
74704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74705 (exit $ac_status); }; }; then
74706 eval "$as_ac_var=yes"
74707 else
74708 echo "$as_me: failed program was:" >&5
74709 sed 's/^/| /' conftest.$ac_ext >&5
74711 eval "$as_ac_var=no"
74713 rm -f conftest.err conftest.$ac_objext \
74714 conftest$ac_exeext conftest.$ac_ext
74716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74718 if test `eval echo '${'$as_ac_var'}'` = yes; then
74719 cat >>confdefs.h <<_ACEOF
74720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74721 _ACEOF
74722 ac_XPG2funcs=yes
74723 else
74724 ac_XPG2funcs=no
74726 done
74729 LIBS="$ac_save_LIBS"
74731 if test x"$ac_has_iconv_h" = xyes &&
74732 test x"$ac_has_langinfo_h" = xyes &&
74733 test x"$ac_XPG2funcs" = xyes;
74734 then
74736 cat >>confdefs.h <<\_ACEOF
74737 #define _GLIBCXX_USE_ICONV 1
74738 _ACEOF
74740 enable_iconv=yes
74743 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74744 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74745 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74746 echo "${ECHO_T}$enable_iconv" >&6
74748 cat >>confdefs.h <<\_ACEOF
74749 #define HAVE_LC_MESSAGES 1
74750 _ACEOF
74752 cat >>confdefs.h <<\_ACEOF
74753 #define HAVE_GETPAGESIZE 1
74754 _ACEOF
74756 cat >>confdefs.h <<\_ACEOF
74757 #define HAVE_SETENV 1
74758 _ACEOF
74760 cat >>confdefs.h <<\_ACEOF
74761 #define HAVE_SIGSETJMP 1
74762 _ACEOF
74764 cat >>confdefs.h <<\_ACEOF
74765 #define HAVE_COPYSIGN 1
74766 _ACEOF
74768 cat >>confdefs.h <<\_ACEOF
74769 #define HAVE_COPYSIGNF 1
74770 _ACEOF
74772 cat >>confdefs.h <<\_ACEOF
74773 #define HAVE_FINITEF 1
74774 _ACEOF
74776 cat >>confdefs.h <<\_ACEOF
74777 #define HAVE_FINITE 1
74778 _ACEOF
74780 cat >>confdefs.h <<\_ACEOF
74781 #define HAVE_FREXPF 1
74782 _ACEOF
74784 cat >>confdefs.h <<\_ACEOF
74785 #define HAVE_HYPOT 1
74786 _ACEOF
74788 cat >>confdefs.h <<\_ACEOF
74789 #define HAVE_HYPOTF 1
74790 _ACEOF
74792 cat >>confdefs.h <<\_ACEOF
74793 #define HAVE_ISINF 1
74794 _ACEOF
74796 cat >>confdefs.h <<\_ACEOF
74797 #define HAVE_ISNAN 1
74798 _ACEOF
74800 cat >>confdefs.h <<\_ACEOF
74801 #define HAVE_ISNANF 1
74802 _ACEOF
74805 cat >>confdefs.h <<\_ACEOF
74806 #define HAVE_MMAP 1
74807 _ACEOF
74809 cat >>confdefs.h <<\_ACEOF
74810 #define HAVE_ACOSF 1
74811 _ACEOF
74813 cat >>confdefs.h <<\_ACEOF
74814 #define HAVE_ASINF 1
74815 _ACEOF
74817 cat >>confdefs.h <<\_ACEOF
74818 #define HAVE_ATAN2F 1
74819 _ACEOF
74821 cat >>confdefs.h <<\_ACEOF
74822 #define HAVE_ATANF 1
74823 _ACEOF
74825 cat >>confdefs.h <<\_ACEOF
74826 #define HAVE_CEILF 1
74827 _ACEOF
74829 cat >>confdefs.h <<\_ACEOF
74830 #define HAVE_COPYSIGN 1
74831 _ACEOF
74833 cat >>confdefs.h <<\_ACEOF
74834 #define HAVE_COPYSIGNF 1
74835 _ACEOF
74837 cat >>confdefs.h <<\_ACEOF
74838 #define HAVE_COSF 1
74839 _ACEOF
74841 cat >>confdefs.h <<\_ACEOF
74842 #define HAVE_COSHF 1
74843 _ACEOF
74845 cat >>confdefs.h <<\_ACEOF
74846 #define HAVE_EXPF 1
74847 _ACEOF
74849 cat >>confdefs.h <<\_ACEOF
74850 #define HAVE_FABSF 1
74851 _ACEOF
74853 cat >>confdefs.h <<\_ACEOF
74854 #define HAVE_FLOORF 1
74855 _ACEOF
74857 cat >>confdefs.h <<\_ACEOF
74858 #define HAVE_FMODF 1
74859 _ACEOF
74861 cat >>confdefs.h <<\_ACEOF
74862 #define HAVE_FREXPF 1
74863 _ACEOF
74865 cat >>confdefs.h <<\_ACEOF
74866 #define HAVE_LDEXPF 1
74867 _ACEOF
74869 cat >>confdefs.h <<\_ACEOF
74870 #define HAVE_LOG10F 1
74871 _ACEOF
74873 cat >>confdefs.h <<\_ACEOF
74874 #define HAVE_LOGF 1
74875 _ACEOF
74877 cat >>confdefs.h <<\_ACEOF
74878 #define HAVE_MODFF 1
74879 _ACEOF
74881 cat >>confdefs.h <<\_ACEOF
74882 #define HAVE_POWF 1
74883 _ACEOF
74885 cat >>confdefs.h <<\_ACEOF
74886 #define HAVE_SINF 1
74887 _ACEOF
74889 cat >>confdefs.h <<\_ACEOF
74890 #define HAVE_SINHF 1
74891 _ACEOF
74893 cat >>confdefs.h <<\_ACEOF
74894 #define HAVE_SQRTF 1
74895 _ACEOF
74897 cat >>confdefs.h <<\_ACEOF
74898 #define HAVE_TANF 1
74899 _ACEOF
74901 cat >>confdefs.h <<\_ACEOF
74902 #define HAVE_TANHF 1
74903 _ACEOF
74905 if test x"long_double_math_on_this_cpu" = x"yes"; then
74906 cat >>confdefs.h <<\_ACEOF
74907 #define HAVE_FINITEL 1
74908 _ACEOF
74910 cat >>confdefs.h <<\_ACEOF
74911 #define HAVE_ISINFL 1
74912 _ACEOF
74914 cat >>confdefs.h <<\_ACEOF
74915 #define HAVE_ISNANL 1
74916 _ACEOF
74920 *-hpux*)
74933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74934 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74935 fp.h locale.h float.h inttypes.h
74937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74939 echo "$as_me:$LINENO: checking for $ac_header" >&5
74940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74942 echo $ECHO_N "(cached) $ECHO_C" >&6
74944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74946 else
74947 # Is the header compilable?
74948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74950 cat >conftest.$ac_ext <<_ACEOF
74951 /* confdefs.h. */
74952 _ACEOF
74953 cat confdefs.h >>conftest.$ac_ext
74954 cat >>conftest.$ac_ext <<_ACEOF
74955 /* end confdefs.h. */
74956 $ac_includes_default
74957 #include <$ac_header>
74958 _ACEOF
74959 rm -f conftest.$ac_objext
74960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74961 (eval $ac_compile) 2>conftest.er1
74962 ac_status=$?
74963 grep -v '^ *+' conftest.er1 >conftest.err
74964 rm -f conftest.er1
74965 cat conftest.err >&5
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); } &&
74968 { ac_try='test -z "$ac_c_werror_flag"
74969 || test ! -s conftest.err'
74970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74971 (eval $ac_try) 2>&5
74972 ac_status=$?
74973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74974 (exit $ac_status); }; } &&
74975 { ac_try='test -s conftest.$ac_objext'
74976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74977 (eval $ac_try) 2>&5
74978 ac_status=$?
74979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74980 (exit $ac_status); }; }; then
74981 ac_header_compiler=yes
74982 else
74983 echo "$as_me: failed program was:" >&5
74984 sed 's/^/| /' conftest.$ac_ext >&5
74986 ac_header_compiler=no
74988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74990 echo "${ECHO_T}$ac_header_compiler" >&6
74992 # Is the header present?
74993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74995 cat >conftest.$ac_ext <<_ACEOF
74996 /* confdefs.h. */
74997 _ACEOF
74998 cat confdefs.h >>conftest.$ac_ext
74999 cat >>conftest.$ac_ext <<_ACEOF
75000 /* end confdefs.h. */
75001 #include <$ac_header>
75002 _ACEOF
75003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75005 ac_status=$?
75006 grep -v '^ *+' conftest.er1 >conftest.err
75007 rm -f conftest.er1
75008 cat conftest.err >&5
75009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010 (exit $ac_status); } >/dev/null; then
75011 if test -s conftest.err; then
75012 ac_cpp_err=$ac_c_preproc_warn_flag
75013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75014 else
75015 ac_cpp_err=
75017 else
75018 ac_cpp_err=yes
75020 if test -z "$ac_cpp_err"; then
75021 ac_header_preproc=yes
75022 else
75023 echo "$as_me: failed program was:" >&5
75024 sed 's/^/| /' conftest.$ac_ext >&5
75026 ac_header_preproc=no
75028 rm -f conftest.err conftest.$ac_ext
75029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75030 echo "${ECHO_T}$ac_header_preproc" >&6
75032 # So? What about this header?
75033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75034 yes:no: )
75035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75039 ac_header_preproc=yes
75041 no:yes:* )
75042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75055 cat <<\_ASBOX
75056 ## ----------------------------------------- ##
75057 ## Report this to the package-unused lists. ##
75058 ## ----------------------------------------- ##
75059 _ASBOX
75061 sed "s/^/$as_me: WARNING: /" >&2
75063 esac
75064 echo "$as_me:$LINENO: checking for $ac_header" >&5
75065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75067 echo $ECHO_N "(cached) $ECHO_C" >&6
75068 else
75069 eval "$as_ac_Header=\$ac_header_preproc"
75071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75076 cat >>confdefs.h <<_ACEOF
75077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75078 _ACEOF
75082 done
75084 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75087 # If we're not using GNU ld, then there's no point in even trying these
75088 # tests. Check for that first. We should have already tested for gld
75089 # by now (in libtool), but require it now just to be safe...
75090 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75091 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75095 # The name set by libtool depends on the version of libtool. Shame on us
75096 # for depending on an impl detail, but c'est la vie. Older versions used
75097 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75098 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75099 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75100 # set (hence we're using an older libtool), then set it.
75101 if test x${with_gnu_ld+set} != xset; then
75102 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75103 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75104 with_gnu_ld=no
75105 else
75106 with_gnu_ld=$ac_cv_prog_gnu_ld
75110 # Start by getting the version number. I think the libtool test already
75111 # does some of this, but throws away the result.
75113 ldver=`$LD --version 2>/dev/null | head -1 | \
75114 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75116 glibcxx_gnu_ld_version=`echo $ldver | \
75117 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75119 # Set --gc-sections.
75120 if test "$with_gnu_ld" = "notbroken"; then
75121 # GNU ld it is! Joy and bunny rabbits!
75123 # All these tests are for C++; save the language and the compiler flags.
75124 # Need to do this so that g++ won't try to link in libstdc++
75125 ac_test_CFLAGS="${CFLAGS+set}"
75126 ac_save_CFLAGS="$CFLAGS"
75127 CFLAGS='-x c++ -Wl,--gc-sections'
75129 # Check for -Wl,--gc-sections
75130 # XXX This test is broken at the moment, as symbols required for linking
75131 # are now in libsupc++ (not built yet). In addition, this test has
75132 # cored on solaris in the past. In addition, --gc-sections doesn't
75133 # really work at the moment (keeps on discarding used sections, first
75134 # .eh_frame and now some of the glibc sections for iconv).
75135 # Bzzzzt. Thanks for playing, maybe next time.
75136 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75137 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75138 if test "$cross_compiling" = yes; then
75139 ac_sectionLDflags=yes
75140 else
75141 cat >conftest.$ac_ext <<_ACEOF
75142 /* confdefs.h. */
75143 _ACEOF
75144 cat confdefs.h >>conftest.$ac_ext
75145 cat >>conftest.$ac_ext <<_ACEOF
75146 /* end confdefs.h. */
75148 int main(void)
75150 try { throw 1; }
75151 catch (...) { };
75152 return 0;
75155 _ACEOF
75156 rm -f conftest$ac_exeext
75157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75158 (eval $ac_link) 2>&5
75159 ac_status=$?
75160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75163 (eval $ac_try) 2>&5
75164 ac_status=$?
75165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75166 (exit $ac_status); }; }; then
75167 ac_sectionLDflags=yes
75168 else
75169 echo "$as_me: program exited with status $ac_status" >&5
75170 echo "$as_me: failed program was:" >&5
75171 sed 's/^/| /' conftest.$ac_ext >&5
75173 ( exit $ac_status )
75174 ac_sectionLDflags=no
75176 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75178 if test "$ac_test_CFLAGS" = set; then
75179 CFLAGS="$ac_save_CFLAGS"
75180 else
75181 # this is the suspicious part
75182 CFLAGS=''
75184 if test "$ac_sectionLDflags" = "yes"; then
75185 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75187 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75188 echo "${ECHO_T}$ac_sectionLDflags" >&6
75191 # Set linker optimization flags.
75192 if test x"$with_gnu_ld" = x"yes"; then
75193 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75201 echo "$as_me:$LINENO: checking for main in -lm" >&5
75202 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75203 if test "${ac_cv_lib_m_main+set}" = set; then
75204 echo $ECHO_N "(cached) $ECHO_C" >&6
75205 else
75206 ac_check_lib_save_LIBS=$LIBS
75207 LIBS="-lm $LIBS"
75208 if test x$gcc_no_link = xyes; then
75209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75211 { (exit 1); exit 1; }; }
75213 cat >conftest.$ac_ext <<_ACEOF
75214 /* confdefs.h. */
75215 _ACEOF
75216 cat confdefs.h >>conftest.$ac_ext
75217 cat >>conftest.$ac_ext <<_ACEOF
75218 /* end confdefs.h. */
75222 main ()
75224 main ();
75226 return 0;
75228 _ACEOF
75229 rm -f conftest.$ac_objext conftest$ac_exeext
75230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75231 (eval $ac_link) 2>conftest.er1
75232 ac_status=$?
75233 grep -v '^ *+' conftest.er1 >conftest.err
75234 rm -f conftest.er1
75235 cat conftest.err >&5
75236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75237 (exit $ac_status); } &&
75238 { ac_try='test -z "$ac_c_werror_flag"
75239 || test ! -s conftest.err'
75240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75241 (eval $ac_try) 2>&5
75242 ac_status=$?
75243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75244 (exit $ac_status); }; } &&
75245 { ac_try='test -s conftest$ac_exeext'
75246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75247 (eval $ac_try) 2>&5
75248 ac_status=$?
75249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75250 (exit $ac_status); }; }; then
75251 ac_cv_lib_m_main=yes
75252 else
75253 echo "$as_me: failed program was:" >&5
75254 sed 's/^/| /' conftest.$ac_ext >&5
75256 ac_cv_lib_m_main=no
75258 rm -f conftest.err conftest.$ac_objext \
75259 conftest$ac_exeext conftest.$ac_ext
75260 LIBS=$ac_check_lib_save_LIBS
75262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75263 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75264 if test $ac_cv_lib_m_main = yes; then
75265 cat >>confdefs.h <<_ACEOF
75266 #define HAVE_LIBM 1
75267 _ACEOF
75269 LIBS="-lm $LIBS"
75274 for ac_func in copysignf
75276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75277 echo "$as_me:$LINENO: checking for $ac_func" >&5
75278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75279 if eval "test \"\${$as_ac_var+set}\" = set"; then
75280 echo $ECHO_N "(cached) $ECHO_C" >&6
75281 else
75282 if test x$gcc_no_link = xyes; then
75283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75285 { (exit 1); exit 1; }; }
75287 cat >conftest.$ac_ext <<_ACEOF
75288 /* confdefs.h. */
75289 _ACEOF
75290 cat confdefs.h >>conftest.$ac_ext
75291 cat >>conftest.$ac_ext <<_ACEOF
75292 /* end confdefs.h. */
75293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75295 #define $ac_func innocuous_$ac_func
75297 /* System header to define __stub macros and hopefully few prototypes,
75298 which can conflict with char $ac_func (); below.
75299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75300 <limits.h> exists even on freestanding compilers. */
75302 #ifdef __STDC__
75303 # include <limits.h>
75304 #else
75305 # include <assert.h>
75306 #endif
75308 #undef $ac_func
75310 /* Override any gcc2 internal prototype to avoid an error. */
75311 #ifdef __cplusplus
75312 extern "C"
75314 #endif
75315 /* We use char because int might match the return type of a gcc2
75316 builtin and then its argument prototype would still apply. */
75317 char $ac_func ();
75318 /* The GNU C library defines this for functions which it implements
75319 to always fail with ENOSYS. Some functions are actually named
75320 something starting with __ and the normal name is an alias. */
75321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75322 choke me
75323 #else
75324 char (*f) () = $ac_func;
75325 #endif
75326 #ifdef __cplusplus
75328 #endif
75331 main ()
75333 return f != $ac_func;
75335 return 0;
75337 _ACEOF
75338 rm -f conftest.$ac_objext conftest$ac_exeext
75339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75340 (eval $ac_link) 2>conftest.er1
75341 ac_status=$?
75342 grep -v '^ *+' conftest.er1 >conftest.err
75343 rm -f conftest.er1
75344 cat conftest.err >&5
75345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75346 (exit $ac_status); } &&
75347 { ac_try='test -z "$ac_c_werror_flag"
75348 || test ! -s conftest.err'
75349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75350 (eval $ac_try) 2>&5
75351 ac_status=$?
75352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75353 (exit $ac_status); }; } &&
75354 { ac_try='test -s conftest$ac_exeext'
75355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75356 (eval $ac_try) 2>&5
75357 ac_status=$?
75358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75359 (exit $ac_status); }; }; then
75360 eval "$as_ac_var=yes"
75361 else
75362 echo "$as_me: failed program was:" >&5
75363 sed 's/^/| /' conftest.$ac_ext >&5
75365 eval "$as_ac_var=no"
75367 rm -f conftest.err conftest.$ac_objext \
75368 conftest$ac_exeext conftest.$ac_ext
75370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75372 if test `eval echo '${'$as_ac_var'}'` = yes; then
75373 cat >>confdefs.h <<_ACEOF
75374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75375 _ACEOF
75377 else
75378 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75380 done
75384 for ac_func in __signbit
75386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75387 echo "$as_me:$LINENO: checking for $ac_func" >&5
75388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75389 if eval "test \"\${$as_ac_var+set}\" = set"; then
75390 echo $ECHO_N "(cached) $ECHO_C" >&6
75391 else
75392 if test x$gcc_no_link = xyes; then
75393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75395 { (exit 1); exit 1; }; }
75397 cat >conftest.$ac_ext <<_ACEOF
75398 /* confdefs.h. */
75399 _ACEOF
75400 cat confdefs.h >>conftest.$ac_ext
75401 cat >>conftest.$ac_ext <<_ACEOF
75402 /* end confdefs.h. */
75403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75405 #define $ac_func innocuous_$ac_func
75407 /* System header to define __stub macros and hopefully few prototypes,
75408 which can conflict with char $ac_func (); below.
75409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75410 <limits.h> exists even on freestanding compilers. */
75412 #ifdef __STDC__
75413 # include <limits.h>
75414 #else
75415 # include <assert.h>
75416 #endif
75418 #undef $ac_func
75420 /* Override any gcc2 internal prototype to avoid an error. */
75421 #ifdef __cplusplus
75422 extern "C"
75424 #endif
75425 /* We use char because int might match the return type of a gcc2
75426 builtin and then its argument prototype would still apply. */
75427 char $ac_func ();
75428 /* The GNU C library defines this for functions which it implements
75429 to always fail with ENOSYS. Some functions are actually named
75430 something starting with __ and the normal name is an alias. */
75431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75432 choke me
75433 #else
75434 char (*f) () = $ac_func;
75435 #endif
75436 #ifdef __cplusplus
75438 #endif
75441 main ()
75443 return f != $ac_func;
75445 return 0;
75447 _ACEOF
75448 rm -f conftest.$ac_objext conftest$ac_exeext
75449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75450 (eval $ac_link) 2>conftest.er1
75451 ac_status=$?
75452 grep -v '^ *+' conftest.er1 >conftest.err
75453 rm -f conftest.er1
75454 cat conftest.err >&5
75455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75456 (exit $ac_status); } &&
75457 { ac_try='test -z "$ac_c_werror_flag"
75458 || test ! -s conftest.err'
75459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75460 (eval $ac_try) 2>&5
75461 ac_status=$?
75462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463 (exit $ac_status); }; } &&
75464 { ac_try='test -s conftest$ac_exeext'
75465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75466 (eval $ac_try) 2>&5
75467 ac_status=$?
75468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75469 (exit $ac_status); }; }; then
75470 eval "$as_ac_var=yes"
75471 else
75472 echo "$as_me: failed program was:" >&5
75473 sed 's/^/| /' conftest.$ac_ext >&5
75475 eval "$as_ac_var=no"
75477 rm -f conftest.err conftest.$ac_objext \
75478 conftest$ac_exeext conftest.$ac_ext
75480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75482 if test `eval echo '${'$as_ac_var'}'` = yes; then
75483 cat >>confdefs.h <<_ACEOF
75484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75485 _ACEOF
75487 else
75488 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75490 done
75494 for ac_func in __signbitf
75496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75497 echo "$as_me:$LINENO: checking for $ac_func" >&5
75498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75499 if eval "test \"\${$as_ac_var+set}\" = set"; then
75500 echo $ECHO_N "(cached) $ECHO_C" >&6
75501 else
75502 if test x$gcc_no_link = xyes; then
75503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75505 { (exit 1); exit 1; }; }
75507 cat >conftest.$ac_ext <<_ACEOF
75508 /* confdefs.h. */
75509 _ACEOF
75510 cat confdefs.h >>conftest.$ac_ext
75511 cat >>conftest.$ac_ext <<_ACEOF
75512 /* end confdefs.h. */
75513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75515 #define $ac_func innocuous_$ac_func
75517 /* System header to define __stub macros and hopefully few prototypes,
75518 which can conflict with char $ac_func (); below.
75519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75520 <limits.h> exists even on freestanding compilers. */
75522 #ifdef __STDC__
75523 # include <limits.h>
75524 #else
75525 # include <assert.h>
75526 #endif
75528 #undef $ac_func
75530 /* Override any gcc2 internal prototype to avoid an error. */
75531 #ifdef __cplusplus
75532 extern "C"
75534 #endif
75535 /* We use char because int might match the return type of a gcc2
75536 builtin and then its argument prototype would still apply. */
75537 char $ac_func ();
75538 /* The GNU C library defines this for functions which it implements
75539 to always fail with ENOSYS. Some functions are actually named
75540 something starting with __ and the normal name is an alias. */
75541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75542 choke me
75543 #else
75544 char (*f) () = $ac_func;
75545 #endif
75546 #ifdef __cplusplus
75548 #endif
75551 main ()
75553 return f != $ac_func;
75555 return 0;
75557 _ACEOF
75558 rm -f conftest.$ac_objext conftest$ac_exeext
75559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75560 (eval $ac_link) 2>conftest.er1
75561 ac_status=$?
75562 grep -v '^ *+' conftest.er1 >conftest.err
75563 rm -f conftest.er1
75564 cat conftest.err >&5
75565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75566 (exit $ac_status); } &&
75567 { ac_try='test -z "$ac_c_werror_flag"
75568 || test ! -s conftest.err'
75569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75570 (eval $ac_try) 2>&5
75571 ac_status=$?
75572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75573 (exit $ac_status); }; } &&
75574 { ac_try='test -s conftest$ac_exeext'
75575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75576 (eval $ac_try) 2>&5
75577 ac_status=$?
75578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75579 (exit $ac_status); }; }; then
75580 eval "$as_ac_var=yes"
75581 else
75582 echo "$as_me: failed program was:" >&5
75583 sed 's/^/| /' conftest.$ac_ext >&5
75585 eval "$as_ac_var=no"
75587 rm -f conftest.err conftest.$ac_objext \
75588 conftest$ac_exeext conftest.$ac_ext
75590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75592 if test `eval echo '${'$as_ac_var'}'` = yes; then
75593 cat >>confdefs.h <<_ACEOF
75594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75595 _ACEOF
75597 else
75598 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75600 done
75603 if test x$ac_cv_func_copysignl = x"yes"; then
75605 for ac_func in __signbitl
75607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75608 echo "$as_me:$LINENO: checking for $ac_func" >&5
75609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75610 if eval "test \"\${$as_ac_var+set}\" = set"; then
75611 echo $ECHO_N "(cached) $ECHO_C" >&6
75612 else
75613 if test x$gcc_no_link = xyes; then
75614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75616 { (exit 1); exit 1; }; }
75618 cat >conftest.$ac_ext <<_ACEOF
75619 /* confdefs.h. */
75620 _ACEOF
75621 cat confdefs.h >>conftest.$ac_ext
75622 cat >>conftest.$ac_ext <<_ACEOF
75623 /* end confdefs.h. */
75624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75626 #define $ac_func innocuous_$ac_func
75628 /* System header to define __stub macros and hopefully few prototypes,
75629 which can conflict with char $ac_func (); below.
75630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75631 <limits.h> exists even on freestanding compilers. */
75633 #ifdef __STDC__
75634 # include <limits.h>
75635 #else
75636 # include <assert.h>
75637 #endif
75639 #undef $ac_func
75641 /* Override any gcc2 internal prototype to avoid an error. */
75642 #ifdef __cplusplus
75643 extern "C"
75645 #endif
75646 /* We use char because int might match the return type of a gcc2
75647 builtin and then its argument prototype would still apply. */
75648 char $ac_func ();
75649 /* The GNU C library defines this for functions which it implements
75650 to always fail with ENOSYS. Some functions are actually named
75651 something starting with __ and the normal name is an alias. */
75652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75653 choke me
75654 #else
75655 char (*f) () = $ac_func;
75656 #endif
75657 #ifdef __cplusplus
75659 #endif
75662 main ()
75664 return f != $ac_func;
75666 return 0;
75668 _ACEOF
75669 rm -f conftest.$ac_objext conftest$ac_exeext
75670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75671 (eval $ac_link) 2>conftest.er1
75672 ac_status=$?
75673 grep -v '^ *+' conftest.er1 >conftest.err
75674 rm -f conftest.er1
75675 cat conftest.err >&5
75676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75677 (exit $ac_status); } &&
75678 { ac_try='test -z "$ac_c_werror_flag"
75679 || test ! -s conftest.err'
75680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75681 (eval $ac_try) 2>&5
75682 ac_status=$?
75683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75684 (exit $ac_status); }; } &&
75685 { ac_try='test -s conftest$ac_exeext'
75686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75687 (eval $ac_try) 2>&5
75688 ac_status=$?
75689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75690 (exit $ac_status); }; }; then
75691 eval "$as_ac_var=yes"
75692 else
75693 echo "$as_me: failed program was:" >&5
75694 sed 's/^/| /' conftest.$ac_ext >&5
75696 eval "$as_ac_var=no"
75698 rm -f conftest.err conftest.$ac_objext \
75699 conftest$ac_exeext conftest.$ac_ext
75701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75703 if test `eval echo '${'$as_ac_var'}'` = yes; then
75704 cat >>confdefs.h <<_ACEOF
75705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75706 _ACEOF
75708 else
75709 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75711 done
75715 # Used in libmath/Makefile.am.
75716 if test -n "$LIBMATHOBJS"; then
75717 need_libmath=yes
75723 enable_iconv=no
75724 # Only continue checking if the ISO C99 headers exist and support is on.
75725 if test x"$enable_wchar_t" = xyes; then
75727 # Use iconv for wchar_t to char conversions. As such, check for
75728 # X/Open Portability Guide, version 2 features (XPG2).
75729 if test "${ac_cv_header_iconv_h+set}" = set; then
75730 echo "$as_me:$LINENO: checking for iconv.h" >&5
75731 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75732 if test "${ac_cv_header_iconv_h+set}" = set; then
75733 echo $ECHO_N "(cached) $ECHO_C" >&6
75735 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75736 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75737 else
75738 # Is the header compilable?
75739 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75740 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75741 cat >conftest.$ac_ext <<_ACEOF
75742 /* confdefs.h. */
75743 _ACEOF
75744 cat confdefs.h >>conftest.$ac_ext
75745 cat >>conftest.$ac_ext <<_ACEOF
75746 /* end confdefs.h. */
75747 $ac_includes_default
75748 #include <iconv.h>
75749 _ACEOF
75750 rm -f conftest.$ac_objext
75751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75752 (eval $ac_compile) 2>conftest.er1
75753 ac_status=$?
75754 grep -v '^ *+' conftest.er1 >conftest.err
75755 rm -f conftest.er1
75756 cat conftest.err >&5
75757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75758 (exit $ac_status); } &&
75759 { ac_try='test -z "$ac_c_werror_flag"
75760 || test ! -s conftest.err'
75761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75762 (eval $ac_try) 2>&5
75763 ac_status=$?
75764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 (exit $ac_status); }; } &&
75766 { ac_try='test -s conftest.$ac_objext'
75767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75768 (eval $ac_try) 2>&5
75769 ac_status=$?
75770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75771 (exit $ac_status); }; }; then
75772 ac_header_compiler=yes
75773 else
75774 echo "$as_me: failed program was:" >&5
75775 sed 's/^/| /' conftest.$ac_ext >&5
75777 ac_header_compiler=no
75779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75781 echo "${ECHO_T}$ac_header_compiler" >&6
75783 # Is the header present?
75784 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75785 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75786 cat >conftest.$ac_ext <<_ACEOF
75787 /* confdefs.h. */
75788 _ACEOF
75789 cat confdefs.h >>conftest.$ac_ext
75790 cat >>conftest.$ac_ext <<_ACEOF
75791 /* end confdefs.h. */
75792 #include <iconv.h>
75793 _ACEOF
75794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75796 ac_status=$?
75797 grep -v '^ *+' conftest.er1 >conftest.err
75798 rm -f conftest.er1
75799 cat conftest.err >&5
75800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75801 (exit $ac_status); } >/dev/null; then
75802 if test -s conftest.err; then
75803 ac_cpp_err=$ac_c_preproc_warn_flag
75804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75805 else
75806 ac_cpp_err=
75808 else
75809 ac_cpp_err=yes
75811 if test -z "$ac_cpp_err"; then
75812 ac_header_preproc=yes
75813 else
75814 echo "$as_me: failed program was:" >&5
75815 sed 's/^/| /' conftest.$ac_ext >&5
75817 ac_header_preproc=no
75819 rm -f conftest.err conftest.$ac_ext
75820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75821 echo "${ECHO_T}$ac_header_preproc" >&6
75823 # So? What about this header?
75824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75825 yes:no: )
75826 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75827 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75828 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75829 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75830 ac_header_preproc=yes
75832 no:yes:* )
75833 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75834 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75835 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75836 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75837 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75838 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75839 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75840 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75841 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75842 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75843 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75844 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75846 cat <<\_ASBOX
75847 ## ----------------------------------------- ##
75848 ## Report this to the package-unused lists. ##
75849 ## ----------------------------------------- ##
75850 _ASBOX
75852 sed "s/^/$as_me: WARNING: /" >&2
75854 esac
75855 echo "$as_me:$LINENO: checking for iconv.h" >&5
75856 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75857 if test "${ac_cv_header_iconv_h+set}" = set; then
75858 echo $ECHO_N "(cached) $ECHO_C" >&6
75859 else
75860 ac_cv_header_iconv_h=$ac_header_preproc
75862 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75863 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75866 if test $ac_cv_header_iconv_h = yes; then
75867 ac_has_iconv_h=yes
75868 else
75869 ac_has_iconv_h=no
75873 if test "${ac_cv_header_langinfo_h+set}" = set; then
75874 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75875 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75876 if test "${ac_cv_header_langinfo_h+set}" = set; then
75877 echo $ECHO_N "(cached) $ECHO_C" >&6
75879 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75880 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75881 else
75882 # Is the header compilable?
75883 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75884 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75885 cat >conftest.$ac_ext <<_ACEOF
75886 /* confdefs.h. */
75887 _ACEOF
75888 cat confdefs.h >>conftest.$ac_ext
75889 cat >>conftest.$ac_ext <<_ACEOF
75890 /* end confdefs.h. */
75891 $ac_includes_default
75892 #include <langinfo.h>
75893 _ACEOF
75894 rm -f conftest.$ac_objext
75895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75896 (eval $ac_compile) 2>conftest.er1
75897 ac_status=$?
75898 grep -v '^ *+' conftest.er1 >conftest.err
75899 rm -f conftest.er1
75900 cat conftest.err >&5
75901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75902 (exit $ac_status); } &&
75903 { ac_try='test -z "$ac_c_werror_flag"
75904 || test ! -s conftest.err'
75905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75906 (eval $ac_try) 2>&5
75907 ac_status=$?
75908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75909 (exit $ac_status); }; } &&
75910 { ac_try='test -s conftest.$ac_objext'
75911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75912 (eval $ac_try) 2>&5
75913 ac_status=$?
75914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75915 (exit $ac_status); }; }; then
75916 ac_header_compiler=yes
75917 else
75918 echo "$as_me: failed program was:" >&5
75919 sed 's/^/| /' conftest.$ac_ext >&5
75921 ac_header_compiler=no
75923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75925 echo "${ECHO_T}$ac_header_compiler" >&6
75927 # Is the header present?
75928 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75929 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75930 cat >conftest.$ac_ext <<_ACEOF
75931 /* confdefs.h. */
75932 _ACEOF
75933 cat confdefs.h >>conftest.$ac_ext
75934 cat >>conftest.$ac_ext <<_ACEOF
75935 /* end confdefs.h. */
75936 #include <langinfo.h>
75937 _ACEOF
75938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75940 ac_status=$?
75941 grep -v '^ *+' conftest.er1 >conftest.err
75942 rm -f conftest.er1
75943 cat conftest.err >&5
75944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75945 (exit $ac_status); } >/dev/null; then
75946 if test -s conftest.err; then
75947 ac_cpp_err=$ac_c_preproc_warn_flag
75948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75949 else
75950 ac_cpp_err=
75952 else
75953 ac_cpp_err=yes
75955 if test -z "$ac_cpp_err"; then
75956 ac_header_preproc=yes
75957 else
75958 echo "$as_me: failed program was:" >&5
75959 sed 's/^/| /' conftest.$ac_ext >&5
75961 ac_header_preproc=no
75963 rm -f conftest.err conftest.$ac_ext
75964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75965 echo "${ECHO_T}$ac_header_preproc" >&6
75967 # So? What about this header?
75968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75969 yes:no: )
75970 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75971 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75972 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75973 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75974 ac_header_preproc=yes
75976 no:yes:* )
75977 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75978 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75979 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75980 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75981 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75982 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75983 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75984 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75985 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75986 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75987 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75988 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75990 cat <<\_ASBOX
75991 ## ----------------------------------------- ##
75992 ## Report this to the package-unused lists. ##
75993 ## ----------------------------------------- ##
75994 _ASBOX
75996 sed "s/^/$as_me: WARNING: /" >&2
75998 esac
75999 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76000 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76001 if test "${ac_cv_header_langinfo_h+set}" = set; then
76002 echo $ECHO_N "(cached) $ECHO_C" >&6
76003 else
76004 ac_cv_header_langinfo_h=$ac_header_preproc
76006 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76007 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76010 if test $ac_cv_header_langinfo_h = yes; then
76011 ac_has_langinfo_h=yes
76012 else
76013 ac_has_langinfo_h=no
76018 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76019 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76020 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76021 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76022 echo $ECHO_N "(cached) $ECHO_C" >&6
76023 else
76024 ac_check_lib_save_LIBS=$LIBS
76025 LIBS="-liconv $LIBS"
76026 if test x$gcc_no_link = xyes; then
76027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76029 { (exit 1); exit 1; }; }
76031 cat >conftest.$ac_ext <<_ACEOF
76032 /* confdefs.h. */
76033 _ACEOF
76034 cat confdefs.h >>conftest.$ac_ext
76035 cat >>conftest.$ac_ext <<_ACEOF
76036 /* end confdefs.h. */
76038 /* Override any gcc2 internal prototype to avoid an error. */
76039 #ifdef __cplusplus
76040 extern "C"
76041 #endif
76042 /* We use char because int might match the return type of a gcc2
76043 builtin and then its argument prototype would still apply. */
76044 char iconv ();
76046 main ()
76048 iconv ();
76050 return 0;
76052 _ACEOF
76053 rm -f conftest.$ac_objext conftest$ac_exeext
76054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76055 (eval $ac_link) 2>conftest.er1
76056 ac_status=$?
76057 grep -v '^ *+' conftest.er1 >conftest.err
76058 rm -f conftest.er1
76059 cat conftest.err >&5
76060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76061 (exit $ac_status); } &&
76062 { ac_try='test -z "$ac_c_werror_flag"
76063 || test ! -s conftest.err'
76064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76065 (eval $ac_try) 2>&5
76066 ac_status=$?
76067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76068 (exit $ac_status); }; } &&
76069 { ac_try='test -s conftest$ac_exeext'
76070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76071 (eval $ac_try) 2>&5
76072 ac_status=$?
76073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76074 (exit $ac_status); }; }; then
76075 ac_cv_lib_iconv_iconv=yes
76076 else
76077 echo "$as_me: failed program was:" >&5
76078 sed 's/^/| /' conftest.$ac_ext >&5
76080 ac_cv_lib_iconv_iconv=no
76082 rm -f conftest.err conftest.$ac_objext \
76083 conftest$ac_exeext conftest.$ac_ext
76084 LIBS=$ac_check_lib_save_LIBS
76086 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76087 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76088 if test $ac_cv_lib_iconv_iconv = yes; then
76089 LIBICONV="-liconv"
76092 ac_save_LIBS="$LIBS"
76093 LIBS="$LIBS $LIBICONV"
76100 for ac_func in iconv_open iconv_close iconv nl_langinfo
76102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76103 echo "$as_me:$LINENO: checking for $ac_func" >&5
76104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76105 if eval "test \"\${$as_ac_var+set}\" = set"; then
76106 echo $ECHO_N "(cached) $ECHO_C" >&6
76107 else
76108 if test x$gcc_no_link = xyes; then
76109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76111 { (exit 1); exit 1; }; }
76113 cat >conftest.$ac_ext <<_ACEOF
76114 /* confdefs.h. */
76115 _ACEOF
76116 cat confdefs.h >>conftest.$ac_ext
76117 cat >>conftest.$ac_ext <<_ACEOF
76118 /* end confdefs.h. */
76119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76121 #define $ac_func innocuous_$ac_func
76123 /* System header to define __stub macros and hopefully few prototypes,
76124 which can conflict with char $ac_func (); below.
76125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76126 <limits.h> exists even on freestanding compilers. */
76128 #ifdef __STDC__
76129 # include <limits.h>
76130 #else
76131 # include <assert.h>
76132 #endif
76134 #undef $ac_func
76136 /* Override any gcc2 internal prototype to avoid an error. */
76137 #ifdef __cplusplus
76138 extern "C"
76140 #endif
76141 /* We use char because int might match the return type of a gcc2
76142 builtin and then its argument prototype would still apply. */
76143 char $ac_func ();
76144 /* The GNU C library defines this for functions which it implements
76145 to always fail with ENOSYS. Some functions are actually named
76146 something starting with __ and the normal name is an alias. */
76147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76148 choke me
76149 #else
76150 char (*f) () = $ac_func;
76151 #endif
76152 #ifdef __cplusplus
76154 #endif
76157 main ()
76159 return f != $ac_func;
76161 return 0;
76163 _ACEOF
76164 rm -f conftest.$ac_objext conftest$ac_exeext
76165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76166 (eval $ac_link) 2>conftest.er1
76167 ac_status=$?
76168 grep -v '^ *+' conftest.er1 >conftest.err
76169 rm -f conftest.er1
76170 cat conftest.err >&5
76171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76172 (exit $ac_status); } &&
76173 { ac_try='test -z "$ac_c_werror_flag"
76174 || test ! -s conftest.err'
76175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76176 (eval $ac_try) 2>&5
76177 ac_status=$?
76178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76179 (exit $ac_status); }; } &&
76180 { ac_try='test -s conftest$ac_exeext'
76181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76182 (eval $ac_try) 2>&5
76183 ac_status=$?
76184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76185 (exit $ac_status); }; }; then
76186 eval "$as_ac_var=yes"
76187 else
76188 echo "$as_me: failed program was:" >&5
76189 sed 's/^/| /' conftest.$ac_ext >&5
76191 eval "$as_ac_var=no"
76193 rm -f conftest.err conftest.$ac_objext \
76194 conftest$ac_exeext conftest.$ac_ext
76196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76198 if test `eval echo '${'$as_ac_var'}'` = yes; then
76199 cat >>confdefs.h <<_ACEOF
76200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76201 _ACEOF
76202 ac_XPG2funcs=yes
76203 else
76204 ac_XPG2funcs=no
76206 done
76209 LIBS="$ac_save_LIBS"
76211 if test x"$ac_has_iconv_h" = xyes &&
76212 test x"$ac_has_langinfo_h" = xyes &&
76213 test x"$ac_XPG2funcs" = xyes;
76214 then
76216 cat >>confdefs.h <<\_ACEOF
76217 #define _GLIBCXX_USE_ICONV 1
76218 _ACEOF
76220 enable_iconv=yes
76223 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76224 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76225 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76226 echo "${ECHO_T}$enable_iconv" >&6
76228 cat >>confdefs.h <<\_ACEOF
76229 #define HAVE_COPYSIGN 1
76230 _ACEOF
76232 cat >>confdefs.h <<\_ACEOF
76233 #define HAVE_COPYSIGNF 1
76234 _ACEOF
76236 cat >>confdefs.h <<\_ACEOF
76237 #define HAVE_FREXPF 1
76238 _ACEOF
76240 cat >>confdefs.h <<\_ACEOF
76241 #define HAVE_HYPOT 1
76242 _ACEOF
76244 case "$target" in
76245 *-hpux10*)
76246 cat >>confdefs.h <<\_ACEOF
76247 #define HAVE_FINITE 1
76248 _ACEOF
76250 cat >>confdefs.h <<\_ACEOF
76251 #define HAVE_FINITEF 1
76252 _ACEOF
76254 cat >>confdefs.h <<\_ACEOF
76255 #define HAVE_ISINF 1
76256 _ACEOF
76258 cat >>confdefs.h <<\_ACEOF
76259 #define HAVE_ISINFF 1
76260 _ACEOF
76262 cat >>confdefs.h <<\_ACEOF
76263 #define HAVE_ISNAN 1
76264 _ACEOF
76266 cat >>confdefs.h <<\_ACEOF
76267 #define HAVE_ISNANF 1
76268 _ACEOF
76271 esac
76273 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76289 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76290 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76291 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76295 echo "$as_me:$LINENO: checking for $ac_header" >&5
76296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76298 echo $ECHO_N "(cached) $ECHO_C" >&6
76300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76302 else
76303 # Is the header compilable?
76304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76306 cat >conftest.$ac_ext <<_ACEOF
76307 /* confdefs.h. */
76308 _ACEOF
76309 cat confdefs.h >>conftest.$ac_ext
76310 cat >>conftest.$ac_ext <<_ACEOF
76311 /* end confdefs.h. */
76312 $ac_includes_default
76313 #include <$ac_header>
76314 _ACEOF
76315 rm -f conftest.$ac_objext
76316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76317 (eval $ac_compile) 2>conftest.er1
76318 ac_status=$?
76319 grep -v '^ *+' conftest.er1 >conftest.err
76320 rm -f conftest.er1
76321 cat conftest.err >&5
76322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323 (exit $ac_status); } &&
76324 { ac_try='test -z "$ac_c_werror_flag"
76325 || test ! -s conftest.err'
76326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76327 (eval $ac_try) 2>&5
76328 ac_status=$?
76329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76330 (exit $ac_status); }; } &&
76331 { ac_try='test -s conftest.$ac_objext'
76332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76333 (eval $ac_try) 2>&5
76334 ac_status=$?
76335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76336 (exit $ac_status); }; }; then
76337 ac_header_compiler=yes
76338 else
76339 echo "$as_me: failed program was:" >&5
76340 sed 's/^/| /' conftest.$ac_ext >&5
76342 ac_header_compiler=no
76344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76346 echo "${ECHO_T}$ac_header_compiler" >&6
76348 # Is the header present?
76349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76351 cat >conftest.$ac_ext <<_ACEOF
76352 /* confdefs.h. */
76353 _ACEOF
76354 cat confdefs.h >>conftest.$ac_ext
76355 cat >>conftest.$ac_ext <<_ACEOF
76356 /* end confdefs.h. */
76357 #include <$ac_header>
76358 _ACEOF
76359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76361 ac_status=$?
76362 grep -v '^ *+' conftest.er1 >conftest.err
76363 rm -f conftest.er1
76364 cat conftest.err >&5
76365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366 (exit $ac_status); } >/dev/null; then
76367 if test -s conftest.err; then
76368 ac_cpp_err=$ac_c_preproc_warn_flag
76369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76370 else
76371 ac_cpp_err=
76373 else
76374 ac_cpp_err=yes
76376 if test -z "$ac_cpp_err"; then
76377 ac_header_preproc=yes
76378 else
76379 echo "$as_me: failed program was:" >&5
76380 sed 's/^/| /' conftest.$ac_ext >&5
76382 ac_header_preproc=no
76384 rm -f conftest.err conftest.$ac_ext
76385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76386 echo "${ECHO_T}$ac_header_preproc" >&6
76388 # So? What about this header?
76389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76390 yes:no: )
76391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76394 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76395 ac_header_preproc=yes
76397 no:yes:* )
76398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76402 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76403 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76404 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76405 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76408 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76409 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76411 cat <<\_ASBOX
76412 ## ----------------------------------------- ##
76413 ## Report this to the package-unused lists. ##
76414 ## ----------------------------------------- ##
76415 _ASBOX
76417 sed "s/^/$as_me: WARNING: /" >&2
76419 esac
76420 echo "$as_me:$LINENO: checking for $ac_header" >&5
76421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76423 echo $ECHO_N "(cached) $ECHO_C" >&6
76424 else
76425 eval "$as_ac_Header=\$ac_header_preproc"
76427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76432 cat >>confdefs.h <<_ACEOF
76433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76434 _ACEOF
76438 done
76440 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76443 # If we're not using GNU ld, then there's no point in even trying these
76444 # tests. Check for that first. We should have already tested for gld
76445 # by now (in libtool), but require it now just to be safe...
76446 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76447 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76451 # The name set by libtool depends on the version of libtool. Shame on us
76452 # for depending on an impl detail, but c'est la vie. Older versions used
76453 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76454 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76455 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76456 # set (hence we're using an older libtool), then set it.
76457 if test x${with_gnu_ld+set} != xset; then
76458 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76459 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76460 with_gnu_ld=no
76461 else
76462 with_gnu_ld=$ac_cv_prog_gnu_ld
76466 # Start by getting the version number. I think the libtool test already
76467 # does some of this, but throws away the result.
76469 ldver=`$LD --version 2>/dev/null | head -1 | \
76470 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76472 glibcxx_gnu_ld_version=`echo $ldver | \
76473 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76475 # Set --gc-sections.
76476 if test "$with_gnu_ld" = "notbroken"; then
76477 # GNU ld it is! Joy and bunny rabbits!
76479 # All these tests are for C++; save the language and the compiler flags.
76480 # Need to do this so that g++ won't try to link in libstdc++
76481 ac_test_CFLAGS="${CFLAGS+set}"
76482 ac_save_CFLAGS="$CFLAGS"
76483 CFLAGS='-x c++ -Wl,--gc-sections'
76485 # Check for -Wl,--gc-sections
76486 # XXX This test is broken at the moment, as symbols required for linking
76487 # are now in libsupc++ (not built yet). In addition, this test has
76488 # cored on solaris in the past. In addition, --gc-sections doesn't
76489 # really work at the moment (keeps on discarding used sections, first
76490 # .eh_frame and now some of the glibc sections for iconv).
76491 # Bzzzzt. Thanks for playing, maybe next time.
76492 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76493 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76494 if test "$cross_compiling" = yes; then
76495 ac_sectionLDflags=yes
76496 else
76497 cat >conftest.$ac_ext <<_ACEOF
76498 /* confdefs.h. */
76499 _ACEOF
76500 cat confdefs.h >>conftest.$ac_ext
76501 cat >>conftest.$ac_ext <<_ACEOF
76502 /* end confdefs.h. */
76504 int main(void)
76506 try { throw 1; }
76507 catch (...) { };
76508 return 0;
76511 _ACEOF
76512 rm -f conftest$ac_exeext
76513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76514 (eval $ac_link) 2>&5
76515 ac_status=$?
76516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76519 (eval $ac_try) 2>&5
76520 ac_status=$?
76521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76522 (exit $ac_status); }; }; then
76523 ac_sectionLDflags=yes
76524 else
76525 echo "$as_me: program exited with status $ac_status" >&5
76526 echo "$as_me: failed program was:" >&5
76527 sed 's/^/| /' conftest.$ac_ext >&5
76529 ( exit $ac_status )
76530 ac_sectionLDflags=no
76532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76534 if test "$ac_test_CFLAGS" = set; then
76535 CFLAGS="$ac_save_CFLAGS"
76536 else
76537 # this is the suspicious part
76538 CFLAGS=''
76540 if test "$ac_sectionLDflags" = "yes"; then
76541 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76543 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
76544 echo "${ECHO_T}$ac_sectionLDflags" >&6
76547 # Set linker optimization flags.
76548 if test x"$with_gnu_ld" = x"yes"; then
76549 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76557 echo "$as_me:$LINENO: checking for main in -lm" >&5
76558 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76559 if test "${ac_cv_lib_m_main+set}" = set; then
76560 echo $ECHO_N "(cached) $ECHO_C" >&6
76561 else
76562 ac_check_lib_save_LIBS=$LIBS
76563 LIBS="-lm $LIBS"
76564 if test x$gcc_no_link = xyes; then
76565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76567 { (exit 1); exit 1; }; }
76569 cat >conftest.$ac_ext <<_ACEOF
76570 /* confdefs.h. */
76571 _ACEOF
76572 cat confdefs.h >>conftest.$ac_ext
76573 cat >>conftest.$ac_ext <<_ACEOF
76574 /* end confdefs.h. */
76578 main ()
76580 main ();
76582 return 0;
76584 _ACEOF
76585 rm -f conftest.$ac_objext conftest$ac_exeext
76586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76587 (eval $ac_link) 2>conftest.er1
76588 ac_status=$?
76589 grep -v '^ *+' conftest.er1 >conftest.err
76590 rm -f conftest.er1
76591 cat conftest.err >&5
76592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76593 (exit $ac_status); } &&
76594 { ac_try='test -z "$ac_c_werror_flag"
76595 || test ! -s conftest.err'
76596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76597 (eval $ac_try) 2>&5
76598 ac_status=$?
76599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76600 (exit $ac_status); }; } &&
76601 { ac_try='test -s conftest$ac_exeext'
76602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76603 (eval $ac_try) 2>&5
76604 ac_status=$?
76605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76606 (exit $ac_status); }; }; then
76607 ac_cv_lib_m_main=yes
76608 else
76609 echo "$as_me: failed program was:" >&5
76610 sed 's/^/| /' conftest.$ac_ext >&5
76612 ac_cv_lib_m_main=no
76614 rm -f conftest.err conftest.$ac_objext \
76615 conftest$ac_exeext conftest.$ac_ext
76616 LIBS=$ac_check_lib_save_LIBS
76618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76619 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76620 if test $ac_cv_lib_m_main = yes; then
76621 cat >>confdefs.h <<_ACEOF
76622 #define HAVE_LIBM 1
76623 _ACEOF
76625 LIBS="-lm $LIBS"
76630 for ac_func in copysignf
76632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76633 echo "$as_me:$LINENO: checking for $ac_func" >&5
76634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76635 if eval "test \"\${$as_ac_var+set}\" = set"; then
76636 echo $ECHO_N "(cached) $ECHO_C" >&6
76637 else
76638 if test x$gcc_no_link = xyes; then
76639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76641 { (exit 1); exit 1; }; }
76643 cat >conftest.$ac_ext <<_ACEOF
76644 /* confdefs.h. */
76645 _ACEOF
76646 cat confdefs.h >>conftest.$ac_ext
76647 cat >>conftest.$ac_ext <<_ACEOF
76648 /* end confdefs.h. */
76649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76651 #define $ac_func innocuous_$ac_func
76653 /* System header to define __stub macros and hopefully few prototypes,
76654 which can conflict with char $ac_func (); below.
76655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76656 <limits.h> exists even on freestanding compilers. */
76658 #ifdef __STDC__
76659 # include <limits.h>
76660 #else
76661 # include <assert.h>
76662 #endif
76664 #undef $ac_func
76666 /* Override any gcc2 internal prototype to avoid an error. */
76667 #ifdef __cplusplus
76668 extern "C"
76670 #endif
76671 /* We use char because int might match the return type of a gcc2
76672 builtin and then its argument prototype would still apply. */
76673 char $ac_func ();
76674 /* The GNU C library defines this for functions which it implements
76675 to always fail with ENOSYS. Some functions are actually named
76676 something starting with __ and the normal name is an alias. */
76677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76678 choke me
76679 #else
76680 char (*f) () = $ac_func;
76681 #endif
76682 #ifdef __cplusplus
76684 #endif
76687 main ()
76689 return f != $ac_func;
76691 return 0;
76693 _ACEOF
76694 rm -f conftest.$ac_objext conftest$ac_exeext
76695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76696 (eval $ac_link) 2>conftest.er1
76697 ac_status=$?
76698 grep -v '^ *+' conftest.er1 >conftest.err
76699 rm -f conftest.er1
76700 cat conftest.err >&5
76701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76702 (exit $ac_status); } &&
76703 { ac_try='test -z "$ac_c_werror_flag"
76704 || test ! -s conftest.err'
76705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76706 (eval $ac_try) 2>&5
76707 ac_status=$?
76708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76709 (exit $ac_status); }; } &&
76710 { ac_try='test -s conftest$ac_exeext'
76711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76712 (eval $ac_try) 2>&5
76713 ac_status=$?
76714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76715 (exit $ac_status); }; }; then
76716 eval "$as_ac_var=yes"
76717 else
76718 echo "$as_me: failed program was:" >&5
76719 sed 's/^/| /' conftest.$ac_ext >&5
76721 eval "$as_ac_var=no"
76723 rm -f conftest.err conftest.$ac_objext \
76724 conftest$ac_exeext conftest.$ac_ext
76726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76728 if test `eval echo '${'$as_ac_var'}'` = yes; then
76729 cat >>confdefs.h <<_ACEOF
76730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76731 _ACEOF
76733 else
76734 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76736 done
76740 for ac_func in __signbit
76742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76743 echo "$as_me:$LINENO: checking for $ac_func" >&5
76744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76745 if eval "test \"\${$as_ac_var+set}\" = set"; then
76746 echo $ECHO_N "(cached) $ECHO_C" >&6
76747 else
76748 if test x$gcc_no_link = xyes; then
76749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76751 { (exit 1); exit 1; }; }
76753 cat >conftest.$ac_ext <<_ACEOF
76754 /* confdefs.h. */
76755 _ACEOF
76756 cat confdefs.h >>conftest.$ac_ext
76757 cat >>conftest.$ac_ext <<_ACEOF
76758 /* end confdefs.h. */
76759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76761 #define $ac_func innocuous_$ac_func
76763 /* System header to define __stub macros and hopefully few prototypes,
76764 which can conflict with char $ac_func (); below.
76765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76766 <limits.h> exists even on freestanding compilers. */
76768 #ifdef __STDC__
76769 # include <limits.h>
76770 #else
76771 # include <assert.h>
76772 #endif
76774 #undef $ac_func
76776 /* Override any gcc2 internal prototype to avoid an error. */
76777 #ifdef __cplusplus
76778 extern "C"
76780 #endif
76781 /* We use char because int might match the return type of a gcc2
76782 builtin and then its argument prototype would still apply. */
76783 char $ac_func ();
76784 /* The GNU C library defines this for functions which it implements
76785 to always fail with ENOSYS. Some functions are actually named
76786 something starting with __ and the normal name is an alias. */
76787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76788 choke me
76789 #else
76790 char (*f) () = $ac_func;
76791 #endif
76792 #ifdef __cplusplus
76794 #endif
76797 main ()
76799 return f != $ac_func;
76801 return 0;
76803 _ACEOF
76804 rm -f conftest.$ac_objext conftest$ac_exeext
76805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76806 (eval $ac_link) 2>conftest.er1
76807 ac_status=$?
76808 grep -v '^ *+' conftest.er1 >conftest.err
76809 rm -f conftest.er1
76810 cat conftest.err >&5
76811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76812 (exit $ac_status); } &&
76813 { ac_try='test -z "$ac_c_werror_flag"
76814 || test ! -s conftest.err'
76815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76816 (eval $ac_try) 2>&5
76817 ac_status=$?
76818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76819 (exit $ac_status); }; } &&
76820 { ac_try='test -s conftest$ac_exeext'
76821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76822 (eval $ac_try) 2>&5
76823 ac_status=$?
76824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76825 (exit $ac_status); }; }; then
76826 eval "$as_ac_var=yes"
76827 else
76828 echo "$as_me: failed program was:" >&5
76829 sed 's/^/| /' conftest.$ac_ext >&5
76831 eval "$as_ac_var=no"
76833 rm -f conftest.err conftest.$ac_objext \
76834 conftest$ac_exeext conftest.$ac_ext
76836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76838 if test `eval echo '${'$as_ac_var'}'` = yes; then
76839 cat >>confdefs.h <<_ACEOF
76840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76841 _ACEOF
76843 else
76844 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76846 done
76850 for ac_func in __signbitf
76852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76853 echo "$as_me:$LINENO: checking for $ac_func" >&5
76854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76855 if eval "test \"\${$as_ac_var+set}\" = set"; then
76856 echo $ECHO_N "(cached) $ECHO_C" >&6
76857 else
76858 if test x$gcc_no_link = xyes; then
76859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76861 { (exit 1); exit 1; }; }
76863 cat >conftest.$ac_ext <<_ACEOF
76864 /* confdefs.h. */
76865 _ACEOF
76866 cat confdefs.h >>conftest.$ac_ext
76867 cat >>conftest.$ac_ext <<_ACEOF
76868 /* end confdefs.h. */
76869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76871 #define $ac_func innocuous_$ac_func
76873 /* System header to define __stub macros and hopefully few prototypes,
76874 which can conflict with char $ac_func (); below.
76875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76876 <limits.h> exists even on freestanding compilers. */
76878 #ifdef __STDC__
76879 # include <limits.h>
76880 #else
76881 # include <assert.h>
76882 #endif
76884 #undef $ac_func
76886 /* Override any gcc2 internal prototype to avoid an error. */
76887 #ifdef __cplusplus
76888 extern "C"
76890 #endif
76891 /* We use char because int might match the return type of a gcc2
76892 builtin and then its argument prototype would still apply. */
76893 char $ac_func ();
76894 /* The GNU C library defines this for functions which it implements
76895 to always fail with ENOSYS. Some functions are actually named
76896 something starting with __ and the normal name is an alias. */
76897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76898 choke me
76899 #else
76900 char (*f) () = $ac_func;
76901 #endif
76902 #ifdef __cplusplus
76904 #endif
76907 main ()
76909 return f != $ac_func;
76911 return 0;
76913 _ACEOF
76914 rm -f conftest.$ac_objext conftest$ac_exeext
76915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76916 (eval $ac_link) 2>conftest.er1
76917 ac_status=$?
76918 grep -v '^ *+' conftest.er1 >conftest.err
76919 rm -f conftest.er1
76920 cat conftest.err >&5
76921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76922 (exit $ac_status); } &&
76923 { ac_try='test -z "$ac_c_werror_flag"
76924 || test ! -s conftest.err'
76925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926 (eval $ac_try) 2>&5
76927 ac_status=$?
76928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929 (exit $ac_status); }; } &&
76930 { ac_try='test -s conftest$ac_exeext'
76931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76932 (eval $ac_try) 2>&5
76933 ac_status=$?
76934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76935 (exit $ac_status); }; }; then
76936 eval "$as_ac_var=yes"
76937 else
76938 echo "$as_me: failed program was:" >&5
76939 sed 's/^/| /' conftest.$ac_ext >&5
76941 eval "$as_ac_var=no"
76943 rm -f conftest.err conftest.$ac_objext \
76944 conftest$ac_exeext conftest.$ac_ext
76946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76948 if test `eval echo '${'$as_ac_var'}'` = yes; then
76949 cat >>confdefs.h <<_ACEOF
76950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76951 _ACEOF
76953 else
76954 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76956 done
76959 if test x$ac_cv_func_copysignl = x"yes"; then
76961 for ac_func in __signbitl
76963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76964 echo "$as_me:$LINENO: checking for $ac_func" >&5
76965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76966 if eval "test \"\${$as_ac_var+set}\" = set"; then
76967 echo $ECHO_N "(cached) $ECHO_C" >&6
76968 else
76969 if test x$gcc_no_link = xyes; then
76970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76972 { (exit 1); exit 1; }; }
76974 cat >conftest.$ac_ext <<_ACEOF
76975 /* confdefs.h. */
76976 _ACEOF
76977 cat confdefs.h >>conftest.$ac_ext
76978 cat >>conftest.$ac_ext <<_ACEOF
76979 /* end confdefs.h. */
76980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76982 #define $ac_func innocuous_$ac_func
76984 /* System header to define __stub macros and hopefully few prototypes,
76985 which can conflict with char $ac_func (); below.
76986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76987 <limits.h> exists even on freestanding compilers. */
76989 #ifdef __STDC__
76990 # include <limits.h>
76991 #else
76992 # include <assert.h>
76993 #endif
76995 #undef $ac_func
76997 /* Override any gcc2 internal prototype to avoid an error. */
76998 #ifdef __cplusplus
76999 extern "C"
77001 #endif
77002 /* We use char because int might match the return type of a gcc2
77003 builtin and then its argument prototype would still apply. */
77004 char $ac_func ();
77005 /* The GNU C library defines this for functions which it implements
77006 to always fail with ENOSYS. Some functions are actually named
77007 something starting with __ and the normal name is an alias. */
77008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77009 choke me
77010 #else
77011 char (*f) () = $ac_func;
77012 #endif
77013 #ifdef __cplusplus
77015 #endif
77018 main ()
77020 return f != $ac_func;
77022 return 0;
77024 _ACEOF
77025 rm -f conftest.$ac_objext conftest$ac_exeext
77026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77027 (eval $ac_link) 2>conftest.er1
77028 ac_status=$?
77029 grep -v '^ *+' conftest.er1 >conftest.err
77030 rm -f conftest.er1
77031 cat conftest.err >&5
77032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77033 (exit $ac_status); } &&
77034 { ac_try='test -z "$ac_c_werror_flag"
77035 || test ! -s conftest.err'
77036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77037 (eval $ac_try) 2>&5
77038 ac_status=$?
77039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77040 (exit $ac_status); }; } &&
77041 { ac_try='test -s conftest$ac_exeext'
77042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77043 (eval $ac_try) 2>&5
77044 ac_status=$?
77045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77046 (exit $ac_status); }; }; then
77047 eval "$as_ac_var=yes"
77048 else
77049 echo "$as_me: failed program was:" >&5
77050 sed 's/^/| /' conftest.$ac_ext >&5
77052 eval "$as_ac_var=no"
77054 rm -f conftest.err conftest.$ac_objext \
77055 conftest$ac_exeext conftest.$ac_ext
77057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77059 if test `eval echo '${'$as_ac_var'}'` = yes; then
77060 cat >>confdefs.h <<_ACEOF
77061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77062 _ACEOF
77064 else
77065 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77067 done
77071 # Used in libmath/Makefile.am.
77072 if test -n "$LIBMATHOBJS"; then
77073 need_libmath=yes
77079 enable_iconv=no
77080 # Only continue checking if the ISO C99 headers exist and support is on.
77081 if test x"$enable_wchar_t" = xyes; then
77083 # Use iconv for wchar_t to char conversions. As such, check for
77084 # X/Open Portability Guide, version 2 features (XPG2).
77085 if test "${ac_cv_header_iconv_h+set}" = set; then
77086 echo "$as_me:$LINENO: checking for iconv.h" >&5
77087 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77088 if test "${ac_cv_header_iconv_h+set}" = set; then
77089 echo $ECHO_N "(cached) $ECHO_C" >&6
77091 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77092 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77093 else
77094 # Is the header compilable?
77095 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77096 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77097 cat >conftest.$ac_ext <<_ACEOF
77098 /* confdefs.h. */
77099 _ACEOF
77100 cat confdefs.h >>conftest.$ac_ext
77101 cat >>conftest.$ac_ext <<_ACEOF
77102 /* end confdefs.h. */
77103 $ac_includes_default
77104 #include <iconv.h>
77105 _ACEOF
77106 rm -f conftest.$ac_objext
77107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77108 (eval $ac_compile) 2>conftest.er1
77109 ac_status=$?
77110 grep -v '^ *+' conftest.er1 >conftest.err
77111 rm -f conftest.er1
77112 cat conftest.err >&5
77113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77114 (exit $ac_status); } &&
77115 { ac_try='test -z "$ac_c_werror_flag"
77116 || test ! -s conftest.err'
77117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77118 (eval $ac_try) 2>&5
77119 ac_status=$?
77120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77121 (exit $ac_status); }; } &&
77122 { ac_try='test -s conftest.$ac_objext'
77123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77124 (eval $ac_try) 2>&5
77125 ac_status=$?
77126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77127 (exit $ac_status); }; }; then
77128 ac_header_compiler=yes
77129 else
77130 echo "$as_me: failed program was:" >&5
77131 sed 's/^/| /' conftest.$ac_ext >&5
77133 ac_header_compiler=no
77135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77137 echo "${ECHO_T}$ac_header_compiler" >&6
77139 # Is the header present?
77140 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77141 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77142 cat >conftest.$ac_ext <<_ACEOF
77143 /* confdefs.h. */
77144 _ACEOF
77145 cat confdefs.h >>conftest.$ac_ext
77146 cat >>conftest.$ac_ext <<_ACEOF
77147 /* end confdefs.h. */
77148 #include <iconv.h>
77149 _ACEOF
77150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77152 ac_status=$?
77153 grep -v '^ *+' conftest.er1 >conftest.err
77154 rm -f conftest.er1
77155 cat conftest.err >&5
77156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77157 (exit $ac_status); } >/dev/null; then
77158 if test -s conftest.err; then
77159 ac_cpp_err=$ac_c_preproc_warn_flag
77160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77161 else
77162 ac_cpp_err=
77164 else
77165 ac_cpp_err=yes
77167 if test -z "$ac_cpp_err"; then
77168 ac_header_preproc=yes
77169 else
77170 echo "$as_me: failed program was:" >&5
77171 sed 's/^/| /' conftest.$ac_ext >&5
77173 ac_header_preproc=no
77175 rm -f conftest.err conftest.$ac_ext
77176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77177 echo "${ECHO_T}$ac_header_preproc" >&6
77179 # So? What about this header?
77180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77181 yes:no: )
77182 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77183 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77184 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77185 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77186 ac_header_preproc=yes
77188 no:yes:* )
77189 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77190 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77191 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77192 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77193 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77194 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77195 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77196 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77197 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77198 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77199 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77200 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77202 cat <<\_ASBOX
77203 ## ----------------------------------------- ##
77204 ## Report this to the package-unused lists. ##
77205 ## ----------------------------------------- ##
77206 _ASBOX
77208 sed "s/^/$as_me: WARNING: /" >&2
77210 esac
77211 echo "$as_me:$LINENO: checking for iconv.h" >&5
77212 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77213 if test "${ac_cv_header_iconv_h+set}" = set; then
77214 echo $ECHO_N "(cached) $ECHO_C" >&6
77215 else
77216 ac_cv_header_iconv_h=$ac_header_preproc
77218 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77219 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77222 if test $ac_cv_header_iconv_h = yes; then
77223 ac_has_iconv_h=yes
77224 else
77225 ac_has_iconv_h=no
77229 if test "${ac_cv_header_langinfo_h+set}" = set; then
77230 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77231 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77232 if test "${ac_cv_header_langinfo_h+set}" = set; then
77233 echo $ECHO_N "(cached) $ECHO_C" >&6
77235 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77236 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77237 else
77238 # Is the header compilable?
77239 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77240 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77241 cat >conftest.$ac_ext <<_ACEOF
77242 /* confdefs.h. */
77243 _ACEOF
77244 cat confdefs.h >>conftest.$ac_ext
77245 cat >>conftest.$ac_ext <<_ACEOF
77246 /* end confdefs.h. */
77247 $ac_includes_default
77248 #include <langinfo.h>
77249 _ACEOF
77250 rm -f conftest.$ac_objext
77251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77252 (eval $ac_compile) 2>conftest.er1
77253 ac_status=$?
77254 grep -v '^ *+' conftest.er1 >conftest.err
77255 rm -f conftest.er1
77256 cat conftest.err >&5
77257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77258 (exit $ac_status); } &&
77259 { ac_try='test -z "$ac_c_werror_flag"
77260 || test ! -s conftest.err'
77261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77262 (eval $ac_try) 2>&5
77263 ac_status=$?
77264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265 (exit $ac_status); }; } &&
77266 { ac_try='test -s conftest.$ac_objext'
77267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77268 (eval $ac_try) 2>&5
77269 ac_status=$?
77270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77271 (exit $ac_status); }; }; then
77272 ac_header_compiler=yes
77273 else
77274 echo "$as_me: failed program was:" >&5
77275 sed 's/^/| /' conftest.$ac_ext >&5
77277 ac_header_compiler=no
77279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77281 echo "${ECHO_T}$ac_header_compiler" >&6
77283 # Is the header present?
77284 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77285 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77286 cat >conftest.$ac_ext <<_ACEOF
77287 /* confdefs.h. */
77288 _ACEOF
77289 cat confdefs.h >>conftest.$ac_ext
77290 cat >>conftest.$ac_ext <<_ACEOF
77291 /* end confdefs.h. */
77292 #include <langinfo.h>
77293 _ACEOF
77294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77296 ac_status=$?
77297 grep -v '^ *+' conftest.er1 >conftest.err
77298 rm -f conftest.er1
77299 cat conftest.err >&5
77300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77301 (exit $ac_status); } >/dev/null; then
77302 if test -s conftest.err; then
77303 ac_cpp_err=$ac_c_preproc_warn_flag
77304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77305 else
77306 ac_cpp_err=
77308 else
77309 ac_cpp_err=yes
77311 if test -z "$ac_cpp_err"; then
77312 ac_header_preproc=yes
77313 else
77314 echo "$as_me: failed program was:" >&5
77315 sed 's/^/| /' conftest.$ac_ext >&5
77317 ac_header_preproc=no
77319 rm -f conftest.err conftest.$ac_ext
77320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77321 echo "${ECHO_T}$ac_header_preproc" >&6
77323 # So? What about this header?
77324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77325 yes:no: )
77326 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77327 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77328 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77329 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77330 ac_header_preproc=yes
77332 no:yes:* )
77333 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77334 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77335 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77336 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77337 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77338 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77339 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77340 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77341 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77342 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77343 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77344 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77346 cat <<\_ASBOX
77347 ## ----------------------------------------- ##
77348 ## Report this to the package-unused lists. ##
77349 ## ----------------------------------------- ##
77350 _ASBOX
77352 sed "s/^/$as_me: WARNING: /" >&2
77354 esac
77355 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77356 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77357 if test "${ac_cv_header_langinfo_h+set}" = set; then
77358 echo $ECHO_N "(cached) $ECHO_C" >&6
77359 else
77360 ac_cv_header_langinfo_h=$ac_header_preproc
77362 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77363 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77366 if test $ac_cv_header_langinfo_h = yes; then
77367 ac_has_langinfo_h=yes
77368 else
77369 ac_has_langinfo_h=no
77374 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77375 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77376 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77377 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77378 echo $ECHO_N "(cached) $ECHO_C" >&6
77379 else
77380 ac_check_lib_save_LIBS=$LIBS
77381 LIBS="-liconv $LIBS"
77382 if test x$gcc_no_link = xyes; then
77383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77385 { (exit 1); exit 1; }; }
77387 cat >conftest.$ac_ext <<_ACEOF
77388 /* confdefs.h. */
77389 _ACEOF
77390 cat confdefs.h >>conftest.$ac_ext
77391 cat >>conftest.$ac_ext <<_ACEOF
77392 /* end confdefs.h. */
77394 /* Override any gcc2 internal prototype to avoid an error. */
77395 #ifdef __cplusplus
77396 extern "C"
77397 #endif
77398 /* We use char because int might match the return type of a gcc2
77399 builtin and then its argument prototype would still apply. */
77400 char iconv ();
77402 main ()
77404 iconv ();
77406 return 0;
77408 _ACEOF
77409 rm -f conftest.$ac_objext conftest$ac_exeext
77410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77411 (eval $ac_link) 2>conftest.er1
77412 ac_status=$?
77413 grep -v '^ *+' conftest.er1 >conftest.err
77414 rm -f conftest.er1
77415 cat conftest.err >&5
77416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77417 (exit $ac_status); } &&
77418 { ac_try='test -z "$ac_c_werror_flag"
77419 || test ! -s conftest.err'
77420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77421 (eval $ac_try) 2>&5
77422 ac_status=$?
77423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77424 (exit $ac_status); }; } &&
77425 { ac_try='test -s conftest$ac_exeext'
77426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77427 (eval $ac_try) 2>&5
77428 ac_status=$?
77429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77430 (exit $ac_status); }; }; then
77431 ac_cv_lib_iconv_iconv=yes
77432 else
77433 echo "$as_me: failed program was:" >&5
77434 sed 's/^/| /' conftest.$ac_ext >&5
77436 ac_cv_lib_iconv_iconv=no
77438 rm -f conftest.err conftest.$ac_objext \
77439 conftest$ac_exeext conftest.$ac_ext
77440 LIBS=$ac_check_lib_save_LIBS
77442 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77443 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77444 if test $ac_cv_lib_iconv_iconv = yes; then
77445 LIBICONV="-liconv"
77448 ac_save_LIBS="$LIBS"
77449 LIBS="$LIBS $LIBICONV"
77456 for ac_func in iconv_open iconv_close iconv nl_langinfo
77458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77459 echo "$as_me:$LINENO: checking for $ac_func" >&5
77460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77461 if eval "test \"\${$as_ac_var+set}\" = set"; then
77462 echo $ECHO_N "(cached) $ECHO_C" >&6
77463 else
77464 if test x$gcc_no_link = xyes; then
77465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77467 { (exit 1); exit 1; }; }
77469 cat >conftest.$ac_ext <<_ACEOF
77470 /* confdefs.h. */
77471 _ACEOF
77472 cat confdefs.h >>conftest.$ac_ext
77473 cat >>conftest.$ac_ext <<_ACEOF
77474 /* end confdefs.h. */
77475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77477 #define $ac_func innocuous_$ac_func
77479 /* System header to define __stub macros and hopefully few prototypes,
77480 which can conflict with char $ac_func (); below.
77481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77482 <limits.h> exists even on freestanding compilers. */
77484 #ifdef __STDC__
77485 # include <limits.h>
77486 #else
77487 # include <assert.h>
77488 #endif
77490 #undef $ac_func
77492 /* Override any gcc2 internal prototype to avoid an error. */
77493 #ifdef __cplusplus
77494 extern "C"
77496 #endif
77497 /* We use char because int might match the return type of a gcc2
77498 builtin and then its argument prototype would still apply. */
77499 char $ac_func ();
77500 /* The GNU C library defines this for functions which it implements
77501 to always fail with ENOSYS. Some functions are actually named
77502 something starting with __ and the normal name is an alias. */
77503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77504 choke me
77505 #else
77506 char (*f) () = $ac_func;
77507 #endif
77508 #ifdef __cplusplus
77510 #endif
77513 main ()
77515 return f != $ac_func;
77517 return 0;
77519 _ACEOF
77520 rm -f conftest.$ac_objext conftest$ac_exeext
77521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77522 (eval $ac_link) 2>conftest.er1
77523 ac_status=$?
77524 grep -v '^ *+' conftest.er1 >conftest.err
77525 rm -f conftest.er1
77526 cat conftest.err >&5
77527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77528 (exit $ac_status); } &&
77529 { ac_try='test -z "$ac_c_werror_flag"
77530 || test ! -s conftest.err'
77531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77532 (eval $ac_try) 2>&5
77533 ac_status=$?
77534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77535 (exit $ac_status); }; } &&
77536 { ac_try='test -s conftest$ac_exeext'
77537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77538 (eval $ac_try) 2>&5
77539 ac_status=$?
77540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77541 (exit $ac_status); }; }; then
77542 eval "$as_ac_var=yes"
77543 else
77544 echo "$as_me: failed program was:" >&5
77545 sed 's/^/| /' conftest.$ac_ext >&5
77547 eval "$as_ac_var=no"
77549 rm -f conftest.err conftest.$ac_objext \
77550 conftest$ac_exeext conftest.$ac_ext
77552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77554 if test `eval echo '${'$as_ac_var'}'` = yes; then
77555 cat >>confdefs.h <<_ACEOF
77556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77557 _ACEOF
77558 ac_XPG2funcs=yes
77559 else
77560 ac_XPG2funcs=no
77562 done
77565 LIBS="$ac_save_LIBS"
77567 if test x"$ac_has_iconv_h" = xyes &&
77568 test x"$ac_has_langinfo_h" = xyes &&
77569 test x"$ac_XPG2funcs" = xyes;
77570 then
77572 cat >>confdefs.h <<\_ACEOF
77573 #define _GLIBCXX_USE_ICONV 1
77574 _ACEOF
77576 enable_iconv=yes
77579 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77580 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77581 echo "$as_me:$LINENO: result: $enable_iconv" >&5
77582 echo "${ECHO_T}$enable_iconv" >&6
77585 # For LFS.
77586 cat >>confdefs.h <<\_ACEOF
77587 #define HAVE_INT64_T 1
77588 _ACEOF
77590 case "$target" in
77591 *-uclinux*)
77592 # Don't enable LFS with uClibc
77595 cat >>confdefs.h <<\_ACEOF
77596 #define _GLIBCXX_USE_LFS 1
77597 _ACEOF
77599 esac
77601 # For showmanyc_helper().
77604 for ac_header in sys/ioctl.h sys/filio.h
77606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77608 echo "$as_me:$LINENO: checking for $ac_header" >&5
77609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77611 echo $ECHO_N "(cached) $ECHO_C" >&6
77613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77615 else
77616 # Is the header compilable?
77617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77619 cat >conftest.$ac_ext <<_ACEOF
77620 /* confdefs.h. */
77621 _ACEOF
77622 cat confdefs.h >>conftest.$ac_ext
77623 cat >>conftest.$ac_ext <<_ACEOF
77624 /* end confdefs.h. */
77625 $ac_includes_default
77626 #include <$ac_header>
77627 _ACEOF
77628 rm -f conftest.$ac_objext
77629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77630 (eval $ac_compile) 2>conftest.er1
77631 ac_status=$?
77632 grep -v '^ *+' conftest.er1 >conftest.err
77633 rm -f conftest.er1
77634 cat conftest.err >&5
77635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636 (exit $ac_status); } &&
77637 { ac_try='test -z "$ac_c_werror_flag"
77638 || test ! -s conftest.err'
77639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77640 (eval $ac_try) 2>&5
77641 ac_status=$?
77642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77643 (exit $ac_status); }; } &&
77644 { ac_try='test -s conftest.$ac_objext'
77645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77646 (eval $ac_try) 2>&5
77647 ac_status=$?
77648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77649 (exit $ac_status); }; }; then
77650 ac_header_compiler=yes
77651 else
77652 echo "$as_me: failed program was:" >&5
77653 sed 's/^/| /' conftest.$ac_ext >&5
77655 ac_header_compiler=no
77657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77659 echo "${ECHO_T}$ac_header_compiler" >&6
77661 # Is the header present?
77662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77664 cat >conftest.$ac_ext <<_ACEOF
77665 /* confdefs.h. */
77666 _ACEOF
77667 cat confdefs.h >>conftest.$ac_ext
77668 cat >>conftest.$ac_ext <<_ACEOF
77669 /* end confdefs.h. */
77670 #include <$ac_header>
77671 _ACEOF
77672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77674 ac_status=$?
77675 grep -v '^ *+' conftest.er1 >conftest.err
77676 rm -f conftest.er1
77677 cat conftest.err >&5
77678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77679 (exit $ac_status); } >/dev/null; then
77680 if test -s conftest.err; then
77681 ac_cpp_err=$ac_c_preproc_warn_flag
77682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77683 else
77684 ac_cpp_err=
77686 else
77687 ac_cpp_err=yes
77689 if test -z "$ac_cpp_err"; then
77690 ac_header_preproc=yes
77691 else
77692 echo "$as_me: failed program was:" >&5
77693 sed 's/^/| /' conftest.$ac_ext >&5
77695 ac_header_preproc=no
77697 rm -f conftest.err conftest.$ac_ext
77698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77699 echo "${ECHO_T}$ac_header_preproc" >&6
77701 # So? What about this header?
77702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77703 yes:no: )
77704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77708 ac_header_preproc=yes
77710 no:yes:* )
77711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77724 cat <<\_ASBOX
77725 ## ----------------------------------------- ##
77726 ## Report this to the package-unused lists. ##
77727 ## ----------------------------------------- ##
77728 _ASBOX
77730 sed "s/^/$as_me: WARNING: /" >&2
77732 esac
77733 echo "$as_me:$LINENO: checking for $ac_header" >&5
77734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77736 echo $ECHO_N "(cached) $ECHO_C" >&6
77737 else
77738 eval "$as_ac_Header=\$ac_header_preproc"
77740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77745 cat >>confdefs.h <<_ACEOF
77746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77747 _ACEOF
77751 done
77754 if test "${glibcxx_cv_POLL+set}" = set; then
77755 echo $ECHO_N "(cached) $ECHO_C" >&6
77756 else
77758 if test x$gcc_no_link = xyes; then
77759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77761 { (exit 1); exit 1; }; }
77763 cat >conftest.$ac_ext <<_ACEOF
77764 /* confdefs.h. */
77765 _ACEOF
77766 cat confdefs.h >>conftest.$ac_ext
77767 cat >>conftest.$ac_ext <<_ACEOF
77768 /* end confdefs.h. */
77769 #include <poll.h>
77771 main ()
77773 struct pollfd pfd[1];
77774 pfd[0].events = POLLIN;
77775 poll(pfd, 1, 0);
77777 return 0;
77779 _ACEOF
77780 rm -f conftest.$ac_objext conftest$ac_exeext
77781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77782 (eval $ac_link) 2>conftest.er1
77783 ac_status=$?
77784 grep -v '^ *+' conftest.er1 >conftest.err
77785 rm -f conftest.er1
77786 cat conftest.err >&5
77787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77788 (exit $ac_status); } &&
77789 { ac_try='test -z "$ac_c_werror_flag"
77790 || test ! -s conftest.err'
77791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77792 (eval $ac_try) 2>&5
77793 ac_status=$?
77794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77795 (exit $ac_status); }; } &&
77796 { ac_try='test -s conftest$ac_exeext'
77797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77798 (eval $ac_try) 2>&5
77799 ac_status=$?
77800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77801 (exit $ac_status); }; }; then
77802 glibcxx_cv_POLL=yes
77803 else
77804 echo "$as_me: failed program was:" >&5
77805 sed 's/^/| /' conftest.$ac_ext >&5
77807 glibcxx_cv_POLL=no
77809 rm -f conftest.err conftest.$ac_objext \
77810 conftest$ac_exeext conftest.$ac_ext
77814 if test $glibcxx_cv_POLL = yes; then
77815 cat >>confdefs.h <<\_ACEOF
77816 #define HAVE_POLL 1
77817 _ACEOF
77822 if test "${glibcxx_cv_S_ISREG+set}" = set; then
77823 echo $ECHO_N "(cached) $ECHO_C" >&6
77824 else
77826 if test x$gcc_no_link = xyes; then
77827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77829 { (exit 1); exit 1; }; }
77831 cat >conftest.$ac_ext <<_ACEOF
77832 /* confdefs.h. */
77833 _ACEOF
77834 cat confdefs.h >>conftest.$ac_ext
77835 cat >>conftest.$ac_ext <<_ACEOF
77836 /* end confdefs.h. */
77837 #include <sys/stat.h>
77839 main ()
77841 struct stat buffer;
77842 fstat(0, &buffer);
77843 S_ISREG(buffer.st_mode);
77845 return 0;
77847 _ACEOF
77848 rm -f conftest.$ac_objext conftest$ac_exeext
77849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77850 (eval $ac_link) 2>conftest.er1
77851 ac_status=$?
77852 grep -v '^ *+' conftest.er1 >conftest.err
77853 rm -f conftest.er1
77854 cat conftest.err >&5
77855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77856 (exit $ac_status); } &&
77857 { ac_try='test -z "$ac_c_werror_flag"
77858 || test ! -s conftest.err'
77859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77860 (eval $ac_try) 2>&5
77861 ac_status=$?
77862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863 (exit $ac_status); }; } &&
77864 { ac_try='test -s conftest$ac_exeext'
77865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77866 (eval $ac_try) 2>&5
77867 ac_status=$?
77868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77869 (exit $ac_status); }; }; then
77870 glibcxx_cv_S_ISREG=yes
77871 else
77872 echo "$as_me: failed program was:" >&5
77873 sed 's/^/| /' conftest.$ac_ext >&5
77875 glibcxx_cv_S_ISREG=no
77877 rm -f conftest.err conftest.$ac_objext \
77878 conftest$ac_exeext conftest.$ac_ext
77882 if test "${glibcxx_cv_S_IFREG+set}" = set; then
77883 echo $ECHO_N "(cached) $ECHO_C" >&6
77884 else
77886 if test x$gcc_no_link = xyes; then
77887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77889 { (exit 1); exit 1; }; }
77891 cat >conftest.$ac_ext <<_ACEOF
77892 /* confdefs.h. */
77893 _ACEOF
77894 cat confdefs.h >>conftest.$ac_ext
77895 cat >>conftest.$ac_ext <<_ACEOF
77896 /* end confdefs.h. */
77897 #include <sys/stat.h>
77899 main ()
77901 struct stat buffer;
77902 fstat(0, &buffer);
77903 S_IFREG & buffer.st_mode;
77905 return 0;
77907 _ACEOF
77908 rm -f conftest.$ac_objext conftest$ac_exeext
77909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77910 (eval $ac_link) 2>conftest.er1
77911 ac_status=$?
77912 grep -v '^ *+' conftest.er1 >conftest.err
77913 rm -f conftest.er1
77914 cat conftest.err >&5
77915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77916 (exit $ac_status); } &&
77917 { ac_try='test -z "$ac_c_werror_flag"
77918 || test ! -s conftest.err'
77919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77920 (eval $ac_try) 2>&5
77921 ac_status=$?
77922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77923 (exit $ac_status); }; } &&
77924 { ac_try='test -s conftest$ac_exeext'
77925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77926 (eval $ac_try) 2>&5
77927 ac_status=$?
77928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77929 (exit $ac_status); }; }; then
77930 glibcxx_cv_S_IFREG=yes
77931 else
77932 echo "$as_me: failed program was:" >&5
77933 sed 's/^/| /' conftest.$ac_ext >&5
77935 glibcxx_cv_S_IFREG=no
77937 rm -f conftest.err conftest.$ac_objext \
77938 conftest$ac_exeext conftest.$ac_ext
77942 if test $glibcxx_cv_S_ISREG = yes; then
77943 cat >>confdefs.h <<\_ACEOF
77944 #define HAVE_S_ISREG 1
77945 _ACEOF
77947 elif test $glibcxx_cv_S_IFREG = yes; then
77948 cat >>confdefs.h <<\_ACEOF
77949 #define HAVE_S_IFREG 1
77950 _ACEOF
77955 # For xsputn_2().
77957 for ac_header in sys/uio.h
77959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77961 echo "$as_me:$LINENO: checking for $ac_header" >&5
77962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77964 echo $ECHO_N "(cached) $ECHO_C" >&6
77966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77968 else
77969 # Is the header compilable?
77970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77972 cat >conftest.$ac_ext <<_ACEOF
77973 /* confdefs.h. */
77974 _ACEOF
77975 cat confdefs.h >>conftest.$ac_ext
77976 cat >>conftest.$ac_ext <<_ACEOF
77977 /* end confdefs.h. */
77978 $ac_includes_default
77979 #include <$ac_header>
77980 _ACEOF
77981 rm -f conftest.$ac_objext
77982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77983 (eval $ac_compile) 2>conftest.er1
77984 ac_status=$?
77985 grep -v '^ *+' conftest.er1 >conftest.err
77986 rm -f conftest.er1
77987 cat conftest.err >&5
77988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77989 (exit $ac_status); } &&
77990 { ac_try='test -z "$ac_c_werror_flag"
77991 || test ! -s conftest.err'
77992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77993 (eval $ac_try) 2>&5
77994 ac_status=$?
77995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77996 (exit $ac_status); }; } &&
77997 { ac_try='test -s conftest.$ac_objext'
77998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77999 (eval $ac_try) 2>&5
78000 ac_status=$?
78001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78002 (exit $ac_status); }; }; then
78003 ac_header_compiler=yes
78004 else
78005 echo "$as_me: failed program was:" >&5
78006 sed 's/^/| /' conftest.$ac_ext >&5
78008 ac_header_compiler=no
78010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78012 echo "${ECHO_T}$ac_header_compiler" >&6
78014 # Is the header present?
78015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78017 cat >conftest.$ac_ext <<_ACEOF
78018 /* confdefs.h. */
78019 _ACEOF
78020 cat confdefs.h >>conftest.$ac_ext
78021 cat >>conftest.$ac_ext <<_ACEOF
78022 /* end confdefs.h. */
78023 #include <$ac_header>
78024 _ACEOF
78025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78027 ac_status=$?
78028 grep -v '^ *+' conftest.er1 >conftest.err
78029 rm -f conftest.er1
78030 cat conftest.err >&5
78031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78032 (exit $ac_status); } >/dev/null; then
78033 if test -s conftest.err; then
78034 ac_cpp_err=$ac_c_preproc_warn_flag
78035 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78036 else
78037 ac_cpp_err=
78039 else
78040 ac_cpp_err=yes
78042 if test -z "$ac_cpp_err"; then
78043 ac_header_preproc=yes
78044 else
78045 echo "$as_me: failed program was:" >&5
78046 sed 's/^/| /' conftest.$ac_ext >&5
78048 ac_header_preproc=no
78050 rm -f conftest.err conftest.$ac_ext
78051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78052 echo "${ECHO_T}$ac_header_preproc" >&6
78054 # So? What about this header?
78055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78056 yes:no: )
78057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78061 ac_header_preproc=yes
78063 no:yes:* )
78064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78077 cat <<\_ASBOX
78078 ## ----------------------------------------- ##
78079 ## Report this to the package-unused lists. ##
78080 ## ----------------------------------------- ##
78081 _ASBOX
78083 sed "s/^/$as_me: WARNING: /" >&2
78085 esac
78086 echo "$as_me:$LINENO: checking for $ac_header" >&5
78087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78089 echo $ECHO_N "(cached) $ECHO_C" >&6
78090 else
78091 eval "$as_ac_Header=\$ac_header_preproc"
78093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78098 cat >>confdefs.h <<_ACEOF
78099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78100 _ACEOF
78104 done
78107 if test "${glibcxx_cv_WRITEV+set}" = set; then
78108 echo $ECHO_N "(cached) $ECHO_C" >&6
78109 else
78111 if test x$gcc_no_link = xyes; then
78112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78114 { (exit 1); exit 1; }; }
78116 cat >conftest.$ac_ext <<_ACEOF
78117 /* confdefs.h. */
78118 _ACEOF
78119 cat confdefs.h >>conftest.$ac_ext
78120 cat >>conftest.$ac_ext <<_ACEOF
78121 /* end confdefs.h. */
78122 #include <sys/uio.h>
78124 main ()
78126 struct iovec iov[2];
78127 writev(0, iov, 0);
78129 return 0;
78131 _ACEOF
78132 rm -f conftest.$ac_objext conftest$ac_exeext
78133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78134 (eval $ac_link) 2>conftest.er1
78135 ac_status=$?
78136 grep -v '^ *+' conftest.er1 >conftest.err
78137 rm -f conftest.er1
78138 cat conftest.err >&5
78139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78140 (exit $ac_status); } &&
78141 { ac_try='test -z "$ac_c_werror_flag"
78142 || test ! -s conftest.err'
78143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78144 (eval $ac_try) 2>&5
78145 ac_status=$?
78146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78147 (exit $ac_status); }; } &&
78148 { ac_try='test -s conftest$ac_exeext'
78149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78150 (eval $ac_try) 2>&5
78151 ac_status=$?
78152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78153 (exit $ac_status); }; }; then
78154 glibcxx_cv_WRITEV=yes
78155 else
78156 echo "$as_me: failed program was:" >&5
78157 sed 's/^/| /' conftest.$ac_ext >&5
78159 glibcxx_cv_WRITEV=no
78161 rm -f conftest.err conftest.$ac_objext \
78162 conftest$ac_exeext conftest.$ac_ext
78166 if test $glibcxx_cv_WRITEV = yes; then
78167 cat >>confdefs.h <<\_ACEOF
78168 #define HAVE_WRITEV 1
78169 _ACEOF
78174 cat >>confdefs.h <<\_ACEOF
78175 #define HAVE_ACOSF 1
78176 _ACEOF
78178 cat >>confdefs.h <<\_ACEOF
78179 #define HAVE_ASINF 1
78180 _ACEOF
78182 cat >>confdefs.h <<\_ACEOF
78183 #define HAVE_ATANF 1
78184 _ACEOF
78186 cat >>confdefs.h <<\_ACEOF
78187 #define HAVE_ATAN2F 1
78188 _ACEOF
78190 cat >>confdefs.h <<\_ACEOF
78191 #define HAVE_CEILF 1
78192 _ACEOF
78194 cat >>confdefs.h <<\_ACEOF
78195 #define HAVE_COPYSIGN 1
78196 _ACEOF
78198 cat >>confdefs.h <<\_ACEOF
78199 #define HAVE_COPYSIGNF 1
78200 _ACEOF
78202 cat >>confdefs.h <<\_ACEOF
78203 #define HAVE_COSF 1
78204 _ACEOF
78206 cat >>confdefs.h <<\_ACEOF
78207 #define HAVE_COSHF 1
78208 _ACEOF
78210 cat >>confdefs.h <<\_ACEOF
78211 #define HAVE_EXPF 1
78212 _ACEOF
78214 cat >>confdefs.h <<\_ACEOF
78215 #define HAVE_FABSF 1
78216 _ACEOF
78218 cat >>confdefs.h <<\_ACEOF
78219 #define HAVE_FINITE 1
78220 _ACEOF
78222 cat >>confdefs.h <<\_ACEOF
78223 #define HAVE_FINITEF 1
78224 _ACEOF
78226 cat >>confdefs.h <<\_ACEOF
78227 #define HAVE_FLOORF 1
78228 _ACEOF
78230 cat >>confdefs.h <<\_ACEOF
78231 #define HAVE_FMODF 1
78232 _ACEOF
78234 cat >>confdefs.h <<\_ACEOF
78235 #define HAVE_FREXPF 1
78236 _ACEOF
78238 cat >>confdefs.h <<\_ACEOF
78239 #define HAVE_HYPOT 1
78240 _ACEOF
78242 cat >>confdefs.h <<\_ACEOF
78243 #define HAVE_HYPOTF 1
78244 _ACEOF
78246 cat >>confdefs.h <<\_ACEOF
78247 #define HAVE_ISINF 1
78248 _ACEOF
78250 cat >>confdefs.h <<\_ACEOF
78251 #define HAVE_ISINFF 1
78252 _ACEOF
78254 cat >>confdefs.h <<\_ACEOF
78255 #define HAVE_ISNAN 1
78256 _ACEOF
78258 cat >>confdefs.h <<\_ACEOF
78259 #define HAVE_ISNANF 1
78260 _ACEOF
78262 cat >>confdefs.h <<\_ACEOF
78263 #define HAVE_LOGF 1
78264 _ACEOF
78266 cat >>confdefs.h <<\_ACEOF
78267 #define HAVE_LOG10F 1
78268 _ACEOF
78270 cat >>confdefs.h <<\_ACEOF
78271 #define HAVE_MODFF 1
78272 _ACEOF
78274 cat >>confdefs.h <<\_ACEOF
78275 #define HAVE_SINF 1
78276 _ACEOF
78278 cat >>confdefs.h <<\_ACEOF
78279 #define HAVE_SINHF 1
78280 _ACEOF
78282 cat >>confdefs.h <<\_ACEOF
78283 #define HAVE_SINCOS 1
78284 _ACEOF
78286 cat >>confdefs.h <<\_ACEOF
78287 #define HAVE_SINCOSF 1
78288 _ACEOF
78290 cat >>confdefs.h <<\_ACEOF
78291 #define HAVE_SQRTF 1
78292 _ACEOF
78294 cat >>confdefs.h <<\_ACEOF
78295 #define HAVE_TANF 1
78296 _ACEOF
78298 cat >>confdefs.h <<\_ACEOF
78299 #define HAVE_TANHF 1
78300 _ACEOF
78302 if test x"long_double_math_on_this_cpu" = x"yes"; then
78303 cat >>confdefs.h <<\_ACEOF
78304 #define HAVE_ACOSL 1
78305 _ACEOF
78307 cat >>confdefs.h <<\_ACEOF
78308 #define HAVE_ASINL 1
78309 _ACEOF
78311 cat >>confdefs.h <<\_ACEOF
78312 #define HAVE_ATANL 1
78313 _ACEOF
78315 cat >>confdefs.h <<\_ACEOF
78316 #define HAVE_ATAN2L 1
78317 _ACEOF
78319 cat >>confdefs.h <<\_ACEOF
78320 #define HAVE_CEILL 1
78321 _ACEOF
78323 cat >>confdefs.h <<\_ACEOF
78324 #define HAVE_COPYSIGNL 1
78325 _ACEOF
78327 cat >>confdefs.h <<\_ACEOF
78328 #define HAVE_COSL 1
78329 _ACEOF
78331 cat >>confdefs.h <<\_ACEOF
78332 #define HAVE_COSHL 1
78333 _ACEOF
78335 cat >>confdefs.h <<\_ACEOF
78336 #define HAVE_EXPL 1
78337 _ACEOF
78339 cat >>confdefs.h <<\_ACEOF
78340 #define HAVE_FABSL 1
78341 _ACEOF
78343 cat >>confdefs.h <<\_ACEOF
78344 #define HAVE_FINITEL 1
78345 _ACEOF
78347 cat >>confdefs.h <<\_ACEOF
78348 #define HAVE_FLOORL 1
78349 _ACEOF
78351 cat >>confdefs.h <<\_ACEOF
78352 #define HAVE_FMODL 1
78353 _ACEOF
78355 cat >>confdefs.h <<\_ACEOF
78356 #define HAVE_FREXPL 1
78357 _ACEOF
78359 cat >>confdefs.h <<\_ACEOF
78360 #define HAVE_HYPOTL 1
78361 _ACEOF
78363 cat >>confdefs.h <<\_ACEOF
78364 #define HAVE_ISINFL 1
78365 _ACEOF
78367 cat >>confdefs.h <<\_ACEOF
78368 #define HAVE_ISNANL 1
78369 _ACEOF
78371 cat >>confdefs.h <<\_ACEOF
78372 #define HAVE_LOGL 1
78373 _ACEOF
78375 cat >>confdefs.h <<\_ACEOF
78376 #define HAVE_LOG10L 1
78377 _ACEOF
78379 cat >>confdefs.h <<\_ACEOF
78380 #define HAVE_MODFL 1
78381 _ACEOF
78383 cat >>confdefs.h <<\_ACEOF
78384 #define HAVE_POWL 1
78385 _ACEOF
78387 cat >>confdefs.h <<\_ACEOF
78388 #define HAVE_SINL 1
78389 _ACEOF
78391 cat >>confdefs.h <<\_ACEOF
78392 #define HAVE_SINHL 1
78393 _ACEOF
78395 cat >>confdefs.h <<\_ACEOF
78396 #define HAVE_SINCOSL 1
78397 _ACEOF
78399 cat >>confdefs.h <<\_ACEOF
78400 #define HAVE_SQRTL 1
78401 _ACEOF
78403 cat >>confdefs.h <<\_ACEOF
78404 #define HAVE_TANL 1
78405 _ACEOF
78407 cat >>confdefs.h <<\_ACEOF
78408 #define HAVE_TANHL 1
78409 _ACEOF
78413 *-mingw32*)
78417 for ac_header in sys/types.h locale.h float.h
78419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78421 echo "$as_me:$LINENO: checking for $ac_header" >&5
78422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78424 echo $ECHO_N "(cached) $ECHO_C" >&6
78426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78428 else
78429 # Is the header compilable?
78430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78432 cat >conftest.$ac_ext <<_ACEOF
78433 /* confdefs.h. */
78434 _ACEOF
78435 cat confdefs.h >>conftest.$ac_ext
78436 cat >>conftest.$ac_ext <<_ACEOF
78437 /* end confdefs.h. */
78438 $ac_includes_default
78439 #include <$ac_header>
78440 _ACEOF
78441 rm -f conftest.$ac_objext
78442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78443 (eval $ac_compile) 2>conftest.er1
78444 ac_status=$?
78445 grep -v '^ *+' conftest.er1 >conftest.err
78446 rm -f conftest.er1
78447 cat conftest.err >&5
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); } &&
78450 { ac_try='test -z "$ac_c_werror_flag"
78451 || test ! -s conftest.err'
78452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78453 (eval $ac_try) 2>&5
78454 ac_status=$?
78455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78456 (exit $ac_status); }; } &&
78457 { ac_try='test -s conftest.$ac_objext'
78458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78459 (eval $ac_try) 2>&5
78460 ac_status=$?
78461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78462 (exit $ac_status); }; }; then
78463 ac_header_compiler=yes
78464 else
78465 echo "$as_me: failed program was:" >&5
78466 sed 's/^/| /' conftest.$ac_ext >&5
78468 ac_header_compiler=no
78470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78472 echo "${ECHO_T}$ac_header_compiler" >&6
78474 # Is the header present?
78475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78477 cat >conftest.$ac_ext <<_ACEOF
78478 /* confdefs.h. */
78479 _ACEOF
78480 cat confdefs.h >>conftest.$ac_ext
78481 cat >>conftest.$ac_ext <<_ACEOF
78482 /* end confdefs.h. */
78483 #include <$ac_header>
78484 _ACEOF
78485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78487 ac_status=$?
78488 grep -v '^ *+' conftest.er1 >conftest.err
78489 rm -f conftest.er1
78490 cat conftest.err >&5
78491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78492 (exit $ac_status); } >/dev/null; then
78493 if test -s conftest.err; then
78494 ac_cpp_err=$ac_c_preproc_warn_flag
78495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78496 else
78497 ac_cpp_err=
78499 else
78500 ac_cpp_err=yes
78502 if test -z "$ac_cpp_err"; then
78503 ac_header_preproc=yes
78504 else
78505 echo "$as_me: failed program was:" >&5
78506 sed 's/^/| /' conftest.$ac_ext >&5
78508 ac_header_preproc=no
78510 rm -f conftest.err conftest.$ac_ext
78511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78512 echo "${ECHO_T}$ac_header_preproc" >&6
78514 # So? What about this header?
78515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78516 yes:no: )
78517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78521 ac_header_preproc=yes
78523 no:yes:* )
78524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78537 cat <<\_ASBOX
78538 ## ----------------------------------------- ##
78539 ## Report this to the package-unused lists. ##
78540 ## ----------------------------------------- ##
78541 _ASBOX
78543 sed "s/^/$as_me: WARNING: /" >&2
78545 esac
78546 echo "$as_me:$LINENO: checking for $ac_header" >&5
78547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78549 echo $ECHO_N "(cached) $ECHO_C" >&6
78550 else
78551 eval "$as_ac_Header=\$ac_header_preproc"
78553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78558 cat >>confdefs.h <<_ACEOF
78559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78560 _ACEOF
78564 done
78567 # If we're not using GNU ld, then there's no point in even trying these
78568 # tests. Check for that first. We should have already tested for gld
78569 # by now (in libtool), but require it now just to be safe...
78570 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78571 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78575 # The name set by libtool depends on the version of libtool. Shame on us
78576 # for depending on an impl detail, but c'est la vie. Older versions used
78577 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78578 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78579 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78580 # set (hence we're using an older libtool), then set it.
78581 if test x${with_gnu_ld+set} != xset; then
78582 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78583 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78584 with_gnu_ld=no
78585 else
78586 with_gnu_ld=$ac_cv_prog_gnu_ld
78590 # Start by getting the version number. I think the libtool test already
78591 # does some of this, but throws away the result.
78593 ldver=`$LD --version 2>/dev/null | head -1 | \
78594 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78596 glibcxx_gnu_ld_version=`echo $ldver | \
78597 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78599 # Set --gc-sections.
78600 if test "$with_gnu_ld" = "notbroken"; then
78601 # GNU ld it is! Joy and bunny rabbits!
78603 # All these tests are for C++; save the language and the compiler flags.
78604 # Need to do this so that g++ won't try to link in libstdc++
78605 ac_test_CFLAGS="${CFLAGS+set}"
78606 ac_save_CFLAGS="$CFLAGS"
78607 CFLAGS='-x c++ -Wl,--gc-sections'
78609 # Check for -Wl,--gc-sections
78610 # XXX This test is broken at the moment, as symbols required for linking
78611 # are now in libsupc++ (not built yet). In addition, this test has
78612 # cored on solaris in the past. In addition, --gc-sections doesn't
78613 # really work at the moment (keeps on discarding used sections, first
78614 # .eh_frame and now some of the glibc sections for iconv).
78615 # Bzzzzt. Thanks for playing, maybe next time.
78616 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78617 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78618 if test "$cross_compiling" = yes; then
78619 ac_sectionLDflags=yes
78620 else
78621 cat >conftest.$ac_ext <<_ACEOF
78622 /* confdefs.h. */
78623 _ACEOF
78624 cat confdefs.h >>conftest.$ac_ext
78625 cat >>conftest.$ac_ext <<_ACEOF
78626 /* end confdefs.h. */
78628 int main(void)
78630 try { throw 1; }
78631 catch (...) { };
78632 return 0;
78635 _ACEOF
78636 rm -f conftest$ac_exeext
78637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78638 (eval $ac_link) 2>&5
78639 ac_status=$?
78640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
78642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78643 (eval $ac_try) 2>&5
78644 ac_status=$?
78645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78646 (exit $ac_status); }; }; then
78647 ac_sectionLDflags=yes
78648 else
78649 echo "$as_me: program exited with status $ac_status" >&5
78650 echo "$as_me: failed program was:" >&5
78651 sed 's/^/| /' conftest.$ac_ext >&5
78653 ( exit $ac_status )
78654 ac_sectionLDflags=no
78656 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
78658 if test "$ac_test_CFLAGS" = set; then
78659 CFLAGS="$ac_save_CFLAGS"
78660 else
78661 # this is the suspicious part
78662 CFLAGS=''
78664 if test "$ac_sectionLDflags" = "yes"; then
78665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78667 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
78668 echo "${ECHO_T}$ac_sectionLDflags" >&6
78671 # Set linker optimization flags.
78672 if test x"$with_gnu_ld" = x"yes"; then
78673 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78681 echo "$as_me:$LINENO: checking for main in -lm" >&5
78682 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78683 if test "${ac_cv_lib_m_main+set}" = set; then
78684 echo $ECHO_N "(cached) $ECHO_C" >&6
78685 else
78686 ac_check_lib_save_LIBS=$LIBS
78687 LIBS="-lm $LIBS"
78688 if test x$gcc_no_link = xyes; then
78689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78691 { (exit 1); exit 1; }; }
78693 cat >conftest.$ac_ext <<_ACEOF
78694 /* confdefs.h. */
78695 _ACEOF
78696 cat confdefs.h >>conftest.$ac_ext
78697 cat >>conftest.$ac_ext <<_ACEOF
78698 /* end confdefs.h. */
78702 main ()
78704 main ();
78706 return 0;
78708 _ACEOF
78709 rm -f conftest.$ac_objext conftest$ac_exeext
78710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78711 (eval $ac_link) 2>conftest.er1
78712 ac_status=$?
78713 grep -v '^ *+' conftest.er1 >conftest.err
78714 rm -f conftest.er1
78715 cat conftest.err >&5
78716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78717 (exit $ac_status); } &&
78718 { ac_try='test -z "$ac_c_werror_flag"
78719 || test ! -s conftest.err'
78720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78721 (eval $ac_try) 2>&5
78722 ac_status=$?
78723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78724 (exit $ac_status); }; } &&
78725 { ac_try='test -s conftest$ac_exeext'
78726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78727 (eval $ac_try) 2>&5
78728 ac_status=$?
78729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78730 (exit $ac_status); }; }; then
78731 ac_cv_lib_m_main=yes
78732 else
78733 echo "$as_me: failed program was:" >&5
78734 sed 's/^/| /' conftest.$ac_ext >&5
78736 ac_cv_lib_m_main=no
78738 rm -f conftest.err conftest.$ac_objext \
78739 conftest$ac_exeext conftest.$ac_ext
78740 LIBS=$ac_check_lib_save_LIBS
78742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78743 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78744 if test $ac_cv_lib_m_main = yes; then
78745 cat >>confdefs.h <<_ACEOF
78746 #define HAVE_LIBM 1
78747 _ACEOF
78749 LIBS="-lm $LIBS"
78754 for ac_func in copysignf
78756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78757 echo "$as_me:$LINENO: checking for $ac_func" >&5
78758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78759 if eval "test \"\${$as_ac_var+set}\" = set"; then
78760 echo $ECHO_N "(cached) $ECHO_C" >&6
78761 else
78762 if test x$gcc_no_link = xyes; then
78763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78765 { (exit 1); exit 1; }; }
78767 cat >conftest.$ac_ext <<_ACEOF
78768 /* confdefs.h. */
78769 _ACEOF
78770 cat confdefs.h >>conftest.$ac_ext
78771 cat >>conftest.$ac_ext <<_ACEOF
78772 /* end confdefs.h. */
78773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78775 #define $ac_func innocuous_$ac_func
78777 /* System header to define __stub macros and hopefully few prototypes,
78778 which can conflict with char $ac_func (); below.
78779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78780 <limits.h> exists even on freestanding compilers. */
78782 #ifdef __STDC__
78783 # include <limits.h>
78784 #else
78785 # include <assert.h>
78786 #endif
78788 #undef $ac_func
78790 /* Override any gcc2 internal prototype to avoid an error. */
78791 #ifdef __cplusplus
78792 extern "C"
78794 #endif
78795 /* We use char because int might match the return type of a gcc2
78796 builtin and then its argument prototype would still apply. */
78797 char $ac_func ();
78798 /* The GNU C library defines this for functions which it implements
78799 to always fail with ENOSYS. Some functions are actually named
78800 something starting with __ and the normal name is an alias. */
78801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78802 choke me
78803 #else
78804 char (*f) () = $ac_func;
78805 #endif
78806 #ifdef __cplusplus
78808 #endif
78811 main ()
78813 return f != $ac_func;
78815 return 0;
78817 _ACEOF
78818 rm -f conftest.$ac_objext conftest$ac_exeext
78819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78820 (eval $ac_link) 2>conftest.er1
78821 ac_status=$?
78822 grep -v '^ *+' conftest.er1 >conftest.err
78823 rm -f conftest.er1
78824 cat conftest.err >&5
78825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78826 (exit $ac_status); } &&
78827 { ac_try='test -z "$ac_c_werror_flag"
78828 || test ! -s conftest.err'
78829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78830 (eval $ac_try) 2>&5
78831 ac_status=$?
78832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78833 (exit $ac_status); }; } &&
78834 { ac_try='test -s conftest$ac_exeext'
78835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78836 (eval $ac_try) 2>&5
78837 ac_status=$?
78838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78839 (exit $ac_status); }; }; then
78840 eval "$as_ac_var=yes"
78841 else
78842 echo "$as_me: failed program was:" >&5
78843 sed 's/^/| /' conftest.$ac_ext >&5
78845 eval "$as_ac_var=no"
78847 rm -f conftest.err conftest.$ac_objext \
78848 conftest$ac_exeext conftest.$ac_ext
78850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78852 if test `eval echo '${'$as_ac_var'}'` = yes; then
78853 cat >>confdefs.h <<_ACEOF
78854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78855 _ACEOF
78857 else
78858 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78860 done
78864 for ac_func in __signbit
78866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78867 echo "$as_me:$LINENO: checking for $ac_func" >&5
78868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78869 if eval "test \"\${$as_ac_var+set}\" = set"; then
78870 echo $ECHO_N "(cached) $ECHO_C" >&6
78871 else
78872 if test x$gcc_no_link = xyes; then
78873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78875 { (exit 1); exit 1; }; }
78877 cat >conftest.$ac_ext <<_ACEOF
78878 /* confdefs.h. */
78879 _ACEOF
78880 cat confdefs.h >>conftest.$ac_ext
78881 cat >>conftest.$ac_ext <<_ACEOF
78882 /* end confdefs.h. */
78883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78885 #define $ac_func innocuous_$ac_func
78887 /* System header to define __stub macros and hopefully few prototypes,
78888 which can conflict with char $ac_func (); below.
78889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78890 <limits.h> exists even on freestanding compilers. */
78892 #ifdef __STDC__
78893 # include <limits.h>
78894 #else
78895 # include <assert.h>
78896 #endif
78898 #undef $ac_func
78900 /* Override any gcc2 internal prototype to avoid an error. */
78901 #ifdef __cplusplus
78902 extern "C"
78904 #endif
78905 /* We use char because int might match the return type of a gcc2
78906 builtin and then its argument prototype would still apply. */
78907 char $ac_func ();
78908 /* The GNU C library defines this for functions which it implements
78909 to always fail with ENOSYS. Some functions are actually named
78910 something starting with __ and the normal name is an alias. */
78911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78912 choke me
78913 #else
78914 char (*f) () = $ac_func;
78915 #endif
78916 #ifdef __cplusplus
78918 #endif
78921 main ()
78923 return f != $ac_func;
78925 return 0;
78927 _ACEOF
78928 rm -f conftest.$ac_objext conftest$ac_exeext
78929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78930 (eval $ac_link) 2>conftest.er1
78931 ac_status=$?
78932 grep -v '^ *+' conftest.er1 >conftest.err
78933 rm -f conftest.er1
78934 cat conftest.err >&5
78935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78936 (exit $ac_status); } &&
78937 { ac_try='test -z "$ac_c_werror_flag"
78938 || test ! -s conftest.err'
78939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78940 (eval $ac_try) 2>&5
78941 ac_status=$?
78942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78943 (exit $ac_status); }; } &&
78944 { ac_try='test -s conftest$ac_exeext'
78945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78946 (eval $ac_try) 2>&5
78947 ac_status=$?
78948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78949 (exit $ac_status); }; }; then
78950 eval "$as_ac_var=yes"
78951 else
78952 echo "$as_me: failed program was:" >&5
78953 sed 's/^/| /' conftest.$ac_ext >&5
78955 eval "$as_ac_var=no"
78957 rm -f conftest.err conftest.$ac_objext \
78958 conftest$ac_exeext conftest.$ac_ext
78960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78962 if test `eval echo '${'$as_ac_var'}'` = yes; then
78963 cat >>confdefs.h <<_ACEOF
78964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78965 _ACEOF
78967 else
78968 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78970 done
78974 for ac_func in __signbitf
78976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78977 echo "$as_me:$LINENO: checking for $ac_func" >&5
78978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78979 if eval "test \"\${$as_ac_var+set}\" = set"; then
78980 echo $ECHO_N "(cached) $ECHO_C" >&6
78981 else
78982 if test x$gcc_no_link = xyes; then
78983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78985 { (exit 1); exit 1; }; }
78987 cat >conftest.$ac_ext <<_ACEOF
78988 /* confdefs.h. */
78989 _ACEOF
78990 cat confdefs.h >>conftest.$ac_ext
78991 cat >>conftest.$ac_ext <<_ACEOF
78992 /* end confdefs.h. */
78993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78995 #define $ac_func innocuous_$ac_func
78997 /* System header to define __stub macros and hopefully few prototypes,
78998 which can conflict with char $ac_func (); below.
78999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79000 <limits.h> exists even on freestanding compilers. */
79002 #ifdef __STDC__
79003 # include <limits.h>
79004 #else
79005 # include <assert.h>
79006 #endif
79008 #undef $ac_func
79010 /* Override any gcc2 internal prototype to avoid an error. */
79011 #ifdef __cplusplus
79012 extern "C"
79014 #endif
79015 /* We use char because int might match the return type of a gcc2
79016 builtin and then its argument prototype would still apply. */
79017 char $ac_func ();
79018 /* The GNU C library defines this for functions which it implements
79019 to always fail with ENOSYS. Some functions are actually named
79020 something starting with __ and the normal name is an alias. */
79021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79022 choke me
79023 #else
79024 char (*f) () = $ac_func;
79025 #endif
79026 #ifdef __cplusplus
79028 #endif
79031 main ()
79033 return f != $ac_func;
79035 return 0;
79037 _ACEOF
79038 rm -f conftest.$ac_objext conftest$ac_exeext
79039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79040 (eval $ac_link) 2>conftest.er1
79041 ac_status=$?
79042 grep -v '^ *+' conftest.er1 >conftest.err
79043 rm -f conftest.er1
79044 cat conftest.err >&5
79045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79046 (exit $ac_status); } &&
79047 { ac_try='test -z "$ac_c_werror_flag"
79048 || test ! -s conftest.err'
79049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79050 (eval $ac_try) 2>&5
79051 ac_status=$?
79052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79053 (exit $ac_status); }; } &&
79054 { ac_try='test -s conftest$ac_exeext'
79055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79056 (eval $ac_try) 2>&5
79057 ac_status=$?
79058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79059 (exit $ac_status); }; }; then
79060 eval "$as_ac_var=yes"
79061 else
79062 echo "$as_me: failed program was:" >&5
79063 sed 's/^/| /' conftest.$ac_ext >&5
79065 eval "$as_ac_var=no"
79067 rm -f conftest.err conftest.$ac_objext \
79068 conftest$ac_exeext conftest.$ac_ext
79070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79072 if test `eval echo '${'$as_ac_var'}'` = yes; then
79073 cat >>confdefs.h <<_ACEOF
79074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79075 _ACEOF
79077 else
79078 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79080 done
79083 if test x$ac_cv_func_copysignl = x"yes"; then
79085 for ac_func in __signbitl
79087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79088 echo "$as_me:$LINENO: checking for $ac_func" >&5
79089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79090 if eval "test \"\${$as_ac_var+set}\" = set"; then
79091 echo $ECHO_N "(cached) $ECHO_C" >&6
79092 else
79093 if test x$gcc_no_link = xyes; then
79094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79096 { (exit 1); exit 1; }; }
79098 cat >conftest.$ac_ext <<_ACEOF
79099 /* confdefs.h. */
79100 _ACEOF
79101 cat confdefs.h >>conftest.$ac_ext
79102 cat >>conftest.$ac_ext <<_ACEOF
79103 /* end confdefs.h. */
79104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79106 #define $ac_func innocuous_$ac_func
79108 /* System header to define __stub macros and hopefully few prototypes,
79109 which can conflict with char $ac_func (); below.
79110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79111 <limits.h> exists even on freestanding compilers. */
79113 #ifdef __STDC__
79114 # include <limits.h>
79115 #else
79116 # include <assert.h>
79117 #endif
79119 #undef $ac_func
79121 /* Override any gcc2 internal prototype to avoid an error. */
79122 #ifdef __cplusplus
79123 extern "C"
79125 #endif
79126 /* We use char because int might match the return type of a gcc2
79127 builtin and then its argument prototype would still apply. */
79128 char $ac_func ();
79129 /* The GNU C library defines this for functions which it implements
79130 to always fail with ENOSYS. Some functions are actually named
79131 something starting with __ and the normal name is an alias. */
79132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79133 choke me
79134 #else
79135 char (*f) () = $ac_func;
79136 #endif
79137 #ifdef __cplusplus
79139 #endif
79142 main ()
79144 return f != $ac_func;
79146 return 0;
79148 _ACEOF
79149 rm -f conftest.$ac_objext conftest$ac_exeext
79150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79151 (eval $ac_link) 2>conftest.er1
79152 ac_status=$?
79153 grep -v '^ *+' conftest.er1 >conftest.err
79154 rm -f conftest.er1
79155 cat conftest.err >&5
79156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79157 (exit $ac_status); } &&
79158 { ac_try='test -z "$ac_c_werror_flag"
79159 || test ! -s conftest.err'
79160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79161 (eval $ac_try) 2>&5
79162 ac_status=$?
79163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79164 (exit $ac_status); }; } &&
79165 { ac_try='test -s conftest$ac_exeext'
79166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79167 (eval $ac_try) 2>&5
79168 ac_status=$?
79169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79170 (exit $ac_status); }; }; then
79171 eval "$as_ac_var=yes"
79172 else
79173 echo "$as_me: failed program was:" >&5
79174 sed 's/^/| /' conftest.$ac_ext >&5
79176 eval "$as_ac_var=no"
79178 rm -f conftest.err conftest.$ac_objext \
79179 conftest$ac_exeext conftest.$ac_ext
79181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79183 if test `eval echo '${'$as_ac_var'}'` = yes; then
79184 cat >>confdefs.h <<_ACEOF
79185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79186 _ACEOF
79188 else
79189 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79191 done
79195 # Used in libmath/Makefile.am.
79196 if test -n "$LIBMATHOBJS"; then
79197 need_libmath=yes
79203 enable_iconv=no
79204 # Only continue checking if the ISO C99 headers exist and support is on.
79205 if test x"$enable_wchar_t" = xyes; then
79207 # Use iconv for wchar_t to char conversions. As such, check for
79208 # X/Open Portability Guide, version 2 features (XPG2).
79209 if test "${ac_cv_header_iconv_h+set}" = set; then
79210 echo "$as_me:$LINENO: checking for iconv.h" >&5
79211 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79212 if test "${ac_cv_header_iconv_h+set}" = set; then
79213 echo $ECHO_N "(cached) $ECHO_C" >&6
79215 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79216 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79217 else
79218 # Is the header compilable?
79219 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79220 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79221 cat >conftest.$ac_ext <<_ACEOF
79222 /* confdefs.h. */
79223 _ACEOF
79224 cat confdefs.h >>conftest.$ac_ext
79225 cat >>conftest.$ac_ext <<_ACEOF
79226 /* end confdefs.h. */
79227 $ac_includes_default
79228 #include <iconv.h>
79229 _ACEOF
79230 rm -f conftest.$ac_objext
79231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79232 (eval $ac_compile) 2>conftest.er1
79233 ac_status=$?
79234 grep -v '^ *+' conftest.er1 >conftest.err
79235 rm -f conftest.er1
79236 cat conftest.err >&5
79237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79238 (exit $ac_status); } &&
79239 { ac_try='test -z "$ac_c_werror_flag"
79240 || test ! -s conftest.err'
79241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79242 (eval $ac_try) 2>&5
79243 ac_status=$?
79244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79245 (exit $ac_status); }; } &&
79246 { ac_try='test -s conftest.$ac_objext'
79247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79248 (eval $ac_try) 2>&5
79249 ac_status=$?
79250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79251 (exit $ac_status); }; }; then
79252 ac_header_compiler=yes
79253 else
79254 echo "$as_me: failed program was:" >&5
79255 sed 's/^/| /' conftest.$ac_ext >&5
79257 ac_header_compiler=no
79259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79261 echo "${ECHO_T}$ac_header_compiler" >&6
79263 # Is the header present?
79264 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79265 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79266 cat >conftest.$ac_ext <<_ACEOF
79267 /* confdefs.h. */
79268 _ACEOF
79269 cat confdefs.h >>conftest.$ac_ext
79270 cat >>conftest.$ac_ext <<_ACEOF
79271 /* end confdefs.h. */
79272 #include <iconv.h>
79273 _ACEOF
79274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79276 ac_status=$?
79277 grep -v '^ *+' conftest.er1 >conftest.err
79278 rm -f conftest.er1
79279 cat conftest.err >&5
79280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79281 (exit $ac_status); } >/dev/null; then
79282 if test -s conftest.err; then
79283 ac_cpp_err=$ac_c_preproc_warn_flag
79284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79285 else
79286 ac_cpp_err=
79288 else
79289 ac_cpp_err=yes
79291 if test -z "$ac_cpp_err"; then
79292 ac_header_preproc=yes
79293 else
79294 echo "$as_me: failed program was:" >&5
79295 sed 's/^/| /' conftest.$ac_ext >&5
79297 ac_header_preproc=no
79299 rm -f conftest.err conftest.$ac_ext
79300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79301 echo "${ECHO_T}$ac_header_preproc" >&6
79303 # So? What about this header?
79304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79305 yes:no: )
79306 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79307 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79308 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79309 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79310 ac_header_preproc=yes
79312 no:yes:* )
79313 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79314 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79315 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79316 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79317 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79318 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79319 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79320 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79321 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79322 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79323 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79324 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79326 cat <<\_ASBOX
79327 ## ----------------------------------------- ##
79328 ## Report this to the package-unused lists. ##
79329 ## ----------------------------------------- ##
79330 _ASBOX
79332 sed "s/^/$as_me: WARNING: /" >&2
79334 esac
79335 echo "$as_me:$LINENO: checking for iconv.h" >&5
79336 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79337 if test "${ac_cv_header_iconv_h+set}" = set; then
79338 echo $ECHO_N "(cached) $ECHO_C" >&6
79339 else
79340 ac_cv_header_iconv_h=$ac_header_preproc
79342 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79343 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79346 if test $ac_cv_header_iconv_h = yes; then
79347 ac_has_iconv_h=yes
79348 else
79349 ac_has_iconv_h=no
79353 if test "${ac_cv_header_langinfo_h+set}" = set; then
79354 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79355 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79356 if test "${ac_cv_header_langinfo_h+set}" = set; then
79357 echo $ECHO_N "(cached) $ECHO_C" >&6
79359 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79360 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79361 else
79362 # Is the header compilable?
79363 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79364 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79365 cat >conftest.$ac_ext <<_ACEOF
79366 /* confdefs.h. */
79367 _ACEOF
79368 cat confdefs.h >>conftest.$ac_ext
79369 cat >>conftest.$ac_ext <<_ACEOF
79370 /* end confdefs.h. */
79371 $ac_includes_default
79372 #include <langinfo.h>
79373 _ACEOF
79374 rm -f conftest.$ac_objext
79375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79376 (eval $ac_compile) 2>conftest.er1
79377 ac_status=$?
79378 grep -v '^ *+' conftest.er1 >conftest.err
79379 rm -f conftest.er1
79380 cat conftest.err >&5
79381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79382 (exit $ac_status); } &&
79383 { ac_try='test -z "$ac_c_werror_flag"
79384 || test ! -s conftest.err'
79385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79386 (eval $ac_try) 2>&5
79387 ac_status=$?
79388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79389 (exit $ac_status); }; } &&
79390 { ac_try='test -s conftest.$ac_objext'
79391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79392 (eval $ac_try) 2>&5
79393 ac_status=$?
79394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79395 (exit $ac_status); }; }; then
79396 ac_header_compiler=yes
79397 else
79398 echo "$as_me: failed program was:" >&5
79399 sed 's/^/| /' conftest.$ac_ext >&5
79401 ac_header_compiler=no
79403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79405 echo "${ECHO_T}$ac_header_compiler" >&6
79407 # Is the header present?
79408 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79409 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79410 cat >conftest.$ac_ext <<_ACEOF
79411 /* confdefs.h. */
79412 _ACEOF
79413 cat confdefs.h >>conftest.$ac_ext
79414 cat >>conftest.$ac_ext <<_ACEOF
79415 /* end confdefs.h. */
79416 #include <langinfo.h>
79417 _ACEOF
79418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79420 ac_status=$?
79421 grep -v '^ *+' conftest.er1 >conftest.err
79422 rm -f conftest.er1
79423 cat conftest.err >&5
79424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79425 (exit $ac_status); } >/dev/null; then
79426 if test -s conftest.err; then
79427 ac_cpp_err=$ac_c_preproc_warn_flag
79428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79429 else
79430 ac_cpp_err=
79432 else
79433 ac_cpp_err=yes
79435 if test -z "$ac_cpp_err"; then
79436 ac_header_preproc=yes
79437 else
79438 echo "$as_me: failed program was:" >&5
79439 sed 's/^/| /' conftest.$ac_ext >&5
79441 ac_header_preproc=no
79443 rm -f conftest.err conftest.$ac_ext
79444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79445 echo "${ECHO_T}$ac_header_preproc" >&6
79447 # So? What about this header?
79448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79449 yes:no: )
79450 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79451 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79452 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79453 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79454 ac_header_preproc=yes
79456 no:yes:* )
79457 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79458 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79459 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79460 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79461 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79462 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79463 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79464 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79465 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79466 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79467 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79468 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79470 cat <<\_ASBOX
79471 ## ----------------------------------------- ##
79472 ## Report this to the package-unused lists. ##
79473 ## ----------------------------------------- ##
79474 _ASBOX
79476 sed "s/^/$as_me: WARNING: /" >&2
79478 esac
79479 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79480 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79481 if test "${ac_cv_header_langinfo_h+set}" = set; then
79482 echo $ECHO_N "(cached) $ECHO_C" >&6
79483 else
79484 ac_cv_header_langinfo_h=$ac_header_preproc
79486 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79487 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79490 if test $ac_cv_header_langinfo_h = yes; then
79491 ac_has_langinfo_h=yes
79492 else
79493 ac_has_langinfo_h=no
79498 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79499 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79500 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79501 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79502 echo $ECHO_N "(cached) $ECHO_C" >&6
79503 else
79504 ac_check_lib_save_LIBS=$LIBS
79505 LIBS="-liconv $LIBS"
79506 if test x$gcc_no_link = xyes; then
79507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79509 { (exit 1); exit 1; }; }
79511 cat >conftest.$ac_ext <<_ACEOF
79512 /* confdefs.h. */
79513 _ACEOF
79514 cat confdefs.h >>conftest.$ac_ext
79515 cat >>conftest.$ac_ext <<_ACEOF
79516 /* end confdefs.h. */
79518 /* Override any gcc2 internal prototype to avoid an error. */
79519 #ifdef __cplusplus
79520 extern "C"
79521 #endif
79522 /* We use char because int might match the return type of a gcc2
79523 builtin and then its argument prototype would still apply. */
79524 char iconv ();
79526 main ()
79528 iconv ();
79530 return 0;
79532 _ACEOF
79533 rm -f conftest.$ac_objext conftest$ac_exeext
79534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79535 (eval $ac_link) 2>conftest.er1
79536 ac_status=$?
79537 grep -v '^ *+' conftest.er1 >conftest.err
79538 rm -f conftest.er1
79539 cat conftest.err >&5
79540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79541 (exit $ac_status); } &&
79542 { ac_try='test -z "$ac_c_werror_flag"
79543 || test ! -s conftest.err'
79544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79545 (eval $ac_try) 2>&5
79546 ac_status=$?
79547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79548 (exit $ac_status); }; } &&
79549 { ac_try='test -s conftest$ac_exeext'
79550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79551 (eval $ac_try) 2>&5
79552 ac_status=$?
79553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79554 (exit $ac_status); }; }; then
79555 ac_cv_lib_iconv_iconv=yes
79556 else
79557 echo "$as_me: failed program was:" >&5
79558 sed 's/^/| /' conftest.$ac_ext >&5
79560 ac_cv_lib_iconv_iconv=no
79562 rm -f conftest.err conftest.$ac_objext \
79563 conftest$ac_exeext conftest.$ac_ext
79564 LIBS=$ac_check_lib_save_LIBS
79566 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79567 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79568 if test $ac_cv_lib_iconv_iconv = yes; then
79569 LIBICONV="-liconv"
79572 ac_save_LIBS="$LIBS"
79573 LIBS="$LIBS $LIBICONV"
79580 for ac_func in iconv_open iconv_close iconv nl_langinfo
79582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79583 echo "$as_me:$LINENO: checking for $ac_func" >&5
79584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79585 if eval "test \"\${$as_ac_var+set}\" = set"; then
79586 echo $ECHO_N "(cached) $ECHO_C" >&6
79587 else
79588 if test x$gcc_no_link = xyes; then
79589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79591 { (exit 1); exit 1; }; }
79593 cat >conftest.$ac_ext <<_ACEOF
79594 /* confdefs.h. */
79595 _ACEOF
79596 cat confdefs.h >>conftest.$ac_ext
79597 cat >>conftest.$ac_ext <<_ACEOF
79598 /* end confdefs.h. */
79599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79601 #define $ac_func innocuous_$ac_func
79603 /* System header to define __stub macros and hopefully few prototypes,
79604 which can conflict with char $ac_func (); below.
79605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79606 <limits.h> exists even on freestanding compilers. */
79608 #ifdef __STDC__
79609 # include <limits.h>
79610 #else
79611 # include <assert.h>
79612 #endif
79614 #undef $ac_func
79616 /* Override any gcc2 internal prototype to avoid an error. */
79617 #ifdef __cplusplus
79618 extern "C"
79620 #endif
79621 /* We use char because int might match the return type of a gcc2
79622 builtin and then its argument prototype would still apply. */
79623 char $ac_func ();
79624 /* The GNU C library defines this for functions which it implements
79625 to always fail with ENOSYS. Some functions are actually named
79626 something starting with __ and the normal name is an alias. */
79627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79628 choke me
79629 #else
79630 char (*f) () = $ac_func;
79631 #endif
79632 #ifdef __cplusplus
79634 #endif
79637 main ()
79639 return f != $ac_func;
79641 return 0;
79643 _ACEOF
79644 rm -f conftest.$ac_objext conftest$ac_exeext
79645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79646 (eval $ac_link) 2>conftest.er1
79647 ac_status=$?
79648 grep -v '^ *+' conftest.er1 >conftest.err
79649 rm -f conftest.er1
79650 cat conftest.err >&5
79651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79652 (exit $ac_status); } &&
79653 { ac_try='test -z "$ac_c_werror_flag"
79654 || test ! -s conftest.err'
79655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656 (eval $ac_try) 2>&5
79657 ac_status=$?
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); }; } &&
79660 { ac_try='test -s conftest$ac_exeext'
79661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79662 (eval $ac_try) 2>&5
79663 ac_status=$?
79664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79665 (exit $ac_status); }; }; then
79666 eval "$as_ac_var=yes"
79667 else
79668 echo "$as_me: failed program was:" >&5
79669 sed 's/^/| /' conftest.$ac_ext >&5
79671 eval "$as_ac_var=no"
79673 rm -f conftest.err conftest.$ac_objext \
79674 conftest$ac_exeext conftest.$ac_ext
79676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79678 if test `eval echo '${'$as_ac_var'}'` = yes; then
79679 cat >>confdefs.h <<_ACEOF
79680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79681 _ACEOF
79682 ac_XPG2funcs=yes
79683 else
79684 ac_XPG2funcs=no
79686 done
79689 LIBS="$ac_save_LIBS"
79691 if test x"$ac_has_iconv_h" = xyes &&
79692 test x"$ac_has_langinfo_h" = xyes &&
79693 test x"$ac_XPG2funcs" = xyes;
79694 then
79696 cat >>confdefs.h <<\_ACEOF
79697 #define _GLIBCXX_USE_ICONV 1
79698 _ACEOF
79700 enable_iconv=yes
79703 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79704 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79705 echo "$as_me:$LINENO: result: $enable_iconv" >&5
79706 echo "${ECHO_T}$enable_iconv" >&6
79709 *-netbsd*)
79722 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79723 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79724 fp.h locale.h float.h inttypes.h
79726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79728 echo "$as_me:$LINENO: checking for $ac_header" >&5
79729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79731 echo $ECHO_N "(cached) $ECHO_C" >&6
79733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79735 else
79736 # Is the header compilable?
79737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79739 cat >conftest.$ac_ext <<_ACEOF
79740 /* confdefs.h. */
79741 _ACEOF
79742 cat confdefs.h >>conftest.$ac_ext
79743 cat >>conftest.$ac_ext <<_ACEOF
79744 /* end confdefs.h. */
79745 $ac_includes_default
79746 #include <$ac_header>
79747 _ACEOF
79748 rm -f conftest.$ac_objext
79749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79750 (eval $ac_compile) 2>conftest.er1
79751 ac_status=$?
79752 grep -v '^ *+' conftest.er1 >conftest.err
79753 rm -f conftest.er1
79754 cat conftest.err >&5
79755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79756 (exit $ac_status); } &&
79757 { ac_try='test -z "$ac_c_werror_flag"
79758 || test ! -s conftest.err'
79759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79760 (eval $ac_try) 2>&5
79761 ac_status=$?
79762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79763 (exit $ac_status); }; } &&
79764 { ac_try='test -s conftest.$ac_objext'
79765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79766 (eval $ac_try) 2>&5
79767 ac_status=$?
79768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79769 (exit $ac_status); }; }; then
79770 ac_header_compiler=yes
79771 else
79772 echo "$as_me: failed program was:" >&5
79773 sed 's/^/| /' conftest.$ac_ext >&5
79775 ac_header_compiler=no
79777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79779 echo "${ECHO_T}$ac_header_compiler" >&6
79781 # Is the header present?
79782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79784 cat >conftest.$ac_ext <<_ACEOF
79785 /* confdefs.h. */
79786 _ACEOF
79787 cat confdefs.h >>conftest.$ac_ext
79788 cat >>conftest.$ac_ext <<_ACEOF
79789 /* end confdefs.h. */
79790 #include <$ac_header>
79791 _ACEOF
79792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79794 ac_status=$?
79795 grep -v '^ *+' conftest.er1 >conftest.err
79796 rm -f conftest.er1
79797 cat conftest.err >&5
79798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79799 (exit $ac_status); } >/dev/null; then
79800 if test -s conftest.err; then
79801 ac_cpp_err=$ac_c_preproc_warn_flag
79802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79803 else
79804 ac_cpp_err=
79806 else
79807 ac_cpp_err=yes
79809 if test -z "$ac_cpp_err"; then
79810 ac_header_preproc=yes
79811 else
79812 echo "$as_me: failed program was:" >&5
79813 sed 's/^/| /' conftest.$ac_ext >&5
79815 ac_header_preproc=no
79817 rm -f conftest.err conftest.$ac_ext
79818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79819 echo "${ECHO_T}$ac_header_preproc" >&6
79821 # So? What about this header?
79822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79823 yes:no: )
79824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79828 ac_header_preproc=yes
79830 no:yes:* )
79831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79844 cat <<\_ASBOX
79845 ## ----------------------------------------- ##
79846 ## Report this to the package-unused lists. ##
79847 ## ----------------------------------------- ##
79848 _ASBOX
79850 sed "s/^/$as_me: WARNING: /" >&2
79852 esac
79853 echo "$as_me:$LINENO: checking for $ac_header" >&5
79854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79856 echo $ECHO_N "(cached) $ECHO_C" >&6
79857 else
79858 eval "$as_ac_Header=\$ac_header_preproc"
79860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79865 cat >>confdefs.h <<_ACEOF
79866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79867 _ACEOF
79871 done
79873 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79876 # If we're not using GNU ld, then there's no point in even trying these
79877 # tests. Check for that first. We should have already tested for gld
79878 # by now (in libtool), but require it now just to be safe...
79879 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79880 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79884 # The name set by libtool depends on the version of libtool. Shame on us
79885 # for depending on an impl detail, but c'est la vie. Older versions used
79886 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79887 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79888 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79889 # set (hence we're using an older libtool), then set it.
79890 if test x${with_gnu_ld+set} != xset; then
79891 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79892 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79893 with_gnu_ld=no
79894 else
79895 with_gnu_ld=$ac_cv_prog_gnu_ld
79899 # Start by getting the version number. I think the libtool test already
79900 # does some of this, but throws away the result.
79902 ldver=`$LD --version 2>/dev/null | head -1 | \
79903 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79905 glibcxx_gnu_ld_version=`echo $ldver | \
79906 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79908 # Set --gc-sections.
79909 if test "$with_gnu_ld" = "notbroken"; then
79910 # GNU ld it is! Joy and bunny rabbits!
79912 # All these tests are for C++; save the language and the compiler flags.
79913 # Need to do this so that g++ won't try to link in libstdc++
79914 ac_test_CFLAGS="${CFLAGS+set}"
79915 ac_save_CFLAGS="$CFLAGS"
79916 CFLAGS='-x c++ -Wl,--gc-sections'
79918 # Check for -Wl,--gc-sections
79919 # XXX This test is broken at the moment, as symbols required for linking
79920 # are now in libsupc++ (not built yet). In addition, this test has
79921 # cored on solaris in the past. In addition, --gc-sections doesn't
79922 # really work at the moment (keeps on discarding used sections, first
79923 # .eh_frame and now some of the glibc sections for iconv).
79924 # Bzzzzt. Thanks for playing, maybe next time.
79925 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79926 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79927 if test "$cross_compiling" = yes; then
79928 ac_sectionLDflags=yes
79929 else
79930 cat >conftest.$ac_ext <<_ACEOF
79931 /* confdefs.h. */
79932 _ACEOF
79933 cat confdefs.h >>conftest.$ac_ext
79934 cat >>conftest.$ac_ext <<_ACEOF
79935 /* end confdefs.h. */
79937 int main(void)
79939 try { throw 1; }
79940 catch (...) { };
79941 return 0;
79944 _ACEOF
79945 rm -f conftest$ac_exeext
79946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79947 (eval $ac_link) 2>&5
79948 ac_status=$?
79949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79952 (eval $ac_try) 2>&5
79953 ac_status=$?
79954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79955 (exit $ac_status); }; }; then
79956 ac_sectionLDflags=yes
79957 else
79958 echo "$as_me: program exited with status $ac_status" >&5
79959 echo "$as_me: failed program was:" >&5
79960 sed 's/^/| /' conftest.$ac_ext >&5
79962 ( exit $ac_status )
79963 ac_sectionLDflags=no
79965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79967 if test "$ac_test_CFLAGS" = set; then
79968 CFLAGS="$ac_save_CFLAGS"
79969 else
79970 # this is the suspicious part
79971 CFLAGS=''
79973 if test "$ac_sectionLDflags" = "yes"; then
79974 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79976 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79977 echo "${ECHO_T}$ac_sectionLDflags" >&6
79980 # Set linker optimization flags.
79981 if test x"$with_gnu_ld" = x"yes"; then
79982 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79990 echo "$as_me:$LINENO: checking for main in -lm" >&5
79991 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79992 if test "${ac_cv_lib_m_main+set}" = set; then
79993 echo $ECHO_N "(cached) $ECHO_C" >&6
79994 else
79995 ac_check_lib_save_LIBS=$LIBS
79996 LIBS="-lm $LIBS"
79997 if test x$gcc_no_link = xyes; then
79998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80000 { (exit 1); exit 1; }; }
80002 cat >conftest.$ac_ext <<_ACEOF
80003 /* confdefs.h. */
80004 _ACEOF
80005 cat confdefs.h >>conftest.$ac_ext
80006 cat >>conftest.$ac_ext <<_ACEOF
80007 /* end confdefs.h. */
80011 main ()
80013 main ();
80015 return 0;
80017 _ACEOF
80018 rm -f conftest.$ac_objext conftest$ac_exeext
80019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80020 (eval $ac_link) 2>conftest.er1
80021 ac_status=$?
80022 grep -v '^ *+' conftest.er1 >conftest.err
80023 rm -f conftest.er1
80024 cat conftest.err >&5
80025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026 (exit $ac_status); } &&
80027 { ac_try='test -z "$ac_c_werror_flag"
80028 || test ! -s conftest.err'
80029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80030 (eval $ac_try) 2>&5
80031 ac_status=$?
80032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80033 (exit $ac_status); }; } &&
80034 { ac_try='test -s conftest$ac_exeext'
80035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80036 (eval $ac_try) 2>&5
80037 ac_status=$?
80038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80039 (exit $ac_status); }; }; then
80040 ac_cv_lib_m_main=yes
80041 else
80042 echo "$as_me: failed program was:" >&5
80043 sed 's/^/| /' conftest.$ac_ext >&5
80045 ac_cv_lib_m_main=no
80047 rm -f conftest.err conftest.$ac_objext \
80048 conftest$ac_exeext conftest.$ac_ext
80049 LIBS=$ac_check_lib_save_LIBS
80051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80052 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80053 if test $ac_cv_lib_m_main = yes; then
80054 cat >>confdefs.h <<_ACEOF
80055 #define HAVE_LIBM 1
80056 _ACEOF
80058 LIBS="-lm $LIBS"
80063 for ac_func in copysignf
80065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80066 echo "$as_me:$LINENO: checking for $ac_func" >&5
80067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80068 if eval "test \"\${$as_ac_var+set}\" = set"; then
80069 echo $ECHO_N "(cached) $ECHO_C" >&6
80070 else
80071 if test x$gcc_no_link = xyes; then
80072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80074 { (exit 1); exit 1; }; }
80076 cat >conftest.$ac_ext <<_ACEOF
80077 /* confdefs.h. */
80078 _ACEOF
80079 cat confdefs.h >>conftest.$ac_ext
80080 cat >>conftest.$ac_ext <<_ACEOF
80081 /* end confdefs.h. */
80082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80084 #define $ac_func innocuous_$ac_func
80086 /* System header to define __stub macros and hopefully few prototypes,
80087 which can conflict with char $ac_func (); below.
80088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80089 <limits.h> exists even on freestanding compilers. */
80091 #ifdef __STDC__
80092 # include <limits.h>
80093 #else
80094 # include <assert.h>
80095 #endif
80097 #undef $ac_func
80099 /* Override any gcc2 internal prototype to avoid an error. */
80100 #ifdef __cplusplus
80101 extern "C"
80103 #endif
80104 /* We use char because int might match the return type of a gcc2
80105 builtin and then its argument prototype would still apply. */
80106 char $ac_func ();
80107 /* The GNU C library defines this for functions which it implements
80108 to always fail with ENOSYS. Some functions are actually named
80109 something starting with __ and the normal name is an alias. */
80110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80111 choke me
80112 #else
80113 char (*f) () = $ac_func;
80114 #endif
80115 #ifdef __cplusplus
80117 #endif
80120 main ()
80122 return f != $ac_func;
80124 return 0;
80126 _ACEOF
80127 rm -f conftest.$ac_objext conftest$ac_exeext
80128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80129 (eval $ac_link) 2>conftest.er1
80130 ac_status=$?
80131 grep -v '^ *+' conftest.er1 >conftest.err
80132 rm -f conftest.er1
80133 cat conftest.err >&5
80134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135 (exit $ac_status); } &&
80136 { ac_try='test -z "$ac_c_werror_flag"
80137 || test ! -s conftest.err'
80138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80139 (eval $ac_try) 2>&5
80140 ac_status=$?
80141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80142 (exit $ac_status); }; } &&
80143 { ac_try='test -s conftest$ac_exeext'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; }; then
80149 eval "$as_ac_var=yes"
80150 else
80151 echo "$as_me: failed program was:" >&5
80152 sed 's/^/| /' conftest.$ac_ext >&5
80154 eval "$as_ac_var=no"
80156 rm -f conftest.err conftest.$ac_objext \
80157 conftest$ac_exeext conftest.$ac_ext
80159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80161 if test `eval echo '${'$as_ac_var'}'` = yes; then
80162 cat >>confdefs.h <<_ACEOF
80163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80164 _ACEOF
80166 else
80167 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80169 done
80173 for ac_func in __signbit
80175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80176 echo "$as_me:$LINENO: checking for $ac_func" >&5
80177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80178 if eval "test \"\${$as_ac_var+set}\" = set"; then
80179 echo $ECHO_N "(cached) $ECHO_C" >&6
80180 else
80181 if test x$gcc_no_link = xyes; then
80182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80184 { (exit 1); exit 1; }; }
80186 cat >conftest.$ac_ext <<_ACEOF
80187 /* confdefs.h. */
80188 _ACEOF
80189 cat confdefs.h >>conftest.$ac_ext
80190 cat >>conftest.$ac_ext <<_ACEOF
80191 /* end confdefs.h. */
80192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80194 #define $ac_func innocuous_$ac_func
80196 /* System header to define __stub macros and hopefully few prototypes,
80197 which can conflict with char $ac_func (); below.
80198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80199 <limits.h> exists even on freestanding compilers. */
80201 #ifdef __STDC__
80202 # include <limits.h>
80203 #else
80204 # include <assert.h>
80205 #endif
80207 #undef $ac_func
80209 /* Override any gcc2 internal prototype to avoid an error. */
80210 #ifdef __cplusplus
80211 extern "C"
80213 #endif
80214 /* We use char because int might match the return type of a gcc2
80215 builtin and then its argument prototype would still apply. */
80216 char $ac_func ();
80217 /* The GNU C library defines this for functions which it implements
80218 to always fail with ENOSYS. Some functions are actually named
80219 something starting with __ and the normal name is an alias. */
80220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80221 choke me
80222 #else
80223 char (*f) () = $ac_func;
80224 #endif
80225 #ifdef __cplusplus
80227 #endif
80230 main ()
80232 return f != $ac_func;
80234 return 0;
80236 _ACEOF
80237 rm -f conftest.$ac_objext conftest$ac_exeext
80238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80239 (eval $ac_link) 2>conftest.er1
80240 ac_status=$?
80241 grep -v '^ *+' conftest.er1 >conftest.err
80242 rm -f conftest.er1
80243 cat conftest.err >&5
80244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80245 (exit $ac_status); } &&
80246 { ac_try='test -z "$ac_c_werror_flag"
80247 || test ! -s conftest.err'
80248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80249 (eval $ac_try) 2>&5
80250 ac_status=$?
80251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80252 (exit $ac_status); }; } &&
80253 { ac_try='test -s conftest$ac_exeext'
80254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80255 (eval $ac_try) 2>&5
80256 ac_status=$?
80257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80258 (exit $ac_status); }; }; then
80259 eval "$as_ac_var=yes"
80260 else
80261 echo "$as_me: failed program was:" >&5
80262 sed 's/^/| /' conftest.$ac_ext >&5
80264 eval "$as_ac_var=no"
80266 rm -f conftest.err conftest.$ac_objext \
80267 conftest$ac_exeext conftest.$ac_ext
80269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80271 if test `eval echo '${'$as_ac_var'}'` = yes; then
80272 cat >>confdefs.h <<_ACEOF
80273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80274 _ACEOF
80276 else
80277 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80279 done
80283 for ac_func in __signbitf
80285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80286 echo "$as_me:$LINENO: checking for $ac_func" >&5
80287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80288 if eval "test \"\${$as_ac_var+set}\" = set"; then
80289 echo $ECHO_N "(cached) $ECHO_C" >&6
80290 else
80291 if test x$gcc_no_link = xyes; then
80292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80294 { (exit 1); exit 1; }; }
80296 cat >conftest.$ac_ext <<_ACEOF
80297 /* confdefs.h. */
80298 _ACEOF
80299 cat confdefs.h >>conftest.$ac_ext
80300 cat >>conftest.$ac_ext <<_ACEOF
80301 /* end confdefs.h. */
80302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80304 #define $ac_func innocuous_$ac_func
80306 /* System header to define __stub macros and hopefully few prototypes,
80307 which can conflict with char $ac_func (); below.
80308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80309 <limits.h> exists even on freestanding compilers. */
80311 #ifdef __STDC__
80312 # include <limits.h>
80313 #else
80314 # include <assert.h>
80315 #endif
80317 #undef $ac_func
80319 /* Override any gcc2 internal prototype to avoid an error. */
80320 #ifdef __cplusplus
80321 extern "C"
80323 #endif
80324 /* We use char because int might match the return type of a gcc2
80325 builtin and then its argument prototype would still apply. */
80326 char $ac_func ();
80327 /* The GNU C library defines this for functions which it implements
80328 to always fail with ENOSYS. Some functions are actually named
80329 something starting with __ and the normal name is an alias. */
80330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80331 choke me
80332 #else
80333 char (*f) () = $ac_func;
80334 #endif
80335 #ifdef __cplusplus
80337 #endif
80340 main ()
80342 return f != $ac_func;
80344 return 0;
80346 _ACEOF
80347 rm -f conftest.$ac_objext conftest$ac_exeext
80348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80349 (eval $ac_link) 2>conftest.er1
80350 ac_status=$?
80351 grep -v '^ *+' conftest.er1 >conftest.err
80352 rm -f conftest.er1
80353 cat conftest.err >&5
80354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80355 (exit $ac_status); } &&
80356 { ac_try='test -z "$ac_c_werror_flag"
80357 || test ! -s conftest.err'
80358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80359 (eval $ac_try) 2>&5
80360 ac_status=$?
80361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80362 (exit $ac_status); }; } &&
80363 { ac_try='test -s conftest$ac_exeext'
80364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80365 (eval $ac_try) 2>&5
80366 ac_status=$?
80367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80368 (exit $ac_status); }; }; then
80369 eval "$as_ac_var=yes"
80370 else
80371 echo "$as_me: failed program was:" >&5
80372 sed 's/^/| /' conftest.$ac_ext >&5
80374 eval "$as_ac_var=no"
80376 rm -f conftest.err conftest.$ac_objext \
80377 conftest$ac_exeext conftest.$ac_ext
80379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80381 if test `eval echo '${'$as_ac_var'}'` = yes; then
80382 cat >>confdefs.h <<_ACEOF
80383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80384 _ACEOF
80386 else
80387 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80389 done
80392 if test x$ac_cv_func_copysignl = x"yes"; then
80394 for ac_func in __signbitl
80396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80397 echo "$as_me:$LINENO: checking for $ac_func" >&5
80398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80399 if eval "test \"\${$as_ac_var+set}\" = set"; then
80400 echo $ECHO_N "(cached) $ECHO_C" >&6
80401 else
80402 if test x$gcc_no_link = xyes; then
80403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80405 { (exit 1); exit 1; }; }
80407 cat >conftest.$ac_ext <<_ACEOF
80408 /* confdefs.h. */
80409 _ACEOF
80410 cat confdefs.h >>conftest.$ac_ext
80411 cat >>conftest.$ac_ext <<_ACEOF
80412 /* end confdefs.h. */
80413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80415 #define $ac_func innocuous_$ac_func
80417 /* System header to define __stub macros and hopefully few prototypes,
80418 which can conflict with char $ac_func (); below.
80419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80420 <limits.h> exists even on freestanding compilers. */
80422 #ifdef __STDC__
80423 # include <limits.h>
80424 #else
80425 # include <assert.h>
80426 #endif
80428 #undef $ac_func
80430 /* Override any gcc2 internal prototype to avoid an error. */
80431 #ifdef __cplusplus
80432 extern "C"
80434 #endif
80435 /* We use char because int might match the return type of a gcc2
80436 builtin and then its argument prototype would still apply. */
80437 char $ac_func ();
80438 /* The GNU C library defines this for functions which it implements
80439 to always fail with ENOSYS. Some functions are actually named
80440 something starting with __ and the normal name is an alias. */
80441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80442 choke me
80443 #else
80444 char (*f) () = $ac_func;
80445 #endif
80446 #ifdef __cplusplus
80448 #endif
80451 main ()
80453 return f != $ac_func;
80455 return 0;
80457 _ACEOF
80458 rm -f conftest.$ac_objext conftest$ac_exeext
80459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80460 (eval $ac_link) 2>conftest.er1
80461 ac_status=$?
80462 grep -v '^ *+' conftest.er1 >conftest.err
80463 rm -f conftest.er1
80464 cat conftest.err >&5
80465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80466 (exit $ac_status); } &&
80467 { ac_try='test -z "$ac_c_werror_flag"
80468 || test ! -s conftest.err'
80469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80470 (eval $ac_try) 2>&5
80471 ac_status=$?
80472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80473 (exit $ac_status); }; } &&
80474 { ac_try='test -s conftest$ac_exeext'
80475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80476 (eval $ac_try) 2>&5
80477 ac_status=$?
80478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80479 (exit $ac_status); }; }; then
80480 eval "$as_ac_var=yes"
80481 else
80482 echo "$as_me: failed program was:" >&5
80483 sed 's/^/| /' conftest.$ac_ext >&5
80485 eval "$as_ac_var=no"
80487 rm -f conftest.err conftest.$ac_objext \
80488 conftest$ac_exeext conftest.$ac_ext
80490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80492 if test `eval echo '${'$as_ac_var'}'` = yes; then
80493 cat >>confdefs.h <<_ACEOF
80494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80495 _ACEOF
80497 else
80498 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80500 done
80504 # Used in libmath/Makefile.am.
80505 if test -n "$LIBMATHOBJS"; then
80506 need_libmath=yes
80512 enable_iconv=no
80513 # Only continue checking if the ISO C99 headers exist and support is on.
80514 if test x"$enable_wchar_t" = xyes; then
80516 # Use iconv for wchar_t to char conversions. As such, check for
80517 # X/Open Portability Guide, version 2 features (XPG2).
80518 if test "${ac_cv_header_iconv_h+set}" = set; then
80519 echo "$as_me:$LINENO: checking for iconv.h" >&5
80520 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80521 if test "${ac_cv_header_iconv_h+set}" = set; then
80522 echo $ECHO_N "(cached) $ECHO_C" >&6
80524 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80525 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80526 else
80527 # Is the header compilable?
80528 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80529 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80530 cat >conftest.$ac_ext <<_ACEOF
80531 /* confdefs.h. */
80532 _ACEOF
80533 cat confdefs.h >>conftest.$ac_ext
80534 cat >>conftest.$ac_ext <<_ACEOF
80535 /* end confdefs.h. */
80536 $ac_includes_default
80537 #include <iconv.h>
80538 _ACEOF
80539 rm -f conftest.$ac_objext
80540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80541 (eval $ac_compile) 2>conftest.er1
80542 ac_status=$?
80543 grep -v '^ *+' conftest.er1 >conftest.err
80544 rm -f conftest.er1
80545 cat conftest.err >&5
80546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80547 (exit $ac_status); } &&
80548 { ac_try='test -z "$ac_c_werror_flag"
80549 || test ! -s conftest.err'
80550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80551 (eval $ac_try) 2>&5
80552 ac_status=$?
80553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80554 (exit $ac_status); }; } &&
80555 { ac_try='test -s conftest.$ac_objext'
80556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80557 (eval $ac_try) 2>&5
80558 ac_status=$?
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); }; }; then
80561 ac_header_compiler=yes
80562 else
80563 echo "$as_me: failed program was:" >&5
80564 sed 's/^/| /' conftest.$ac_ext >&5
80566 ac_header_compiler=no
80568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80570 echo "${ECHO_T}$ac_header_compiler" >&6
80572 # Is the header present?
80573 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80574 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80575 cat >conftest.$ac_ext <<_ACEOF
80576 /* confdefs.h. */
80577 _ACEOF
80578 cat confdefs.h >>conftest.$ac_ext
80579 cat >>conftest.$ac_ext <<_ACEOF
80580 /* end confdefs.h. */
80581 #include <iconv.h>
80582 _ACEOF
80583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80585 ac_status=$?
80586 grep -v '^ *+' conftest.er1 >conftest.err
80587 rm -f conftest.er1
80588 cat conftest.err >&5
80589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80590 (exit $ac_status); } >/dev/null; then
80591 if test -s conftest.err; then
80592 ac_cpp_err=$ac_c_preproc_warn_flag
80593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80594 else
80595 ac_cpp_err=
80597 else
80598 ac_cpp_err=yes
80600 if test -z "$ac_cpp_err"; then
80601 ac_header_preproc=yes
80602 else
80603 echo "$as_me: failed program was:" >&5
80604 sed 's/^/| /' conftest.$ac_ext >&5
80606 ac_header_preproc=no
80608 rm -f conftest.err conftest.$ac_ext
80609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80610 echo "${ECHO_T}$ac_header_preproc" >&6
80612 # So? What about this header?
80613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80614 yes:no: )
80615 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80616 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80617 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80618 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80619 ac_header_preproc=yes
80621 no:yes:* )
80622 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80623 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80624 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80625 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80626 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80627 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80628 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80629 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80630 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80631 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80632 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80633 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80635 cat <<\_ASBOX
80636 ## ----------------------------------------- ##
80637 ## Report this to the package-unused lists. ##
80638 ## ----------------------------------------- ##
80639 _ASBOX
80641 sed "s/^/$as_me: WARNING: /" >&2
80643 esac
80644 echo "$as_me:$LINENO: checking for iconv.h" >&5
80645 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80646 if test "${ac_cv_header_iconv_h+set}" = set; then
80647 echo $ECHO_N "(cached) $ECHO_C" >&6
80648 else
80649 ac_cv_header_iconv_h=$ac_header_preproc
80651 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80652 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80655 if test $ac_cv_header_iconv_h = yes; then
80656 ac_has_iconv_h=yes
80657 else
80658 ac_has_iconv_h=no
80662 if test "${ac_cv_header_langinfo_h+set}" = set; then
80663 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80664 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80665 if test "${ac_cv_header_langinfo_h+set}" = set; then
80666 echo $ECHO_N "(cached) $ECHO_C" >&6
80668 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80669 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80670 else
80671 # Is the header compilable?
80672 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80673 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80674 cat >conftest.$ac_ext <<_ACEOF
80675 /* confdefs.h. */
80676 _ACEOF
80677 cat confdefs.h >>conftest.$ac_ext
80678 cat >>conftest.$ac_ext <<_ACEOF
80679 /* end confdefs.h. */
80680 $ac_includes_default
80681 #include <langinfo.h>
80682 _ACEOF
80683 rm -f conftest.$ac_objext
80684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80685 (eval $ac_compile) 2>conftest.er1
80686 ac_status=$?
80687 grep -v '^ *+' conftest.er1 >conftest.err
80688 rm -f conftest.er1
80689 cat conftest.err >&5
80690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80691 (exit $ac_status); } &&
80692 { ac_try='test -z "$ac_c_werror_flag"
80693 || test ! -s conftest.err'
80694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80695 (eval $ac_try) 2>&5
80696 ac_status=$?
80697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80698 (exit $ac_status); }; } &&
80699 { ac_try='test -s conftest.$ac_objext'
80700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80701 (eval $ac_try) 2>&5
80702 ac_status=$?
80703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80704 (exit $ac_status); }; }; then
80705 ac_header_compiler=yes
80706 else
80707 echo "$as_me: failed program was:" >&5
80708 sed 's/^/| /' conftest.$ac_ext >&5
80710 ac_header_compiler=no
80712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80714 echo "${ECHO_T}$ac_header_compiler" >&6
80716 # Is the header present?
80717 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80718 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80719 cat >conftest.$ac_ext <<_ACEOF
80720 /* confdefs.h. */
80721 _ACEOF
80722 cat confdefs.h >>conftest.$ac_ext
80723 cat >>conftest.$ac_ext <<_ACEOF
80724 /* end confdefs.h. */
80725 #include <langinfo.h>
80726 _ACEOF
80727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80729 ac_status=$?
80730 grep -v '^ *+' conftest.er1 >conftest.err
80731 rm -f conftest.er1
80732 cat conftest.err >&5
80733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80734 (exit $ac_status); } >/dev/null; then
80735 if test -s conftest.err; then
80736 ac_cpp_err=$ac_c_preproc_warn_flag
80737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80738 else
80739 ac_cpp_err=
80741 else
80742 ac_cpp_err=yes
80744 if test -z "$ac_cpp_err"; then
80745 ac_header_preproc=yes
80746 else
80747 echo "$as_me: failed program was:" >&5
80748 sed 's/^/| /' conftest.$ac_ext >&5
80750 ac_header_preproc=no
80752 rm -f conftest.err conftest.$ac_ext
80753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80754 echo "${ECHO_T}$ac_header_preproc" >&6
80756 # So? What about this header?
80757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80758 yes:no: )
80759 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80760 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80761 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80762 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80763 ac_header_preproc=yes
80765 no:yes:* )
80766 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80767 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80768 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80769 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80770 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80771 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80772 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80773 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80774 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80775 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80776 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80777 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80779 cat <<\_ASBOX
80780 ## ----------------------------------------- ##
80781 ## Report this to the package-unused lists. ##
80782 ## ----------------------------------------- ##
80783 _ASBOX
80785 sed "s/^/$as_me: WARNING: /" >&2
80787 esac
80788 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80789 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80790 if test "${ac_cv_header_langinfo_h+set}" = set; then
80791 echo $ECHO_N "(cached) $ECHO_C" >&6
80792 else
80793 ac_cv_header_langinfo_h=$ac_header_preproc
80795 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80796 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80799 if test $ac_cv_header_langinfo_h = yes; then
80800 ac_has_langinfo_h=yes
80801 else
80802 ac_has_langinfo_h=no
80807 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80808 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80809 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80810 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80811 echo $ECHO_N "(cached) $ECHO_C" >&6
80812 else
80813 ac_check_lib_save_LIBS=$LIBS
80814 LIBS="-liconv $LIBS"
80815 if test x$gcc_no_link = xyes; then
80816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80818 { (exit 1); exit 1; }; }
80820 cat >conftest.$ac_ext <<_ACEOF
80821 /* confdefs.h. */
80822 _ACEOF
80823 cat confdefs.h >>conftest.$ac_ext
80824 cat >>conftest.$ac_ext <<_ACEOF
80825 /* end confdefs.h. */
80827 /* Override any gcc2 internal prototype to avoid an error. */
80828 #ifdef __cplusplus
80829 extern "C"
80830 #endif
80831 /* We use char because int might match the return type of a gcc2
80832 builtin and then its argument prototype would still apply. */
80833 char iconv ();
80835 main ()
80837 iconv ();
80839 return 0;
80841 _ACEOF
80842 rm -f conftest.$ac_objext conftest$ac_exeext
80843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80844 (eval $ac_link) 2>conftest.er1
80845 ac_status=$?
80846 grep -v '^ *+' conftest.er1 >conftest.err
80847 rm -f conftest.er1
80848 cat conftest.err >&5
80849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80850 (exit $ac_status); } &&
80851 { ac_try='test -z "$ac_c_werror_flag"
80852 || test ! -s conftest.err'
80853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80854 (eval $ac_try) 2>&5
80855 ac_status=$?
80856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80857 (exit $ac_status); }; } &&
80858 { ac_try='test -s conftest$ac_exeext'
80859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80860 (eval $ac_try) 2>&5
80861 ac_status=$?
80862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80863 (exit $ac_status); }; }; then
80864 ac_cv_lib_iconv_iconv=yes
80865 else
80866 echo "$as_me: failed program was:" >&5
80867 sed 's/^/| /' conftest.$ac_ext >&5
80869 ac_cv_lib_iconv_iconv=no
80871 rm -f conftest.err conftest.$ac_objext \
80872 conftest$ac_exeext conftest.$ac_ext
80873 LIBS=$ac_check_lib_save_LIBS
80875 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80876 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80877 if test $ac_cv_lib_iconv_iconv = yes; then
80878 LIBICONV="-liconv"
80881 ac_save_LIBS="$LIBS"
80882 LIBS="$LIBS $LIBICONV"
80889 for ac_func in iconv_open iconv_close iconv nl_langinfo
80891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80892 echo "$as_me:$LINENO: checking for $ac_func" >&5
80893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80894 if eval "test \"\${$as_ac_var+set}\" = set"; then
80895 echo $ECHO_N "(cached) $ECHO_C" >&6
80896 else
80897 if test x$gcc_no_link = xyes; then
80898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80900 { (exit 1); exit 1; }; }
80902 cat >conftest.$ac_ext <<_ACEOF
80903 /* confdefs.h. */
80904 _ACEOF
80905 cat confdefs.h >>conftest.$ac_ext
80906 cat >>conftest.$ac_ext <<_ACEOF
80907 /* end confdefs.h. */
80908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80910 #define $ac_func innocuous_$ac_func
80912 /* System header to define __stub macros and hopefully few prototypes,
80913 which can conflict with char $ac_func (); below.
80914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80915 <limits.h> exists even on freestanding compilers. */
80917 #ifdef __STDC__
80918 # include <limits.h>
80919 #else
80920 # include <assert.h>
80921 #endif
80923 #undef $ac_func
80925 /* Override any gcc2 internal prototype to avoid an error. */
80926 #ifdef __cplusplus
80927 extern "C"
80929 #endif
80930 /* We use char because int might match the return type of a gcc2
80931 builtin and then its argument prototype would still apply. */
80932 char $ac_func ();
80933 /* The GNU C library defines this for functions which it implements
80934 to always fail with ENOSYS. Some functions are actually named
80935 something starting with __ and the normal name is an alias. */
80936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80937 choke me
80938 #else
80939 char (*f) () = $ac_func;
80940 #endif
80941 #ifdef __cplusplus
80943 #endif
80946 main ()
80948 return f != $ac_func;
80950 return 0;
80952 _ACEOF
80953 rm -f conftest.$ac_objext conftest$ac_exeext
80954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80955 (eval $ac_link) 2>conftest.er1
80956 ac_status=$?
80957 grep -v '^ *+' conftest.er1 >conftest.err
80958 rm -f conftest.er1
80959 cat conftest.err >&5
80960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80961 (exit $ac_status); } &&
80962 { ac_try='test -z "$ac_c_werror_flag"
80963 || test ! -s conftest.err'
80964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80965 (eval $ac_try) 2>&5
80966 ac_status=$?
80967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80968 (exit $ac_status); }; } &&
80969 { ac_try='test -s conftest$ac_exeext'
80970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80971 (eval $ac_try) 2>&5
80972 ac_status=$?
80973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80974 (exit $ac_status); }; }; then
80975 eval "$as_ac_var=yes"
80976 else
80977 echo "$as_me: failed program was:" >&5
80978 sed 's/^/| /' conftest.$ac_ext >&5
80980 eval "$as_ac_var=no"
80982 rm -f conftest.err conftest.$ac_objext \
80983 conftest$ac_exeext conftest.$ac_ext
80985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80987 if test `eval echo '${'$as_ac_var'}'` = yes; then
80988 cat >>confdefs.h <<_ACEOF
80989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80990 _ACEOF
80991 ac_XPG2funcs=yes
80992 else
80993 ac_XPG2funcs=no
80995 done
80998 LIBS="$ac_save_LIBS"
81000 if test x"$ac_has_iconv_h" = xyes &&
81001 test x"$ac_has_langinfo_h" = xyes &&
81002 test x"$ac_XPG2funcs" = xyes;
81003 then
81005 cat >>confdefs.h <<\_ACEOF
81006 #define _GLIBCXX_USE_ICONV 1
81007 _ACEOF
81009 enable_iconv=yes
81012 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81013 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81014 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81015 echo "${ECHO_T}$enable_iconv" >&6
81017 cat >>confdefs.h <<\_ACEOF
81018 #define HAVE_COPYSIGN 1
81019 _ACEOF
81021 cat >>confdefs.h <<\_ACEOF
81022 #define HAVE_COPYSIGNF 1
81023 _ACEOF
81025 cat >>confdefs.h <<\_ACEOF
81026 #define HAVE_FINITEF 1
81027 _ACEOF
81029 cat >>confdefs.h <<\_ACEOF
81030 #define HAVE_FINITE 1
81031 _ACEOF
81033 cat >>confdefs.h <<\_ACEOF
81034 #define HAVE_FREXPF 1
81035 _ACEOF
81037 cat >>confdefs.h <<\_ACEOF
81038 #define HAVE_HYPOTF 1
81039 _ACEOF
81041 cat >>confdefs.h <<\_ACEOF
81042 #define HAVE_ISINF 1
81043 _ACEOF
81045 cat >>confdefs.h <<\_ACEOF
81046 #define HAVE_ISINFF 1
81047 _ACEOF
81049 cat >>confdefs.h <<\_ACEOF
81050 #define HAVE_ISNAN 1
81051 _ACEOF
81053 cat >>confdefs.h <<\_ACEOF
81054 #define HAVE_ISNANF 1
81055 _ACEOF
81057 if test x"long_double_math_on_this_cpu" = x"yes"; then
81058 cat >>confdefs.h <<\_ACEOF
81059 #define HAVE_FINITEL 1
81060 _ACEOF
81062 cat >>confdefs.h <<\_ACEOF
81063 #define HAVE_ISINFL 1
81064 _ACEOF
81066 cat >>confdefs.h <<\_ACEOF
81067 #define HAVE_ISNANL 1
81068 _ACEOF
81072 *-netware)
81081 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81082 sys/types.h locale.h float.h inttypes.h
81084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81086 echo "$as_me:$LINENO: checking for $ac_header" >&5
81087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81089 echo $ECHO_N "(cached) $ECHO_C" >&6
81091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81093 else
81094 # Is the header compilable?
81095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81097 cat >conftest.$ac_ext <<_ACEOF
81098 /* confdefs.h. */
81099 _ACEOF
81100 cat confdefs.h >>conftest.$ac_ext
81101 cat >>conftest.$ac_ext <<_ACEOF
81102 /* end confdefs.h. */
81103 $ac_includes_default
81104 #include <$ac_header>
81105 _ACEOF
81106 rm -f conftest.$ac_objext
81107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81108 (eval $ac_compile) 2>conftest.er1
81109 ac_status=$?
81110 grep -v '^ *+' conftest.er1 >conftest.err
81111 rm -f conftest.er1
81112 cat conftest.err >&5
81113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81114 (exit $ac_status); } &&
81115 { ac_try='test -z "$ac_c_werror_flag"
81116 || test ! -s conftest.err'
81117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81118 (eval $ac_try) 2>&5
81119 ac_status=$?
81120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81121 (exit $ac_status); }; } &&
81122 { ac_try='test -s conftest.$ac_objext'
81123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81124 (eval $ac_try) 2>&5
81125 ac_status=$?
81126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81127 (exit $ac_status); }; }; then
81128 ac_header_compiler=yes
81129 else
81130 echo "$as_me: failed program was:" >&5
81131 sed 's/^/| /' conftest.$ac_ext >&5
81133 ac_header_compiler=no
81135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81137 echo "${ECHO_T}$ac_header_compiler" >&6
81139 # Is the header present?
81140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81142 cat >conftest.$ac_ext <<_ACEOF
81143 /* confdefs.h. */
81144 _ACEOF
81145 cat confdefs.h >>conftest.$ac_ext
81146 cat >>conftest.$ac_ext <<_ACEOF
81147 /* end confdefs.h. */
81148 #include <$ac_header>
81149 _ACEOF
81150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81152 ac_status=$?
81153 grep -v '^ *+' conftest.er1 >conftest.err
81154 rm -f conftest.er1
81155 cat conftest.err >&5
81156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81157 (exit $ac_status); } >/dev/null; then
81158 if test -s conftest.err; then
81159 ac_cpp_err=$ac_c_preproc_warn_flag
81160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81161 else
81162 ac_cpp_err=
81164 else
81165 ac_cpp_err=yes
81167 if test -z "$ac_cpp_err"; then
81168 ac_header_preproc=yes
81169 else
81170 echo "$as_me: failed program was:" >&5
81171 sed 's/^/| /' conftest.$ac_ext >&5
81173 ac_header_preproc=no
81175 rm -f conftest.err conftest.$ac_ext
81176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81177 echo "${ECHO_T}$ac_header_preproc" >&6
81179 # So? What about this header?
81180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81181 yes:no: )
81182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81186 ac_header_preproc=yes
81188 no:yes:* )
81189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81202 cat <<\_ASBOX
81203 ## ----------------------------------------- ##
81204 ## Report this to the package-unused lists. ##
81205 ## ----------------------------------------- ##
81206 _ASBOX
81208 sed "s/^/$as_me: WARNING: /" >&2
81210 esac
81211 echo "$as_me:$LINENO: checking for $ac_header" >&5
81212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81214 echo $ECHO_N "(cached) $ECHO_C" >&6
81215 else
81216 eval "$as_ac_Header=\$ac_header_preproc"
81218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81223 cat >>confdefs.h <<_ACEOF
81224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81225 _ACEOF
81229 done
81231 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81234 # If we're not using GNU ld, then there's no point in even trying these
81235 # tests. Check for that first. We should have already tested for gld
81236 # by now (in libtool), but require it now just to be safe...
81237 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81238 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81242 # The name set by libtool depends on the version of libtool. Shame on us
81243 # for depending on an impl detail, but c'est la vie. Older versions used
81244 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81245 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81246 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81247 # set (hence we're using an older libtool), then set it.
81248 if test x${with_gnu_ld+set} != xset; then
81249 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81250 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81251 with_gnu_ld=no
81252 else
81253 with_gnu_ld=$ac_cv_prog_gnu_ld
81257 # Start by getting the version number. I think the libtool test already
81258 # does some of this, but throws away the result.
81260 ldver=`$LD --version 2>/dev/null | head -1 | \
81261 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81263 glibcxx_gnu_ld_version=`echo $ldver | \
81264 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81266 # Set --gc-sections.
81267 if test "$with_gnu_ld" = "notbroken"; then
81268 # GNU ld it is! Joy and bunny rabbits!
81270 # All these tests are for C++; save the language and the compiler flags.
81271 # Need to do this so that g++ won't try to link in libstdc++
81272 ac_test_CFLAGS="${CFLAGS+set}"
81273 ac_save_CFLAGS="$CFLAGS"
81274 CFLAGS='-x c++ -Wl,--gc-sections'
81276 # Check for -Wl,--gc-sections
81277 # XXX This test is broken at the moment, as symbols required for linking
81278 # are now in libsupc++ (not built yet). In addition, this test has
81279 # cored on solaris in the past. In addition, --gc-sections doesn't
81280 # really work at the moment (keeps on discarding used sections, first
81281 # .eh_frame and now some of the glibc sections for iconv).
81282 # Bzzzzt. Thanks for playing, maybe next time.
81283 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81284 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81285 if test "$cross_compiling" = yes; then
81286 ac_sectionLDflags=yes
81287 else
81288 cat >conftest.$ac_ext <<_ACEOF
81289 /* confdefs.h. */
81290 _ACEOF
81291 cat confdefs.h >>conftest.$ac_ext
81292 cat >>conftest.$ac_ext <<_ACEOF
81293 /* end confdefs.h. */
81295 int main(void)
81297 try { throw 1; }
81298 catch (...) { };
81299 return 0;
81302 _ACEOF
81303 rm -f conftest$ac_exeext
81304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81305 (eval $ac_link) 2>&5
81306 ac_status=$?
81307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81310 (eval $ac_try) 2>&5
81311 ac_status=$?
81312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81313 (exit $ac_status); }; }; then
81314 ac_sectionLDflags=yes
81315 else
81316 echo "$as_me: program exited with status $ac_status" >&5
81317 echo "$as_me: failed program was:" >&5
81318 sed 's/^/| /' conftest.$ac_ext >&5
81320 ( exit $ac_status )
81321 ac_sectionLDflags=no
81323 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81325 if test "$ac_test_CFLAGS" = set; then
81326 CFLAGS="$ac_save_CFLAGS"
81327 else
81328 # this is the suspicious part
81329 CFLAGS=''
81331 if test "$ac_sectionLDflags" = "yes"; then
81332 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81334 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81335 echo "${ECHO_T}$ac_sectionLDflags" >&6
81338 # Set linker optimization flags.
81339 if test x"$with_gnu_ld" = x"yes"; then
81340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81348 echo "$as_me:$LINENO: checking for main in -lm" >&5
81349 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81350 if test "${ac_cv_lib_m_main+set}" = set; then
81351 echo $ECHO_N "(cached) $ECHO_C" >&6
81352 else
81353 ac_check_lib_save_LIBS=$LIBS
81354 LIBS="-lm $LIBS"
81355 if test x$gcc_no_link = xyes; then
81356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81358 { (exit 1); exit 1; }; }
81360 cat >conftest.$ac_ext <<_ACEOF
81361 /* confdefs.h. */
81362 _ACEOF
81363 cat confdefs.h >>conftest.$ac_ext
81364 cat >>conftest.$ac_ext <<_ACEOF
81365 /* end confdefs.h. */
81369 main ()
81371 main ();
81373 return 0;
81375 _ACEOF
81376 rm -f conftest.$ac_objext conftest$ac_exeext
81377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81378 (eval $ac_link) 2>conftest.er1
81379 ac_status=$?
81380 grep -v '^ *+' conftest.er1 >conftest.err
81381 rm -f conftest.er1
81382 cat conftest.err >&5
81383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81384 (exit $ac_status); } &&
81385 { ac_try='test -z "$ac_c_werror_flag"
81386 || test ! -s conftest.err'
81387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81388 (eval $ac_try) 2>&5
81389 ac_status=$?
81390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81391 (exit $ac_status); }; } &&
81392 { ac_try='test -s conftest$ac_exeext'
81393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81394 (eval $ac_try) 2>&5
81395 ac_status=$?
81396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81397 (exit $ac_status); }; }; then
81398 ac_cv_lib_m_main=yes
81399 else
81400 echo "$as_me: failed program was:" >&5
81401 sed 's/^/| /' conftest.$ac_ext >&5
81403 ac_cv_lib_m_main=no
81405 rm -f conftest.err conftest.$ac_objext \
81406 conftest$ac_exeext conftest.$ac_ext
81407 LIBS=$ac_check_lib_save_LIBS
81409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81410 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81411 if test $ac_cv_lib_m_main = yes; then
81412 cat >>confdefs.h <<_ACEOF
81413 #define HAVE_LIBM 1
81414 _ACEOF
81416 LIBS="-lm $LIBS"
81421 for ac_func in copysignf
81423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81424 echo "$as_me:$LINENO: checking for $ac_func" >&5
81425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81426 if eval "test \"\${$as_ac_var+set}\" = set"; then
81427 echo $ECHO_N "(cached) $ECHO_C" >&6
81428 else
81429 if test x$gcc_no_link = xyes; then
81430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81432 { (exit 1); exit 1; }; }
81434 cat >conftest.$ac_ext <<_ACEOF
81435 /* confdefs.h. */
81436 _ACEOF
81437 cat confdefs.h >>conftest.$ac_ext
81438 cat >>conftest.$ac_ext <<_ACEOF
81439 /* end confdefs.h. */
81440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81442 #define $ac_func innocuous_$ac_func
81444 /* System header to define __stub macros and hopefully few prototypes,
81445 which can conflict with char $ac_func (); below.
81446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81447 <limits.h> exists even on freestanding compilers. */
81449 #ifdef __STDC__
81450 # include <limits.h>
81451 #else
81452 # include <assert.h>
81453 #endif
81455 #undef $ac_func
81457 /* Override any gcc2 internal prototype to avoid an error. */
81458 #ifdef __cplusplus
81459 extern "C"
81461 #endif
81462 /* We use char because int might match the return type of a gcc2
81463 builtin and then its argument prototype would still apply. */
81464 char $ac_func ();
81465 /* The GNU C library defines this for functions which it implements
81466 to always fail with ENOSYS. Some functions are actually named
81467 something starting with __ and the normal name is an alias. */
81468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81469 choke me
81470 #else
81471 char (*f) () = $ac_func;
81472 #endif
81473 #ifdef __cplusplus
81475 #endif
81478 main ()
81480 return f != $ac_func;
81482 return 0;
81484 _ACEOF
81485 rm -f conftest.$ac_objext conftest$ac_exeext
81486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81487 (eval $ac_link) 2>conftest.er1
81488 ac_status=$?
81489 grep -v '^ *+' conftest.er1 >conftest.err
81490 rm -f conftest.er1
81491 cat conftest.err >&5
81492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81493 (exit $ac_status); } &&
81494 { ac_try='test -z "$ac_c_werror_flag"
81495 || test ! -s conftest.err'
81496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81497 (eval $ac_try) 2>&5
81498 ac_status=$?
81499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81500 (exit $ac_status); }; } &&
81501 { ac_try='test -s conftest$ac_exeext'
81502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81503 (eval $ac_try) 2>&5
81504 ac_status=$?
81505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81506 (exit $ac_status); }; }; then
81507 eval "$as_ac_var=yes"
81508 else
81509 echo "$as_me: failed program was:" >&5
81510 sed 's/^/| /' conftest.$ac_ext >&5
81512 eval "$as_ac_var=no"
81514 rm -f conftest.err conftest.$ac_objext \
81515 conftest$ac_exeext conftest.$ac_ext
81517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81519 if test `eval echo '${'$as_ac_var'}'` = yes; then
81520 cat >>confdefs.h <<_ACEOF
81521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81522 _ACEOF
81524 else
81525 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81527 done
81531 for ac_func in __signbit
81533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81534 echo "$as_me:$LINENO: checking for $ac_func" >&5
81535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81536 if eval "test \"\${$as_ac_var+set}\" = set"; then
81537 echo $ECHO_N "(cached) $ECHO_C" >&6
81538 else
81539 if test x$gcc_no_link = xyes; then
81540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81542 { (exit 1); exit 1; }; }
81544 cat >conftest.$ac_ext <<_ACEOF
81545 /* confdefs.h. */
81546 _ACEOF
81547 cat confdefs.h >>conftest.$ac_ext
81548 cat >>conftest.$ac_ext <<_ACEOF
81549 /* end confdefs.h. */
81550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81552 #define $ac_func innocuous_$ac_func
81554 /* System header to define __stub macros and hopefully few prototypes,
81555 which can conflict with char $ac_func (); below.
81556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81557 <limits.h> exists even on freestanding compilers. */
81559 #ifdef __STDC__
81560 # include <limits.h>
81561 #else
81562 # include <assert.h>
81563 #endif
81565 #undef $ac_func
81567 /* Override any gcc2 internal prototype to avoid an error. */
81568 #ifdef __cplusplus
81569 extern "C"
81571 #endif
81572 /* We use char because int might match the return type of a gcc2
81573 builtin and then its argument prototype would still apply. */
81574 char $ac_func ();
81575 /* The GNU C library defines this for functions which it implements
81576 to always fail with ENOSYS. Some functions are actually named
81577 something starting with __ and the normal name is an alias. */
81578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81579 choke me
81580 #else
81581 char (*f) () = $ac_func;
81582 #endif
81583 #ifdef __cplusplus
81585 #endif
81588 main ()
81590 return f != $ac_func;
81592 return 0;
81594 _ACEOF
81595 rm -f conftest.$ac_objext conftest$ac_exeext
81596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81597 (eval $ac_link) 2>conftest.er1
81598 ac_status=$?
81599 grep -v '^ *+' conftest.er1 >conftest.err
81600 rm -f conftest.er1
81601 cat conftest.err >&5
81602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81603 (exit $ac_status); } &&
81604 { ac_try='test -z "$ac_c_werror_flag"
81605 || test ! -s conftest.err'
81606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81607 (eval $ac_try) 2>&5
81608 ac_status=$?
81609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81610 (exit $ac_status); }; } &&
81611 { ac_try='test -s conftest$ac_exeext'
81612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81613 (eval $ac_try) 2>&5
81614 ac_status=$?
81615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81616 (exit $ac_status); }; }; then
81617 eval "$as_ac_var=yes"
81618 else
81619 echo "$as_me: failed program was:" >&5
81620 sed 's/^/| /' conftest.$ac_ext >&5
81622 eval "$as_ac_var=no"
81624 rm -f conftest.err conftest.$ac_objext \
81625 conftest$ac_exeext conftest.$ac_ext
81627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81629 if test `eval echo '${'$as_ac_var'}'` = yes; then
81630 cat >>confdefs.h <<_ACEOF
81631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81632 _ACEOF
81634 else
81635 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81637 done
81641 for ac_func in __signbitf
81643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81644 echo "$as_me:$LINENO: checking for $ac_func" >&5
81645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81646 if eval "test \"\${$as_ac_var+set}\" = set"; then
81647 echo $ECHO_N "(cached) $ECHO_C" >&6
81648 else
81649 if test x$gcc_no_link = xyes; then
81650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81652 { (exit 1); exit 1; }; }
81654 cat >conftest.$ac_ext <<_ACEOF
81655 /* confdefs.h. */
81656 _ACEOF
81657 cat confdefs.h >>conftest.$ac_ext
81658 cat >>conftest.$ac_ext <<_ACEOF
81659 /* end confdefs.h. */
81660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81662 #define $ac_func innocuous_$ac_func
81664 /* System header to define __stub macros and hopefully few prototypes,
81665 which can conflict with char $ac_func (); below.
81666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81667 <limits.h> exists even on freestanding compilers. */
81669 #ifdef __STDC__
81670 # include <limits.h>
81671 #else
81672 # include <assert.h>
81673 #endif
81675 #undef $ac_func
81677 /* Override any gcc2 internal prototype to avoid an error. */
81678 #ifdef __cplusplus
81679 extern "C"
81681 #endif
81682 /* We use char because int might match the return type of a gcc2
81683 builtin and then its argument prototype would still apply. */
81684 char $ac_func ();
81685 /* The GNU C library defines this for functions which it implements
81686 to always fail with ENOSYS. Some functions are actually named
81687 something starting with __ and the normal name is an alias. */
81688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81689 choke me
81690 #else
81691 char (*f) () = $ac_func;
81692 #endif
81693 #ifdef __cplusplus
81695 #endif
81698 main ()
81700 return f != $ac_func;
81702 return 0;
81704 _ACEOF
81705 rm -f conftest.$ac_objext conftest$ac_exeext
81706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81707 (eval $ac_link) 2>conftest.er1
81708 ac_status=$?
81709 grep -v '^ *+' conftest.er1 >conftest.err
81710 rm -f conftest.er1
81711 cat conftest.err >&5
81712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81713 (exit $ac_status); } &&
81714 { ac_try='test -z "$ac_c_werror_flag"
81715 || test ! -s conftest.err'
81716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81717 (eval $ac_try) 2>&5
81718 ac_status=$?
81719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81720 (exit $ac_status); }; } &&
81721 { ac_try='test -s conftest$ac_exeext'
81722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81723 (eval $ac_try) 2>&5
81724 ac_status=$?
81725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81726 (exit $ac_status); }; }; then
81727 eval "$as_ac_var=yes"
81728 else
81729 echo "$as_me: failed program was:" >&5
81730 sed 's/^/| /' conftest.$ac_ext >&5
81732 eval "$as_ac_var=no"
81734 rm -f conftest.err conftest.$ac_objext \
81735 conftest$ac_exeext conftest.$ac_ext
81737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81739 if test `eval echo '${'$as_ac_var'}'` = yes; then
81740 cat >>confdefs.h <<_ACEOF
81741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81742 _ACEOF
81744 else
81745 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81747 done
81750 if test x$ac_cv_func_copysignl = x"yes"; then
81752 for ac_func in __signbitl
81754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81755 echo "$as_me:$LINENO: checking for $ac_func" >&5
81756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81757 if eval "test \"\${$as_ac_var+set}\" = set"; then
81758 echo $ECHO_N "(cached) $ECHO_C" >&6
81759 else
81760 if test x$gcc_no_link = xyes; then
81761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81763 { (exit 1); exit 1; }; }
81765 cat >conftest.$ac_ext <<_ACEOF
81766 /* confdefs.h. */
81767 _ACEOF
81768 cat confdefs.h >>conftest.$ac_ext
81769 cat >>conftest.$ac_ext <<_ACEOF
81770 /* end confdefs.h. */
81771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81773 #define $ac_func innocuous_$ac_func
81775 /* System header to define __stub macros and hopefully few prototypes,
81776 which can conflict with char $ac_func (); below.
81777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81778 <limits.h> exists even on freestanding compilers. */
81780 #ifdef __STDC__
81781 # include <limits.h>
81782 #else
81783 # include <assert.h>
81784 #endif
81786 #undef $ac_func
81788 /* Override any gcc2 internal prototype to avoid an error. */
81789 #ifdef __cplusplus
81790 extern "C"
81792 #endif
81793 /* We use char because int might match the return type of a gcc2
81794 builtin and then its argument prototype would still apply. */
81795 char $ac_func ();
81796 /* The GNU C library defines this for functions which it implements
81797 to always fail with ENOSYS. Some functions are actually named
81798 something starting with __ and the normal name is an alias. */
81799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81800 choke me
81801 #else
81802 char (*f) () = $ac_func;
81803 #endif
81804 #ifdef __cplusplus
81806 #endif
81809 main ()
81811 return f != $ac_func;
81813 return 0;
81815 _ACEOF
81816 rm -f conftest.$ac_objext conftest$ac_exeext
81817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81818 (eval $ac_link) 2>conftest.er1
81819 ac_status=$?
81820 grep -v '^ *+' conftest.er1 >conftest.err
81821 rm -f conftest.er1
81822 cat conftest.err >&5
81823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81824 (exit $ac_status); } &&
81825 { ac_try='test -z "$ac_c_werror_flag"
81826 || test ! -s conftest.err'
81827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81828 (eval $ac_try) 2>&5
81829 ac_status=$?
81830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81831 (exit $ac_status); }; } &&
81832 { ac_try='test -s conftest$ac_exeext'
81833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81834 (eval $ac_try) 2>&5
81835 ac_status=$?
81836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81837 (exit $ac_status); }; }; then
81838 eval "$as_ac_var=yes"
81839 else
81840 echo "$as_me: failed program was:" >&5
81841 sed 's/^/| /' conftest.$ac_ext >&5
81843 eval "$as_ac_var=no"
81845 rm -f conftest.err conftest.$ac_objext \
81846 conftest$ac_exeext conftest.$ac_ext
81848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81850 if test `eval echo '${'$as_ac_var'}'` = yes; then
81851 cat >>confdefs.h <<_ACEOF
81852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81853 _ACEOF
81855 else
81856 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81858 done
81862 # Used in libmath/Makefile.am.
81863 if test -n "$LIBMATHOBJS"; then
81864 need_libmath=yes
81870 enable_iconv=no
81871 # Only continue checking if the ISO C99 headers exist and support is on.
81872 if test x"$enable_wchar_t" = xyes; then
81874 # Use iconv for wchar_t to char conversions. As such, check for
81875 # X/Open Portability Guide, version 2 features (XPG2).
81876 if test "${ac_cv_header_iconv_h+set}" = set; then
81877 echo "$as_me:$LINENO: checking for iconv.h" >&5
81878 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81879 if test "${ac_cv_header_iconv_h+set}" = set; then
81880 echo $ECHO_N "(cached) $ECHO_C" >&6
81882 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81883 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81884 else
81885 # Is the header compilable?
81886 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81887 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81888 cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h. */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h. */
81894 $ac_includes_default
81895 #include <iconv.h>
81896 _ACEOF
81897 rm -f conftest.$ac_objext
81898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81899 (eval $ac_compile) 2>conftest.er1
81900 ac_status=$?
81901 grep -v '^ *+' conftest.er1 >conftest.err
81902 rm -f conftest.er1
81903 cat conftest.err >&5
81904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81905 (exit $ac_status); } &&
81906 { ac_try='test -z "$ac_c_werror_flag"
81907 || test ! -s conftest.err'
81908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81909 (eval $ac_try) 2>&5
81910 ac_status=$?
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); }; } &&
81913 { ac_try='test -s conftest.$ac_objext'
81914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915 (eval $ac_try) 2>&5
81916 ac_status=$?
81917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918 (exit $ac_status); }; }; then
81919 ac_header_compiler=yes
81920 else
81921 echo "$as_me: failed program was:" >&5
81922 sed 's/^/| /' conftest.$ac_ext >&5
81924 ac_header_compiler=no
81926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81928 echo "${ECHO_T}$ac_header_compiler" >&6
81930 # Is the header present?
81931 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81932 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81933 cat >conftest.$ac_ext <<_ACEOF
81934 /* confdefs.h. */
81935 _ACEOF
81936 cat confdefs.h >>conftest.$ac_ext
81937 cat >>conftest.$ac_ext <<_ACEOF
81938 /* end confdefs.h. */
81939 #include <iconv.h>
81940 _ACEOF
81941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81943 ac_status=$?
81944 grep -v '^ *+' conftest.er1 >conftest.err
81945 rm -f conftest.er1
81946 cat conftest.err >&5
81947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81948 (exit $ac_status); } >/dev/null; then
81949 if test -s conftest.err; then
81950 ac_cpp_err=$ac_c_preproc_warn_flag
81951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81952 else
81953 ac_cpp_err=
81955 else
81956 ac_cpp_err=yes
81958 if test -z "$ac_cpp_err"; then
81959 ac_header_preproc=yes
81960 else
81961 echo "$as_me: failed program was:" >&5
81962 sed 's/^/| /' conftest.$ac_ext >&5
81964 ac_header_preproc=no
81966 rm -f conftest.err conftest.$ac_ext
81967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81968 echo "${ECHO_T}$ac_header_preproc" >&6
81970 # So? What about this header?
81971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81972 yes:no: )
81973 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81974 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81975 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81976 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81977 ac_header_preproc=yes
81979 no:yes:* )
81980 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81981 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81982 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81983 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81984 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81985 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81986 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81987 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81988 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81989 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81990 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81991 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81993 cat <<\_ASBOX
81994 ## ----------------------------------------- ##
81995 ## Report this to the package-unused lists. ##
81996 ## ----------------------------------------- ##
81997 _ASBOX
81999 sed "s/^/$as_me: WARNING: /" >&2
82001 esac
82002 echo "$as_me:$LINENO: checking for iconv.h" >&5
82003 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82004 if test "${ac_cv_header_iconv_h+set}" = set; then
82005 echo $ECHO_N "(cached) $ECHO_C" >&6
82006 else
82007 ac_cv_header_iconv_h=$ac_header_preproc
82009 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82010 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82013 if test $ac_cv_header_iconv_h = yes; then
82014 ac_has_iconv_h=yes
82015 else
82016 ac_has_iconv_h=no
82020 if test "${ac_cv_header_langinfo_h+set}" = set; then
82021 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82022 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82023 if test "${ac_cv_header_langinfo_h+set}" = set; then
82024 echo $ECHO_N "(cached) $ECHO_C" >&6
82026 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82027 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82028 else
82029 # Is the header compilable?
82030 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82031 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82032 cat >conftest.$ac_ext <<_ACEOF
82033 /* confdefs.h. */
82034 _ACEOF
82035 cat confdefs.h >>conftest.$ac_ext
82036 cat >>conftest.$ac_ext <<_ACEOF
82037 /* end confdefs.h. */
82038 $ac_includes_default
82039 #include <langinfo.h>
82040 _ACEOF
82041 rm -f conftest.$ac_objext
82042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82043 (eval $ac_compile) 2>conftest.er1
82044 ac_status=$?
82045 grep -v '^ *+' conftest.er1 >conftest.err
82046 rm -f conftest.er1
82047 cat conftest.err >&5
82048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82049 (exit $ac_status); } &&
82050 { ac_try='test -z "$ac_c_werror_flag"
82051 || test ! -s conftest.err'
82052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82053 (eval $ac_try) 2>&5
82054 ac_status=$?
82055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82056 (exit $ac_status); }; } &&
82057 { ac_try='test -s conftest.$ac_objext'
82058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82059 (eval $ac_try) 2>&5
82060 ac_status=$?
82061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82062 (exit $ac_status); }; }; then
82063 ac_header_compiler=yes
82064 else
82065 echo "$as_me: failed program was:" >&5
82066 sed 's/^/| /' conftest.$ac_ext >&5
82068 ac_header_compiler=no
82070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82072 echo "${ECHO_T}$ac_header_compiler" >&6
82074 # Is the header present?
82075 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82076 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82077 cat >conftest.$ac_ext <<_ACEOF
82078 /* confdefs.h. */
82079 _ACEOF
82080 cat confdefs.h >>conftest.$ac_ext
82081 cat >>conftest.$ac_ext <<_ACEOF
82082 /* end confdefs.h. */
82083 #include <langinfo.h>
82084 _ACEOF
82085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82087 ac_status=$?
82088 grep -v '^ *+' conftest.er1 >conftest.err
82089 rm -f conftest.er1
82090 cat conftest.err >&5
82091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82092 (exit $ac_status); } >/dev/null; then
82093 if test -s conftest.err; then
82094 ac_cpp_err=$ac_c_preproc_warn_flag
82095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82096 else
82097 ac_cpp_err=
82099 else
82100 ac_cpp_err=yes
82102 if test -z "$ac_cpp_err"; then
82103 ac_header_preproc=yes
82104 else
82105 echo "$as_me: failed program was:" >&5
82106 sed 's/^/| /' conftest.$ac_ext >&5
82108 ac_header_preproc=no
82110 rm -f conftest.err conftest.$ac_ext
82111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82112 echo "${ECHO_T}$ac_header_preproc" >&6
82114 # So? What about this header?
82115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82116 yes:no: )
82117 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82118 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82119 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82120 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82121 ac_header_preproc=yes
82123 no:yes:* )
82124 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82125 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82126 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82127 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82128 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82129 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82130 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82131 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82132 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82133 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82134 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82135 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82137 cat <<\_ASBOX
82138 ## ----------------------------------------- ##
82139 ## Report this to the package-unused lists. ##
82140 ## ----------------------------------------- ##
82141 _ASBOX
82143 sed "s/^/$as_me: WARNING: /" >&2
82145 esac
82146 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82147 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82148 if test "${ac_cv_header_langinfo_h+set}" = set; then
82149 echo $ECHO_N "(cached) $ECHO_C" >&6
82150 else
82151 ac_cv_header_langinfo_h=$ac_header_preproc
82153 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82154 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82157 if test $ac_cv_header_langinfo_h = yes; then
82158 ac_has_langinfo_h=yes
82159 else
82160 ac_has_langinfo_h=no
82165 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82166 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82167 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82168 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82169 echo $ECHO_N "(cached) $ECHO_C" >&6
82170 else
82171 ac_check_lib_save_LIBS=$LIBS
82172 LIBS="-liconv $LIBS"
82173 if test x$gcc_no_link = xyes; then
82174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82176 { (exit 1); exit 1; }; }
82178 cat >conftest.$ac_ext <<_ACEOF
82179 /* confdefs.h. */
82180 _ACEOF
82181 cat confdefs.h >>conftest.$ac_ext
82182 cat >>conftest.$ac_ext <<_ACEOF
82183 /* end confdefs.h. */
82185 /* Override any gcc2 internal prototype to avoid an error. */
82186 #ifdef __cplusplus
82187 extern "C"
82188 #endif
82189 /* We use char because int might match the return type of a gcc2
82190 builtin and then its argument prototype would still apply. */
82191 char iconv ();
82193 main ()
82195 iconv ();
82197 return 0;
82199 _ACEOF
82200 rm -f conftest.$ac_objext conftest$ac_exeext
82201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82202 (eval $ac_link) 2>conftest.er1
82203 ac_status=$?
82204 grep -v '^ *+' conftest.er1 >conftest.err
82205 rm -f conftest.er1
82206 cat conftest.err >&5
82207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208 (exit $ac_status); } &&
82209 { ac_try='test -z "$ac_c_werror_flag"
82210 || test ! -s conftest.err'
82211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82212 (eval $ac_try) 2>&5
82213 ac_status=$?
82214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82215 (exit $ac_status); }; } &&
82216 { ac_try='test -s conftest$ac_exeext'
82217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82218 (eval $ac_try) 2>&5
82219 ac_status=$?
82220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221 (exit $ac_status); }; }; then
82222 ac_cv_lib_iconv_iconv=yes
82223 else
82224 echo "$as_me: failed program was:" >&5
82225 sed 's/^/| /' conftest.$ac_ext >&5
82227 ac_cv_lib_iconv_iconv=no
82229 rm -f conftest.err conftest.$ac_objext \
82230 conftest$ac_exeext conftest.$ac_ext
82231 LIBS=$ac_check_lib_save_LIBS
82233 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82234 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82235 if test $ac_cv_lib_iconv_iconv = yes; then
82236 LIBICONV="-liconv"
82239 ac_save_LIBS="$LIBS"
82240 LIBS="$LIBS $LIBICONV"
82247 for ac_func in iconv_open iconv_close iconv nl_langinfo
82249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82250 echo "$as_me:$LINENO: checking for $ac_func" >&5
82251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82252 if eval "test \"\${$as_ac_var+set}\" = set"; then
82253 echo $ECHO_N "(cached) $ECHO_C" >&6
82254 else
82255 if test x$gcc_no_link = xyes; then
82256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82258 { (exit 1); exit 1; }; }
82260 cat >conftest.$ac_ext <<_ACEOF
82261 /* confdefs.h. */
82262 _ACEOF
82263 cat confdefs.h >>conftest.$ac_ext
82264 cat >>conftest.$ac_ext <<_ACEOF
82265 /* end confdefs.h. */
82266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82268 #define $ac_func innocuous_$ac_func
82270 /* System header to define __stub macros and hopefully few prototypes,
82271 which can conflict with char $ac_func (); below.
82272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82273 <limits.h> exists even on freestanding compilers. */
82275 #ifdef __STDC__
82276 # include <limits.h>
82277 #else
82278 # include <assert.h>
82279 #endif
82281 #undef $ac_func
82283 /* Override any gcc2 internal prototype to avoid an error. */
82284 #ifdef __cplusplus
82285 extern "C"
82287 #endif
82288 /* We use char because int might match the return type of a gcc2
82289 builtin and then its argument prototype would still apply. */
82290 char $ac_func ();
82291 /* The GNU C library defines this for functions which it implements
82292 to always fail with ENOSYS. Some functions are actually named
82293 something starting with __ and the normal name is an alias. */
82294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82295 choke me
82296 #else
82297 char (*f) () = $ac_func;
82298 #endif
82299 #ifdef __cplusplus
82301 #endif
82304 main ()
82306 return f != $ac_func;
82308 return 0;
82310 _ACEOF
82311 rm -f conftest.$ac_objext conftest$ac_exeext
82312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82313 (eval $ac_link) 2>conftest.er1
82314 ac_status=$?
82315 grep -v '^ *+' conftest.er1 >conftest.err
82316 rm -f conftest.er1
82317 cat conftest.err >&5
82318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82319 (exit $ac_status); } &&
82320 { ac_try='test -z "$ac_c_werror_flag"
82321 || test ! -s conftest.err'
82322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82323 (eval $ac_try) 2>&5
82324 ac_status=$?
82325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82326 (exit $ac_status); }; } &&
82327 { ac_try='test -s conftest$ac_exeext'
82328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82329 (eval $ac_try) 2>&5
82330 ac_status=$?
82331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82332 (exit $ac_status); }; }; then
82333 eval "$as_ac_var=yes"
82334 else
82335 echo "$as_me: failed program was:" >&5
82336 sed 's/^/| /' conftest.$ac_ext >&5
82338 eval "$as_ac_var=no"
82340 rm -f conftest.err conftest.$ac_objext \
82341 conftest$ac_exeext conftest.$ac_ext
82343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82345 if test `eval echo '${'$as_ac_var'}'` = yes; then
82346 cat >>confdefs.h <<_ACEOF
82347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82348 _ACEOF
82349 ac_XPG2funcs=yes
82350 else
82351 ac_XPG2funcs=no
82353 done
82356 LIBS="$ac_save_LIBS"
82358 if test x"$ac_has_iconv_h" = xyes &&
82359 test x"$ac_has_langinfo_h" = xyes &&
82360 test x"$ac_XPG2funcs" = xyes;
82361 then
82363 cat >>confdefs.h <<\_ACEOF
82364 #define _GLIBCXX_USE_ICONV 1
82365 _ACEOF
82367 enable_iconv=yes
82370 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82371 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82372 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82373 echo "${ECHO_T}$enable_iconv" >&6
82376 # For showmanyc_helper().
82379 for ac_header in sys/ioctl.h sys/filio.h
82381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82383 echo "$as_me:$LINENO: checking for $ac_header" >&5
82384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82386 echo $ECHO_N "(cached) $ECHO_C" >&6
82388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82390 else
82391 # Is the header compilable?
82392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82394 cat >conftest.$ac_ext <<_ACEOF
82395 /* confdefs.h. */
82396 _ACEOF
82397 cat confdefs.h >>conftest.$ac_ext
82398 cat >>conftest.$ac_ext <<_ACEOF
82399 /* end confdefs.h. */
82400 $ac_includes_default
82401 #include <$ac_header>
82402 _ACEOF
82403 rm -f conftest.$ac_objext
82404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82405 (eval $ac_compile) 2>conftest.er1
82406 ac_status=$?
82407 grep -v '^ *+' conftest.er1 >conftest.err
82408 rm -f conftest.er1
82409 cat conftest.err >&5
82410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82411 (exit $ac_status); } &&
82412 { ac_try='test -z "$ac_c_werror_flag"
82413 || test ! -s conftest.err'
82414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82415 (eval $ac_try) 2>&5
82416 ac_status=$?
82417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82418 (exit $ac_status); }; } &&
82419 { ac_try='test -s conftest.$ac_objext'
82420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82421 (eval $ac_try) 2>&5
82422 ac_status=$?
82423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424 (exit $ac_status); }; }; then
82425 ac_header_compiler=yes
82426 else
82427 echo "$as_me: failed program was:" >&5
82428 sed 's/^/| /' conftest.$ac_ext >&5
82430 ac_header_compiler=no
82432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82434 echo "${ECHO_T}$ac_header_compiler" >&6
82436 # Is the header present?
82437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82439 cat >conftest.$ac_ext <<_ACEOF
82440 /* confdefs.h. */
82441 _ACEOF
82442 cat confdefs.h >>conftest.$ac_ext
82443 cat >>conftest.$ac_ext <<_ACEOF
82444 /* end confdefs.h. */
82445 #include <$ac_header>
82446 _ACEOF
82447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82449 ac_status=$?
82450 grep -v '^ *+' conftest.er1 >conftest.err
82451 rm -f conftest.er1
82452 cat conftest.err >&5
82453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454 (exit $ac_status); } >/dev/null; then
82455 if test -s conftest.err; then
82456 ac_cpp_err=$ac_c_preproc_warn_flag
82457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82458 else
82459 ac_cpp_err=
82461 else
82462 ac_cpp_err=yes
82464 if test -z "$ac_cpp_err"; then
82465 ac_header_preproc=yes
82466 else
82467 echo "$as_me: failed program was:" >&5
82468 sed 's/^/| /' conftest.$ac_ext >&5
82470 ac_header_preproc=no
82472 rm -f conftest.err conftest.$ac_ext
82473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82474 echo "${ECHO_T}$ac_header_preproc" >&6
82476 # So? What about this header?
82477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82478 yes:no: )
82479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82483 ac_header_preproc=yes
82485 no:yes:* )
82486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82499 cat <<\_ASBOX
82500 ## ----------------------------------------- ##
82501 ## Report this to the package-unused lists. ##
82502 ## ----------------------------------------- ##
82503 _ASBOX
82505 sed "s/^/$as_me: WARNING: /" >&2
82507 esac
82508 echo "$as_me:$LINENO: checking for $ac_header" >&5
82509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82511 echo $ECHO_N "(cached) $ECHO_C" >&6
82512 else
82513 eval "$as_ac_Header=\$ac_header_preproc"
82515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82520 cat >>confdefs.h <<_ACEOF
82521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82522 _ACEOF
82526 done
82529 if test "${glibcxx_cv_POLL+set}" = set; then
82530 echo $ECHO_N "(cached) $ECHO_C" >&6
82531 else
82533 if test x$gcc_no_link = xyes; then
82534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82536 { (exit 1); exit 1; }; }
82538 cat >conftest.$ac_ext <<_ACEOF
82539 /* confdefs.h. */
82540 _ACEOF
82541 cat confdefs.h >>conftest.$ac_ext
82542 cat >>conftest.$ac_ext <<_ACEOF
82543 /* end confdefs.h. */
82544 #include <poll.h>
82546 main ()
82548 struct pollfd pfd[1];
82549 pfd[0].events = POLLIN;
82550 poll(pfd, 1, 0);
82552 return 0;
82554 _ACEOF
82555 rm -f conftest.$ac_objext conftest$ac_exeext
82556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82557 (eval $ac_link) 2>conftest.er1
82558 ac_status=$?
82559 grep -v '^ *+' conftest.er1 >conftest.err
82560 rm -f conftest.er1
82561 cat conftest.err >&5
82562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82563 (exit $ac_status); } &&
82564 { ac_try='test -z "$ac_c_werror_flag"
82565 || test ! -s conftest.err'
82566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82567 (eval $ac_try) 2>&5
82568 ac_status=$?
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); }; } &&
82571 { ac_try='test -s conftest$ac_exeext'
82572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82573 (eval $ac_try) 2>&5
82574 ac_status=$?
82575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82576 (exit $ac_status); }; }; then
82577 glibcxx_cv_POLL=yes
82578 else
82579 echo "$as_me: failed program was:" >&5
82580 sed 's/^/| /' conftest.$ac_ext >&5
82582 glibcxx_cv_POLL=no
82584 rm -f conftest.err conftest.$ac_objext \
82585 conftest$ac_exeext conftest.$ac_ext
82589 if test $glibcxx_cv_POLL = yes; then
82590 cat >>confdefs.h <<\_ACEOF
82591 #define HAVE_POLL 1
82592 _ACEOF
82597 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82598 echo $ECHO_N "(cached) $ECHO_C" >&6
82599 else
82601 if test x$gcc_no_link = xyes; then
82602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82604 { (exit 1); exit 1; }; }
82606 cat >conftest.$ac_ext <<_ACEOF
82607 /* confdefs.h. */
82608 _ACEOF
82609 cat confdefs.h >>conftest.$ac_ext
82610 cat >>conftest.$ac_ext <<_ACEOF
82611 /* end confdefs.h. */
82612 #include <sys/stat.h>
82614 main ()
82616 struct stat buffer;
82617 fstat(0, &buffer);
82618 S_ISREG(buffer.st_mode);
82620 return 0;
82622 _ACEOF
82623 rm -f conftest.$ac_objext conftest$ac_exeext
82624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82625 (eval $ac_link) 2>conftest.er1
82626 ac_status=$?
82627 grep -v '^ *+' conftest.er1 >conftest.err
82628 rm -f conftest.er1
82629 cat conftest.err >&5
82630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631 (exit $ac_status); } &&
82632 { ac_try='test -z "$ac_c_werror_flag"
82633 || test ! -s conftest.err'
82634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82635 (eval $ac_try) 2>&5
82636 ac_status=$?
82637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82638 (exit $ac_status); }; } &&
82639 { ac_try='test -s conftest$ac_exeext'
82640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82641 (eval $ac_try) 2>&5
82642 ac_status=$?
82643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82644 (exit $ac_status); }; }; then
82645 glibcxx_cv_S_ISREG=yes
82646 else
82647 echo "$as_me: failed program was:" >&5
82648 sed 's/^/| /' conftest.$ac_ext >&5
82650 glibcxx_cv_S_ISREG=no
82652 rm -f conftest.err conftest.$ac_objext \
82653 conftest$ac_exeext conftest.$ac_ext
82657 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82658 echo $ECHO_N "(cached) $ECHO_C" >&6
82659 else
82661 if test x$gcc_no_link = xyes; then
82662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82664 { (exit 1); exit 1; }; }
82666 cat >conftest.$ac_ext <<_ACEOF
82667 /* confdefs.h. */
82668 _ACEOF
82669 cat confdefs.h >>conftest.$ac_ext
82670 cat >>conftest.$ac_ext <<_ACEOF
82671 /* end confdefs.h. */
82672 #include <sys/stat.h>
82674 main ()
82676 struct stat buffer;
82677 fstat(0, &buffer);
82678 S_IFREG & buffer.st_mode;
82680 return 0;
82682 _ACEOF
82683 rm -f conftest.$ac_objext conftest$ac_exeext
82684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82685 (eval $ac_link) 2>conftest.er1
82686 ac_status=$?
82687 grep -v '^ *+' conftest.er1 >conftest.err
82688 rm -f conftest.er1
82689 cat conftest.err >&5
82690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82691 (exit $ac_status); } &&
82692 { ac_try='test -z "$ac_c_werror_flag"
82693 || test ! -s conftest.err'
82694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82695 (eval $ac_try) 2>&5
82696 ac_status=$?
82697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82698 (exit $ac_status); }; } &&
82699 { ac_try='test -s conftest$ac_exeext'
82700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82701 (eval $ac_try) 2>&5
82702 ac_status=$?
82703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82704 (exit $ac_status); }; }; then
82705 glibcxx_cv_S_IFREG=yes
82706 else
82707 echo "$as_me: failed program was:" >&5
82708 sed 's/^/| /' conftest.$ac_ext >&5
82710 glibcxx_cv_S_IFREG=no
82712 rm -f conftest.err conftest.$ac_objext \
82713 conftest$ac_exeext conftest.$ac_ext
82717 if test $glibcxx_cv_S_ISREG = yes; then
82718 cat >>confdefs.h <<\_ACEOF
82719 #define HAVE_S_ISREG 1
82720 _ACEOF
82722 elif test $glibcxx_cv_S_IFREG = yes; then
82723 cat >>confdefs.h <<\_ACEOF
82724 #define HAVE_S_IFREG 1
82725 _ACEOF
82730 # For xsputn_2().
82732 for ac_header in sys/uio.h
82734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82736 echo "$as_me:$LINENO: checking for $ac_header" >&5
82737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82739 echo $ECHO_N "(cached) $ECHO_C" >&6
82741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82743 else
82744 # Is the header compilable?
82745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82747 cat >conftest.$ac_ext <<_ACEOF
82748 /* confdefs.h. */
82749 _ACEOF
82750 cat confdefs.h >>conftest.$ac_ext
82751 cat >>conftest.$ac_ext <<_ACEOF
82752 /* end confdefs.h. */
82753 $ac_includes_default
82754 #include <$ac_header>
82755 _ACEOF
82756 rm -f conftest.$ac_objext
82757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82758 (eval $ac_compile) 2>conftest.er1
82759 ac_status=$?
82760 grep -v '^ *+' conftest.er1 >conftest.err
82761 rm -f conftest.er1
82762 cat conftest.err >&5
82763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82764 (exit $ac_status); } &&
82765 { ac_try='test -z "$ac_c_werror_flag"
82766 || test ! -s conftest.err'
82767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82768 (eval $ac_try) 2>&5
82769 ac_status=$?
82770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82771 (exit $ac_status); }; } &&
82772 { ac_try='test -s conftest.$ac_objext'
82773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82774 (eval $ac_try) 2>&5
82775 ac_status=$?
82776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82777 (exit $ac_status); }; }; then
82778 ac_header_compiler=yes
82779 else
82780 echo "$as_me: failed program was:" >&5
82781 sed 's/^/| /' conftest.$ac_ext >&5
82783 ac_header_compiler=no
82785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82787 echo "${ECHO_T}$ac_header_compiler" >&6
82789 # Is the header present?
82790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82792 cat >conftest.$ac_ext <<_ACEOF
82793 /* confdefs.h. */
82794 _ACEOF
82795 cat confdefs.h >>conftest.$ac_ext
82796 cat >>conftest.$ac_ext <<_ACEOF
82797 /* end confdefs.h. */
82798 #include <$ac_header>
82799 _ACEOF
82800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82802 ac_status=$?
82803 grep -v '^ *+' conftest.er1 >conftest.err
82804 rm -f conftest.er1
82805 cat conftest.err >&5
82806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82807 (exit $ac_status); } >/dev/null; then
82808 if test -s conftest.err; then
82809 ac_cpp_err=$ac_c_preproc_warn_flag
82810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82811 else
82812 ac_cpp_err=
82814 else
82815 ac_cpp_err=yes
82817 if test -z "$ac_cpp_err"; then
82818 ac_header_preproc=yes
82819 else
82820 echo "$as_me: failed program was:" >&5
82821 sed 's/^/| /' conftest.$ac_ext >&5
82823 ac_header_preproc=no
82825 rm -f conftest.err conftest.$ac_ext
82826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82827 echo "${ECHO_T}$ac_header_preproc" >&6
82829 # So? What about this header?
82830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82831 yes:no: )
82832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82836 ac_header_preproc=yes
82838 no:yes:* )
82839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82852 cat <<\_ASBOX
82853 ## ----------------------------------------- ##
82854 ## Report this to the package-unused lists. ##
82855 ## ----------------------------------------- ##
82856 _ASBOX
82858 sed "s/^/$as_me: WARNING: /" >&2
82860 esac
82861 echo "$as_me:$LINENO: checking for $ac_header" >&5
82862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82864 echo $ECHO_N "(cached) $ECHO_C" >&6
82865 else
82866 eval "$as_ac_Header=\$ac_header_preproc"
82868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82873 cat >>confdefs.h <<_ACEOF
82874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82875 _ACEOF
82879 done
82882 if test "${glibcxx_cv_WRITEV+set}" = set; then
82883 echo $ECHO_N "(cached) $ECHO_C" >&6
82884 else
82886 if test x$gcc_no_link = xyes; then
82887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82889 { (exit 1); exit 1; }; }
82891 cat >conftest.$ac_ext <<_ACEOF
82892 /* confdefs.h. */
82893 _ACEOF
82894 cat confdefs.h >>conftest.$ac_ext
82895 cat >>conftest.$ac_ext <<_ACEOF
82896 /* end confdefs.h. */
82897 #include <sys/uio.h>
82899 main ()
82901 struct iovec iov[2];
82902 writev(0, iov, 0);
82904 return 0;
82906 _ACEOF
82907 rm -f conftest.$ac_objext conftest$ac_exeext
82908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82909 (eval $ac_link) 2>conftest.er1
82910 ac_status=$?
82911 grep -v '^ *+' conftest.er1 >conftest.err
82912 rm -f conftest.er1
82913 cat conftest.err >&5
82914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82915 (exit $ac_status); } &&
82916 { ac_try='test -z "$ac_c_werror_flag"
82917 || test ! -s conftest.err'
82918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82919 (eval $ac_try) 2>&5
82920 ac_status=$?
82921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82922 (exit $ac_status); }; } &&
82923 { ac_try='test -s conftest$ac_exeext'
82924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82925 (eval $ac_try) 2>&5
82926 ac_status=$?
82927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82928 (exit $ac_status); }; }; then
82929 glibcxx_cv_WRITEV=yes
82930 else
82931 echo "$as_me: failed program was:" >&5
82932 sed 's/^/| /' conftest.$ac_ext >&5
82934 glibcxx_cv_WRITEV=no
82936 rm -f conftest.err conftest.$ac_objext \
82937 conftest$ac_exeext conftest.$ac_ext
82941 if test $glibcxx_cv_WRITEV = yes; then
82942 cat >>confdefs.h <<\_ACEOF
82943 #define HAVE_WRITEV 1
82944 _ACEOF
82949 *-qnx6.1* | *-qnx6.2*)
82950 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82953 # If we're not using GNU ld, then there's no point in even trying these
82954 # tests. Check for that first. We should have already tested for gld
82955 # by now (in libtool), but require it now just to be safe...
82956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82961 # The name set by libtool depends on the version of libtool. Shame on us
82962 # for depending on an impl detail, but c'est la vie. Older versions used
82963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82966 # set (hence we're using an older libtool), then set it.
82967 if test x${with_gnu_ld+set} != xset; then
82968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82970 with_gnu_ld=no
82971 else
82972 with_gnu_ld=$ac_cv_prog_gnu_ld
82976 # Start by getting the version number. I think the libtool test already
82977 # does some of this, but throws away the result.
82979 ldver=`$LD --version 2>/dev/null | head -1 | \
82980 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82982 glibcxx_gnu_ld_version=`echo $ldver | \
82983 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82985 # Set --gc-sections.
82986 if test "$with_gnu_ld" = "notbroken"; then
82987 # GNU ld it is! Joy and bunny rabbits!
82989 # All these tests are for C++; save the language and the compiler flags.
82990 # Need to do this so that g++ won't try to link in libstdc++
82991 ac_test_CFLAGS="${CFLAGS+set}"
82992 ac_save_CFLAGS="$CFLAGS"
82993 CFLAGS='-x c++ -Wl,--gc-sections'
82995 # Check for -Wl,--gc-sections
82996 # XXX This test is broken at the moment, as symbols required for linking
82997 # are now in libsupc++ (not built yet). In addition, this test has
82998 # cored on solaris in the past. In addition, --gc-sections doesn't
82999 # really work at the moment (keeps on discarding used sections, first
83000 # .eh_frame and now some of the glibc sections for iconv).
83001 # Bzzzzt. Thanks for playing, maybe next time.
83002 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83003 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83004 if test "$cross_compiling" = yes; then
83005 ac_sectionLDflags=yes
83006 else
83007 cat >conftest.$ac_ext <<_ACEOF
83008 /* confdefs.h. */
83009 _ACEOF
83010 cat confdefs.h >>conftest.$ac_ext
83011 cat >>conftest.$ac_ext <<_ACEOF
83012 /* end confdefs.h. */
83014 int main(void)
83016 try { throw 1; }
83017 catch (...) { };
83018 return 0;
83021 _ACEOF
83022 rm -f conftest$ac_exeext
83023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83024 (eval $ac_link) 2>&5
83025 ac_status=$?
83026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83029 (eval $ac_try) 2>&5
83030 ac_status=$?
83031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83032 (exit $ac_status); }; }; then
83033 ac_sectionLDflags=yes
83034 else
83035 echo "$as_me: program exited with status $ac_status" >&5
83036 echo "$as_me: failed program was:" >&5
83037 sed 's/^/| /' conftest.$ac_ext >&5
83039 ( exit $ac_status )
83040 ac_sectionLDflags=no
83042 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83044 if test "$ac_test_CFLAGS" = set; then
83045 CFLAGS="$ac_save_CFLAGS"
83046 else
83047 # this is the suspicious part
83048 CFLAGS=''
83050 if test "$ac_sectionLDflags" = "yes"; then
83051 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83053 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83054 echo "${ECHO_T}$ac_sectionLDflags" >&6
83057 # Set linker optimization flags.
83058 if test x"$with_gnu_ld" = x"yes"; then
83059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83067 echo "$as_me:$LINENO: checking for main in -lm" >&5
83068 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83069 if test "${ac_cv_lib_m_main+set}" = set; then
83070 echo $ECHO_N "(cached) $ECHO_C" >&6
83071 else
83072 ac_check_lib_save_LIBS=$LIBS
83073 LIBS="-lm $LIBS"
83074 if test x$gcc_no_link = xyes; then
83075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83077 { (exit 1); exit 1; }; }
83079 cat >conftest.$ac_ext <<_ACEOF
83080 /* confdefs.h. */
83081 _ACEOF
83082 cat confdefs.h >>conftest.$ac_ext
83083 cat >>conftest.$ac_ext <<_ACEOF
83084 /* end confdefs.h. */
83088 main ()
83090 main ();
83092 return 0;
83094 _ACEOF
83095 rm -f conftest.$ac_objext conftest$ac_exeext
83096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83097 (eval $ac_link) 2>conftest.er1
83098 ac_status=$?
83099 grep -v '^ *+' conftest.er1 >conftest.err
83100 rm -f conftest.er1
83101 cat conftest.err >&5
83102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83103 (exit $ac_status); } &&
83104 { ac_try='test -z "$ac_c_werror_flag"
83105 || test ! -s conftest.err'
83106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83107 (eval $ac_try) 2>&5
83108 ac_status=$?
83109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83110 (exit $ac_status); }; } &&
83111 { ac_try='test -s conftest$ac_exeext'
83112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83113 (eval $ac_try) 2>&5
83114 ac_status=$?
83115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83116 (exit $ac_status); }; }; then
83117 ac_cv_lib_m_main=yes
83118 else
83119 echo "$as_me: failed program was:" >&5
83120 sed 's/^/| /' conftest.$ac_ext >&5
83122 ac_cv_lib_m_main=no
83124 rm -f conftest.err conftest.$ac_objext \
83125 conftest$ac_exeext conftest.$ac_ext
83126 LIBS=$ac_check_lib_save_LIBS
83128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83129 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83130 if test $ac_cv_lib_m_main = yes; then
83131 cat >>confdefs.h <<_ACEOF
83132 #define HAVE_LIBM 1
83133 _ACEOF
83135 LIBS="-lm $LIBS"
83140 for ac_func in copysignf
83142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83143 echo "$as_me:$LINENO: checking for $ac_func" >&5
83144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83145 if eval "test \"\${$as_ac_var+set}\" = set"; then
83146 echo $ECHO_N "(cached) $ECHO_C" >&6
83147 else
83148 if test x$gcc_no_link = xyes; then
83149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83151 { (exit 1); exit 1; }; }
83153 cat >conftest.$ac_ext <<_ACEOF
83154 /* confdefs.h. */
83155 _ACEOF
83156 cat confdefs.h >>conftest.$ac_ext
83157 cat >>conftest.$ac_ext <<_ACEOF
83158 /* end confdefs.h. */
83159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83161 #define $ac_func innocuous_$ac_func
83163 /* System header to define __stub macros and hopefully few prototypes,
83164 which can conflict with char $ac_func (); below.
83165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83166 <limits.h> exists even on freestanding compilers. */
83168 #ifdef __STDC__
83169 # include <limits.h>
83170 #else
83171 # include <assert.h>
83172 #endif
83174 #undef $ac_func
83176 /* Override any gcc2 internal prototype to avoid an error. */
83177 #ifdef __cplusplus
83178 extern "C"
83180 #endif
83181 /* We use char because int might match the return type of a gcc2
83182 builtin and then its argument prototype would still apply. */
83183 char $ac_func ();
83184 /* The GNU C library defines this for functions which it implements
83185 to always fail with ENOSYS. Some functions are actually named
83186 something starting with __ and the normal name is an alias. */
83187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83188 choke me
83189 #else
83190 char (*f) () = $ac_func;
83191 #endif
83192 #ifdef __cplusplus
83194 #endif
83197 main ()
83199 return f != $ac_func;
83201 return 0;
83203 _ACEOF
83204 rm -f conftest.$ac_objext conftest$ac_exeext
83205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83206 (eval $ac_link) 2>conftest.er1
83207 ac_status=$?
83208 grep -v '^ *+' conftest.er1 >conftest.err
83209 rm -f conftest.er1
83210 cat conftest.err >&5
83211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83212 (exit $ac_status); } &&
83213 { ac_try='test -z "$ac_c_werror_flag"
83214 || test ! -s conftest.err'
83215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83216 (eval $ac_try) 2>&5
83217 ac_status=$?
83218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83219 (exit $ac_status); }; } &&
83220 { ac_try='test -s conftest$ac_exeext'
83221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83222 (eval $ac_try) 2>&5
83223 ac_status=$?
83224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83225 (exit $ac_status); }; }; then
83226 eval "$as_ac_var=yes"
83227 else
83228 echo "$as_me: failed program was:" >&5
83229 sed 's/^/| /' conftest.$ac_ext >&5
83231 eval "$as_ac_var=no"
83233 rm -f conftest.err conftest.$ac_objext \
83234 conftest$ac_exeext conftest.$ac_ext
83236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83238 if test `eval echo '${'$as_ac_var'}'` = yes; then
83239 cat >>confdefs.h <<_ACEOF
83240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83241 _ACEOF
83243 else
83244 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83246 done
83250 for ac_func in __signbit
83252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83253 echo "$as_me:$LINENO: checking for $ac_func" >&5
83254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83255 if eval "test \"\${$as_ac_var+set}\" = set"; then
83256 echo $ECHO_N "(cached) $ECHO_C" >&6
83257 else
83258 if test x$gcc_no_link = xyes; then
83259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83261 { (exit 1); exit 1; }; }
83263 cat >conftest.$ac_ext <<_ACEOF
83264 /* confdefs.h. */
83265 _ACEOF
83266 cat confdefs.h >>conftest.$ac_ext
83267 cat >>conftest.$ac_ext <<_ACEOF
83268 /* end confdefs.h. */
83269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83271 #define $ac_func innocuous_$ac_func
83273 /* System header to define __stub macros and hopefully few prototypes,
83274 which can conflict with char $ac_func (); below.
83275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83276 <limits.h> exists even on freestanding compilers. */
83278 #ifdef __STDC__
83279 # include <limits.h>
83280 #else
83281 # include <assert.h>
83282 #endif
83284 #undef $ac_func
83286 /* Override any gcc2 internal prototype to avoid an error. */
83287 #ifdef __cplusplus
83288 extern "C"
83290 #endif
83291 /* We use char because int might match the return type of a gcc2
83292 builtin and then its argument prototype would still apply. */
83293 char $ac_func ();
83294 /* The GNU C library defines this for functions which it implements
83295 to always fail with ENOSYS. Some functions are actually named
83296 something starting with __ and the normal name is an alias. */
83297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83298 choke me
83299 #else
83300 char (*f) () = $ac_func;
83301 #endif
83302 #ifdef __cplusplus
83304 #endif
83307 main ()
83309 return f != $ac_func;
83311 return 0;
83313 _ACEOF
83314 rm -f conftest.$ac_objext conftest$ac_exeext
83315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83316 (eval $ac_link) 2>conftest.er1
83317 ac_status=$?
83318 grep -v '^ *+' conftest.er1 >conftest.err
83319 rm -f conftest.er1
83320 cat conftest.err >&5
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); } &&
83323 { ac_try='test -z "$ac_c_werror_flag"
83324 || test ! -s conftest.err'
83325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83326 (eval $ac_try) 2>&5
83327 ac_status=$?
83328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83329 (exit $ac_status); }; } &&
83330 { ac_try='test -s conftest$ac_exeext'
83331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83332 (eval $ac_try) 2>&5
83333 ac_status=$?
83334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83335 (exit $ac_status); }; }; then
83336 eval "$as_ac_var=yes"
83337 else
83338 echo "$as_me: failed program was:" >&5
83339 sed 's/^/| /' conftest.$ac_ext >&5
83341 eval "$as_ac_var=no"
83343 rm -f conftest.err conftest.$ac_objext \
83344 conftest$ac_exeext conftest.$ac_ext
83346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83348 if test `eval echo '${'$as_ac_var'}'` = yes; then
83349 cat >>confdefs.h <<_ACEOF
83350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83351 _ACEOF
83353 else
83354 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83356 done
83360 for ac_func in __signbitf
83362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83363 echo "$as_me:$LINENO: checking for $ac_func" >&5
83364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83365 if eval "test \"\${$as_ac_var+set}\" = set"; then
83366 echo $ECHO_N "(cached) $ECHO_C" >&6
83367 else
83368 if test x$gcc_no_link = xyes; then
83369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83371 { (exit 1); exit 1; }; }
83373 cat >conftest.$ac_ext <<_ACEOF
83374 /* confdefs.h. */
83375 _ACEOF
83376 cat confdefs.h >>conftest.$ac_ext
83377 cat >>conftest.$ac_ext <<_ACEOF
83378 /* end confdefs.h. */
83379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83381 #define $ac_func innocuous_$ac_func
83383 /* System header to define __stub macros and hopefully few prototypes,
83384 which can conflict with char $ac_func (); below.
83385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83386 <limits.h> exists even on freestanding compilers. */
83388 #ifdef __STDC__
83389 # include <limits.h>
83390 #else
83391 # include <assert.h>
83392 #endif
83394 #undef $ac_func
83396 /* Override any gcc2 internal prototype to avoid an error. */
83397 #ifdef __cplusplus
83398 extern "C"
83400 #endif
83401 /* We use char because int might match the return type of a gcc2
83402 builtin and then its argument prototype would still apply. */
83403 char $ac_func ();
83404 /* The GNU C library defines this for functions which it implements
83405 to always fail with ENOSYS. Some functions are actually named
83406 something starting with __ and the normal name is an alias. */
83407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83408 choke me
83409 #else
83410 char (*f) () = $ac_func;
83411 #endif
83412 #ifdef __cplusplus
83414 #endif
83417 main ()
83419 return f != $ac_func;
83421 return 0;
83423 _ACEOF
83424 rm -f conftest.$ac_objext conftest$ac_exeext
83425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83426 (eval $ac_link) 2>conftest.er1
83427 ac_status=$?
83428 grep -v '^ *+' conftest.er1 >conftest.err
83429 rm -f conftest.er1
83430 cat conftest.err >&5
83431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83432 (exit $ac_status); } &&
83433 { ac_try='test -z "$ac_c_werror_flag"
83434 || test ! -s conftest.err'
83435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83436 (eval $ac_try) 2>&5
83437 ac_status=$?
83438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439 (exit $ac_status); }; } &&
83440 { ac_try='test -s conftest$ac_exeext'
83441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83442 (eval $ac_try) 2>&5
83443 ac_status=$?
83444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83445 (exit $ac_status); }; }; then
83446 eval "$as_ac_var=yes"
83447 else
83448 echo "$as_me: failed program was:" >&5
83449 sed 's/^/| /' conftest.$ac_ext >&5
83451 eval "$as_ac_var=no"
83453 rm -f conftest.err conftest.$ac_objext \
83454 conftest$ac_exeext conftest.$ac_ext
83456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83458 if test `eval echo '${'$as_ac_var'}'` = yes; then
83459 cat >>confdefs.h <<_ACEOF
83460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83461 _ACEOF
83463 else
83464 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83466 done
83469 if test x$ac_cv_func_copysignl = x"yes"; then
83471 for ac_func in __signbitl
83473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83474 echo "$as_me:$LINENO: checking for $ac_func" >&5
83475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83476 if eval "test \"\${$as_ac_var+set}\" = set"; then
83477 echo $ECHO_N "(cached) $ECHO_C" >&6
83478 else
83479 if test x$gcc_no_link = xyes; then
83480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83482 { (exit 1); exit 1; }; }
83484 cat >conftest.$ac_ext <<_ACEOF
83485 /* confdefs.h. */
83486 _ACEOF
83487 cat confdefs.h >>conftest.$ac_ext
83488 cat >>conftest.$ac_ext <<_ACEOF
83489 /* end confdefs.h. */
83490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83492 #define $ac_func innocuous_$ac_func
83494 /* System header to define __stub macros and hopefully few prototypes,
83495 which can conflict with char $ac_func (); below.
83496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83497 <limits.h> exists even on freestanding compilers. */
83499 #ifdef __STDC__
83500 # include <limits.h>
83501 #else
83502 # include <assert.h>
83503 #endif
83505 #undef $ac_func
83507 /* Override any gcc2 internal prototype to avoid an error. */
83508 #ifdef __cplusplus
83509 extern "C"
83511 #endif
83512 /* We use char because int might match the return type of a gcc2
83513 builtin and then its argument prototype would still apply. */
83514 char $ac_func ();
83515 /* The GNU C library defines this for functions which it implements
83516 to always fail with ENOSYS. Some functions are actually named
83517 something starting with __ and the normal name is an alias. */
83518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83519 choke me
83520 #else
83521 char (*f) () = $ac_func;
83522 #endif
83523 #ifdef __cplusplus
83525 #endif
83528 main ()
83530 return f != $ac_func;
83532 return 0;
83534 _ACEOF
83535 rm -f conftest.$ac_objext conftest$ac_exeext
83536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83537 (eval $ac_link) 2>conftest.er1
83538 ac_status=$?
83539 grep -v '^ *+' conftest.er1 >conftest.err
83540 rm -f conftest.er1
83541 cat conftest.err >&5
83542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83543 (exit $ac_status); } &&
83544 { ac_try='test -z "$ac_c_werror_flag"
83545 || test ! -s conftest.err'
83546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83547 (eval $ac_try) 2>&5
83548 ac_status=$?
83549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550 (exit $ac_status); }; } &&
83551 { ac_try='test -s conftest$ac_exeext'
83552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83553 (eval $ac_try) 2>&5
83554 ac_status=$?
83555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83556 (exit $ac_status); }; }; then
83557 eval "$as_ac_var=yes"
83558 else
83559 echo "$as_me: failed program was:" >&5
83560 sed 's/^/| /' conftest.$ac_ext >&5
83562 eval "$as_ac_var=no"
83564 rm -f conftest.err conftest.$ac_objext \
83565 conftest$ac_exeext conftest.$ac_ext
83567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83569 if test `eval echo '${'$as_ac_var'}'` = yes; then
83570 cat >>confdefs.h <<_ACEOF
83571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83572 _ACEOF
83574 else
83575 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83577 done
83581 # Used in libmath/Makefile.am.
83582 if test -n "$LIBMATHOBJS"; then
83583 need_libmath=yes
83589 enable_iconv=no
83590 # Only continue checking if the ISO C99 headers exist and support is on.
83591 if test x"$enable_wchar_t" = xyes; then
83593 # Use iconv for wchar_t to char conversions. As such, check for
83594 # X/Open Portability Guide, version 2 features (XPG2).
83595 if test "${ac_cv_header_iconv_h+set}" = set; then
83596 echo "$as_me:$LINENO: checking for iconv.h" >&5
83597 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83598 if test "${ac_cv_header_iconv_h+set}" = set; then
83599 echo $ECHO_N "(cached) $ECHO_C" >&6
83601 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83602 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83603 else
83604 # Is the header compilable?
83605 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83606 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83607 cat >conftest.$ac_ext <<_ACEOF
83608 /* confdefs.h. */
83609 _ACEOF
83610 cat confdefs.h >>conftest.$ac_ext
83611 cat >>conftest.$ac_ext <<_ACEOF
83612 /* end confdefs.h. */
83613 $ac_includes_default
83614 #include <iconv.h>
83615 _ACEOF
83616 rm -f conftest.$ac_objext
83617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83618 (eval $ac_compile) 2>conftest.er1
83619 ac_status=$?
83620 grep -v '^ *+' conftest.er1 >conftest.err
83621 rm -f conftest.er1
83622 cat conftest.err >&5
83623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83624 (exit $ac_status); } &&
83625 { ac_try='test -z "$ac_c_werror_flag"
83626 || test ! -s conftest.err'
83627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83628 (eval $ac_try) 2>&5
83629 ac_status=$?
83630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83631 (exit $ac_status); }; } &&
83632 { ac_try='test -s conftest.$ac_objext'
83633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83634 (eval $ac_try) 2>&5
83635 ac_status=$?
83636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83637 (exit $ac_status); }; }; then
83638 ac_header_compiler=yes
83639 else
83640 echo "$as_me: failed program was:" >&5
83641 sed 's/^/| /' conftest.$ac_ext >&5
83643 ac_header_compiler=no
83645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83647 echo "${ECHO_T}$ac_header_compiler" >&6
83649 # Is the header present?
83650 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83651 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83652 cat >conftest.$ac_ext <<_ACEOF
83653 /* confdefs.h. */
83654 _ACEOF
83655 cat confdefs.h >>conftest.$ac_ext
83656 cat >>conftest.$ac_ext <<_ACEOF
83657 /* end confdefs.h. */
83658 #include <iconv.h>
83659 _ACEOF
83660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83662 ac_status=$?
83663 grep -v '^ *+' conftest.er1 >conftest.err
83664 rm -f conftest.er1
83665 cat conftest.err >&5
83666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83667 (exit $ac_status); } >/dev/null; then
83668 if test -s conftest.err; then
83669 ac_cpp_err=$ac_c_preproc_warn_flag
83670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83671 else
83672 ac_cpp_err=
83674 else
83675 ac_cpp_err=yes
83677 if test -z "$ac_cpp_err"; then
83678 ac_header_preproc=yes
83679 else
83680 echo "$as_me: failed program was:" >&5
83681 sed 's/^/| /' conftest.$ac_ext >&5
83683 ac_header_preproc=no
83685 rm -f conftest.err conftest.$ac_ext
83686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83687 echo "${ECHO_T}$ac_header_preproc" >&6
83689 # So? What about this header?
83690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83691 yes:no: )
83692 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83693 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83694 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83695 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83696 ac_header_preproc=yes
83698 no:yes:* )
83699 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83700 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83701 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83702 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83703 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83704 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83705 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83706 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83707 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83708 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83709 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83710 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83712 cat <<\_ASBOX
83713 ## ----------------------------------------- ##
83714 ## Report this to the package-unused lists. ##
83715 ## ----------------------------------------- ##
83716 _ASBOX
83718 sed "s/^/$as_me: WARNING: /" >&2
83720 esac
83721 echo "$as_me:$LINENO: checking for iconv.h" >&5
83722 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83723 if test "${ac_cv_header_iconv_h+set}" = set; then
83724 echo $ECHO_N "(cached) $ECHO_C" >&6
83725 else
83726 ac_cv_header_iconv_h=$ac_header_preproc
83728 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83729 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83732 if test $ac_cv_header_iconv_h = yes; then
83733 ac_has_iconv_h=yes
83734 else
83735 ac_has_iconv_h=no
83739 if test "${ac_cv_header_langinfo_h+set}" = set; then
83740 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83741 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83742 if test "${ac_cv_header_langinfo_h+set}" = set; then
83743 echo $ECHO_N "(cached) $ECHO_C" >&6
83745 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83746 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83747 else
83748 # Is the header compilable?
83749 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83750 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83751 cat >conftest.$ac_ext <<_ACEOF
83752 /* confdefs.h. */
83753 _ACEOF
83754 cat confdefs.h >>conftest.$ac_ext
83755 cat >>conftest.$ac_ext <<_ACEOF
83756 /* end confdefs.h. */
83757 $ac_includes_default
83758 #include <langinfo.h>
83759 _ACEOF
83760 rm -f conftest.$ac_objext
83761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83762 (eval $ac_compile) 2>conftest.er1
83763 ac_status=$?
83764 grep -v '^ *+' conftest.er1 >conftest.err
83765 rm -f conftest.er1
83766 cat conftest.err >&5
83767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83768 (exit $ac_status); } &&
83769 { ac_try='test -z "$ac_c_werror_flag"
83770 || test ! -s conftest.err'
83771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83772 (eval $ac_try) 2>&5
83773 ac_status=$?
83774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83775 (exit $ac_status); }; } &&
83776 { ac_try='test -s conftest.$ac_objext'
83777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83778 (eval $ac_try) 2>&5
83779 ac_status=$?
83780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83781 (exit $ac_status); }; }; then
83782 ac_header_compiler=yes
83783 else
83784 echo "$as_me: failed program was:" >&5
83785 sed 's/^/| /' conftest.$ac_ext >&5
83787 ac_header_compiler=no
83789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83791 echo "${ECHO_T}$ac_header_compiler" >&6
83793 # Is the header present?
83794 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83795 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83796 cat >conftest.$ac_ext <<_ACEOF
83797 /* confdefs.h. */
83798 _ACEOF
83799 cat confdefs.h >>conftest.$ac_ext
83800 cat >>conftest.$ac_ext <<_ACEOF
83801 /* end confdefs.h. */
83802 #include <langinfo.h>
83803 _ACEOF
83804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83806 ac_status=$?
83807 grep -v '^ *+' conftest.er1 >conftest.err
83808 rm -f conftest.er1
83809 cat conftest.err >&5
83810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83811 (exit $ac_status); } >/dev/null; then
83812 if test -s conftest.err; then
83813 ac_cpp_err=$ac_c_preproc_warn_flag
83814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83815 else
83816 ac_cpp_err=
83818 else
83819 ac_cpp_err=yes
83821 if test -z "$ac_cpp_err"; then
83822 ac_header_preproc=yes
83823 else
83824 echo "$as_me: failed program was:" >&5
83825 sed 's/^/| /' conftest.$ac_ext >&5
83827 ac_header_preproc=no
83829 rm -f conftest.err conftest.$ac_ext
83830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83831 echo "${ECHO_T}$ac_header_preproc" >&6
83833 # So? What about this header?
83834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83835 yes:no: )
83836 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83837 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83838 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83839 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83840 ac_header_preproc=yes
83842 no:yes:* )
83843 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83844 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83845 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83846 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83847 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83848 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83849 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83850 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83851 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83852 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83853 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83854 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83856 cat <<\_ASBOX
83857 ## ----------------------------------------- ##
83858 ## Report this to the package-unused lists. ##
83859 ## ----------------------------------------- ##
83860 _ASBOX
83862 sed "s/^/$as_me: WARNING: /" >&2
83864 esac
83865 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83866 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83867 if test "${ac_cv_header_langinfo_h+set}" = set; then
83868 echo $ECHO_N "(cached) $ECHO_C" >&6
83869 else
83870 ac_cv_header_langinfo_h=$ac_header_preproc
83872 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83873 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83876 if test $ac_cv_header_langinfo_h = yes; then
83877 ac_has_langinfo_h=yes
83878 else
83879 ac_has_langinfo_h=no
83884 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83885 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83886 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83887 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83888 echo $ECHO_N "(cached) $ECHO_C" >&6
83889 else
83890 ac_check_lib_save_LIBS=$LIBS
83891 LIBS="-liconv $LIBS"
83892 if test x$gcc_no_link = xyes; then
83893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83895 { (exit 1); exit 1; }; }
83897 cat >conftest.$ac_ext <<_ACEOF
83898 /* confdefs.h. */
83899 _ACEOF
83900 cat confdefs.h >>conftest.$ac_ext
83901 cat >>conftest.$ac_ext <<_ACEOF
83902 /* end confdefs.h. */
83904 /* Override any gcc2 internal prototype to avoid an error. */
83905 #ifdef __cplusplus
83906 extern "C"
83907 #endif
83908 /* We use char because int might match the return type of a gcc2
83909 builtin and then its argument prototype would still apply. */
83910 char iconv ();
83912 main ()
83914 iconv ();
83916 return 0;
83918 _ACEOF
83919 rm -f conftest.$ac_objext conftest$ac_exeext
83920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83921 (eval $ac_link) 2>conftest.er1
83922 ac_status=$?
83923 grep -v '^ *+' conftest.er1 >conftest.err
83924 rm -f conftest.er1
83925 cat conftest.err >&5
83926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83927 (exit $ac_status); } &&
83928 { ac_try='test -z "$ac_c_werror_flag"
83929 || test ! -s conftest.err'
83930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83931 (eval $ac_try) 2>&5
83932 ac_status=$?
83933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934 (exit $ac_status); }; } &&
83935 { ac_try='test -s conftest$ac_exeext'
83936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83937 (eval $ac_try) 2>&5
83938 ac_status=$?
83939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83940 (exit $ac_status); }; }; then
83941 ac_cv_lib_iconv_iconv=yes
83942 else
83943 echo "$as_me: failed program was:" >&5
83944 sed 's/^/| /' conftest.$ac_ext >&5
83946 ac_cv_lib_iconv_iconv=no
83948 rm -f conftest.err conftest.$ac_objext \
83949 conftest$ac_exeext conftest.$ac_ext
83950 LIBS=$ac_check_lib_save_LIBS
83952 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83953 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83954 if test $ac_cv_lib_iconv_iconv = yes; then
83955 LIBICONV="-liconv"
83958 ac_save_LIBS="$LIBS"
83959 LIBS="$LIBS $LIBICONV"
83966 for ac_func in iconv_open iconv_close iconv nl_langinfo
83968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83969 echo "$as_me:$LINENO: checking for $ac_func" >&5
83970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83971 if eval "test \"\${$as_ac_var+set}\" = set"; then
83972 echo $ECHO_N "(cached) $ECHO_C" >&6
83973 else
83974 if test x$gcc_no_link = xyes; then
83975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83977 { (exit 1); exit 1; }; }
83979 cat >conftest.$ac_ext <<_ACEOF
83980 /* confdefs.h. */
83981 _ACEOF
83982 cat confdefs.h >>conftest.$ac_ext
83983 cat >>conftest.$ac_ext <<_ACEOF
83984 /* end confdefs.h. */
83985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83987 #define $ac_func innocuous_$ac_func
83989 /* System header to define __stub macros and hopefully few prototypes,
83990 which can conflict with char $ac_func (); below.
83991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83992 <limits.h> exists even on freestanding compilers. */
83994 #ifdef __STDC__
83995 # include <limits.h>
83996 #else
83997 # include <assert.h>
83998 #endif
84000 #undef $ac_func
84002 /* Override any gcc2 internal prototype to avoid an error. */
84003 #ifdef __cplusplus
84004 extern "C"
84006 #endif
84007 /* We use char because int might match the return type of a gcc2
84008 builtin and then its argument prototype would still apply. */
84009 char $ac_func ();
84010 /* The GNU C library defines this for functions which it implements
84011 to always fail with ENOSYS. Some functions are actually named
84012 something starting with __ and the normal name is an alias. */
84013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84014 choke me
84015 #else
84016 char (*f) () = $ac_func;
84017 #endif
84018 #ifdef __cplusplus
84020 #endif
84023 main ()
84025 return f != $ac_func;
84027 return 0;
84029 _ACEOF
84030 rm -f conftest.$ac_objext conftest$ac_exeext
84031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84032 (eval $ac_link) 2>conftest.er1
84033 ac_status=$?
84034 grep -v '^ *+' conftest.er1 >conftest.err
84035 rm -f conftest.er1
84036 cat conftest.err >&5
84037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038 (exit $ac_status); } &&
84039 { ac_try='test -z "$ac_c_werror_flag"
84040 || test ! -s conftest.err'
84041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84042 (eval $ac_try) 2>&5
84043 ac_status=$?
84044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84045 (exit $ac_status); }; } &&
84046 { ac_try='test -s conftest$ac_exeext'
84047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84048 (eval $ac_try) 2>&5
84049 ac_status=$?
84050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84051 (exit $ac_status); }; }; then
84052 eval "$as_ac_var=yes"
84053 else
84054 echo "$as_me: failed program was:" >&5
84055 sed 's/^/| /' conftest.$ac_ext >&5
84057 eval "$as_ac_var=no"
84059 rm -f conftest.err conftest.$ac_objext \
84060 conftest$ac_exeext conftest.$ac_ext
84062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84064 if test `eval echo '${'$as_ac_var'}'` = yes; then
84065 cat >>confdefs.h <<_ACEOF
84066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84067 _ACEOF
84068 ac_XPG2funcs=yes
84069 else
84070 ac_XPG2funcs=no
84072 done
84075 LIBS="$ac_save_LIBS"
84077 if test x"$ac_has_iconv_h" = xyes &&
84078 test x"$ac_has_langinfo_h" = xyes &&
84079 test x"$ac_XPG2funcs" = xyes;
84080 then
84082 cat >>confdefs.h <<\_ACEOF
84083 #define _GLIBCXX_USE_ICONV 1
84084 _ACEOF
84086 enable_iconv=yes
84089 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84090 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84091 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84092 echo "${ECHO_T}$enable_iconv" >&6
84094 cat >>confdefs.h <<\_ACEOF
84095 #define HAVE_COSF 1
84096 _ACEOF
84098 cat >>confdefs.h <<\_ACEOF
84099 #define HAVE_COSL 1
84100 _ACEOF
84102 cat >>confdefs.h <<\_ACEOF
84103 #define HAVE_COSHF 1
84104 _ACEOF
84106 cat >>confdefs.h <<\_ACEOF
84107 #define HAVE_COSHL 1
84108 _ACEOF
84110 cat >>confdefs.h <<\_ACEOF
84111 #define HAVE_LOGF 1
84112 _ACEOF
84114 cat >>confdefs.h <<\_ACEOF
84115 #define HAVE_LOGL 1
84116 _ACEOF
84118 cat >>confdefs.h <<\_ACEOF
84119 #define HAVE_LOG10F 1
84120 _ACEOF
84122 cat >>confdefs.h <<\_ACEOF
84123 #define HAVE_LOG10L 1
84124 _ACEOF
84126 cat >>confdefs.h <<\_ACEOF
84127 #define HAVE_SINF 1
84128 _ACEOF
84130 cat >>confdefs.h <<\_ACEOF
84131 #define HAVE_SINL 1
84132 _ACEOF
84134 cat >>confdefs.h <<\_ACEOF
84135 #define HAVE_SINHF 1
84136 _ACEOF
84138 cat >>confdefs.h <<\_ACEOF
84139 #define HAVE_SINHL 1
84140 _ACEOF
84143 *-solaris*)
84144 case "$target" in
84145 # *-solaris2.5)
84146 # os_include_dir="os/solaris/solaris2.5"
84147 # ;;
84148 # *-solaris2.6)
84149 # os_include_dir="os/solaris/solaris2.6"
84150 # ;;
84151 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84152 cat >>confdefs.h <<\_ACEOF
84153 #define HAVE_GETPAGESIZE 1
84154 _ACEOF
84156 cat >>confdefs.h <<\_ACEOF
84157 #define HAVE_SIGSETJMP 1
84158 _ACEOF
84160 cat >>confdefs.h <<\_ACEOF
84161 #define HAVE_MBSTATE_T 1
84162 _ACEOF
84164 cat >>confdefs.h <<\_ACEOF
84165 #define HAVE_POLL 1
84166 _ACEOF
84168 cat >>confdefs.h <<\_ACEOF
84169 #define HAVE_S_ISREG 1
84170 _ACEOF
84172 cat >>confdefs.h <<\_ACEOF
84173 #define HAVE_LC_MESSAGES 1
84174 _ACEOF
84176 cat >>confdefs.h <<\_ACEOF
84177 #define HAVE_FINITE 1
84178 _ACEOF
84180 cat >>confdefs.h <<\_ACEOF
84181 #define HAVE_FPCLASS 1
84182 _ACEOF
84184 cat >>confdefs.h <<\_ACEOF
84185 #define HAVE_GETPAGESIZE 1
84186 _ACEOF
84188 cat >>confdefs.h <<\_ACEOF
84189 #define HAVE_NL_LANGINFO 1
84190 _ACEOF
84192 cat >>confdefs.h <<\_ACEOF
84193 #define HAVE_ICONV 1
84194 _ACEOF
84196 cat >>confdefs.h <<\_ACEOF
84197 #define HAVE_ICONV_CLOSE 1
84198 _ACEOF
84200 cat >>confdefs.h <<\_ACEOF
84201 #define HAVE_ICONV_OPEN 1
84202 _ACEOF
84204 # Look for the pieces required for wchar_t support in order to
84205 # get all the right HAVE_* macros defined.
84208 enable_iconv=no
84209 # Only continue checking if the ISO C99 headers exist and support is on.
84210 if test x"$enable_wchar_t" = xyes; then
84212 # Use iconv for wchar_t to char conversions. As such, check for
84213 # X/Open Portability Guide, version 2 features (XPG2).
84214 if test "${ac_cv_header_iconv_h+set}" = set; then
84215 echo "$as_me:$LINENO: checking for iconv.h" >&5
84216 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84217 if test "${ac_cv_header_iconv_h+set}" = set; then
84218 echo $ECHO_N "(cached) $ECHO_C" >&6
84220 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84221 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84222 else
84223 # Is the header compilable?
84224 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84225 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84226 cat >conftest.$ac_ext <<_ACEOF
84227 /* confdefs.h. */
84228 _ACEOF
84229 cat confdefs.h >>conftest.$ac_ext
84230 cat >>conftest.$ac_ext <<_ACEOF
84231 /* end confdefs.h. */
84232 $ac_includes_default
84233 #include <iconv.h>
84234 _ACEOF
84235 rm -f conftest.$ac_objext
84236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84237 (eval $ac_compile) 2>conftest.er1
84238 ac_status=$?
84239 grep -v '^ *+' conftest.er1 >conftest.err
84240 rm -f conftest.er1
84241 cat conftest.err >&5
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); } &&
84244 { ac_try='test -z "$ac_c_werror_flag"
84245 || test ! -s conftest.err'
84246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84247 (eval $ac_try) 2>&5
84248 ac_status=$?
84249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84250 (exit $ac_status); }; } &&
84251 { ac_try='test -s conftest.$ac_objext'
84252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84253 (eval $ac_try) 2>&5
84254 ac_status=$?
84255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84256 (exit $ac_status); }; }; then
84257 ac_header_compiler=yes
84258 else
84259 echo "$as_me: failed program was:" >&5
84260 sed 's/^/| /' conftest.$ac_ext >&5
84262 ac_header_compiler=no
84264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84266 echo "${ECHO_T}$ac_header_compiler" >&6
84268 # Is the header present?
84269 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84270 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84271 cat >conftest.$ac_ext <<_ACEOF
84272 /* confdefs.h. */
84273 _ACEOF
84274 cat confdefs.h >>conftest.$ac_ext
84275 cat >>conftest.$ac_ext <<_ACEOF
84276 /* end confdefs.h. */
84277 #include <iconv.h>
84278 _ACEOF
84279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84281 ac_status=$?
84282 grep -v '^ *+' conftest.er1 >conftest.err
84283 rm -f conftest.er1
84284 cat conftest.err >&5
84285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84286 (exit $ac_status); } >/dev/null; then
84287 if test -s conftest.err; then
84288 ac_cpp_err=$ac_c_preproc_warn_flag
84289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84290 else
84291 ac_cpp_err=
84293 else
84294 ac_cpp_err=yes
84296 if test -z "$ac_cpp_err"; then
84297 ac_header_preproc=yes
84298 else
84299 echo "$as_me: failed program was:" >&5
84300 sed 's/^/| /' conftest.$ac_ext >&5
84302 ac_header_preproc=no
84304 rm -f conftest.err conftest.$ac_ext
84305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84306 echo "${ECHO_T}$ac_header_preproc" >&6
84308 # So? What about this header?
84309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84310 yes:no: )
84311 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84312 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84313 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84314 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84315 ac_header_preproc=yes
84317 no:yes:* )
84318 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84319 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84320 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84321 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84322 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84323 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84324 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84325 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84326 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84327 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84328 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84329 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84331 cat <<\_ASBOX
84332 ## ----------------------------------------- ##
84333 ## Report this to the package-unused lists. ##
84334 ## ----------------------------------------- ##
84335 _ASBOX
84337 sed "s/^/$as_me: WARNING: /" >&2
84339 esac
84340 echo "$as_me:$LINENO: checking for iconv.h" >&5
84341 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84342 if test "${ac_cv_header_iconv_h+set}" = set; then
84343 echo $ECHO_N "(cached) $ECHO_C" >&6
84344 else
84345 ac_cv_header_iconv_h=$ac_header_preproc
84347 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84348 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84351 if test $ac_cv_header_iconv_h = yes; then
84352 ac_has_iconv_h=yes
84353 else
84354 ac_has_iconv_h=no
84358 if test "${ac_cv_header_langinfo_h+set}" = set; then
84359 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84360 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84361 if test "${ac_cv_header_langinfo_h+set}" = set; then
84362 echo $ECHO_N "(cached) $ECHO_C" >&6
84364 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84365 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84366 else
84367 # Is the header compilable?
84368 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84369 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84370 cat >conftest.$ac_ext <<_ACEOF
84371 /* confdefs.h. */
84372 _ACEOF
84373 cat confdefs.h >>conftest.$ac_ext
84374 cat >>conftest.$ac_ext <<_ACEOF
84375 /* end confdefs.h. */
84376 $ac_includes_default
84377 #include <langinfo.h>
84378 _ACEOF
84379 rm -f conftest.$ac_objext
84380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84381 (eval $ac_compile) 2>conftest.er1
84382 ac_status=$?
84383 grep -v '^ *+' conftest.er1 >conftest.err
84384 rm -f conftest.er1
84385 cat conftest.err >&5
84386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387 (exit $ac_status); } &&
84388 { ac_try='test -z "$ac_c_werror_flag"
84389 || test ! -s conftest.err'
84390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84391 (eval $ac_try) 2>&5
84392 ac_status=$?
84393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84394 (exit $ac_status); }; } &&
84395 { ac_try='test -s conftest.$ac_objext'
84396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84397 (eval $ac_try) 2>&5
84398 ac_status=$?
84399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84400 (exit $ac_status); }; }; then
84401 ac_header_compiler=yes
84402 else
84403 echo "$as_me: failed program was:" >&5
84404 sed 's/^/| /' conftest.$ac_ext >&5
84406 ac_header_compiler=no
84408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84410 echo "${ECHO_T}$ac_header_compiler" >&6
84412 # Is the header present?
84413 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84414 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84415 cat >conftest.$ac_ext <<_ACEOF
84416 /* confdefs.h. */
84417 _ACEOF
84418 cat confdefs.h >>conftest.$ac_ext
84419 cat >>conftest.$ac_ext <<_ACEOF
84420 /* end confdefs.h. */
84421 #include <langinfo.h>
84422 _ACEOF
84423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84425 ac_status=$?
84426 grep -v '^ *+' conftest.er1 >conftest.err
84427 rm -f conftest.er1
84428 cat conftest.err >&5
84429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84430 (exit $ac_status); } >/dev/null; then
84431 if test -s conftest.err; then
84432 ac_cpp_err=$ac_c_preproc_warn_flag
84433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84434 else
84435 ac_cpp_err=
84437 else
84438 ac_cpp_err=yes
84440 if test -z "$ac_cpp_err"; then
84441 ac_header_preproc=yes
84442 else
84443 echo "$as_me: failed program was:" >&5
84444 sed 's/^/| /' conftest.$ac_ext >&5
84446 ac_header_preproc=no
84448 rm -f conftest.err conftest.$ac_ext
84449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84450 echo "${ECHO_T}$ac_header_preproc" >&6
84452 # So? What about this header?
84453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84454 yes:no: )
84455 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84456 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84457 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84458 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84459 ac_header_preproc=yes
84461 no:yes:* )
84462 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84463 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84464 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84465 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84466 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84467 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84468 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84469 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84470 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84471 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84472 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84473 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84475 cat <<\_ASBOX
84476 ## ----------------------------------------- ##
84477 ## Report this to the package-unused lists. ##
84478 ## ----------------------------------------- ##
84479 _ASBOX
84481 sed "s/^/$as_me: WARNING: /" >&2
84483 esac
84484 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84485 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84486 if test "${ac_cv_header_langinfo_h+set}" = set; then
84487 echo $ECHO_N "(cached) $ECHO_C" >&6
84488 else
84489 ac_cv_header_langinfo_h=$ac_header_preproc
84491 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84492 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84495 if test $ac_cv_header_langinfo_h = yes; then
84496 ac_has_langinfo_h=yes
84497 else
84498 ac_has_langinfo_h=no
84503 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84504 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84505 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84506 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84507 echo $ECHO_N "(cached) $ECHO_C" >&6
84508 else
84509 ac_check_lib_save_LIBS=$LIBS
84510 LIBS="-liconv $LIBS"
84511 if test x$gcc_no_link = xyes; then
84512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84514 { (exit 1); exit 1; }; }
84516 cat >conftest.$ac_ext <<_ACEOF
84517 /* confdefs.h. */
84518 _ACEOF
84519 cat confdefs.h >>conftest.$ac_ext
84520 cat >>conftest.$ac_ext <<_ACEOF
84521 /* end confdefs.h. */
84523 /* Override any gcc2 internal prototype to avoid an error. */
84524 #ifdef __cplusplus
84525 extern "C"
84526 #endif
84527 /* We use char because int might match the return type of a gcc2
84528 builtin and then its argument prototype would still apply. */
84529 char iconv ();
84531 main ()
84533 iconv ();
84535 return 0;
84537 _ACEOF
84538 rm -f conftest.$ac_objext conftest$ac_exeext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84540 (eval $ac_link) 2>conftest.er1
84541 ac_status=$?
84542 grep -v '^ *+' conftest.er1 >conftest.err
84543 rm -f conftest.er1
84544 cat conftest.err >&5
84545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84546 (exit $ac_status); } &&
84547 { ac_try='test -z "$ac_c_werror_flag"
84548 || test ! -s conftest.err'
84549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84550 (eval $ac_try) 2>&5
84551 ac_status=$?
84552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84553 (exit $ac_status); }; } &&
84554 { ac_try='test -s conftest$ac_exeext'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; }; then
84560 ac_cv_lib_iconv_iconv=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84565 ac_cv_lib_iconv_iconv=no
84567 rm -f conftest.err conftest.$ac_objext \
84568 conftest$ac_exeext conftest.$ac_ext
84569 LIBS=$ac_check_lib_save_LIBS
84571 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84572 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84573 if test $ac_cv_lib_iconv_iconv = yes; then
84574 LIBICONV="-liconv"
84577 ac_save_LIBS="$LIBS"
84578 LIBS="$LIBS $LIBICONV"
84585 for ac_func in iconv_open iconv_close iconv nl_langinfo
84587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84588 echo "$as_me:$LINENO: checking for $ac_func" >&5
84589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84590 if eval "test \"\${$as_ac_var+set}\" = set"; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593 if test x$gcc_no_link = xyes; then
84594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84596 { (exit 1); exit 1; }; }
84598 cat >conftest.$ac_ext <<_ACEOF
84599 /* confdefs.h. */
84600 _ACEOF
84601 cat confdefs.h >>conftest.$ac_ext
84602 cat >>conftest.$ac_ext <<_ACEOF
84603 /* end confdefs.h. */
84604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84606 #define $ac_func innocuous_$ac_func
84608 /* System header to define __stub macros and hopefully few prototypes,
84609 which can conflict with char $ac_func (); below.
84610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84611 <limits.h> exists even on freestanding compilers. */
84613 #ifdef __STDC__
84614 # include <limits.h>
84615 #else
84616 # include <assert.h>
84617 #endif
84619 #undef $ac_func
84621 /* Override any gcc2 internal prototype to avoid an error. */
84622 #ifdef __cplusplus
84623 extern "C"
84625 #endif
84626 /* We use char because int might match the return type of a gcc2
84627 builtin and then its argument prototype would still apply. */
84628 char $ac_func ();
84629 /* The GNU C library defines this for functions which it implements
84630 to always fail with ENOSYS. Some functions are actually named
84631 something starting with __ and the normal name is an alias. */
84632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84633 choke me
84634 #else
84635 char (*f) () = $ac_func;
84636 #endif
84637 #ifdef __cplusplus
84639 #endif
84642 main ()
84644 return f != $ac_func;
84646 return 0;
84648 _ACEOF
84649 rm -f conftest.$ac_objext conftest$ac_exeext
84650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84651 (eval $ac_link) 2>conftest.er1
84652 ac_status=$?
84653 grep -v '^ *+' conftest.er1 >conftest.err
84654 rm -f conftest.er1
84655 cat conftest.err >&5
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); } &&
84658 { ac_try='test -z "$ac_c_werror_flag"
84659 || test ! -s conftest.err'
84660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84661 (eval $ac_try) 2>&5
84662 ac_status=$?
84663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664 (exit $ac_status); }; } &&
84665 { ac_try='test -s conftest$ac_exeext'
84666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84667 (eval $ac_try) 2>&5
84668 ac_status=$?
84669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670 (exit $ac_status); }; }; then
84671 eval "$as_ac_var=yes"
84672 else
84673 echo "$as_me: failed program was:" >&5
84674 sed 's/^/| /' conftest.$ac_ext >&5
84676 eval "$as_ac_var=no"
84678 rm -f conftest.err conftest.$ac_objext \
84679 conftest$ac_exeext conftest.$ac_ext
84681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84683 if test `eval echo '${'$as_ac_var'}'` = yes; then
84684 cat >>confdefs.h <<_ACEOF
84685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84686 _ACEOF
84687 ac_XPG2funcs=yes
84688 else
84689 ac_XPG2funcs=no
84691 done
84694 LIBS="$ac_save_LIBS"
84696 if test x"$ac_has_iconv_h" = xyes &&
84697 test x"$ac_has_langinfo_h" = xyes &&
84698 test x"$ac_XPG2funcs" = xyes;
84699 then
84701 cat >>confdefs.h <<\_ACEOF
84702 #define _GLIBCXX_USE_ICONV 1
84703 _ACEOF
84705 enable_iconv=yes
84708 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84709 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84710 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84711 echo "${ECHO_T}$enable_iconv" >&6
84713 # All of the dependencies for wide character support are here, so
84714 # turn it on. This requires some syncronization with the
84715 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
84716 cat >>confdefs.h <<\_ACEOF
84717 #define _GLIBCXX_USE_WCHAR_T 1
84718 _ACEOF
84720 # Are these tested for even when cross?
84721 cat >>confdefs.h <<\_ACEOF
84722 #define HAVE_FLOAT_H 1
84723 _ACEOF
84725 cat >>confdefs.h <<\_ACEOF
84726 #define HAVE_IEEEFP_H 1
84727 _ACEOF
84729 cat >>confdefs.h <<\_ACEOF
84730 #define HAVE_INTTYPES_H 1
84731 _ACEOF
84733 cat >>confdefs.h <<\_ACEOF
84734 #define HAVE_LOCALE_H 1
84735 _ACEOF
84737 cat >>confdefs.h <<\_ACEOF
84738 #define HAVE_NAN_H 1
84739 _ACEOF
84741 cat >>confdefs.h <<\_ACEOF
84742 #define HAVE_SYS_FILIO_H 1
84743 _ACEOF
84745 cat >>confdefs.h <<\_ACEOF
84746 #define HAVE_SYS_IOCTL_H 1
84747 _ACEOF
84749 cat >>confdefs.h <<\_ACEOF
84750 #define HAVE_SYS_ISA_DEFS_H 1
84751 _ACEOF
84753 cat >>confdefs.h <<\_ACEOF
84754 #define HAVE_SYS_RESOURCE_H 1
84755 _ACEOF
84757 cat >>confdefs.h <<\_ACEOF
84758 #define HAVE_SYS_TIME_H 1
84759 _ACEOF
84761 cat >>confdefs.h <<\_ACEOF
84762 #define HAVE_SYS_TYPES_H 1
84763 _ACEOF
84765 cat >>confdefs.h <<\_ACEOF
84766 #define HAVE_UNISTD_H 1
84767 _ACEOF
84769 cat >>confdefs.h <<\_ACEOF
84770 #define HAVE_WCHAR_H 1
84771 _ACEOF
84773 cat >>confdefs.h <<\_ACEOF
84774 #define HAVE_WCTYPE_H 1
84775 _ACEOF
84777 cat >>confdefs.h <<\_ACEOF
84778 #define HAVE_LIBM 1
84779 _ACEOF
84782 esac
84783 case "$target" in
84784 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
84785 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
84786 cat >>confdefs.h <<\_ACEOF
84787 #define HAVE___BUILTIN_ABS 1
84788 _ACEOF
84790 cat >>confdefs.h <<\_ACEOF
84791 #define HAVE___BUILTIN_LABS 1
84792 _ACEOF
84794 cat >>confdefs.h <<\_ACEOF
84795 #define HAVE___BUILTIN_FABS 1
84796 _ACEOF
84798 cat >>confdefs.h <<\_ACEOF
84799 #define HAVE___BUILTIN_FABSF 1
84800 _ACEOF
84802 cat >>confdefs.h <<\_ACEOF
84803 #define HAVE___BUILTIN_FABSL 1
84804 _ACEOF
84806 cat >>confdefs.h <<\_ACEOF
84807 #define HAVE___BUILTIN_COS 1
84808 _ACEOF
84810 cat >>confdefs.h <<\_ACEOF
84811 #define HAVE___BUILTIN_COSF 1
84812 _ACEOF
84814 cat >>confdefs.h <<\_ACEOF
84815 #define HAVE___BUILTIN_SIN 1
84816 _ACEOF
84818 cat >>confdefs.h <<\_ACEOF
84819 #define HAVE___BUILTIN_SINF 1
84820 _ACEOF
84823 esac
84824 case "$target" in
84825 *-*-solaris2.10)
84826 # These two C99 functions are present only in Solaris >= 10
84827 cat >>confdefs.h <<\_ACEOF
84828 #define HAVE_STRTOF 1
84829 _ACEOF
84831 cat >>confdefs.h <<\_ACEOF
84832 #define HAVE_STRTOLD 1
84833 _ACEOF
84836 esac
84837 cat >>confdefs.h <<\_ACEOF
84838 #define HAVE_MMAP 1
84839 _ACEOF
84841 cat >>confdefs.h <<\_ACEOF
84842 #define HAVE_COPYSIGN 1
84843 _ACEOF
84845 cat >>confdefs.h <<\_ACEOF
84846 #define HAVE_ISNAN 1
84847 _ACEOF
84849 cat >>confdefs.h <<\_ACEOF
84850 #define HAVE_ISNANF 1
84851 _ACEOF
84853 cat >>confdefs.h <<\_ACEOF
84854 #define HAVE_MODFF 1
84855 _ACEOF
84857 cat >>confdefs.h <<\_ACEOF
84858 #define HAVE_HYPOT 1
84859 _ACEOF
84862 *-tpf)
84871 for ac_header in nan.h endian.h machine/endian.h \
84872 sys/param.h sys/types.h locale.h float.h inttypes.h
84874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84876 echo "$as_me:$LINENO: checking for $ac_header" >&5
84877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84879 echo $ECHO_N "(cached) $ECHO_C" >&6
84881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84883 else
84884 # Is the header compilable?
84885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84887 cat >conftest.$ac_ext <<_ACEOF
84888 /* confdefs.h. */
84889 _ACEOF
84890 cat confdefs.h >>conftest.$ac_ext
84891 cat >>conftest.$ac_ext <<_ACEOF
84892 /* end confdefs.h. */
84893 $ac_includes_default
84894 #include <$ac_header>
84895 _ACEOF
84896 rm -f conftest.$ac_objext
84897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84898 (eval $ac_compile) 2>conftest.er1
84899 ac_status=$?
84900 grep -v '^ *+' conftest.er1 >conftest.err
84901 rm -f conftest.er1
84902 cat conftest.err >&5
84903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84904 (exit $ac_status); } &&
84905 { ac_try='test -z "$ac_c_werror_flag"
84906 || test ! -s conftest.err'
84907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84908 (eval $ac_try) 2>&5
84909 ac_status=$?
84910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84911 (exit $ac_status); }; } &&
84912 { ac_try='test -s conftest.$ac_objext'
84913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84914 (eval $ac_try) 2>&5
84915 ac_status=$?
84916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84917 (exit $ac_status); }; }; then
84918 ac_header_compiler=yes
84919 else
84920 echo "$as_me: failed program was:" >&5
84921 sed 's/^/| /' conftest.$ac_ext >&5
84923 ac_header_compiler=no
84925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84927 echo "${ECHO_T}$ac_header_compiler" >&6
84929 # Is the header present?
84930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84932 cat >conftest.$ac_ext <<_ACEOF
84933 /* confdefs.h. */
84934 _ACEOF
84935 cat confdefs.h >>conftest.$ac_ext
84936 cat >>conftest.$ac_ext <<_ACEOF
84937 /* end confdefs.h. */
84938 #include <$ac_header>
84939 _ACEOF
84940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84942 ac_status=$?
84943 grep -v '^ *+' conftest.er1 >conftest.err
84944 rm -f conftest.er1
84945 cat conftest.err >&5
84946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84947 (exit $ac_status); } >/dev/null; then
84948 if test -s conftest.err; then
84949 ac_cpp_err=$ac_c_preproc_warn_flag
84950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84951 else
84952 ac_cpp_err=
84954 else
84955 ac_cpp_err=yes
84957 if test -z "$ac_cpp_err"; then
84958 ac_header_preproc=yes
84959 else
84960 echo "$as_me: failed program was:" >&5
84961 sed 's/^/| /' conftest.$ac_ext >&5
84963 ac_header_preproc=no
84965 rm -f conftest.err conftest.$ac_ext
84966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84967 echo "${ECHO_T}$ac_header_preproc" >&6
84969 # So? What about this header?
84970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84971 yes:no: )
84972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84976 ac_header_preproc=yes
84978 no:yes:* )
84979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84992 cat <<\_ASBOX
84993 ## ----------------------------------------- ##
84994 ## Report this to the package-unused lists. ##
84995 ## ----------------------------------------- ##
84996 _ASBOX
84998 sed "s/^/$as_me: WARNING: /" >&2
85000 esac
85001 echo "$as_me:$LINENO: checking for $ac_header" >&5
85002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85004 echo $ECHO_N "(cached) $ECHO_C" >&6
85005 else
85006 eval "$as_ac_Header=\$ac_header_preproc"
85008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85013 cat >>confdefs.h <<_ACEOF
85014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85015 _ACEOF
85019 done
85021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85024 # If we're not using GNU ld, then there's no point in even trying these
85025 # tests. Check for that first. We should have already tested for gld
85026 # by now (in libtool), but require it now just to be safe...
85027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85032 # The name set by libtool depends on the version of libtool. Shame on us
85033 # for depending on an impl detail, but c'est la vie. Older versions used
85034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85037 # set (hence we're using an older libtool), then set it.
85038 if test x${with_gnu_ld+set} != xset; then
85039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85041 with_gnu_ld=no
85042 else
85043 with_gnu_ld=$ac_cv_prog_gnu_ld
85047 # Start by getting the version number. I think the libtool test already
85048 # does some of this, but throws away the result.
85050 ldver=`$LD --version 2>/dev/null | head -1 | \
85051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85053 glibcxx_gnu_ld_version=`echo $ldver | \
85054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85056 # Set --gc-sections.
85057 if test "$with_gnu_ld" = "notbroken"; then
85058 # GNU ld it is! Joy and bunny rabbits!
85060 # All these tests are for C++; save the language and the compiler flags.
85061 # Need to do this so that g++ won't try to link in libstdc++
85062 ac_test_CFLAGS="${CFLAGS+set}"
85063 ac_save_CFLAGS="$CFLAGS"
85064 CFLAGS='-x c++ -Wl,--gc-sections'
85066 # Check for -Wl,--gc-sections
85067 # XXX This test is broken at the moment, as symbols required for linking
85068 # are now in libsupc++ (not built yet). In addition, this test has
85069 # cored on solaris in the past. In addition, --gc-sections doesn't
85070 # really work at the moment (keeps on discarding used sections, first
85071 # .eh_frame and now some of the glibc sections for iconv).
85072 # Bzzzzt. Thanks for playing, maybe next time.
85073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85075 if test "$cross_compiling" = yes; then
85076 ac_sectionLDflags=yes
85077 else
85078 cat >conftest.$ac_ext <<_ACEOF
85079 /* confdefs.h. */
85080 _ACEOF
85081 cat confdefs.h >>conftest.$ac_ext
85082 cat >>conftest.$ac_ext <<_ACEOF
85083 /* end confdefs.h. */
85085 int main(void)
85087 try { throw 1; }
85088 catch (...) { };
85089 return 0;
85092 _ACEOF
85093 rm -f conftest$ac_exeext
85094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85095 (eval $ac_link) 2>&5
85096 ac_status=$?
85097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
85104 ac_sectionLDflags=yes
85105 else
85106 echo "$as_me: program exited with status $ac_status" >&5
85107 echo "$as_me: failed program was:" >&5
85108 sed 's/^/| /' conftest.$ac_ext >&5
85110 ( exit $ac_status )
85111 ac_sectionLDflags=no
85113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85115 if test "$ac_test_CFLAGS" = set; then
85116 CFLAGS="$ac_save_CFLAGS"
85117 else
85118 # this is the suspicious part
85119 CFLAGS=''
85121 if test "$ac_sectionLDflags" = "yes"; then
85122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85124 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85125 echo "${ECHO_T}$ac_sectionLDflags" >&6
85128 # Set linker optimization flags.
85129 if test x"$with_gnu_ld" = x"yes"; then
85130 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85138 echo "$as_me:$LINENO: checking for main in -lm" >&5
85139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85140 if test "${ac_cv_lib_m_main+set}" = set; then
85141 echo $ECHO_N "(cached) $ECHO_C" >&6
85142 else
85143 ac_check_lib_save_LIBS=$LIBS
85144 LIBS="-lm $LIBS"
85145 if test x$gcc_no_link = xyes; then
85146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85148 { (exit 1); exit 1; }; }
85150 cat >conftest.$ac_ext <<_ACEOF
85151 /* confdefs.h. */
85152 _ACEOF
85153 cat confdefs.h >>conftest.$ac_ext
85154 cat >>conftest.$ac_ext <<_ACEOF
85155 /* end confdefs.h. */
85159 main ()
85161 main ();
85163 return 0;
85165 _ACEOF
85166 rm -f conftest.$ac_objext conftest$ac_exeext
85167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85168 (eval $ac_link) 2>conftest.er1
85169 ac_status=$?
85170 grep -v '^ *+' conftest.er1 >conftest.err
85171 rm -f conftest.er1
85172 cat conftest.err >&5
85173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85174 (exit $ac_status); } &&
85175 { ac_try='test -z "$ac_c_werror_flag"
85176 || test ! -s conftest.err'
85177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85178 (eval $ac_try) 2>&5
85179 ac_status=$?
85180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85181 (exit $ac_status); }; } &&
85182 { ac_try='test -s conftest$ac_exeext'
85183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85184 (eval $ac_try) 2>&5
85185 ac_status=$?
85186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85187 (exit $ac_status); }; }; then
85188 ac_cv_lib_m_main=yes
85189 else
85190 echo "$as_me: failed program was:" >&5
85191 sed 's/^/| /' conftest.$ac_ext >&5
85193 ac_cv_lib_m_main=no
85195 rm -f conftest.err conftest.$ac_objext \
85196 conftest$ac_exeext conftest.$ac_ext
85197 LIBS=$ac_check_lib_save_LIBS
85199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85201 if test $ac_cv_lib_m_main = yes; then
85202 cat >>confdefs.h <<_ACEOF
85203 #define HAVE_LIBM 1
85204 _ACEOF
85206 LIBS="-lm $LIBS"
85211 for ac_func in copysignf
85213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85214 echo "$as_me:$LINENO: checking for $ac_func" >&5
85215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85216 if eval "test \"\${$as_ac_var+set}\" = set"; then
85217 echo $ECHO_N "(cached) $ECHO_C" >&6
85218 else
85219 if test x$gcc_no_link = xyes; then
85220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85222 { (exit 1); exit 1; }; }
85224 cat >conftest.$ac_ext <<_ACEOF
85225 /* confdefs.h. */
85226 _ACEOF
85227 cat confdefs.h >>conftest.$ac_ext
85228 cat >>conftest.$ac_ext <<_ACEOF
85229 /* end confdefs.h. */
85230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85232 #define $ac_func innocuous_$ac_func
85234 /* System header to define __stub macros and hopefully few prototypes,
85235 which can conflict with char $ac_func (); below.
85236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85237 <limits.h> exists even on freestanding compilers. */
85239 #ifdef __STDC__
85240 # include <limits.h>
85241 #else
85242 # include <assert.h>
85243 #endif
85245 #undef $ac_func
85247 /* Override any gcc2 internal prototype to avoid an error. */
85248 #ifdef __cplusplus
85249 extern "C"
85251 #endif
85252 /* We use char because int might match the return type of a gcc2
85253 builtin and then its argument prototype would still apply. */
85254 char $ac_func ();
85255 /* The GNU C library defines this for functions which it implements
85256 to always fail with ENOSYS. Some functions are actually named
85257 something starting with __ and the normal name is an alias. */
85258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85259 choke me
85260 #else
85261 char (*f) () = $ac_func;
85262 #endif
85263 #ifdef __cplusplus
85265 #endif
85268 main ()
85270 return f != $ac_func;
85272 return 0;
85274 _ACEOF
85275 rm -f conftest.$ac_objext conftest$ac_exeext
85276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85277 (eval $ac_link) 2>conftest.er1
85278 ac_status=$?
85279 grep -v '^ *+' conftest.er1 >conftest.err
85280 rm -f conftest.er1
85281 cat conftest.err >&5
85282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85283 (exit $ac_status); } &&
85284 { ac_try='test -z "$ac_c_werror_flag"
85285 || test ! -s conftest.err'
85286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85287 (eval $ac_try) 2>&5
85288 ac_status=$?
85289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85290 (exit $ac_status); }; } &&
85291 { ac_try='test -s conftest$ac_exeext'
85292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85293 (eval $ac_try) 2>&5
85294 ac_status=$?
85295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85296 (exit $ac_status); }; }; then
85297 eval "$as_ac_var=yes"
85298 else
85299 echo "$as_me: failed program was:" >&5
85300 sed 's/^/| /' conftest.$ac_ext >&5
85302 eval "$as_ac_var=no"
85304 rm -f conftest.err conftest.$ac_objext \
85305 conftest$ac_exeext conftest.$ac_ext
85307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85309 if test `eval echo '${'$as_ac_var'}'` = yes; then
85310 cat >>confdefs.h <<_ACEOF
85311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85312 _ACEOF
85314 else
85315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85317 done
85321 for ac_func in __signbit
85323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85324 echo "$as_me:$LINENO: checking for $ac_func" >&5
85325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85326 if eval "test \"\${$as_ac_var+set}\" = set"; then
85327 echo $ECHO_N "(cached) $ECHO_C" >&6
85328 else
85329 if test x$gcc_no_link = xyes; then
85330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85332 { (exit 1); exit 1; }; }
85334 cat >conftest.$ac_ext <<_ACEOF
85335 /* confdefs.h. */
85336 _ACEOF
85337 cat confdefs.h >>conftest.$ac_ext
85338 cat >>conftest.$ac_ext <<_ACEOF
85339 /* end confdefs.h. */
85340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85342 #define $ac_func innocuous_$ac_func
85344 /* System header to define __stub macros and hopefully few prototypes,
85345 which can conflict with char $ac_func (); below.
85346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85347 <limits.h> exists even on freestanding compilers. */
85349 #ifdef __STDC__
85350 # include <limits.h>
85351 #else
85352 # include <assert.h>
85353 #endif
85355 #undef $ac_func
85357 /* Override any gcc2 internal prototype to avoid an error. */
85358 #ifdef __cplusplus
85359 extern "C"
85361 #endif
85362 /* We use char because int might match the return type of a gcc2
85363 builtin and then its argument prototype would still apply. */
85364 char $ac_func ();
85365 /* The GNU C library defines this for functions which it implements
85366 to always fail with ENOSYS. Some functions are actually named
85367 something starting with __ and the normal name is an alias. */
85368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85369 choke me
85370 #else
85371 char (*f) () = $ac_func;
85372 #endif
85373 #ifdef __cplusplus
85375 #endif
85378 main ()
85380 return f != $ac_func;
85382 return 0;
85384 _ACEOF
85385 rm -f conftest.$ac_objext conftest$ac_exeext
85386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85387 (eval $ac_link) 2>conftest.er1
85388 ac_status=$?
85389 grep -v '^ *+' conftest.er1 >conftest.err
85390 rm -f conftest.er1
85391 cat conftest.err >&5
85392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85393 (exit $ac_status); } &&
85394 { ac_try='test -z "$ac_c_werror_flag"
85395 || test ! -s conftest.err'
85396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85397 (eval $ac_try) 2>&5
85398 ac_status=$?
85399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85400 (exit $ac_status); }; } &&
85401 { ac_try='test -s conftest$ac_exeext'
85402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85403 (eval $ac_try) 2>&5
85404 ac_status=$?
85405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406 (exit $ac_status); }; }; then
85407 eval "$as_ac_var=yes"
85408 else
85409 echo "$as_me: failed program was:" >&5
85410 sed 's/^/| /' conftest.$ac_ext >&5
85412 eval "$as_ac_var=no"
85414 rm -f conftest.err conftest.$ac_objext \
85415 conftest$ac_exeext conftest.$ac_ext
85417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85419 if test `eval echo '${'$as_ac_var'}'` = yes; then
85420 cat >>confdefs.h <<_ACEOF
85421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85422 _ACEOF
85424 else
85425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85427 done
85431 for ac_func in __signbitf
85433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85434 echo "$as_me:$LINENO: checking for $ac_func" >&5
85435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85436 if eval "test \"\${$as_ac_var+set}\" = set"; then
85437 echo $ECHO_N "(cached) $ECHO_C" >&6
85438 else
85439 if test x$gcc_no_link = xyes; then
85440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85442 { (exit 1); exit 1; }; }
85444 cat >conftest.$ac_ext <<_ACEOF
85445 /* confdefs.h. */
85446 _ACEOF
85447 cat confdefs.h >>conftest.$ac_ext
85448 cat >>conftest.$ac_ext <<_ACEOF
85449 /* end confdefs.h. */
85450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85452 #define $ac_func innocuous_$ac_func
85454 /* System header to define __stub macros and hopefully few prototypes,
85455 which can conflict with char $ac_func (); below.
85456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85457 <limits.h> exists even on freestanding compilers. */
85459 #ifdef __STDC__
85460 # include <limits.h>
85461 #else
85462 # include <assert.h>
85463 #endif
85465 #undef $ac_func
85467 /* Override any gcc2 internal prototype to avoid an error. */
85468 #ifdef __cplusplus
85469 extern "C"
85471 #endif
85472 /* We use char because int might match the return type of a gcc2
85473 builtin and then its argument prototype would still apply. */
85474 char $ac_func ();
85475 /* The GNU C library defines this for functions which it implements
85476 to always fail with ENOSYS. Some functions are actually named
85477 something starting with __ and the normal name is an alias. */
85478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85479 choke me
85480 #else
85481 char (*f) () = $ac_func;
85482 #endif
85483 #ifdef __cplusplus
85485 #endif
85488 main ()
85490 return f != $ac_func;
85492 return 0;
85494 _ACEOF
85495 rm -f conftest.$ac_objext conftest$ac_exeext
85496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85497 (eval $ac_link) 2>conftest.er1
85498 ac_status=$?
85499 grep -v '^ *+' conftest.er1 >conftest.err
85500 rm -f conftest.er1
85501 cat conftest.err >&5
85502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85503 (exit $ac_status); } &&
85504 { ac_try='test -z "$ac_c_werror_flag"
85505 || test ! -s conftest.err'
85506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85507 (eval $ac_try) 2>&5
85508 ac_status=$?
85509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85510 (exit $ac_status); }; } &&
85511 { ac_try='test -s conftest$ac_exeext'
85512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85513 (eval $ac_try) 2>&5
85514 ac_status=$?
85515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85516 (exit $ac_status); }; }; then
85517 eval "$as_ac_var=yes"
85518 else
85519 echo "$as_me: failed program was:" >&5
85520 sed 's/^/| /' conftest.$ac_ext >&5
85522 eval "$as_ac_var=no"
85524 rm -f conftest.err conftest.$ac_objext \
85525 conftest$ac_exeext conftest.$ac_ext
85527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85529 if test `eval echo '${'$as_ac_var'}'` = yes; then
85530 cat >>confdefs.h <<_ACEOF
85531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85532 _ACEOF
85534 else
85535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85537 done
85540 if test x$ac_cv_func_copysignl = x"yes"; then
85542 for ac_func in __signbitl
85544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85545 echo "$as_me:$LINENO: checking for $ac_func" >&5
85546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85547 if eval "test \"\${$as_ac_var+set}\" = set"; then
85548 echo $ECHO_N "(cached) $ECHO_C" >&6
85549 else
85550 if test x$gcc_no_link = xyes; then
85551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85553 { (exit 1); exit 1; }; }
85555 cat >conftest.$ac_ext <<_ACEOF
85556 /* confdefs.h. */
85557 _ACEOF
85558 cat confdefs.h >>conftest.$ac_ext
85559 cat >>conftest.$ac_ext <<_ACEOF
85560 /* end confdefs.h. */
85561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85563 #define $ac_func innocuous_$ac_func
85565 /* System header to define __stub macros and hopefully few prototypes,
85566 which can conflict with char $ac_func (); below.
85567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85568 <limits.h> exists even on freestanding compilers. */
85570 #ifdef __STDC__
85571 # include <limits.h>
85572 #else
85573 # include <assert.h>
85574 #endif
85576 #undef $ac_func
85578 /* Override any gcc2 internal prototype to avoid an error. */
85579 #ifdef __cplusplus
85580 extern "C"
85582 #endif
85583 /* We use char because int might match the return type of a gcc2
85584 builtin and then its argument prototype would still apply. */
85585 char $ac_func ();
85586 /* The GNU C library defines this for functions which it implements
85587 to always fail with ENOSYS. Some functions are actually named
85588 something starting with __ and the normal name is an alias. */
85589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85590 choke me
85591 #else
85592 char (*f) () = $ac_func;
85593 #endif
85594 #ifdef __cplusplus
85596 #endif
85599 main ()
85601 return f != $ac_func;
85603 return 0;
85605 _ACEOF
85606 rm -f conftest.$ac_objext conftest$ac_exeext
85607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85608 (eval $ac_link) 2>conftest.er1
85609 ac_status=$?
85610 grep -v '^ *+' conftest.er1 >conftest.err
85611 rm -f conftest.er1
85612 cat conftest.err >&5
85613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85614 (exit $ac_status); } &&
85615 { ac_try='test -z "$ac_c_werror_flag"
85616 || test ! -s conftest.err'
85617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85618 (eval $ac_try) 2>&5
85619 ac_status=$?
85620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85621 (exit $ac_status); }; } &&
85622 { ac_try='test -s conftest$ac_exeext'
85623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85624 (eval $ac_try) 2>&5
85625 ac_status=$?
85626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85627 (exit $ac_status); }; }; then
85628 eval "$as_ac_var=yes"
85629 else
85630 echo "$as_me: failed program was:" >&5
85631 sed 's/^/| /' conftest.$ac_ext >&5
85633 eval "$as_ac_var=no"
85635 rm -f conftest.err conftest.$ac_objext \
85636 conftest$ac_exeext conftest.$ac_ext
85638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85640 if test `eval echo '${'$as_ac_var'}'` = yes; then
85641 cat >>confdefs.h <<_ACEOF
85642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85643 _ACEOF
85645 else
85646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85648 done
85652 # Used in libmath/Makefile.am.
85653 if test -n "$LIBMATHOBJS"; then
85654 need_libmath=yes
85660 enable_iconv=no
85661 # Only continue checking if the ISO C99 headers exist and support is on.
85662 if test x"$enable_wchar_t" = xyes; then
85664 # Use iconv for wchar_t to char conversions. As such, check for
85665 # X/Open Portability Guide, version 2 features (XPG2).
85666 if test "${ac_cv_header_iconv_h+set}" = set; then
85667 echo "$as_me:$LINENO: checking for iconv.h" >&5
85668 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85669 if test "${ac_cv_header_iconv_h+set}" = set; then
85670 echo $ECHO_N "(cached) $ECHO_C" >&6
85672 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85673 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85674 else
85675 # Is the header compilable?
85676 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85677 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85678 cat >conftest.$ac_ext <<_ACEOF
85679 /* confdefs.h. */
85680 _ACEOF
85681 cat confdefs.h >>conftest.$ac_ext
85682 cat >>conftest.$ac_ext <<_ACEOF
85683 /* end confdefs.h. */
85684 $ac_includes_default
85685 #include <iconv.h>
85686 _ACEOF
85687 rm -f conftest.$ac_objext
85688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85689 (eval $ac_compile) 2>conftest.er1
85690 ac_status=$?
85691 grep -v '^ *+' conftest.er1 >conftest.err
85692 rm -f conftest.er1
85693 cat conftest.err >&5
85694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85695 (exit $ac_status); } &&
85696 { ac_try='test -z "$ac_c_werror_flag"
85697 || test ! -s conftest.err'
85698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85699 (eval $ac_try) 2>&5
85700 ac_status=$?
85701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85702 (exit $ac_status); }; } &&
85703 { ac_try='test -s conftest.$ac_objext'
85704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85705 (eval $ac_try) 2>&5
85706 ac_status=$?
85707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85708 (exit $ac_status); }; }; then
85709 ac_header_compiler=yes
85710 else
85711 echo "$as_me: failed program was:" >&5
85712 sed 's/^/| /' conftest.$ac_ext >&5
85714 ac_header_compiler=no
85716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85718 echo "${ECHO_T}$ac_header_compiler" >&6
85720 # Is the header present?
85721 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85722 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85723 cat >conftest.$ac_ext <<_ACEOF
85724 /* confdefs.h. */
85725 _ACEOF
85726 cat confdefs.h >>conftest.$ac_ext
85727 cat >>conftest.$ac_ext <<_ACEOF
85728 /* end confdefs.h. */
85729 #include <iconv.h>
85730 _ACEOF
85731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85733 ac_status=$?
85734 grep -v '^ *+' conftest.er1 >conftest.err
85735 rm -f conftest.er1
85736 cat conftest.err >&5
85737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85738 (exit $ac_status); } >/dev/null; then
85739 if test -s conftest.err; then
85740 ac_cpp_err=$ac_c_preproc_warn_flag
85741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85742 else
85743 ac_cpp_err=
85745 else
85746 ac_cpp_err=yes
85748 if test -z "$ac_cpp_err"; then
85749 ac_header_preproc=yes
85750 else
85751 echo "$as_me: failed program was:" >&5
85752 sed 's/^/| /' conftest.$ac_ext >&5
85754 ac_header_preproc=no
85756 rm -f conftest.err conftest.$ac_ext
85757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85758 echo "${ECHO_T}$ac_header_preproc" >&6
85760 # So? What about this header?
85761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85762 yes:no: )
85763 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85764 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85765 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85766 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85767 ac_header_preproc=yes
85769 no:yes:* )
85770 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85771 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85772 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85773 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85774 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85775 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85776 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85777 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85778 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85779 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85780 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85781 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85783 cat <<\_ASBOX
85784 ## ----------------------------------------- ##
85785 ## Report this to the package-unused lists. ##
85786 ## ----------------------------------------- ##
85787 _ASBOX
85789 sed "s/^/$as_me: WARNING: /" >&2
85791 esac
85792 echo "$as_me:$LINENO: checking for iconv.h" >&5
85793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85794 if test "${ac_cv_header_iconv_h+set}" = set; then
85795 echo $ECHO_N "(cached) $ECHO_C" >&6
85796 else
85797 ac_cv_header_iconv_h=$ac_header_preproc
85799 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85800 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85803 if test $ac_cv_header_iconv_h = yes; then
85804 ac_has_iconv_h=yes
85805 else
85806 ac_has_iconv_h=no
85810 if test "${ac_cv_header_langinfo_h+set}" = set; then
85811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85813 if test "${ac_cv_header_langinfo_h+set}" = set; then
85814 echo $ECHO_N "(cached) $ECHO_C" >&6
85816 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85817 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85818 else
85819 # Is the header compilable?
85820 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85821 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85822 cat >conftest.$ac_ext <<_ACEOF
85823 /* confdefs.h. */
85824 _ACEOF
85825 cat confdefs.h >>conftest.$ac_ext
85826 cat >>conftest.$ac_ext <<_ACEOF
85827 /* end confdefs.h. */
85828 $ac_includes_default
85829 #include <langinfo.h>
85830 _ACEOF
85831 rm -f conftest.$ac_objext
85832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85833 (eval $ac_compile) 2>conftest.er1
85834 ac_status=$?
85835 grep -v '^ *+' conftest.er1 >conftest.err
85836 rm -f conftest.er1
85837 cat conftest.err >&5
85838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85839 (exit $ac_status); } &&
85840 { ac_try='test -z "$ac_c_werror_flag"
85841 || test ! -s conftest.err'
85842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85843 (eval $ac_try) 2>&5
85844 ac_status=$?
85845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85846 (exit $ac_status); }; } &&
85847 { ac_try='test -s conftest.$ac_objext'
85848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85849 (eval $ac_try) 2>&5
85850 ac_status=$?
85851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85852 (exit $ac_status); }; }; then
85853 ac_header_compiler=yes
85854 else
85855 echo "$as_me: failed program was:" >&5
85856 sed 's/^/| /' conftest.$ac_ext >&5
85858 ac_header_compiler=no
85860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85862 echo "${ECHO_T}$ac_header_compiler" >&6
85864 # Is the header present?
85865 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85866 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85867 cat >conftest.$ac_ext <<_ACEOF
85868 /* confdefs.h. */
85869 _ACEOF
85870 cat confdefs.h >>conftest.$ac_ext
85871 cat >>conftest.$ac_ext <<_ACEOF
85872 /* end confdefs.h. */
85873 #include <langinfo.h>
85874 _ACEOF
85875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85877 ac_status=$?
85878 grep -v '^ *+' conftest.er1 >conftest.err
85879 rm -f conftest.er1
85880 cat conftest.err >&5
85881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85882 (exit $ac_status); } >/dev/null; then
85883 if test -s conftest.err; then
85884 ac_cpp_err=$ac_c_preproc_warn_flag
85885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85886 else
85887 ac_cpp_err=
85889 else
85890 ac_cpp_err=yes
85892 if test -z "$ac_cpp_err"; then
85893 ac_header_preproc=yes
85894 else
85895 echo "$as_me: failed program was:" >&5
85896 sed 's/^/| /' conftest.$ac_ext >&5
85898 ac_header_preproc=no
85900 rm -f conftest.err conftest.$ac_ext
85901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85902 echo "${ECHO_T}$ac_header_preproc" >&6
85904 # So? What about this header?
85905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85906 yes:no: )
85907 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85908 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85909 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85910 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85911 ac_header_preproc=yes
85913 no:yes:* )
85914 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85915 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85916 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85917 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85918 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85919 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85920 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85921 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85922 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85923 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85924 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85925 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85927 cat <<\_ASBOX
85928 ## ----------------------------------------- ##
85929 ## Report this to the package-unused lists. ##
85930 ## ----------------------------------------- ##
85931 _ASBOX
85933 sed "s/^/$as_me: WARNING: /" >&2
85935 esac
85936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85938 if test "${ac_cv_header_langinfo_h+set}" = set; then
85939 echo $ECHO_N "(cached) $ECHO_C" >&6
85940 else
85941 ac_cv_header_langinfo_h=$ac_header_preproc
85943 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85944 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85947 if test $ac_cv_header_langinfo_h = yes; then
85948 ac_has_langinfo_h=yes
85949 else
85950 ac_has_langinfo_h=no
85955 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85956 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85957 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85958 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85959 echo $ECHO_N "(cached) $ECHO_C" >&6
85960 else
85961 ac_check_lib_save_LIBS=$LIBS
85962 LIBS="-liconv $LIBS"
85963 if test x$gcc_no_link = xyes; then
85964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85966 { (exit 1); exit 1; }; }
85968 cat >conftest.$ac_ext <<_ACEOF
85969 /* confdefs.h. */
85970 _ACEOF
85971 cat confdefs.h >>conftest.$ac_ext
85972 cat >>conftest.$ac_ext <<_ACEOF
85973 /* end confdefs.h. */
85975 /* Override any gcc2 internal prototype to avoid an error. */
85976 #ifdef __cplusplus
85977 extern "C"
85978 #endif
85979 /* We use char because int might match the return type of a gcc2
85980 builtin and then its argument prototype would still apply. */
85981 char iconv ();
85983 main ()
85985 iconv ();
85987 return 0;
85989 _ACEOF
85990 rm -f conftest.$ac_objext conftest$ac_exeext
85991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85992 (eval $ac_link) 2>conftest.er1
85993 ac_status=$?
85994 grep -v '^ *+' conftest.er1 >conftest.err
85995 rm -f conftest.er1
85996 cat conftest.err >&5
85997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85998 (exit $ac_status); } &&
85999 { ac_try='test -z "$ac_c_werror_flag"
86000 || test ! -s conftest.err'
86001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86002 (eval $ac_try) 2>&5
86003 ac_status=$?
86004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86005 (exit $ac_status); }; } &&
86006 { ac_try='test -s conftest$ac_exeext'
86007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86008 (eval $ac_try) 2>&5
86009 ac_status=$?
86010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86011 (exit $ac_status); }; }; then
86012 ac_cv_lib_iconv_iconv=yes
86013 else
86014 echo "$as_me: failed program was:" >&5
86015 sed 's/^/| /' conftest.$ac_ext >&5
86017 ac_cv_lib_iconv_iconv=no
86019 rm -f conftest.err conftest.$ac_objext \
86020 conftest$ac_exeext conftest.$ac_ext
86021 LIBS=$ac_check_lib_save_LIBS
86023 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86024 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86025 if test $ac_cv_lib_iconv_iconv = yes; then
86026 LIBICONV="-liconv"
86029 ac_save_LIBS="$LIBS"
86030 LIBS="$LIBS $LIBICONV"
86037 for ac_func in iconv_open iconv_close iconv nl_langinfo
86039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86040 echo "$as_me:$LINENO: checking for $ac_func" >&5
86041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86042 if eval "test \"\${$as_ac_var+set}\" = set"; then
86043 echo $ECHO_N "(cached) $ECHO_C" >&6
86044 else
86045 if test x$gcc_no_link = xyes; then
86046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86048 { (exit 1); exit 1; }; }
86050 cat >conftest.$ac_ext <<_ACEOF
86051 /* confdefs.h. */
86052 _ACEOF
86053 cat confdefs.h >>conftest.$ac_ext
86054 cat >>conftest.$ac_ext <<_ACEOF
86055 /* end confdefs.h. */
86056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86058 #define $ac_func innocuous_$ac_func
86060 /* System header to define __stub macros and hopefully few prototypes,
86061 which can conflict with char $ac_func (); below.
86062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86063 <limits.h> exists even on freestanding compilers. */
86065 #ifdef __STDC__
86066 # include <limits.h>
86067 #else
86068 # include <assert.h>
86069 #endif
86071 #undef $ac_func
86073 /* Override any gcc2 internal prototype to avoid an error. */
86074 #ifdef __cplusplus
86075 extern "C"
86077 #endif
86078 /* We use char because int might match the return type of a gcc2
86079 builtin and then its argument prototype would still apply. */
86080 char $ac_func ();
86081 /* The GNU C library defines this for functions which it implements
86082 to always fail with ENOSYS. Some functions are actually named
86083 something starting with __ and the normal name is an alias. */
86084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86085 choke me
86086 #else
86087 char (*f) () = $ac_func;
86088 #endif
86089 #ifdef __cplusplus
86091 #endif
86094 main ()
86096 return f != $ac_func;
86098 return 0;
86100 _ACEOF
86101 rm -f conftest.$ac_objext conftest$ac_exeext
86102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86103 (eval $ac_link) 2>conftest.er1
86104 ac_status=$?
86105 grep -v '^ *+' conftest.er1 >conftest.err
86106 rm -f conftest.er1
86107 cat conftest.err >&5
86108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86109 (exit $ac_status); } &&
86110 { ac_try='test -z "$ac_c_werror_flag"
86111 || test ! -s conftest.err'
86112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86113 (eval $ac_try) 2>&5
86114 ac_status=$?
86115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86116 (exit $ac_status); }; } &&
86117 { ac_try='test -s conftest$ac_exeext'
86118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86119 (eval $ac_try) 2>&5
86120 ac_status=$?
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); }; }; then
86123 eval "$as_ac_var=yes"
86124 else
86125 echo "$as_me: failed program was:" >&5
86126 sed 's/^/| /' conftest.$ac_ext >&5
86128 eval "$as_ac_var=no"
86130 rm -f conftest.err conftest.$ac_objext \
86131 conftest$ac_exeext conftest.$ac_ext
86133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86135 if test `eval echo '${'$as_ac_var'}'` = yes; then
86136 cat >>confdefs.h <<_ACEOF
86137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86138 _ACEOF
86139 ac_XPG2funcs=yes
86140 else
86141 ac_XPG2funcs=no
86143 done
86146 LIBS="$ac_save_LIBS"
86148 if test x"$ac_has_iconv_h" = xyes &&
86149 test x"$ac_has_langinfo_h" = xyes &&
86150 test x"$ac_XPG2funcs" = xyes;
86151 then
86153 cat >>confdefs.h <<\_ACEOF
86154 #define _GLIBCXX_USE_ICONV 1
86155 _ACEOF
86157 enable_iconv=yes
86160 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86161 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86162 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86163 echo "${ECHO_T}$enable_iconv" >&6
86165 cat >>confdefs.h <<\_ACEOF
86166 #define HAVE_COPYSIGN 1
86167 _ACEOF
86169 cat >>confdefs.h <<\_ACEOF
86170 #define HAVE_COPYSIGNF 1
86171 _ACEOF
86173 cat >>confdefs.h <<\_ACEOF
86174 #define HAVE_FINITE 1
86175 _ACEOF
86177 cat >>confdefs.h <<\_ACEOF
86178 #define HAVE_FINITEF 1
86179 _ACEOF
86181 cat >>confdefs.h <<\_ACEOF
86182 #define HAVE_FREXPF 1
86183 _ACEOF
86185 cat >>confdefs.h <<\_ACEOF
86186 #define HAVE_HYPOTF 1
86187 _ACEOF
86189 cat >>confdefs.h <<\_ACEOF
86190 #define HAVE_ISINF 1
86191 _ACEOF
86193 cat >>confdefs.h <<\_ACEOF
86194 #define HAVE_ISINFF 1
86195 _ACEOF
86197 cat >>confdefs.h <<\_ACEOF
86198 #define HAVE_ISNAN 1
86199 _ACEOF
86201 cat >>confdefs.h <<\_ACEOF
86202 #define HAVE_ISNANF 1
86203 _ACEOF
86205 cat >>confdefs.h <<\_ACEOF
86206 #define HAVE_SINCOS 1
86207 _ACEOF
86209 cat >>confdefs.h <<\_ACEOF
86210 #define HAVE_SINCOSF 1
86211 _ACEOF
86213 if test x"long_double_math_on_this_cpu" = x"yes"; then
86214 cat >>confdefs.h <<\_ACEOF
86215 #define HAVE_FINITEL 1
86216 _ACEOF
86218 cat >>confdefs.h <<\_ACEOF
86219 #define HAVE_HYPOTL 1
86220 _ACEOF
86222 cat >>confdefs.h <<\_ACEOF
86223 #define HAVE_ISINFL 1
86224 _ACEOF
86226 cat >>confdefs.h <<\_ACEOF
86227 #define HAVE_ISNANL 1
86228 _ACEOF
86232 *-vxworks)
86233 cat >>confdefs.h <<\_ACEOF
86234 #define HAVE_MMAP 1
86235 _ACEOF
86237 cat >>confdefs.h <<\_ACEOF
86238 #define HAVE_ACOSF 1
86239 _ACEOF
86241 cat >>confdefs.h <<\_ACEOF
86242 #define HAVE_ASINF 1
86243 _ACEOF
86245 cat >>confdefs.h <<\_ACEOF
86246 #define HAVE_ATAN2F 1
86247 _ACEOF
86249 cat >>confdefs.h <<\_ACEOF
86250 #define HAVE_ATANF 1
86251 _ACEOF
86253 cat >>confdefs.h <<\_ACEOF
86254 #define HAVE_CEILF 1
86255 _ACEOF
86257 cat >>confdefs.h <<\_ACEOF
86258 #define HAVE_COSF 1
86259 _ACEOF
86261 cat >>confdefs.h <<\_ACEOF
86262 #define HAVE_COSHF 1
86263 _ACEOF
86265 cat >>confdefs.h <<\_ACEOF
86266 #define HAVE_EXPF 1
86267 _ACEOF
86269 cat >>confdefs.h <<\_ACEOF
86270 #define HAVE_FABSF 1
86271 _ACEOF
86273 cat >>confdefs.h <<\_ACEOF
86274 #define HAVE_FLOORF 1
86275 _ACEOF
86277 cat >>confdefs.h <<\_ACEOF
86278 #define HAVE_FMODF 1
86279 _ACEOF
86281 cat >>confdefs.h <<\_ACEOF
86282 #define HAVE_HYPOT 1
86283 _ACEOF
86285 cat >>confdefs.h <<\_ACEOF
86286 #define HAVE_LOG10F 1
86287 _ACEOF
86289 cat >>confdefs.h <<\_ACEOF
86290 #define HAVE_LOGF 1
86291 _ACEOF
86293 cat >>confdefs.h <<\_ACEOF
86294 #define HAVE_POWF 1
86295 _ACEOF
86297 cat >>confdefs.h <<\_ACEOF
86298 #define HAVE_SINF 1
86299 _ACEOF
86301 cat >>confdefs.h <<\_ACEOF
86302 #define HAVE_SINHF 1
86303 _ACEOF
86305 cat >>confdefs.h <<\_ACEOF
86306 #define HAVE_SQRTF 1
86307 _ACEOF
86309 cat >>confdefs.h <<\_ACEOF
86310 #define HAVE_TANF 1
86311 _ACEOF
86313 cat >>confdefs.h <<\_ACEOF
86314 #define HAVE_TANHF 1
86315 _ACEOF
86318 *-windiss*)
86319 cat >>confdefs.h <<\_ACEOF
86320 #define HAVE_ACOSF 1
86321 _ACEOF
86323 cat >>confdefs.h <<\_ACEOF
86324 #define HAVE_ACOSL 1
86325 _ACEOF
86327 cat >>confdefs.h <<\_ACEOF
86328 #define HAVE_ASINF 1
86329 _ACEOF
86331 cat >>confdefs.h <<\_ACEOF
86332 #define HAVE_ASINL 1
86333 _ACEOF
86335 cat >>confdefs.h <<\_ACEOF
86336 #define HAVE_ATAN2F 1
86337 _ACEOF
86339 cat >>confdefs.h <<\_ACEOF
86340 #define HAVE_ATAN2L 1
86341 _ACEOF
86343 cat >>confdefs.h <<\_ACEOF
86344 #define HAVE_ATANF 1
86345 _ACEOF
86347 cat >>confdefs.h <<\_ACEOF
86348 #define HAVE_ATANL 1
86349 _ACEOF
86351 cat >>confdefs.h <<\_ACEOF
86352 #define HAVE_CEILF 1
86353 _ACEOF
86355 cat >>confdefs.h <<\_ACEOF
86356 #define HAVE_CEILL 1
86357 _ACEOF
86359 cat >>confdefs.h <<\_ACEOF
86360 #define HAVE_COPYSIGN 1
86361 _ACEOF
86363 cat >>confdefs.h <<\_ACEOF
86364 #define HAVE_COPYSIGNF 1
86365 _ACEOF
86367 cat >>confdefs.h <<\_ACEOF
86368 #define HAVE_COSF 1
86369 _ACEOF
86371 cat >>confdefs.h <<\_ACEOF
86372 #define HAVE_COSL 1
86373 _ACEOF
86375 cat >>confdefs.h <<\_ACEOF
86376 #define HAVE_COSHF 1
86377 _ACEOF
86379 cat >>confdefs.h <<\_ACEOF
86380 #define HAVE_COSHL 1
86381 _ACEOF
86383 cat >>confdefs.h <<\_ACEOF
86384 #define HAVE_EXPF 1
86385 _ACEOF
86387 cat >>confdefs.h <<\_ACEOF
86388 #define HAVE_EXPL 1
86389 _ACEOF
86391 cat >>confdefs.h <<\_ACEOF
86392 #define HAVE_FABSF 1
86393 _ACEOF
86395 cat >>confdefs.h <<\_ACEOF
86396 #define HAVE_FABSL 1
86397 _ACEOF
86399 cat >>confdefs.h <<\_ACEOF
86400 #define HAVE_FLOORF 1
86401 _ACEOF
86403 cat >>confdefs.h <<\_ACEOF
86404 #define HAVE_FLOORL 1
86405 _ACEOF
86407 cat >>confdefs.h <<\_ACEOF
86408 #define HAVE_FMODF 1
86409 _ACEOF
86411 cat >>confdefs.h <<\_ACEOF
86412 #define HAVE_FMODL 1
86413 _ACEOF
86415 cat >>confdefs.h <<\_ACEOF
86416 #define HAVE_FREXPF 1
86417 _ACEOF
86419 cat >>confdefs.h <<\_ACEOF
86420 #define HAVE_FREXPL 1
86421 _ACEOF
86423 cat >>confdefs.h <<\_ACEOF
86424 #define HAVE_LDEXPF 1
86425 _ACEOF
86427 cat >>confdefs.h <<\_ACEOF
86428 #define HAVE_LDEXPL 1
86429 _ACEOF
86431 cat >>confdefs.h <<\_ACEOF
86432 #define HAVE_LOG10F 1
86433 _ACEOF
86435 cat >>confdefs.h <<\_ACEOF
86436 #define HAVE_LOG10L 1
86437 _ACEOF
86439 cat >>confdefs.h <<\_ACEOF
86440 #define HAVE_LOGF 1
86441 _ACEOF
86443 cat >>confdefs.h <<\_ACEOF
86444 #define HAVE_MODFF 1
86445 _ACEOF
86447 cat >>confdefs.h <<\_ACEOF
86448 #define HAVE_MODFL 1
86449 _ACEOF
86451 cat >>confdefs.h <<\_ACEOF
86452 #define HAVE_POWF 1
86453 _ACEOF
86455 cat >>confdefs.h <<\_ACEOF
86456 #define HAVE_POWL 1
86457 _ACEOF
86459 cat >>confdefs.h <<\_ACEOF
86460 #define HAVE_SINF 1
86461 _ACEOF
86463 cat >>confdefs.h <<\_ACEOF
86464 #define HAVE_SINL 1
86465 _ACEOF
86467 cat >>confdefs.h <<\_ACEOF
86468 #define HAVE_SINHF 1
86469 _ACEOF
86471 cat >>confdefs.h <<\_ACEOF
86472 #define HAVE_SINHL 1
86473 _ACEOF
86475 cat >>confdefs.h <<\_ACEOF
86476 #define HAVE_SQRTF 1
86477 _ACEOF
86479 cat >>confdefs.h <<\_ACEOF
86480 #define HAVE_SQRTL 1
86481 _ACEOF
86483 cat >>confdefs.h <<\_ACEOF
86484 #define HAVE_TANF 1
86485 _ACEOF
86487 cat >>confdefs.h <<\_ACEOF
86488 #define HAVE_TANL 1
86489 _ACEOF
86491 cat >>confdefs.h <<\_ACEOF
86492 #define HAVE_TANHF 1
86493 _ACEOF
86495 cat >>confdefs.h <<\_ACEOF
86496 #define HAVE_TANHL 1
86497 _ACEOF
86501 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
86502 echo "$as_me: error: No support for this host/target combination." >&2;}
86503 { (exit 1); exit 1; }; }
86505 esac
86510 # At some point, we should differentiate between architectures
86511 # like x86, which have long double versions, and alpha/powerpc/etc.,
86512 # which don't. For the time being, punt.
86513 if test x"long_double_math_on_this_cpu" = x"yes"; then
86514 cat >>confdefs.h <<\_ACEOF
86515 #define HAVE_ACOSL 1
86516 _ACEOF
86518 cat >>confdefs.h <<\_ACEOF
86519 #define HAVE_ASINL 1
86520 _ACEOF
86522 cat >>confdefs.h <<\_ACEOF
86523 #define HAVE_ATAN2L 1
86524 _ACEOF
86526 cat >>confdefs.h <<\_ACEOF
86527 #define HAVE_ATANL 1
86528 _ACEOF
86530 cat >>confdefs.h <<\_ACEOF
86531 #define HAVE_CEILL 1
86532 _ACEOF
86534 cat >>confdefs.h <<\_ACEOF
86535 #define HAVE_COPYSIGNL 1
86536 _ACEOF
86538 cat >>confdefs.h <<\_ACEOF
86539 #define HAVE_COSL 1
86540 _ACEOF
86542 cat >>confdefs.h <<\_ACEOF
86543 #define HAVE_COSHL 1
86544 _ACEOF
86546 cat >>confdefs.h <<\_ACEOF
86547 #define HAVE_EXPL 1
86548 _ACEOF
86550 cat >>confdefs.h <<\_ACEOF
86551 #define HAVE_FABSL 1
86552 _ACEOF
86554 cat >>confdefs.h <<\_ACEOF
86555 #define HAVE_FLOORL 1
86556 _ACEOF
86558 cat >>confdefs.h <<\_ACEOF
86559 #define HAVE_FMODL 1
86560 _ACEOF
86562 cat >>confdefs.h <<\_ACEOF
86563 #define HAVE_FREXPL 1
86564 _ACEOF
86566 cat >>confdefs.h <<\_ACEOF
86567 #define HAVE_LDEXPL 1
86568 _ACEOF
86570 cat >>confdefs.h <<\_ACEOF
86571 #define HAVE_LOG10L 1
86572 _ACEOF
86574 cat >>confdefs.h <<\_ACEOF
86575 #define HAVE_LOGL 1
86576 _ACEOF
86578 cat >>confdefs.h <<\_ACEOF
86579 #define HAVE_MODFL 1
86580 _ACEOF
86582 cat >>confdefs.h <<\_ACEOF
86583 #define HAVE_POWL 1
86584 _ACEOF
86586 cat >>confdefs.h <<\_ACEOF
86587 #define HAVE_SINCOSL 1
86588 _ACEOF
86590 cat >>confdefs.h <<\_ACEOF
86591 #define HAVE_SINL 1
86592 _ACEOF
86594 cat >>confdefs.h <<\_ACEOF
86595 #define HAVE_SINHL 1
86596 _ACEOF
86598 cat >>confdefs.h <<\_ACEOF
86599 #define HAVE_SQRTL 1
86600 _ACEOF
86602 cat >>confdefs.h <<\_ACEOF
86603 #define HAVE_TANL 1
86604 _ACEOF
86606 cat >>confdefs.h <<\_ACEOF
86607 #define HAVE_TANHL 1
86608 _ACEOF
86614 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
86617 # Check whether --enable-symvers or --disable-symvers was given.
86618 if test "${enable_symvers+set}" = set; then
86619 enableval="$enable_symvers"
86621 case "$enableval" in
86622 yes|no|gnu) ;;
86623 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
86624 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
86625 { (exit 1); exit 1; }; } ;;
86626 esac
86628 else
86629 enable_symvers=yes
86633 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
86634 # don't know enough about $LD to do tricks...
86636 # FIXME The following test is too strict, in theory.
86637 if test $enable_shared = no ||
86638 test "x$LD" = x ||
86639 test x$glibcxx_gnu_ld_version = x; then
86640 enable_symvers=no
86643 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
86644 if test $enable_symvers != no; then
86645 echo "$as_me:$LINENO: checking for shared libgcc" >&5
86646 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
86647 ac_save_CFLAGS="$CFLAGS"
86648 CFLAGS=' -lgcc_s'
86649 if test x$gcc_no_link = xyes; then
86650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86652 { (exit 1); exit 1; }; }
86654 cat >conftest.$ac_ext <<_ACEOF
86655 /* confdefs.h. */
86656 _ACEOF
86657 cat confdefs.h >>conftest.$ac_ext
86658 cat >>conftest.$ac_ext <<_ACEOF
86659 /* end confdefs.h. */
86662 main ()
86664 return 0;
86666 return 0;
86668 _ACEOF
86669 rm -f conftest.$ac_objext conftest$ac_exeext
86670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86671 (eval $ac_link) 2>conftest.er1
86672 ac_status=$?
86673 grep -v '^ *+' conftest.er1 >conftest.err
86674 rm -f conftest.er1
86675 cat conftest.err >&5
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); } &&
86678 { ac_try='test -z "$ac_c_werror_flag"
86679 || test ! -s conftest.err'
86680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86681 (eval $ac_try) 2>&5
86682 ac_status=$?
86683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86684 (exit $ac_status); }; } &&
86685 { ac_try='test -s conftest$ac_exeext'
86686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86687 (eval $ac_try) 2>&5
86688 ac_status=$?
86689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86690 (exit $ac_status); }; }; then
86691 glibcxx_shared_libgcc=yes
86692 else
86693 echo "$as_me: failed program was:" >&5
86694 sed 's/^/| /' conftest.$ac_ext >&5
86696 glibcxx_shared_libgcc=no
86698 rm -f conftest.err conftest.$ac_objext \
86699 conftest$ac_exeext conftest.$ac_ext
86700 CFLAGS="$ac_save_CFLAGS"
86701 if test $glibcxx_shared_libgcc = no; then
86702 cat > conftest.c <<EOF
86703 int main (void) { return 0; }
86705 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
86706 -shared -shared-libgcc -o conftest.so \
86707 conftest.c -v 2>&1 >/dev/null \
86708 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
86709 rm -f conftest.c conftest.so
86710 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
86711 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
86712 if test x$gcc_no_link = xyes; then
86713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86715 { (exit 1); exit 1; }; }
86717 cat >conftest.$ac_ext <<_ACEOF
86718 /* confdefs.h. */
86719 _ACEOF
86720 cat confdefs.h >>conftest.$ac_ext
86721 cat >>conftest.$ac_ext <<_ACEOF
86722 /* end confdefs.h. */
86725 main ()
86727 return 0;
86729 return 0;
86731 _ACEOF
86732 rm -f conftest.$ac_objext conftest$ac_exeext
86733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86734 (eval $ac_link) 2>conftest.er1
86735 ac_status=$?
86736 grep -v '^ *+' conftest.er1 >conftest.err
86737 rm -f conftest.er1
86738 cat conftest.err >&5
86739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86740 (exit $ac_status); } &&
86741 { ac_try='test -z "$ac_c_werror_flag"
86742 || test ! -s conftest.err'
86743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86744 (eval $ac_try) 2>&5
86745 ac_status=$?
86746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86747 (exit $ac_status); }; } &&
86748 { ac_try='test -s conftest$ac_exeext'
86749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86750 (eval $ac_try) 2>&5
86751 ac_status=$?
86752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86753 (exit $ac_status); }; }; then
86754 glibcxx_shared_libgcc=yes
86755 else
86756 echo "$as_me: failed program was:" >&5
86757 sed 's/^/| /' conftest.$ac_ext >&5
86760 rm -f conftest.err conftest.$ac_objext \
86761 conftest$ac_exeext conftest.$ac_ext
86762 CFLAGS="$ac_save_CFLAGS"
86765 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
86766 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
86769 # For GNU ld, we need at least this version. The format is described in
86770 # GLIBCXX_CHECK_LINKER_FEATURES above.
86771 glibcxx_min_gnu_ld_version=21400
86772 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
86774 # Check to see if unspecified "yes" value can win, given results above.
86775 # Change "yes" into either "no" or a style name.
86776 if test $enable_symvers = yes; then
86777 if test $with_gnu_ld = yes &&
86778 test $glibcxx_shared_libgcc = yes;
86779 then
86780 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
86781 enable_symvers=gnu
86782 else
86783 # The right tools, the right setup, but too old. Fallbacks?
86784 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
86785 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
86786 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
86787 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
86788 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
86789 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
86790 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
86791 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
86792 if test $glibcxx_gnu_ld_version -ge 21200 ; then
86793 # Globbing fix is present, proper block support is not.
86794 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
86795 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
86796 enable_symvers=no
86797 else
86798 # 2.11 or older.
86799 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
86800 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
86801 enable_symvers=no
86804 else
86805 # just fail for now
86806 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
86807 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
86808 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
86809 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
86810 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
86811 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
86812 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
86813 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
86814 enable_symvers=no
86818 # Everything parsed; figure out what file to use.
86819 case $enable_symvers in
86821 SYMVER_MAP=config/linker-map.dummy
86823 gnu)
86824 SYMVER_MAP=config/linker-map.gnu
86825 cat >>confdefs.h <<\_ACEOF
86826 #define _GLIBCXX_SYMVER 1
86827 _ACEOF
86830 esac
86835 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
86836 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
86839 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
86841 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
86842 # Do checks for resource limit functions.
86844 setrlimit_have_headers=yes
86848 for ac_header in unistd.h sys/time.h sys/resource.h
86850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86852 echo "$as_me:$LINENO: checking for $ac_header" >&5
86853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86855 echo $ECHO_N "(cached) $ECHO_C" >&6
86857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86859 else
86860 # Is the header compilable?
86861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86863 cat >conftest.$ac_ext <<_ACEOF
86864 /* confdefs.h. */
86865 _ACEOF
86866 cat confdefs.h >>conftest.$ac_ext
86867 cat >>conftest.$ac_ext <<_ACEOF
86868 /* end confdefs.h. */
86869 $ac_includes_default
86870 #include <$ac_header>
86871 _ACEOF
86872 rm -f conftest.$ac_objext
86873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86874 (eval $ac_compile) 2>conftest.er1
86875 ac_status=$?
86876 grep -v '^ *+' conftest.er1 >conftest.err
86877 rm -f conftest.er1
86878 cat conftest.err >&5
86879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86880 (exit $ac_status); } &&
86881 { ac_try='test -z "$ac_c_werror_flag"
86882 || test ! -s conftest.err'
86883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86884 (eval $ac_try) 2>&5
86885 ac_status=$?
86886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86887 (exit $ac_status); }; } &&
86888 { ac_try='test -s conftest.$ac_objext'
86889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86890 (eval $ac_try) 2>&5
86891 ac_status=$?
86892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86893 (exit $ac_status); }; }; then
86894 ac_header_compiler=yes
86895 else
86896 echo "$as_me: failed program was:" >&5
86897 sed 's/^/| /' conftest.$ac_ext >&5
86899 ac_header_compiler=no
86901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86903 echo "${ECHO_T}$ac_header_compiler" >&6
86905 # Is the header present?
86906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86908 cat >conftest.$ac_ext <<_ACEOF
86909 /* confdefs.h. */
86910 _ACEOF
86911 cat confdefs.h >>conftest.$ac_ext
86912 cat >>conftest.$ac_ext <<_ACEOF
86913 /* end confdefs.h. */
86914 #include <$ac_header>
86915 _ACEOF
86916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86918 ac_status=$?
86919 grep -v '^ *+' conftest.er1 >conftest.err
86920 rm -f conftest.er1
86921 cat conftest.err >&5
86922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86923 (exit $ac_status); } >/dev/null; then
86924 if test -s conftest.err; then
86925 ac_cpp_err=$ac_c_preproc_warn_flag
86926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86927 else
86928 ac_cpp_err=
86930 else
86931 ac_cpp_err=yes
86933 if test -z "$ac_cpp_err"; then
86934 ac_header_preproc=yes
86935 else
86936 echo "$as_me: failed program was:" >&5
86937 sed 's/^/| /' conftest.$ac_ext >&5
86939 ac_header_preproc=no
86941 rm -f conftest.err conftest.$ac_ext
86942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86943 echo "${ECHO_T}$ac_header_preproc" >&6
86945 # So? What about this header?
86946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86947 yes:no: )
86948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86952 ac_header_preproc=yes
86954 no:yes:* )
86955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86968 cat <<\_ASBOX
86969 ## ----------------------------------------- ##
86970 ## Report this to the package-unused lists. ##
86971 ## ----------------------------------------- ##
86972 _ASBOX
86974 sed "s/^/$as_me: WARNING: /" >&2
86976 esac
86977 echo "$as_me:$LINENO: checking for $ac_header" >&5
86978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86980 echo $ECHO_N "(cached) $ECHO_C" >&6
86981 else
86982 eval "$as_ac_Header=\$ac_header_preproc"
86984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86989 cat >>confdefs.h <<_ACEOF
86990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86991 _ACEOF
86993 else
86994 setrlimit_have_headers=no
86997 done
86999 # If don't have the headers, then we can't run the tests now, and we
87000 # won't be seeing any of these during testsuite compilation.
87001 if test $setrlimit_have_headers = yes; then
87002 # Can't do these in a loop, else the resulting syntax is wrong.
87004 cat >conftest.$ac_ext <<_ACEOF
87005 /* confdefs.h. */
87006 _ACEOF
87007 cat confdefs.h >>conftest.$ac_ext
87008 cat >>conftest.$ac_ext <<_ACEOF
87009 /* end confdefs.h. */
87010 #include <unistd.h>
87011 #include <sys/time.h>
87012 #include <sys/resource.h>
87015 main ()
87017 int f = RLIMIT_DATA ;
87019 return 0;
87021 _ACEOF
87022 rm -f conftest.$ac_objext
87023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87024 (eval $ac_compile) 2>conftest.er1
87025 ac_status=$?
87026 grep -v '^ *+' conftest.er1 >conftest.err
87027 rm -f conftest.er1
87028 cat conftest.err >&5
87029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87030 (exit $ac_status); } &&
87031 { ac_try='test -z "$ac_c_werror_flag"
87032 || test ! -s conftest.err'
87033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87034 (eval $ac_try) 2>&5
87035 ac_status=$?
87036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87037 (exit $ac_status); }; } &&
87038 { ac_try='test -s conftest.$ac_objext'
87039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87040 (eval $ac_try) 2>&5
87041 ac_status=$?
87042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87043 (exit $ac_status); }; }; then
87044 glibcxx_mresult=1
87045 else
87046 echo "$as_me: failed program was:" >&5
87047 sed 's/^/| /' conftest.$ac_ext >&5
87049 glibcxx_mresult=0
87051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87053 cat >>confdefs.h <<_ACEOF
87054 #define HAVE_LIMIT_DATA $glibcxx_mresult
87055 _ACEOF
87059 cat >conftest.$ac_ext <<_ACEOF
87060 /* confdefs.h. */
87061 _ACEOF
87062 cat confdefs.h >>conftest.$ac_ext
87063 cat >>conftest.$ac_ext <<_ACEOF
87064 /* end confdefs.h. */
87065 #include <unistd.h>
87066 #include <sys/time.h>
87067 #include <sys/resource.h>
87070 main ()
87072 int f = RLIMIT_RSS ;
87074 return 0;
87076 _ACEOF
87077 rm -f conftest.$ac_objext
87078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87079 (eval $ac_compile) 2>conftest.er1
87080 ac_status=$?
87081 grep -v '^ *+' conftest.er1 >conftest.err
87082 rm -f conftest.er1
87083 cat conftest.err >&5
87084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87085 (exit $ac_status); } &&
87086 { ac_try='test -z "$ac_c_werror_flag"
87087 || test ! -s conftest.err'
87088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87089 (eval $ac_try) 2>&5
87090 ac_status=$?
87091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87092 (exit $ac_status); }; } &&
87093 { ac_try='test -s conftest.$ac_objext'
87094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87095 (eval $ac_try) 2>&5
87096 ac_status=$?
87097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87098 (exit $ac_status); }; }; then
87099 glibcxx_mresult=1
87100 else
87101 echo "$as_me: failed program was:" >&5
87102 sed 's/^/| /' conftest.$ac_ext >&5
87104 glibcxx_mresult=0
87106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87108 cat >>confdefs.h <<_ACEOF
87109 #define HAVE_LIMIT_RSS $glibcxx_mresult
87110 _ACEOF
87114 cat >conftest.$ac_ext <<_ACEOF
87115 /* confdefs.h. */
87116 _ACEOF
87117 cat confdefs.h >>conftest.$ac_ext
87118 cat >>conftest.$ac_ext <<_ACEOF
87119 /* end confdefs.h. */
87120 #include <unistd.h>
87121 #include <sys/time.h>
87122 #include <sys/resource.h>
87125 main ()
87127 int f = RLIMIT_VMEM ;
87129 return 0;
87131 _ACEOF
87132 rm -f conftest.$ac_objext
87133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87134 (eval $ac_compile) 2>conftest.er1
87135 ac_status=$?
87136 grep -v '^ *+' conftest.er1 >conftest.err
87137 rm -f conftest.er1
87138 cat conftest.err >&5
87139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140 (exit $ac_status); } &&
87141 { ac_try='test -z "$ac_c_werror_flag"
87142 || test ! -s conftest.err'
87143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87144 (eval $ac_try) 2>&5
87145 ac_status=$?
87146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87147 (exit $ac_status); }; } &&
87148 { ac_try='test -s conftest.$ac_objext'
87149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87150 (eval $ac_try) 2>&5
87151 ac_status=$?
87152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87153 (exit $ac_status); }; }; then
87154 glibcxx_mresult=1
87155 else
87156 echo "$as_me: failed program was:" >&5
87157 sed 's/^/| /' conftest.$ac_ext >&5
87159 glibcxx_mresult=0
87161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87163 cat >>confdefs.h <<_ACEOF
87164 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87165 _ACEOF
87169 cat >conftest.$ac_ext <<_ACEOF
87170 /* confdefs.h. */
87171 _ACEOF
87172 cat confdefs.h >>conftest.$ac_ext
87173 cat >>conftest.$ac_ext <<_ACEOF
87174 /* end confdefs.h. */
87175 #include <unistd.h>
87176 #include <sys/time.h>
87177 #include <sys/resource.h>
87180 main ()
87182 int f = RLIMIT_AS ;
87184 return 0;
87186 _ACEOF
87187 rm -f conftest.$ac_objext
87188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87189 (eval $ac_compile) 2>conftest.er1
87190 ac_status=$?
87191 grep -v '^ *+' conftest.er1 >conftest.err
87192 rm -f conftest.er1
87193 cat conftest.err >&5
87194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87195 (exit $ac_status); } &&
87196 { ac_try='test -z "$ac_c_werror_flag"
87197 || test ! -s conftest.err'
87198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87199 (eval $ac_try) 2>&5
87200 ac_status=$?
87201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87202 (exit $ac_status); }; } &&
87203 { ac_try='test -s conftest.$ac_objext'
87204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87205 (eval $ac_try) 2>&5
87206 ac_status=$?
87207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87208 (exit $ac_status); }; }; then
87209 glibcxx_mresult=1
87210 else
87211 echo "$as_me: failed program was:" >&5
87212 sed 's/^/| /' conftest.$ac_ext >&5
87214 glibcxx_mresult=0
87216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87218 cat >>confdefs.h <<_ACEOF
87219 #define HAVE_LIMIT_AS $glibcxx_mresult
87220 _ACEOF
87224 cat >conftest.$ac_ext <<_ACEOF
87225 /* confdefs.h. */
87226 _ACEOF
87227 cat confdefs.h >>conftest.$ac_ext
87228 cat >>conftest.$ac_ext <<_ACEOF
87229 /* end confdefs.h. */
87230 #include <unistd.h>
87231 #include <sys/time.h>
87232 #include <sys/resource.h>
87235 main ()
87237 int f = RLIMIT_FSIZE ;
87239 return 0;
87241 _ACEOF
87242 rm -f conftest.$ac_objext
87243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87244 (eval $ac_compile) 2>conftest.er1
87245 ac_status=$?
87246 grep -v '^ *+' conftest.er1 >conftest.err
87247 rm -f conftest.er1
87248 cat conftest.err >&5
87249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87250 (exit $ac_status); } &&
87251 { ac_try='test -z "$ac_c_werror_flag"
87252 || test ! -s conftest.err'
87253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87254 (eval $ac_try) 2>&5
87255 ac_status=$?
87256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87257 (exit $ac_status); }; } &&
87258 { ac_try='test -s conftest.$ac_objext'
87259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87260 (eval $ac_try) 2>&5
87261 ac_status=$?
87262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87263 (exit $ac_status); }; }; then
87264 glibcxx_mresult=1
87265 else
87266 echo "$as_me: failed program was:" >&5
87267 sed 's/^/| /' conftest.$ac_ext >&5
87269 glibcxx_mresult=0
87271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87273 cat >>confdefs.h <<_ACEOF
87274 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
87275 _ACEOF
87279 # Check for rlimit, setrlimit.
87280 if test "${ac_setrlimit+set}" = set; then
87281 echo $ECHO_N "(cached) $ECHO_C" >&6
87282 else
87284 cat >conftest.$ac_ext <<_ACEOF
87285 /* confdefs.h. */
87286 _ACEOF
87287 cat confdefs.h >>conftest.$ac_ext
87288 cat >>conftest.$ac_ext <<_ACEOF
87289 /* end confdefs.h. */
87290 #include <unistd.h>
87291 #include <sys/time.h>
87292 #include <sys/resource.h>
87295 main ()
87297 struct rlimit r;
87298 setrlimit(0, &r);
87300 return 0;
87302 _ACEOF
87303 rm -f conftest.$ac_objext
87304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87305 (eval $ac_compile) 2>conftest.er1
87306 ac_status=$?
87307 grep -v '^ *+' conftest.er1 >conftest.err
87308 rm -f conftest.er1
87309 cat conftest.err >&5
87310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87311 (exit $ac_status); } &&
87312 { ac_try='test -z "$ac_c_werror_flag"
87313 || test ! -s conftest.err'
87314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87315 (eval $ac_try) 2>&5
87316 ac_status=$?
87317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87318 (exit $ac_status); }; } &&
87319 { ac_try='test -s conftest.$ac_objext'
87320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87321 (eval $ac_try) 2>&5
87322 ac_status=$?
87323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87324 (exit $ac_status); }; }; then
87325 ac_setrlimit=yes
87326 else
87327 echo "$as_me: failed program was:" >&5
87328 sed 's/^/| /' conftest.$ac_ext >&5
87330 ac_setrlimit=no
87332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87338 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
87339 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
87340 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
87341 ac_res_limits=yes
87342 cat >>confdefs.h <<\_ACEOF
87343 #define _GLIBCXX_RES_LIMITS 1
87344 _ACEOF
87346 else
87347 ac_res_limits=no
87349 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
87350 echo "${ECHO_T}$ac_res_limits" >&6
87353 # Look for setenv, so that extended locale tests can be performed.
87355 echo "$as_me:$LINENO: checking for setenv declaration" >&5
87356 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
87357 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
87358 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
87359 echo $ECHO_N "(cached) $ECHO_C" >&6
87360 else
87364 ac_ext=cc
87365 ac_cpp='$CXXCPP $CPPFLAGS'
87366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87370 cat >conftest.$ac_ext <<_ACEOF
87371 /* confdefs.h. */
87372 _ACEOF
87373 cat confdefs.h >>conftest.$ac_ext
87374 cat >>conftest.$ac_ext <<_ACEOF
87375 /* end confdefs.h. */
87376 #include <stdlib.h>
87378 main ()
87380 setenv(0, 0, 0);
87382 return 0;
87384 _ACEOF
87385 rm -f conftest.$ac_objext
87386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87387 (eval $ac_compile) 2>conftest.er1
87388 ac_status=$?
87389 grep -v '^ *+' conftest.er1 >conftest.err
87390 rm -f conftest.er1
87391 cat conftest.err >&5
87392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87393 (exit $ac_status); } &&
87394 { ac_try='test -z "$ac_cxx_werror_flag"
87395 || test ! -s conftest.err'
87396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87397 (eval $ac_try) 2>&5
87398 ac_status=$?
87399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87400 (exit $ac_status); }; } &&
87401 { ac_try='test -s conftest.$ac_objext'
87402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87403 (eval $ac_try) 2>&5
87404 ac_status=$?
87405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87406 (exit $ac_status); }; }; then
87407 glibcxx_cv_func_setenv_use=yes
87408 else
87409 echo "$as_me: failed program was:" >&5
87410 sed 's/^/| /' conftest.$ac_ext >&5
87412 glibcxx_cv_func_setenv_use=no
87414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87415 ac_ext=c
87416 ac_cpp='$CPP $CPPFLAGS'
87417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
87426 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
87427 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
87429 for ac_func in setenv
87431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87432 echo "$as_me:$LINENO: checking for $ac_func" >&5
87433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87434 if eval "test \"\${$as_ac_var+set}\" = set"; then
87435 echo $ECHO_N "(cached) $ECHO_C" >&6
87436 else
87437 if test x$gcc_no_link = xyes; then
87438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87440 { (exit 1); exit 1; }; }
87442 cat >conftest.$ac_ext <<_ACEOF
87443 /* confdefs.h. */
87444 _ACEOF
87445 cat confdefs.h >>conftest.$ac_ext
87446 cat >>conftest.$ac_ext <<_ACEOF
87447 /* end confdefs.h. */
87448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87450 #define $ac_func innocuous_$ac_func
87452 /* System header to define __stub macros and hopefully few prototypes,
87453 which can conflict with char $ac_func (); below.
87454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87455 <limits.h> exists even on freestanding compilers. */
87457 #ifdef __STDC__
87458 # include <limits.h>
87459 #else
87460 # include <assert.h>
87461 #endif
87463 #undef $ac_func
87465 /* Override any gcc2 internal prototype to avoid an error. */
87466 #ifdef __cplusplus
87467 extern "C"
87469 #endif
87470 /* We use char because int might match the return type of a gcc2
87471 builtin and then its argument prototype would still apply. */
87472 char $ac_func ();
87473 /* The GNU C library defines this for functions which it implements
87474 to always fail with ENOSYS. Some functions are actually named
87475 something starting with __ and the normal name is an alias. */
87476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87477 choke me
87478 #else
87479 char (*f) () = $ac_func;
87480 #endif
87481 #ifdef __cplusplus
87483 #endif
87486 main ()
87488 return f != $ac_func;
87490 return 0;
87492 _ACEOF
87493 rm -f conftest.$ac_objext conftest$ac_exeext
87494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87495 (eval $ac_link) 2>conftest.er1
87496 ac_status=$?
87497 grep -v '^ *+' conftest.er1 >conftest.err
87498 rm -f conftest.er1
87499 cat conftest.err >&5
87500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87501 (exit $ac_status); } &&
87502 { ac_try='test -z "$ac_c_werror_flag"
87503 || test ! -s conftest.err'
87504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87505 (eval $ac_try) 2>&5
87506 ac_status=$?
87507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87508 (exit $ac_status); }; } &&
87509 { ac_try='test -s conftest$ac_exeext'
87510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87511 (eval $ac_try) 2>&5
87512 ac_status=$?
87513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87514 (exit $ac_status); }; }; then
87515 eval "$as_ac_var=yes"
87516 else
87517 echo "$as_me: failed program was:" >&5
87518 sed 's/^/| /' conftest.$ac_ext >&5
87520 eval "$as_ac_var=no"
87522 rm -f conftest.err conftest.$ac_objext \
87523 conftest$ac_exeext conftest.$ac_ext
87525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87527 if test `eval echo '${'$as_ac_var'}'` = yes; then
87528 cat >>confdefs.h <<_ACEOF
87529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87530 _ACEOF
87533 done
87538 if test $enable_symvers = no; then
87539 enable_abi_check=no
87540 else
87541 case "$host" in
87542 *-*-cygwin*)
87543 enable_abi_check=no ;;
87545 enable_abi_check=yes ;;
87546 esac
87548 else
87549 # Only build this as native, since automake does not understand
87550 # CXX_FOR_BUILD.
87551 enable_abi_check=no
87554 # Export file names for ABI checking.
87555 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
87563 # Propagate the target-specific source directories through the build chain.
87564 ATOMICITY_SRCDIR=config/${atomicity_dir}
87565 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
87566 OS_INC_SRCDIR=config/${os_include_dir}
87567 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
87573 # Determine cross-compile flags and AM_CONDITIONALs.
87574 #AC_SUBST(GLIBCXX_IS_NATIVE)
87575 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
87576 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
87577 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
87580 if test $is_hosted = yes; then
87581 GLIBCXX_HOSTED_TRUE=
87582 GLIBCXX_HOSTED_FALSE='#'
87583 else
87584 GLIBCXX_HOSTED_TRUE='#'
87585 GLIBCXX_HOSTED_FALSE=
87591 if test $enable_libstdcxx_pch = yes; then
87592 GLIBCXX_BUILD_PCH_TRUE=
87593 GLIBCXX_BUILD_PCH_FALSE='#'
87594 else
87595 GLIBCXX_BUILD_PCH_TRUE='#'
87596 GLIBCXX_BUILD_PCH_FALSE=
87602 if test $enable_cheaders = c; then
87603 GLIBCXX_C_HEADERS_C_TRUE=
87604 GLIBCXX_C_HEADERS_C_FALSE='#'
87605 else
87606 GLIBCXX_C_HEADERS_C_TRUE='#'
87607 GLIBCXX_C_HEADERS_C_FALSE=
87613 if test $enable_cheaders = c_std; then
87614 GLIBCXX_C_HEADERS_C_STD_TRUE=
87615 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
87616 else
87617 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
87618 GLIBCXX_C_HEADERS_C_STD_FALSE=
87624 if test $c_compatibility = yes; then
87625 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
87626 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
87627 else
87628 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
87629 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
87635 if test $enable_libstdcxx_debug = yes; then
87636 GLIBCXX_BUILD_DEBUG_TRUE=
87637 GLIBCXX_BUILD_DEBUG_FALSE='#'
87638 else
87639 GLIBCXX_BUILD_DEBUG_TRUE='#'
87640 GLIBCXX_BUILD_DEBUG_FALSE=
87646 if test $enable_symvers != no; then
87647 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
87648 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
87649 else
87650 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
87651 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
87657 if test $enable_wchar_t = yes; then
87658 GLIBCXX_TEST_WCHAR_T_TRUE=
87659 GLIBCXX_TEST_WCHAR_T_FALSE='#'
87660 else
87661 GLIBCXX_TEST_WCHAR_T_TRUE='#'
87662 GLIBCXX_TEST_WCHAR_T_FALSE=
87668 if test $enable_thread = yes; then
87669 GLIBCXX_TEST_THREAD_TRUE=
87670 GLIBCXX_TEST_THREAD_FALSE='#'
87671 else
87672 GLIBCXX_TEST_THREAD_TRUE='#'
87673 GLIBCXX_TEST_THREAD_FALSE=
87679 if test $enable_abi_check = yes; then
87680 GLIBCXX_TEST_ABI_TRUE=
87681 GLIBCXX_TEST_ABI_FALSE='#'
87682 else
87683 GLIBCXX_TEST_ABI_TRUE='#'
87684 GLIBCXX_TEST_ABI_FALSE=
87690 cat >confcache <<\_ACEOF
87691 # This file is a shell script that caches the results of configure
87692 # tests run on this system so they can be shared between configure
87693 # scripts and configure runs, see configure's option --config-cache.
87694 # It is not useful on other systems. If it contains results you don't
87695 # want to keep, you may remove or edit it.
87697 # config.status only pays attention to the cache file if you give it
87698 # the --recheck option to rerun configure.
87700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
87701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
87702 # following values.
87704 _ACEOF
87706 # The following way of writing the cache mishandles newlines in values,
87707 # but we know of no workaround that is simple, portable, and efficient.
87708 # So, don't put newlines in cache variables' values.
87709 # Ultrix sh set writes to stderr and can't be redirected directly,
87710 # and sets the high bit in the cache file unless we assign to the vars.
87712 (set) 2>&1 |
87713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
87714 *ac_space=\ *)
87715 # `set' does not quote correctly, so add quotes (double-quote
87716 # substitution turns \\\\ into \\, and sed turns \\ into \).
87717 sed -n \
87718 "s/'/'\\\\''/g;
87719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
87722 # `set' quotes correctly as required by POSIX, so do not add quotes.
87723 sed -n \
87724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
87726 esac;
87728 sed '
87729 t clear
87730 : clear
87731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
87732 t end
87733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
87734 : end' >>confcache
87735 if diff $cache_file confcache >/dev/null 2>&1; then :; else
87736 if test -w $cache_file; then
87737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
87738 cat confcache >$cache_file
87739 else
87740 echo "not updating unwritable cache $cache_file"
87743 rm -f confcache
87745 if test ${multilib} = yes; then
87746 multilib_arg="--enable-multilib"
87747 else
87748 multilib_arg=
87751 # Export all the install information.
87753 glibcxx_toolexecdir=no
87754 glibcxx_toolexeclibdir=no
87755 glibcxx_prefixdir=$prefix
87757 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
87758 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
87760 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
87761 if test "${with_gxx_include_dir+set}" = set; then
87762 withval="$with_gxx_include_dir"
87763 case "$withval" in
87764 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
87765 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
87766 { (exit 1); exit 1; }; } ;;
87767 no) gxx_include_dir=no ;;
87768 *) gxx_include_dir=$withval ;;
87769 esac
87770 else
87771 gxx_include_dir=no
87773 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
87774 echo "${ECHO_T}$gxx_include_dir" >&6
87776 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
87777 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
87778 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
87779 if test "${enable_version_specific_runtime_libs+set}" = set; then
87780 enableval="$enable_version_specific_runtime_libs"
87781 case "$enableval" in
87782 yes) version_specific_libs=yes ;;
87783 no) version_specific_libs=no ;;
87784 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
87785 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
87786 { (exit 1); exit 1; }; };;
87787 esac
87788 else
87789 version_specific_libs=no
87791 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
87792 echo "${ECHO_T}$version_specific_libs" >&6
87794 # Default case for install directory for include files.
87795 if test $version_specific_libs = no && test $gxx_include_dir = no; then
87796 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
87799 # Version-specific runtime libs processing.
87800 if test $version_specific_libs = yes; then
87801 # Need the gcc compiler version to know where to install libraries
87802 # and header files if --enable-version-specific-runtime-libs option
87803 # is selected. FIXME: these variables are misnamed, there are
87804 # no executables installed in _toolexecdir or _toolexeclibdir.
87805 if test x"$gxx_include_dir" = x"no"; then
87806 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
87808 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
87809 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
87812 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
87813 # Install a library built with a cross compiler in tooldir, not libdir.
87814 if test x"$glibcxx_toolexecdir" = x"no"; then
87815 if test -n "$with_cross_host" &&
87816 test x"$with_cross_host" != x"no"; then
87817 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
87818 glibcxx_toolexeclibdir='${toolexecdir}/lib'
87819 else
87820 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
87821 glibcxx_toolexeclibdir='${libdir}'
87823 multi_os_directory=`$CXX -print-multi-os-directory`
87824 case $multi_os_directory in
87825 .) ;; # Avoid trailing /.
87826 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
87827 esac
87830 echo "$as_me:$LINENO: checking for install location" >&5
87831 echo $ECHO_N "checking for install location... $ECHO_C" >&6
87832 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
87833 echo "${ECHO_T}$gxx_include_dir" >&6
87841 # Export all the include and flag information to Makefiles.
87843 # Used for every C++ compile we perform.
87844 GLIBCXX_INCLUDES="\
87845 -I$glibcxx_builddir/include/$host_alias \
87846 -I$glibcxx_builddir/include \
87847 -I$glibcxx_srcdir/libsupc++"
87849 # For Canadian crosses, pick this up too.
87850 if test $CANADIAN = yes; then
87851 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
87854 # Stuff in the actual top level. Currently only used by libsupc++ to
87855 # get unwind* headers from the gcc dir.
87856 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
87857 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
87859 # Now, export this to all the little Makefiles....
87864 # Optimization flags that are probably a good idea for thrill-seekers. Just
87865 # uncomment the lines below and make, everything else is ready to go...
87866 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
87867 OPTIMIZE_CXXFLAGS=
87870 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
87874 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
87875 grep "enable shared" > /dev/null;
87876 then
87877 LIBSUPCXX_PICFLAGS=-prefer-pic
87878 else
87879 LIBSUPCXX_PICFLAGS=
87883 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
87885 ac_config_files="$ac_config_files scripts/check_survey"
87887 ac_config_files="$ac_config_files scripts/testsuite_flags"
87890 ac_config_commands="$ac_config_commands default"
87893 cat >confcache <<\_ACEOF
87894 # This file is a shell script that caches the results of configure
87895 # tests run on this system so they can be shared between configure
87896 # scripts and configure runs, see configure's option --config-cache.
87897 # It is not useful on other systems. If it contains results you don't
87898 # want to keep, you may remove or edit it.
87900 # config.status only pays attention to the cache file if you give it
87901 # the --recheck option to rerun configure.
87903 # `ac_cv_env_foo' variables (set or unset) will be overridden when
87904 # loading this file, other *unset* `ac_cv_foo' will be assigned the
87905 # following values.
87907 _ACEOF
87909 # The following way of writing the cache mishandles newlines in values,
87910 # but we know of no workaround that is simple, portable, and efficient.
87911 # So, don't put newlines in cache variables' values.
87912 # Ultrix sh set writes to stderr and can't be redirected directly,
87913 # and sets the high bit in the cache file unless we assign to the vars.
87915 (set) 2>&1 |
87916 case `(ac_space=' '; set | grep ac_space) 2>&1` in
87917 *ac_space=\ *)
87918 # `set' does not quote correctly, so add quotes (double-quote
87919 # substitution turns \\\\ into \\, and sed turns \\ into \).
87920 sed -n \
87921 "s/'/'\\\\''/g;
87922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
87925 # `set' quotes correctly as required by POSIX, so do not add quotes.
87926 sed -n \
87927 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
87929 esac;
87931 sed '
87932 t clear
87933 : clear
87934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
87935 t end
87936 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
87937 : end' >>confcache
87938 if diff $cache_file confcache >/dev/null 2>&1; then :; else
87939 if test -w $cache_file; then
87940 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
87941 cat confcache >$cache_file
87942 else
87943 echo "not updating unwritable cache $cache_file"
87946 rm -f confcache
87948 test "x$prefix" = xNONE && prefix=$ac_default_prefix
87949 # Let make expand exec_prefix.
87950 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
87952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
87953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
87954 # trailing colons and then remove the whole line if VPATH becomes empty
87955 # (actually we leave an empty line to preserve line numbers).
87956 if test "x$srcdir" = x.; then
87957 ac_vpsub='/^[ ]*VPATH[ ]*=/{
87958 s/:*\$(srcdir):*/:/;
87959 s/:*\${srcdir}:*/:/;
87960 s/:*@srcdir@:*/:/;
87961 s/^\([^=]*=[ ]*\):*/\1/;
87962 s/:*$//;
87963 s/^[^=]*=[ ]*$//;
87967 DEFS=-DHAVE_CONFIG_H
87969 ac_libobjs=
87970 ac_ltlibobjs=
87971 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
87972 # 1. Remove the extension, and $U if already installed.
87973 ac_i=`echo "$ac_i" |
87974 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
87975 # 2. Add them.
87976 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
87977 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
87978 done
87979 LIBOBJS=$ac_libobjs
87981 LTLIBOBJS=$ac_ltlibobjs
87984 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
87985 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
87986 Usually this means the macro was only invoked conditionally." >&5
87987 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
87988 Usually this means the macro was only invoked conditionally." >&2;}
87989 { (exit 1); exit 1; }; }
87991 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
87992 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
87993 Usually this means the macro was only invoked conditionally." >&5
87994 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
87995 Usually this means the macro was only invoked conditionally." >&2;}
87996 { (exit 1); exit 1; }; }
87998 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
87999 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88000 Usually this means the macro was only invoked conditionally." >&5
88001 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88002 Usually this means the macro was only invoked conditionally." >&2;}
88003 { (exit 1); exit 1; }; }
88005 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88006 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88007 Usually this means the macro was only invoked conditionally." >&5
88008 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88009 Usually this means the macro was only invoked conditionally." >&2;}
88010 { (exit 1); exit 1; }; }
88012 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88013 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88014 Usually this means the macro was only invoked conditionally." >&5
88015 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88016 Usually this means the macro was only invoked conditionally." >&2;}
88017 { (exit 1); exit 1; }; }
88019 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88020 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88021 Usually this means the macro was only invoked conditionally." >&5
88022 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88023 Usually this means the macro was only invoked conditionally." >&2;}
88024 { (exit 1); exit 1; }; }
88026 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88027 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88028 Usually this means the macro was only invoked conditionally." >&5
88029 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88030 Usually this means the macro was only invoked conditionally." >&2;}
88031 { (exit 1); exit 1; }; }
88033 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
88034 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88035 Usually this means the macro was only invoked conditionally." >&5
88036 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88037 Usually this means the macro was only invoked conditionally." >&2;}
88038 { (exit 1); exit 1; }; }
88040 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
88041 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
88042 Usually this means the macro was only invoked conditionally." >&5
88043 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
88044 Usually this means the macro was only invoked conditionally." >&2;}
88045 { (exit 1); exit 1; }; }
88047 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
88048 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
88049 Usually this means the macro was only invoked conditionally." >&5
88050 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
88051 Usually this means the macro was only invoked conditionally." >&2;}
88052 { (exit 1); exit 1; }; }
88054 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
88055 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88056 Usually this means the macro was only invoked conditionally." >&5
88057 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88058 Usually this means the macro was only invoked conditionally." >&2;}
88059 { (exit 1); exit 1; }; }
88062 : ${CONFIG_STATUS=./config.status}
88063 ac_clean_files_save=$ac_clean_files
88064 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88065 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88066 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88067 cat >$CONFIG_STATUS <<_ACEOF
88068 #! $SHELL
88069 # Generated by $as_me.
88070 # Run this file to recreate the current configuration.
88071 # Compiler output produced by configure, useful for debugging
88072 # configure, is in config.log if it exists.
88074 debug=false
88075 ac_cs_recheck=false
88076 ac_cs_silent=false
88077 SHELL=\${CONFIG_SHELL-$SHELL}
88078 _ACEOF
88080 cat >>$CONFIG_STATUS <<\_ACEOF
88081 ## --------------------- ##
88082 ## M4sh Initialization. ##
88083 ## --------------------- ##
88085 # Be Bourne compatible
88086 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88087 emulate sh
88088 NULLCMD=:
88089 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88090 # is contrary to our usage. Disable this feature.
88091 alias -g '${1+"$@"}'='"$@"'
88092 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88093 set -o posix
88095 DUALCASE=1; export DUALCASE # for MKS sh
88097 # Support unset when possible.
88098 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88099 as_unset=unset
88100 else
88101 as_unset=false
88105 # Work around bugs in pre-3.0 UWIN ksh.
88106 $as_unset ENV MAIL MAILPATH
88107 PS1='$ '
88108 PS2='> '
88109 PS4='+ '
88111 # NLS nuisances.
88112 for as_var in \
88113 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88114 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88115 LC_TELEPHONE LC_TIME
88117 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88118 eval $as_var=C; export $as_var
88119 else
88120 $as_unset $as_var
88122 done
88124 # Required to use basename.
88125 if expr a : '\(a\)' >/dev/null 2>&1; then
88126 as_expr=expr
88127 else
88128 as_expr=false
88131 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88132 as_basename=basename
88133 else
88134 as_basename=false
88138 # Name of the executable.
88139 as_me=`$as_basename "$0" ||
88140 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88141 X"$0" : 'X\(//\)$' \| \
88142 X"$0" : 'X\(/\)$' \| \
88143 . : '\(.\)' 2>/dev/null ||
88144 echo X/"$0" |
88145 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88146 /^X\/\(\/\/\)$/{ s//\1/; q; }
88147 /^X\/\(\/\).*/{ s//\1/; q; }
88148 s/.*/./; q'`
88151 # PATH needs CR, and LINENO needs CR and PATH.
88152 # Avoid depending upon Character Ranges.
88153 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88154 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88155 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88156 as_cr_digits='0123456789'
88157 as_cr_alnum=$as_cr_Letters$as_cr_digits
88159 # The user is always right.
88160 if test "${PATH_SEPARATOR+set}" != set; then
88161 echo "#! /bin/sh" >conf$$.sh
88162 echo "exit 0" >>conf$$.sh
88163 chmod +x conf$$.sh
88164 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88165 PATH_SEPARATOR=';'
88166 else
88167 PATH_SEPARATOR=:
88169 rm -f conf$$.sh
88173 as_lineno_1=$LINENO
88174 as_lineno_2=$LINENO
88175 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88176 test "x$as_lineno_1" != "x$as_lineno_2" &&
88177 test "x$as_lineno_3" = "x$as_lineno_2" || {
88178 # Find who we are. Look in the path if we contain no path at all
88179 # relative or not.
88180 case $0 in
88181 *[\\/]* ) as_myself=$0 ;;
88182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88183 for as_dir in $PATH
88185 IFS=$as_save_IFS
88186 test -z "$as_dir" && as_dir=.
88187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88188 done
88191 esac
88192 # We did not find ourselves, most probably we were run as `sh COMMAND'
88193 # in which case we are not to be found in the path.
88194 if test "x$as_myself" = x; then
88195 as_myself=$0
88197 if test ! -f "$as_myself"; then
88198 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88199 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88200 { (exit 1); exit 1; }; }
88202 case $CONFIG_SHELL in
88204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88205 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88207 IFS=$as_save_IFS
88208 test -z "$as_dir" && as_dir=.
88209 for as_base in sh bash ksh sh5; do
88210 case $as_dir in
88212 if ("$as_dir/$as_base" -c '
88213 as_lineno_1=$LINENO
88214 as_lineno_2=$LINENO
88215 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88216 test "x$as_lineno_1" != "x$as_lineno_2" &&
88217 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88218 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88219 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88220 CONFIG_SHELL=$as_dir/$as_base
88221 export CONFIG_SHELL
88222 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88223 fi;;
88224 esac
88225 done
88226 done
88228 esac
88230 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88231 # uniformly replaced by the line number. The first 'sed' inserts a
88232 # line-number line before each line; the second 'sed' does the real
88233 # work. The second script uses 'N' to pair each line-number line
88234 # with the numbered line, and appends trailing '-' during
88235 # substitution so that $LINENO is not a special case at line end.
88236 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88237 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88238 sed '=' <$as_myself |
88239 sed '
88241 s,$,-,
88242 : loop
88243 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88244 t loop
88245 s,-$,,
88246 s,^['$as_cr_digits']*\n,,
88247 ' >$as_me.lineno &&
88248 chmod +x $as_me.lineno ||
88249 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88250 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88251 { (exit 1); exit 1; }; }
88253 # Don't try to exec as it changes $[0], causing all sort of problems
88254 # (the dirname of $[0] is not the place where we might find the
88255 # original and so on. Autoconf is especially sensible to this).
88256 . ./$as_me.lineno
88257 # Exit status is that of the last command.
88258 exit
88262 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88263 *c*,-n*) ECHO_N= ECHO_C='
88264 ' ECHO_T=' ' ;;
88265 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88266 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
88267 esac
88269 if expr a : '\(a\)' >/dev/null 2>&1; then
88270 as_expr=expr
88271 else
88272 as_expr=false
88275 rm -f conf$$ conf$$.exe conf$$.file
88276 echo >conf$$.file
88277 if ln -s conf$$.file conf$$ 2>/dev/null; then
88278 # We could just check for DJGPP; but this test a) works b) is more generic
88279 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
88280 if test -f conf$$.exe; then
88281 # Don't use ln at all; we don't have any links
88282 as_ln_s='cp -p'
88283 else
88284 as_ln_s='ln -s'
88286 elif ln conf$$.file conf$$ 2>/dev/null; then
88287 as_ln_s=ln
88288 else
88289 as_ln_s='cp -p'
88291 rm -f conf$$ conf$$.exe conf$$.file
88293 if mkdir -p . 2>/dev/null; then
88294 as_mkdir_p=:
88295 else
88296 test -d ./-p && rmdir ./-p
88297 as_mkdir_p=false
88300 as_executable_p="test -f"
88302 # Sed expression to map a string onto a valid CPP name.
88303 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
88305 # Sed expression to map a string onto a valid variable name.
88306 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
88309 # IFS
88310 # We need space, tab and new line, in precisely that order.
88311 as_nl='
88313 IFS=" $as_nl"
88315 # CDPATH.
88316 $as_unset CDPATH
88318 exec 6>&1
88320 # Open the log real soon, to keep \$[0] and so on meaningful, and to
88321 # report actual input values of CONFIG_FILES etc. instead of their
88322 # values after options handling. Logging --version etc. is OK.
88323 exec 5>>config.log
88325 echo
88326 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
88327 ## Running $as_me. ##
88328 _ASBOX
88329 } >&5
88330 cat >&5 <<_CSEOF
88332 This file was extended by package-unused $as_me version-unused, which was
88333 generated by GNU Autoconf 2.59. Invocation command line was
88335 CONFIG_FILES = $CONFIG_FILES
88336 CONFIG_HEADERS = $CONFIG_HEADERS
88337 CONFIG_LINKS = $CONFIG_LINKS
88338 CONFIG_COMMANDS = $CONFIG_COMMANDS
88339 $ $0 $@
88341 _CSEOF
88342 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
88343 echo >&5
88344 _ACEOF
88346 # Files that config.status was made for.
88347 if test -n "$ac_config_files"; then
88348 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
88351 if test -n "$ac_config_headers"; then
88352 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
88355 if test -n "$ac_config_links"; then
88356 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
88359 if test -n "$ac_config_commands"; then
88360 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
88363 cat >>$CONFIG_STATUS <<\_ACEOF
88365 ac_cs_usage="\
88366 \`$as_me' instantiates files from templates according to the
88367 current configuration.
88369 Usage: $0 [OPTIONS] [FILE]...
88371 -h, --help print this help, then exit
88372 -V, --version print version number, then exit
88373 -q, --quiet do not print progress messages
88374 -d, --debug don't remove temporary files
88375 --recheck update $as_me by reconfiguring in the same conditions
88376 --file=FILE[:TEMPLATE]
88377 instantiate the configuration file FILE
88378 --header=FILE[:TEMPLATE]
88379 instantiate the configuration header FILE
88381 Configuration files:
88382 $config_files
88384 Configuration headers:
88385 $config_headers
88387 Configuration commands:
88388 $config_commands
88390 Report bugs to <bug-autoconf@gnu.org>."
88391 _ACEOF
88393 cat >>$CONFIG_STATUS <<_ACEOF
88394 ac_cs_version="\\
88395 package-unused config.status version-unused
88396 configured by $0, generated by GNU Autoconf 2.59,
88397 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
88399 Copyright (C) 2003 Free Software Foundation, Inc.
88400 This config.status script is free software; the Free Software Foundation
88401 gives unlimited permission to copy, distribute and modify it."
88402 srcdir=$srcdir
88403 INSTALL="$INSTALL"
88404 _ACEOF
88406 cat >>$CONFIG_STATUS <<\_ACEOF
88407 # If no file are specified by the user, then we need to provide default
88408 # value. By we need to know if files were specified by the user.
88409 ac_need_defaults=:
88410 while test $# != 0
88412 case $1 in
88413 --*=*)
88414 ac_option=`expr "x$1" : 'x\([^=]*\)='`
88415 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
88416 ac_shift=:
88419 ac_option=$1
88420 ac_optarg=$2
88421 ac_shift=shift
88423 *) # This is not an option, so the user has probably given explicit
88424 # arguments.
88425 ac_option=$1
88426 ac_need_defaults=false;;
88427 esac
88429 case $ac_option in
88430 # Handling of the options.
88431 _ACEOF
88432 cat >>$CONFIG_STATUS <<\_ACEOF
88433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
88434 ac_cs_recheck=: ;;
88435 --version | --vers* | -V )
88436 echo "$ac_cs_version"; exit 0 ;;
88437 --he | --h)
88438 # Conflict between --help and --header
88439 { { echo "$as_me:$LINENO: error: ambiguous option: $1
88440 Try \`$0 --help' for more information." >&5
88441 echo "$as_me: error: ambiguous option: $1
88442 Try \`$0 --help' for more information." >&2;}
88443 { (exit 1); exit 1; }; };;
88444 --help | --hel | -h )
88445 echo "$ac_cs_usage"; exit 0 ;;
88446 --debug | --d* | -d )
88447 debug=: ;;
88448 --file | --fil | --fi | --f )
88449 $ac_shift
88450 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
88451 ac_need_defaults=false;;
88452 --header | --heade | --head | --hea )
88453 $ac_shift
88454 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
88455 ac_need_defaults=false;;
88456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
88457 | -silent | --silent | --silen | --sile | --sil | --si | --s)
88458 ac_cs_silent=: ;;
88460 # This is an error.
88461 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
88462 Try \`$0 --help' for more information." >&5
88463 echo "$as_me: error: unrecognized option: $1
88464 Try \`$0 --help' for more information." >&2;}
88465 { (exit 1); exit 1; }; } ;;
88467 *) ac_config_targets="$ac_config_targets $1" ;;
88469 esac
88470 shift
88471 done
88473 ac_configure_extra_args=
88475 if $ac_cs_silent; then
88476 exec 6>/dev/null
88477 ac_configure_extra_args="$ac_configure_extra_args --silent"
88480 _ACEOF
88481 cat >>$CONFIG_STATUS <<_ACEOF
88482 if \$ac_cs_recheck; then
88483 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
88484 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
88487 _ACEOF
88489 cat >>$CONFIG_STATUS <<_ACEOF
88491 # INIT-COMMANDS section.
88495 srcdir="$srcdir"
88496 host="$host"
88497 target="$target"
88498 with_multisubdir="$with_multisubdir"
88499 with_multisrctop="$with_multisrctop"
88500 with_target_subdir="$with_target_subdir"
88501 ac_configure_args="${multilib_arg} ${ac_configure_args}"
88502 multi_basedir="$multi_basedir"
88503 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
88504 CC="$CC"
88506 # Variables needed in config.status (file generation) which aren't already
88507 # passed by autoconf.
88508 SUBDIRS="$SUBDIRS"
88511 _ACEOF
88515 cat >>$CONFIG_STATUS <<\_ACEOF
88516 for ac_config_target in $ac_config_targets
88518 case "$ac_config_target" in
88519 # Handling of arguments.
88520 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
88521 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
88522 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
88523 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
88524 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
88525 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
88526 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
88527 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
88528 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
88529 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
88530 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
88531 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
88532 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
88533 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
88534 { (exit 1); exit 1; }; };;
88535 esac
88536 done
88538 # If the user did not use the arguments to specify the items to instantiate,
88539 # then the envvar interface is used. Set only those that are not.
88540 # We use the long form for the default assignment because of an extremely
88541 # bizarre bug on SunOS 4.1.3.
88542 if $ac_need_defaults; then
88543 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
88544 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
88545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
88548 # Have a temporary directory for convenience. Make it in the build tree
88549 # simply because there is no reason to put it here, and in addition,
88550 # creating and moving files from /tmp can sometimes cause problems.
88551 # Create a temporary directory, and hook for its removal unless debugging.
88552 $debug ||
88554 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
88555 trap '{ (exit 1); exit 1; }' 1 2 13 15
88558 # Create a (secure) tmp directory for tmp files.
88561 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
88562 test -n "$tmp" && test -d "$tmp"
88563 } ||
88565 tmp=./confstat$$-$RANDOM
88566 (umask 077 && mkdir $tmp)
88567 } ||
88569 echo "$me: cannot create a temporary directory in ." >&2
88570 { (exit 1); exit 1; }
88573 _ACEOF
88575 cat >>$CONFIG_STATUS <<_ACEOF
88578 # CONFIG_FILES section.
88581 # No need to generate the scripts if there are no CONFIG_FILES.
88582 # This happens for instance when ./config.status config.h
88583 if test -n "\$CONFIG_FILES"; then
88584 # Protect against being on the right side of a sed subst in config.status.
88585 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
88586 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
88587 s,@SHELL@,$SHELL,;t t
88588 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
88589 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
88590 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
88591 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
88592 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
88593 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
88594 s,@exec_prefix@,$exec_prefix,;t t
88595 s,@prefix@,$prefix,;t t
88596 s,@program_transform_name@,$program_transform_name,;t t
88597 s,@bindir@,$bindir,;t t
88598 s,@sbindir@,$sbindir,;t t
88599 s,@libexecdir@,$libexecdir,;t t
88600 s,@datadir@,$datadir,;t t
88601 s,@sysconfdir@,$sysconfdir,;t t
88602 s,@sharedstatedir@,$sharedstatedir,;t t
88603 s,@localstatedir@,$localstatedir,;t t
88604 s,@libdir@,$libdir,;t t
88605 s,@includedir@,$includedir,;t t
88606 s,@oldincludedir@,$oldincludedir,;t t
88607 s,@infodir@,$infodir,;t t
88608 s,@mandir@,$mandir,;t t
88609 s,@build_alias@,$build_alias,;t t
88610 s,@host_alias@,$host_alias,;t t
88611 s,@target_alias@,$target_alias,;t t
88612 s,@DEFS@,$DEFS,;t t
88613 s,@ECHO_C@,$ECHO_C,;t t
88614 s,@ECHO_N@,$ECHO_N,;t t
88615 s,@ECHO_T@,$ECHO_T,;t t
88616 s,@LIBS@,$LIBS,;t t
88617 s,@libtool_VERSION@,$libtool_VERSION,;t t
88618 s,@multi_basedir@,$multi_basedir,;t t
88619 s,@build@,$build,;t t
88620 s,@build_cpu@,$build_cpu,;t t
88621 s,@build_vendor@,$build_vendor,;t t
88622 s,@build_os@,$build_os,;t t
88623 s,@host@,$host,;t t
88624 s,@host_cpu@,$host_cpu,;t t
88625 s,@host_vendor@,$host_vendor,;t t
88626 s,@host_os@,$host_os,;t t
88627 s,@target@,$target,;t t
88628 s,@target_cpu@,$target_cpu,;t t
88629 s,@target_vendor@,$target_vendor,;t t
88630 s,@target_os@,$target_os,;t t
88631 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
88632 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
88633 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
88634 s,@CYGPATH_W@,$CYGPATH_W,;t t
88635 s,@PACKAGE@,$PACKAGE,;t t
88636 s,@VERSION@,$VERSION,;t t
88637 s,@ACLOCAL@,$ACLOCAL,;t t
88638 s,@AUTOCONF@,$AUTOCONF,;t t
88639 s,@AUTOMAKE@,$AUTOMAKE,;t t
88640 s,@AUTOHEADER@,$AUTOHEADER,;t t
88641 s,@MAKEINFO@,$MAKEINFO,;t t
88642 s,@install_sh@,$install_sh,;t t
88643 s,@STRIP@,$STRIP,;t t
88644 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
88645 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
88646 s,@mkdir_p@,$mkdir_p,;t t
88647 s,@AWK@,$AWK,;t t
88648 s,@SET_MAKE@,$SET_MAKE,;t t
88649 s,@am__leading_dot@,$am__leading_dot,;t t
88650 s,@AMTAR@,$AMTAR,;t t
88651 s,@am__tar@,$am__tar,;t t
88652 s,@am__untar@,$am__untar,;t t
88653 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
88654 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
88655 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
88656 s,@CC@,$CC,;t t
88657 s,@ac_ct_CC@,$ac_ct_CC,;t t
88658 s,@EXEEXT@,$EXEEXT,;t t
88659 s,@OBJEXT@,$OBJEXT,;t t
88660 s,@CXX@,$CXX,;t t
88661 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
88662 s,@CFLAGS@,$CFLAGS,;t t
88663 s,@CXXFLAGS@,$CXXFLAGS,;t t
88664 s,@LN_S@,$LN_S,;t t
88665 s,@AS@,$AS,;t t
88666 s,@ac_ct_AS@,$ac_ct_AS,;t t
88667 s,@AR@,$AR,;t t
88668 s,@ac_ct_AR@,$ac_ct_AR,;t t
88669 s,@RANLIB@,$RANLIB,;t t
88670 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
88671 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
88672 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
88673 s,@MAINT@,$MAINT,;t t
88674 s,@LIBTOOL@,$LIBTOOL,;t t
88675 s,@CXXCPP@,$CXXCPP,;t t
88676 s,@CPPFLAGS@,$CPPFLAGS,;t t
88677 s,@enable_shared@,$enable_shared,;t t
88678 s,@enable_static@,$enable_static,;t t
88679 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
88680 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
88681 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
88682 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
88683 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
88684 s,@CSTDIO_H@,$CSTDIO_H,;t t
88685 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
88686 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
88687 s,@CPP@,$CPP,;t t
88688 s,@EGREP@,$EGREP,;t t
88689 s,@check_msgfmt@,$check_msgfmt,;t t
88690 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
88691 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
88692 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
88693 s,@USE_NLS@,$USE_NLS,;t t
88694 s,@CLOCALE_H@,$CLOCALE_H,;t t
88695 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
88696 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
88697 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
88698 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
88699 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
88700 s,@CMONEY_CC@,$CMONEY_CC,;t t
88701 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
88702 s,@CTIME_H@,$CTIME_H,;t t
88703 s,@CTIME_CC@,$CTIME_CC,;t t
88704 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
88705 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
88706 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
88707 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
88708 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
88709 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
88710 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
88711 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
88712 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
88713 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
88714 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
88715 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
88716 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
88717 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
88718 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
88719 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
88720 s,@WERROR@,$WERROR,;t t
88721 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
88722 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
88723 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
88724 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
88725 s,@LIBICONV@,$LIBICONV,;t t
88726 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
88727 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
88728 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
88729 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
88730 s,@baseline_dir@,$baseline_dir,;t t
88731 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
88732 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
88733 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
88734 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
88735 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
88736 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
88737 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
88738 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
88739 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
88740 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
88741 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
88742 s,@gxx_include_dir@,$gxx_include_dir,;t t
88743 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
88744 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
88745 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
88746 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
88747 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
88748 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
88749 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
88750 s,@LIBOBJS@,$LIBOBJS,;t t
88751 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
88752 CEOF
88754 _ACEOF
88756 cat >>$CONFIG_STATUS <<\_ACEOF
88757 # Split the substitutions into bite-sized pieces for seds with
88758 # small command number limits, like on Digital OSF/1 and HP-UX.
88759 ac_max_sed_lines=48
88760 ac_sed_frag=1 # Number of current file.
88761 ac_beg=1 # First line for current file.
88762 ac_end=$ac_max_sed_lines # Line after last line for current file.
88763 ac_more_lines=:
88764 ac_sed_cmds=
88765 while $ac_more_lines; do
88766 if test $ac_beg -gt 1; then
88767 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
88768 else
88769 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
88771 if test ! -s $tmp/subs.frag; then
88772 ac_more_lines=false
88773 else
88774 # The purpose of the label and of the branching condition is to
88775 # speed up the sed processing (if there are no `@' at all, there
88776 # is no need to browse any of the substitutions).
88777 # These are the two extra sed commands mentioned above.
88778 (echo ':t
88779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
88780 if test -z "$ac_sed_cmds"; then
88781 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
88782 else
88783 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
88785 ac_sed_frag=`expr $ac_sed_frag + 1`
88786 ac_beg=$ac_end
88787 ac_end=`expr $ac_end + $ac_max_sed_lines`
88789 done
88790 if test -z "$ac_sed_cmds"; then
88791 ac_sed_cmds=cat
88793 fi # test -n "$CONFIG_FILES"
88795 _ACEOF
88796 cat >>$CONFIG_STATUS <<\_ACEOF
88797 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
88798 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
88799 case $ac_file in
88800 - | *:- | *:-:* ) # input from stdin
88801 cat >$tmp/stdin
88802 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
88803 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
88804 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
88805 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
88806 * ) ac_file_in=$ac_file.in ;;
88807 esac
88809 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
88810 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
88811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88812 X"$ac_file" : 'X\(//\)[^/]' \| \
88813 X"$ac_file" : 'X\(//\)$' \| \
88814 X"$ac_file" : 'X\(/\)' \| \
88815 . : '\(.\)' 2>/dev/null ||
88816 echo X"$ac_file" |
88817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88819 /^X\(\/\/\)$/{ s//\1/; q; }
88820 /^X\(\/\).*/{ s//\1/; q; }
88821 s/.*/./; q'`
88822 { if $as_mkdir_p; then
88823 mkdir -p "$ac_dir"
88824 else
88825 as_dir="$ac_dir"
88826 as_dirs=
88827 while test ! -d "$as_dir"; do
88828 as_dirs="$as_dir $as_dirs"
88829 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88831 X"$as_dir" : 'X\(//\)[^/]' \| \
88832 X"$as_dir" : 'X\(//\)$' \| \
88833 X"$as_dir" : 'X\(/\)' \| \
88834 . : '\(.\)' 2>/dev/null ||
88835 echo X"$as_dir" |
88836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88838 /^X\(\/\/\)$/{ s//\1/; q; }
88839 /^X\(\/\).*/{ s//\1/; q; }
88840 s/.*/./; q'`
88841 done
88842 test ! -n "$as_dirs" || mkdir $as_dirs
88843 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88844 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88845 { (exit 1); exit 1; }; }; }
88847 ac_builddir=.
88849 if test "$ac_dir" != .; then
88850 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
88851 # A "../" for each directory in $ac_dir_suffix.
88852 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
88853 else
88854 ac_dir_suffix= ac_top_builddir=
88857 case $srcdir in
88858 .) # No --srcdir option. We are building in place.
88859 ac_srcdir=.
88860 if test -z "$ac_top_builddir"; then
88861 ac_top_srcdir=.
88862 else
88863 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
88864 fi ;;
88865 [\\/]* | ?:[\\/]* ) # Absolute path.
88866 ac_srcdir=$srcdir$ac_dir_suffix;
88867 ac_top_srcdir=$srcdir ;;
88868 *) # Relative path.
88869 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
88870 ac_top_srcdir=$ac_top_builddir$srcdir ;;
88871 esac
88873 # Do not use `cd foo && pwd` to compute absolute paths, because
88874 # the directories may not exist.
88875 case `pwd` in
88876 .) ac_abs_builddir="$ac_dir";;
88878 case "$ac_dir" in
88879 .) ac_abs_builddir=`pwd`;;
88880 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
88881 *) ac_abs_builddir=`pwd`/"$ac_dir";;
88882 esac;;
88883 esac
88884 case $ac_abs_builddir in
88885 .) ac_abs_top_builddir=${ac_top_builddir}.;;
88887 case ${ac_top_builddir}. in
88888 .) ac_abs_top_builddir=$ac_abs_builddir;;
88889 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
88890 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
88891 esac;;
88892 esac
88893 case $ac_abs_builddir in
88894 .) ac_abs_srcdir=$ac_srcdir;;
88896 case $ac_srcdir in
88897 .) ac_abs_srcdir=$ac_abs_builddir;;
88898 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
88899 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
88900 esac;;
88901 esac
88902 case $ac_abs_builddir in
88903 .) ac_abs_top_srcdir=$ac_top_srcdir;;
88905 case $ac_top_srcdir in
88906 .) ac_abs_top_srcdir=$ac_abs_builddir;;
88907 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
88908 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
88909 esac;;
88910 esac
88913 case $INSTALL in
88914 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
88915 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
88916 esac
88918 if test x"$ac_file" != x-; then
88919 { echo "$as_me:$LINENO: creating $ac_file" >&5
88920 echo "$as_me: creating $ac_file" >&6;}
88921 rm -f "$ac_file"
88923 # Let's still pretend it is `configure' which instantiates (i.e., don't
88924 # use $as_me), people would be surprised to read:
88925 # /* config.h. Generated by config.status. */
88926 if test x"$ac_file" = x-; then
88927 configure_input=
88928 else
88929 configure_input="$ac_file. "
88931 configure_input=$configure_input"Generated from `echo $ac_file_in |
88932 sed 's,.*/,,'` by configure."
88934 # First look for the input files in the build tree, otherwise in the
88935 # src tree.
88936 ac_file_inputs=`IFS=:
88937 for f in $ac_file_in; do
88938 case $f in
88939 -) echo $tmp/stdin ;;
88940 [\\/$]*)
88941 # Absolute (can't be DOS-style, as IFS=:)
88942 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
88943 echo "$as_me: error: cannot find input file: $f" >&2;}
88944 { (exit 1); exit 1; }; }
88945 echo "$f";;
88946 *) # Relative
88947 if test -f "$f"; then
88948 # Build tree
88949 echo "$f"
88950 elif test -f "$srcdir/$f"; then
88951 # Source tree
88952 echo "$srcdir/$f"
88953 else
88954 # /dev/null tree
88955 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
88956 echo "$as_me: error: cannot find input file: $f" >&2;}
88957 { (exit 1); exit 1; }; }
88958 fi;;
88959 esac
88960 done` || { (exit 1); exit 1; }
88961 _ACEOF
88962 cat >>$CONFIG_STATUS <<_ACEOF
88963 sed "$ac_vpsub
88964 $extrasub
88965 _ACEOF
88966 cat >>$CONFIG_STATUS <<\_ACEOF
88968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
88969 s,@configure_input@,$configure_input,;t t
88970 s,@srcdir@,$ac_srcdir,;t t
88971 s,@abs_srcdir@,$ac_abs_srcdir,;t t
88972 s,@top_srcdir@,$ac_top_srcdir,;t t
88973 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
88974 s,@builddir@,$ac_builddir,;t t
88975 s,@abs_builddir@,$ac_abs_builddir,;t t
88976 s,@top_builddir@,$ac_top_builddir,;t t
88977 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
88978 s,@INSTALL@,$ac_INSTALL,;t t
88979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
88980 rm -f $tmp/stdin
88981 if test x"$ac_file" != x-; then
88982 mv $tmp/out $ac_file
88983 else
88984 cat $tmp/out
88985 rm -f $tmp/out
88988 # Run the commands associated with the file.
88989 case $ac_file in
88990 scripts/check_survey ) chmod +x scripts/check_survey ;;
88991 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
88992 esac
88993 done
88994 _ACEOF
88995 cat >>$CONFIG_STATUS <<\_ACEOF
88998 # CONFIG_HEADER section.
89001 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89002 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89004 # ac_d sets the value in "#define NAME VALUE" lines.
89005 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89006 ac_dB='[ ].*$,\1#\2'
89007 ac_dC=' '
89008 ac_dD=',;t'
89009 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89010 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89011 ac_uB='$,\1#\2define\3'
89012 ac_uC=' '
89013 ac_uD=',;t'
89015 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89017 case $ac_file in
89018 - | *:- | *:-:* ) # input from stdin
89019 cat >$tmp/stdin
89020 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89021 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89022 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89023 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89024 * ) ac_file_in=$ac_file.in ;;
89025 esac
89027 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89028 echo "$as_me: creating $ac_file" >&6;}
89030 # First look for the input files in the build tree, otherwise in the
89031 # src tree.
89032 ac_file_inputs=`IFS=:
89033 for f in $ac_file_in; do
89034 case $f in
89035 -) echo $tmp/stdin ;;
89036 [\\/$]*)
89037 # Absolute (can't be DOS-style, as IFS=:)
89038 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89039 echo "$as_me: error: cannot find input file: $f" >&2;}
89040 { (exit 1); exit 1; }; }
89041 # Do quote $f, to prevent DOS paths from being IFS'd.
89042 echo "$f";;
89043 *) # Relative
89044 if test -f "$f"; then
89045 # Build tree
89046 echo "$f"
89047 elif test -f "$srcdir/$f"; then
89048 # Source tree
89049 echo "$srcdir/$f"
89050 else
89051 # /dev/null tree
89052 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89053 echo "$as_me: error: cannot find input file: $f" >&2;}
89054 { (exit 1); exit 1; }; }
89055 fi;;
89056 esac
89057 done` || { (exit 1); exit 1; }
89058 # Remove the trailing spaces.
89059 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89061 _ACEOF
89063 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89064 # `conftest.undefs', that substitutes the proper values into
89065 # config.h.in to produce config.h. The first handles `#define'
89066 # templates, and the second `#undef' templates.
89067 # And first: Protect against being on the right side of a sed subst in
89068 # config.status. Protect against being in an unquoted here document
89069 # in config.status.
89070 rm -f conftest.defines conftest.undefs
89071 # Using a here document instead of a string reduces the quoting nightmare.
89072 # Putting comments in sed scripts is not portable.
89074 # `end' is used to avoid that the second main sed command (meant for
89075 # 0-ary CPP macros) applies to n-ary macro definitions.
89076 # See the Autoconf documentation for `clear'.
89077 cat >confdef2sed.sed <<\_ACEOF
89078 s/[\\&,]/\\&/g
89079 s,[\\$`],\\&,g
89080 t clear
89081 : clear
89082 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89083 t end
89084 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89085 : end
89086 _ACEOF
89087 # If some macros were called several times there might be several times
89088 # the same #defines, which is useless. Nevertheless, we may not want to
89089 # sort them, since we want the *last* AC-DEFINE to be honored.
89090 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89091 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89092 rm -f confdef2sed.sed
89094 # This sed command replaces #undef with comments. This is necessary, for
89095 # example, in the case of _POSIX_SOURCE, which is predefined and required
89096 # on some systems where configure will not decide to define it.
89097 cat >>conftest.undefs <<\_ACEOF
89098 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89099 _ACEOF
89101 # Break up conftest.defines because some shells have a limit on the size
89102 # of here documents, and old seds have small limits too (100 cmds).
89103 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89104 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89105 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89106 echo ' :' >>$CONFIG_STATUS
89107 rm -f conftest.tail
89108 while grep . conftest.defines >/dev/null
89110 # Write a limited-size here document to $tmp/defines.sed.
89111 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89112 # Speed up: don't consider the non `#define' lines.
89113 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89114 # Work around the forget-to-reset-the-flag bug.
89115 echo 't clr' >>$CONFIG_STATUS
89116 echo ': clr' >>$CONFIG_STATUS
89117 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89118 echo 'CEOF
89119 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89120 rm -f $tmp/in
89121 mv $tmp/out $tmp/in
89122 ' >>$CONFIG_STATUS
89123 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89124 rm -f conftest.defines
89125 mv conftest.tail conftest.defines
89126 done
89127 rm -f conftest.defines
89128 echo ' fi # grep' >>$CONFIG_STATUS
89129 echo >>$CONFIG_STATUS
89131 # Break up conftest.undefs because some shells have a limit on the size
89132 # of here documents, and old seds have small limits too (100 cmds).
89133 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89134 rm -f conftest.tail
89135 while grep . conftest.undefs >/dev/null
89137 # Write a limited-size here document to $tmp/undefs.sed.
89138 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89139 # Speed up: don't consider the non `#undef'
89140 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89141 # Work around the forget-to-reset-the-flag bug.
89142 echo 't clr' >>$CONFIG_STATUS
89143 echo ': clr' >>$CONFIG_STATUS
89144 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89145 echo 'CEOF
89146 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89147 rm -f $tmp/in
89148 mv $tmp/out $tmp/in
89149 ' >>$CONFIG_STATUS
89150 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89151 rm -f conftest.undefs
89152 mv conftest.tail conftest.undefs
89153 done
89154 rm -f conftest.undefs
89156 cat >>$CONFIG_STATUS <<\_ACEOF
89157 # Let's still pretend it is `configure' which instantiates (i.e., don't
89158 # use $as_me), people would be surprised to read:
89159 # /* config.h. Generated by config.status. */
89160 if test x"$ac_file" = x-; then
89161 echo "/* Generated by configure. */" >$tmp/config.h
89162 else
89163 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89165 cat $tmp/in >>$tmp/config.h
89166 rm -f $tmp/in
89167 if test x"$ac_file" != x-; then
89168 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89169 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89170 echo "$as_me: $ac_file is unchanged" >&6;}
89171 else
89172 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89174 X"$ac_file" : 'X\(//\)[^/]' \| \
89175 X"$ac_file" : 'X\(//\)$' \| \
89176 X"$ac_file" : 'X\(/\)' \| \
89177 . : '\(.\)' 2>/dev/null ||
89178 echo X"$ac_file" |
89179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89181 /^X\(\/\/\)$/{ s//\1/; q; }
89182 /^X\(\/\).*/{ s//\1/; q; }
89183 s/.*/./; q'`
89184 { if $as_mkdir_p; then
89185 mkdir -p "$ac_dir"
89186 else
89187 as_dir="$ac_dir"
89188 as_dirs=
89189 while test ! -d "$as_dir"; do
89190 as_dirs="$as_dir $as_dirs"
89191 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89193 X"$as_dir" : 'X\(//\)[^/]' \| \
89194 X"$as_dir" : 'X\(//\)$' \| \
89195 X"$as_dir" : 'X\(/\)' \| \
89196 . : '\(.\)' 2>/dev/null ||
89197 echo X"$as_dir" |
89198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89200 /^X\(\/\/\)$/{ s//\1/; q; }
89201 /^X\(\/\).*/{ s//\1/; q; }
89202 s/.*/./; q'`
89203 done
89204 test ! -n "$as_dirs" || mkdir $as_dirs
89205 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89206 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89207 { (exit 1); exit 1; }; }; }
89209 rm -f $ac_file
89210 mv $tmp/config.h $ac_file
89212 else
89213 cat $tmp/config.h
89214 rm -f $tmp/config.h
89216 # Compute $ac_file's index in $config_headers.
89217 _am_stamp_count=1
89218 for _am_header in $config_headers :; do
89219 case $_am_header in
89220 $ac_file | $ac_file:* )
89221 break ;;
89223 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89224 esac
89225 done
89226 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89227 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89228 X$ac_file : 'X\(//\)[^/]' \| \
89229 X$ac_file : 'X\(//\)$' \| \
89230 X$ac_file : 'X\(/\)' \| \
89231 . : '\(.\)' 2>/dev/null ||
89232 echo X$ac_file |
89233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89235 /^X\(\/\/\)$/{ s//\1/; q; }
89236 /^X\(\/\).*/{ s//\1/; q; }
89237 s/.*/./; q'`/stamp-h$_am_stamp_count
89238 done
89239 _ACEOF
89240 cat >>$CONFIG_STATUS <<\_ACEOF
89243 # CONFIG_COMMANDS section.
89245 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89246 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89247 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89248 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89249 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89250 X"$ac_dest" : 'X\(//\)[^/]' \| \
89251 X"$ac_dest" : 'X\(//\)$' \| \
89252 X"$ac_dest" : 'X\(/\)' \| \
89253 . : '\(.\)' 2>/dev/null ||
89254 echo X"$ac_dest" |
89255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89256 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89257 /^X\(\/\/\)$/{ s//\1/; q; }
89258 /^X\(\/\).*/{ s//\1/; q; }
89259 s/.*/./; q'`
89260 { if $as_mkdir_p; then
89261 mkdir -p "$ac_dir"
89262 else
89263 as_dir="$ac_dir"
89264 as_dirs=
89265 while test ! -d "$as_dir"; do
89266 as_dirs="$as_dir $as_dirs"
89267 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89268 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89269 X"$as_dir" : 'X\(//\)[^/]' \| \
89270 X"$as_dir" : 'X\(//\)$' \| \
89271 X"$as_dir" : 'X\(/\)' \| \
89272 . : '\(.\)' 2>/dev/null ||
89273 echo X"$as_dir" |
89274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89276 /^X\(\/\/\)$/{ s//\1/; q; }
89277 /^X\(\/\).*/{ s//\1/; q; }
89278 s/.*/./; q'`
89279 done
89280 test ! -n "$as_dirs" || mkdir $as_dirs
89281 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89282 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89283 { (exit 1); exit 1; }; }; }
89285 ac_builddir=.
89287 if test "$ac_dir" != .; then
89288 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89289 # A "../" for each directory in $ac_dir_suffix.
89290 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89291 else
89292 ac_dir_suffix= ac_top_builddir=
89295 case $srcdir in
89296 .) # No --srcdir option. We are building in place.
89297 ac_srcdir=.
89298 if test -z "$ac_top_builddir"; then
89299 ac_top_srcdir=.
89300 else
89301 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89302 fi ;;
89303 [\\/]* | ?:[\\/]* ) # Absolute path.
89304 ac_srcdir=$srcdir$ac_dir_suffix;
89305 ac_top_srcdir=$srcdir ;;
89306 *) # Relative path.
89307 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89308 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89309 esac
89311 # Do not use `cd foo && pwd` to compute absolute paths, because
89312 # the directories may not exist.
89313 case `pwd` in
89314 .) ac_abs_builddir="$ac_dir";;
89316 case "$ac_dir" in
89317 .) ac_abs_builddir=`pwd`;;
89318 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89319 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89320 esac;;
89321 esac
89322 case $ac_abs_builddir in
89323 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89325 case ${ac_top_builddir}. in
89326 .) ac_abs_top_builddir=$ac_abs_builddir;;
89327 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89328 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89329 esac;;
89330 esac
89331 case $ac_abs_builddir in
89332 .) ac_abs_srcdir=$ac_srcdir;;
89334 case $ac_srcdir in
89335 .) ac_abs_srcdir=$ac_abs_builddir;;
89336 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89337 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89338 esac;;
89339 esac
89340 case $ac_abs_builddir in
89341 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89343 case $ac_top_srcdir in
89344 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89345 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89346 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89347 esac;;
89348 esac
89351 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
89352 echo "$as_me: executing $ac_dest commands" >&6;}
89353 case $ac_dest in
89354 default-1 )
89355 # Only add multilib support code if we just rebuilt the top-level
89356 # Makefile.
89357 case " $CONFIG_FILES " in
89358 *" Makefile "*)
89359 ac_file=Makefile . ${multi_basedir}/config-ml.in
89361 esac ;;
89362 default ) if test -n "$CONFIG_FILES"; then
89363 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
89364 # that multilib installs will end up installed in the correct place.
89365 # The testsuite needs it for multilib-aware ABI baseline files.
89366 # To work around this not being passed down from config-ml.in ->
89367 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
89368 # append it here. Only modify Makefiles that have just been created.
89370 # Also, get rid of this simulated-VPATH thing that automake does.
89371 cat > vpsed << \_EOF
89372 s!`test -f '$<' || echo '$(srcdir)/'`!!
89373 _EOF
89374 for i in $SUBDIRS; do
89375 case $CONFIG_FILES in
89376 *${i}/Makefile*)
89377 #echo "Adding MULTISUBDIR to $i/Makefile"
89378 sed -f vpsed $i/Makefile > tmp
89379 grep '^MULTISUBDIR =' Makefile >> tmp
89380 mv tmp $i/Makefile
89382 esac
89383 done
89384 rm vpsed
89386 (cd include && ${MAKE-make})
89388 esac
89389 done
89390 _ACEOF
89392 cat >>$CONFIG_STATUS <<\_ACEOF
89394 { (exit 0); exit 0; }
89395 _ACEOF
89396 chmod +x $CONFIG_STATUS
89397 ac_clean_files=$ac_clean_files_save
89400 # configure is writing to config.log, and then calls config.status.
89401 # config.status does its own redirection, appending to config.log.
89402 # Unfortunately, on DOS this fails, as config.log is still kept open
89403 # by configure, so config.status won't be able to write to it; its
89404 # output is simply discarded. So we exec the FD to /dev/null,
89405 # effectively closing config.log, so it can be properly (re)opened and
89406 # appended to by config.status. When coming back to configure, we
89407 # need to make the FD available again.
89408 if test "$no_create" != yes; then
89409 ac_cs_success=:
89410 ac_config_status_args=
89411 test "$silent" = yes &&
89412 ac_config_status_args="$ac_config_status_args --quiet"
89413 exec 5>/dev/null
89414 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
89415 exec 5>>config.log
89416 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
89417 # would make configure fail if this is the last instruction.
89418 $ac_cs_success || { (exit 1); exit 1; }